[PATCH v2] pci: Kconfig: select PCI_MSI_IRQ_DOMAIN by default on RISC-V

From: Paul Walmsley
Date: Thu Jul 25 2019 - 17:28:14 EST


From: Wesley Terpstra <wesley@xxxxxxxxxx>

This is part of adding support for RISC-V systems with PCIe host
controllers that support message-signaled interrupts.

Signed-off-by: Wesley Terpstra <wesley@xxxxxxxxxx>
[paul.walmsley@xxxxxxxxxx: wrote patch description; split this
patch from the arch/riscv patch]
Signed-off-by: Paul Walmsley <paul.walmsley@xxxxxxxxxx>
---
drivers/pci/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig
index 2ab92409210a..beb3408a0272 100644
--- a/drivers/pci/Kconfig
+++ b/drivers/pci/Kconfig
@@ -52,7 +52,7 @@ config PCI_MSI
If you don't know what to do here, say Y.

config PCI_MSI_IRQ_DOMAIN
- def_bool ARC || ARM || ARM64 || X86
+ def_bool ARC || ARM || ARM64 || X86 || RISCV
depends on PCI_MSI
select GENERIC_MSI_IRQ_DOMAIN

--
2.22.0