Microsoft Azure Hyper-V uses SPI to map MSI in ARM64, instead of using LPI IDS.
To enable that we need to have gic registered with ACPI_MSI_XREF and gic acpi to map SPI for MSI.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/arm64/arm64/gic_v3.c | ||
---|---|---|
393 | style(9) is four spaces for 2nd level indentation (i.e., arg line wrapping) so please leave this unchanged |
Comment Actions
Are there times other than when running as a hyperv guest that these might be needed?
Comment Actions
If any other ACPI platform uses SPI for MSI, instead of using LPI and ITS for MSI, then it would be required.
sys/arm64/arm64/gic_v3.c | ||
---|---|---|
385 | Yes, but the value of the end is 0 for Hyper-V, so if the end value is zero, we are using the full range. |
sys/arm64/arm64/gic_v3_acpi.c | ||
---|---|---|
339 | This was not addressed prior to committing |
sys/arm64/arm64/gic_v3_acpi.c | ||
---|---|---|
339 | Will fix this typo in next commit. |