* [PATCH] dmaengine: idxd: fix missing symbol for pci_msi_mask_irq()
@ 2020-07-07 16:24 Dave Jiang
0 siblings, 0 replies; only message in thread
From: Dave Jiang @ 2020-07-07 16:24 UTC (permalink / raw)
To: vkoul; +Cc: dmaengine
lkp report compile issue without CONFIG_PCI_MSI_IRQ_DOMAIN being set. Add
dependency to the driver to ensure symbol is valid.
ld: drivers/dma/idxd/device.o: in function `idxd_mask_msix_vector':
>> drivers/dma/idxd/device.c:24: undefined reference to `pci_msi_mask_irq'
ld: drivers/dma/idxd/device.o: in function `idxd_unmask_msix_vector':
>> drivers/dma/idxd/device.c:41: undefined reference to `pci_msi_unmask_irq'
Fixes: 3592633e52d2 ("dmaengine: idxd: move idxd interrupt handling to mask instead of ignore")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
---
drivers/dma/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index b70e90765ad3..cd89fe38834b 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -286,6 +286,7 @@ config INTEL_IDXD
tristate "Intel Data Accelerators support"
depends on PCI && X86_64
depends on SBITMAP
+ depends on PCI_MSI_IRQ_DOMAIN
select DMA_ENGINE
help
Enable support for the Intel(R) data accelerators present
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-07-07 16:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-07 16:24 [PATCH] dmaengine: idxd: fix missing symbol for pci_msi_mask_irq() Dave Jiang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).