linux/drivers/pci
Nam Cao 5149bbb56b PCI: vmd: Remove MSI-X check on child devices
d7d8ab87e3 ("PCI: vmd: Switch to msi_create_parent_irq_domain()") added a
WARN_ON sanity check that child devices support MSI-X, because VMD document
says [1]:

  Intel VMD only supports MSIx Interrupts from child devices and therefore
  the BIOS must enable PCIe Hot Plug and MSIx interrups [sic].

However, the VMD device can't even tell the difference between a child
device using MSI and one using MSI-X.  Per 185a383ada ("x86/PCI: Add
driver for Intel Volume Management Device (VMD)"), VMD does not support
INTx interrupts, but does support child devices using either MSI or MSI-X.

Remove the sanity check to avoid the WARN_ON and allow child devices to use
MSI, reported by Ammar.

Fixes: d7d8ab87e3 ("PCI: vmd: Switch to msi_create_parent_irq_domain()")
Link: https://cdrdv2-public.intel.com/776857/VMD_White_Paper.pdf [1]
Reported-by: Ammar Faizi <ammarfaizi2@gnuweeb.org>
Closes: https://lore.kernel.org/linux-pci/aJXYhfc%2F6DfcqfqF@linux.gnuweeb.org/
Signed-off-by: Nam Cao <namcao@linutronix.de>
[bhelgaas: commit log]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Tested-by: Ammar Faizi <ammarfaizi2@gnuweeb.org>
Link: https://patch.msgid.link/20250811053935.4049211-1-namcao@linutronix.de
2025-08-12 13:45:01 -05:00
..
controller PCI: vmd: Remove MSI-X check on child devices 2025-08-12 13:45:01 -05:00
endpoint Merge branch 'pci/endpoint/epf-vntb' 2025-07-31 16:11:46 -05:00
hotplug powerpc fixes for 6.17 #2 2025-08-03 19:15:04 -07:00
msi pci-v6.17-changes 2025-08-01 13:59:07 -07:00
pcie pci-v6.17-changes 2025-08-01 13:59:07 -07:00
pwrctrl
switch
access.c
ats.c
bus.c
devres.c
doe.c
ecam.c
host-bridge.c
iomap.c
iov.c
irq.c
Kconfig
Makefile
mmap.c
npem.c
of.c
of_property.c
p2pdma.c
pci-acpi.c pci-v6.17-changes 2025-08-01 13:59:07 -07:00
pci-bridge-emul.c
pci-bridge-emul.h
pci-driver.c pci-v6.17-changes 2025-08-01 13:59:07 -07:00
pci-label.c
pci-mid.c
pci-pf-stub.c
pci-stub.c
pci-sysfs.c
pci.c pci-v6.17-changes 2025-08-01 13:59:07 -07:00
pci.h Merge branch 'pci/controller/linkup-fix' 2025-07-31 16:11:47 -05:00
probe.c pci-v6.17-changes 2025-08-01 13:59:07 -07:00
proc.c
quirks.c pci-v6.17-changes 2025-08-01 13:59:07 -07:00
remove.c
rom.c
search.c
setup-bus.c
setup-res.c
slot.c
syscall.c
tph.c PCI/TPH: Expose pcie_tph_get_st_table_size() 2025-07-23 01:27:32 -04:00
vc.c
vgaarb.c
vpd.c
xen-pcifront.c