Page MenuHomeFreeBSD

pci: Enable MSI on GCE arm64 VMs
Needs ReviewPublic

Authored by wac_gmail.com on Thu, Jan 8, 9:30 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 8, 4:20 PM
Unknown Object (File)
Thu, Jan 8, 2:07 PM
Unknown Object (File)
Thu, Jan 8, 12:57 PM
Unknown Object (File)
Thu, Jan 8, 10:48 AM
Subscribers
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

Add a PCI_QUIRK_ENABLE_MSI_VM quirk for the Google gve(4) device (0x1ae0:0x0042) which is generally exposed at pci0:0:0 on Google Compute Engine (GCE) current generation arm64 instances.

This is specifically required for arm64 VMs where the generic bridge device populated by ACPI is not trusted by the MSI blocklist and needs this quirk, but it is fine for all other GCE VMs as well.

Test Plan

Boot various c4a VMs with this change in place and without hw.pci.honor_msi_blacklist=0 in /boot/loader.conf. Observe proper interrupt assignment, network interrupt handling for gve(4), and non-glacial nvme(4) performance.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped