Skip to contentSkip to conversation

riscv: include generic support for MSI irqdomains

PATCH New Paul Walmsley 1 participant 1 message Jul 18, 2019 RISC-V

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 riscv: include generic support for MSI irqdomains

From: Wesley Terpstra <[email protected]>

Some RISC-V systems include PCIe host controllers that support PCIe message-signaled interrupts. For this to work on Linux, we need to enable PCI_MSI_IRQ_DOMAIN and define struct msi_alloc_info. Support for the latter is enabled by including the architecture-generic msi.h include.

[[email protected]: split initial patch into one arch/riscv
patch and one drivers/pci patch]

---
Planned for v5.3-rc.

 arch/riscv/include/asm/Kbuild | 1 +
 1 file changed, 1 insertion(+)
arch/riscv/include/asm/Kbuild +1 -0
index 3d019e062c6f..b0a9fa34be5a 100644
@@ -20,6 +20,7 @@ generic-y += kvm_para.h
 generic-y += local.h
 generic-y += local64.h
 generic-y += mm-arch-hooks.h
+generic-y += msi.h
 generic-y += percpu.h
 generic-y += preempt.h
 generic-y += sections.h
Signature · 1 line
2.22.0