This is required for pci_alloc_msix() to work and to thus use
MSI-X interrupts for PCI-e hotplug.
Reported by: cperciva
Differential D40581
pcib: Allocate the memory BAR with the MSI-X table. jhb on Jun 16 2023, 8:47 PM. Authored by Tags None Referenced Files
Subscribers None
Details This is required for pci_alloc_msix() to work and to thus use Reported by: cperciva
Diff Detail
Event TimelineComment Actions FWIW, this makes it possible for an ena device attached to a PCIe hotplug port to attach, but it's getting watchdog timeouts so there's something else going on which might or might not be related to PCIe/MSIX. Comment Actions I'm pretty sure that Colin's unique device is the first PCI-e HP bridge that supports MSI-X but not MSI. We have probably just always been falling back to MSI before without anyone noticing. Comment Actions It sounds like the "something else going on" is a hypervisor bug which is being fixed separately. So as far as FreeBSD is concerned the patch we have here should be the only thing we need. Is this MFCable? It breaks ABI but it's an ABI in pcib_private.h which maybe we don't care about that? |