]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pcib: Allocate the memory BAR with the MSI-X table.
authorJohn Baldwin <jhb@FreeBSD.org>
Mon, 19 Jun 2023 16:15:48 +0000 (09:15 -0700)
committerGordon Tetlow <gordon@FreeBSD.org>
Wed, 6 Sep 2023 16:57:02 +0000 (09:57 -0700)
commite80d2d894ff1afbdb932aac1f4ceb50922a779bb
tree25a9780778280c337f09a20a2c903fad77a9c60e
parent0b39d9de2e7170c214b39f1aca42c11d6f7c13e9
pcib: Allocate the memory BAR with the MSI-X table.

This is required for pci_alloc_msix() to work and to thus use
MSI-X interrupts for PCI-e hotplug.

Reported by: cperciva
Reviewed by: cperciva
Approved by: so
Security: FreeBSD-EN-23:10.pci
Differential Revision: https://reviews.freebsd.org/D40581

(cherry picked from commit e6b838363fb473b5e35a8ae6a1da5e15f5b52960)
(cherry picked from commit 12ce57e6d3e770db9ca83a8cbaa8f332515ce3d7)
sys/dev/pci/pci_pci.c
sys/dev/pci/pcib_private.h