]> www.infradead.org Git - nvme.git/commit
nvmet: pci-epf: do not fall back to using INTX if not supported
authorDamien Le Moal <dlemoal@kernel.org>
Thu, 8 May 2025 23:25:01 +0000 (08:25 +0900)
committerChristoph Hellwig <hch@lst.de>
Tue, 13 May 2025 05:57:11 +0000 (07:57 +0200)
commit2c3a6f6a28051f323baf19b48af86e48b812831d
tree51c8473839a8cc951dc1f3a4a31f0dfccc8bd839
parent85adf2094abb9084770dc4ab302aaa9c5d26dd2d
nvmet: pci-epf: do not fall back to using INTX if not supported

Some endpoint PCIe controllers do not support raising legacy INTX
interrupts. This support is indicated by the intx_capable field of
struct pci_epc_features. Modify nvmet_pci_epf_raise_irq() to not
automatically fallback to trying raising an INTX interrupt after an MSI
or MSI-X error if the controller does not support INTX.

Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/pci-epf.c