aboutsummaryrefslogtreecommitdiff
path: root/sys/arm64/include/machdep.h
diff options
context:
space:
mode:
authorQuentin Thébault <quentin.thebault@defenso.fr>2026-11-04 22:49:18 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2026-11-04 22:49:40 +0000
commit0ecbb75c33d38645ea72dca7219c082eedbc8677 (patch)
treefbc79542ef1109f3148f896fafa07d6a5bd5864e /sys/arm64/include/machdep.h
parenta743c9527f8ef86083304c6ff68eb2768cbe5e7d (diff)
LinuxKPI: set pci_dev msi_cap and msix_capHEADmain
Linux drivers find their MSI and MSI-X registers through pdev->msi_cap and pdev->msix_cap, which hold where those capabilities start in PCI config space. LinuxKPI never set them, so they stayed 0, and every access meant for the MSI registers went to the start of config space instead. Drivers using these fields, e.g. ath11k and amdgpu, are affected. Fill in both fields from the capability offsets that the native PCI code already records. Reviewed by: dumbbell Differential Revision: https://reviews.freebsd.org/D61125 Event: NetApp/Vendor Summit Hackathon 202611
Diffstat (limited to 'sys/arm64/include/machdep.h')
0 files changed, 0 insertions, 0 deletions