Page MenuHomeFreeBSD

Azure FreeBSD Gen 2 Support
Needs ReviewPublic

Authored by michael.baptist_dell.com on Sep 29 2022, 3:42 PM.
Tags
None
Referenced Files
F81671523: D36797.id.diff
Fri, Apr 19, 5:48 PM
Unknown Object (File)
Wed, Apr 17, 1:09 PM
Unknown Object (File)
Fri, Mar 29, 1:34 AM
Unknown Object (File)
Dec 23 2023, 2:13 PM
Unknown Object (File)
Nov 24 2023, 9:50 PM
Unknown Object (File)
Nov 22 2023, 12:45 PM
Unknown Object (File)
Nov 22 2023, 12:40 PM
Unknown Object (File)
Nov 14 2023, 6:53 AM
Subscribers

Details

Reviewers
whu
Summary

acpi(4): Hyper-V don't reserve child SYS_RES_MEMORY during bus probing.

Azure Hyper-V ACPI firmware will attempt to allocate large chunks of
memory which will block downstream devices from joining. Microsofts ACPI
acpi_syscontainer driver will take up 6 billion addresses and block its own
SR-IOV pcibX devices from being able to be allocated.


Build Hyper-V pcib driver in hyperv device drivers.

This also changes the name of the pcib device module name so it is
easier to idenfity as a hyper-v driver.


Hyper-V: Azure Gen 2 console workaround.

Gen 2 UEFI booting on Azure has a bug in their console which causes
prints during initial booting to freeze the node. Once the CPUs are
initialized it looks like the printfs can resume.

Test Plan
  1. Confirm Azure Gen 2 VMs boot via UEFI
  2. Show driver name change is clearly listed with other HV drivers.
  3. Show SRIOV nics working on Gen VMs.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 47608
Build 44495: arc lint + arc unit

Event Timeline

michael.baptist_dell.com added a reviewer: whu.
michael.baptist_dell.com retitled this revision from acpi(4): Hyper-V don't reserve child SYS_RES_MEMORY during bus probing. to Azure FreeBSD Gen 2 Support.
michael.baptist_dell.com edited the summary of this revision. (Show Details)