summaryrefslogtreecommitdiffstats
path: root/arch/riscv
diff options
context:
space:
mode:
authorWesley Terpstra <wesley@sifive.com>2019-05-20 19:29:26 +0200
committerPaul Walmsley <paul.walmsley@sifive.com>2019-07-22 22:06:07 +0200
commit251a44888183003b0380df184835a2c00bfa39d7 (patch)
tree94b0de73c66d791d77bc1854703eaeb67aad7d35 /arch/riscv
parentMAINTAINERS: Add Paul as a RISC-V maintainer (diff)
downloadlinux-251a44888183003b0380df184835a2c00bfa39d7.tar.xz
linux-251a44888183003b0380df184835a2c00bfa39d7.zip
riscv: include generic support for MSI irqdomains
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. Signed-off-by: Wesley Terpstra <wesley@sifive.com> [paul.walmsley@sifive.com: split initial patch into one arch/riscv patch and one drivers/pci patch] Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
Diffstat (limited to 'arch/riscv')
-rw-r--r--arch/riscv/include/asm/Kbuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/include/asm/Kbuild b/arch/riscv/include/asm/Kbuild
index 1efaeddf1e4b..16970f246860 100644
--- a/arch/riscv/include/asm/Kbuild
+++ b/arch/riscv/include/asm/Kbuild
@@ -22,6 +22,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