[PW_SID:1097370] iommu/riscv: prefer WSI on IGS=BOTH when wired IRQs are described#1973
[PW_SID:1097370] iommu/riscv: prefer WSI on IGS=BOTH when wired IRQs are described#1973linux-riscv-bot wants to merge 2 commits into
Conversation
The RISC-V IOMMU spec defines IGS=BOTH as supporting both MSI and
WSI, with software selecting the path. The DT path already behaves
as expected by selecting WSI when wired IRQ resources are described.
The ACPI path, however, currently falls back to MSI even when
firmware describes wired IRQ resources.
Use firmware-described wired IRQ resources as the trigger to select
WSI for IGS=BOTH:
- DT: "interrupts" present, no "msi-parent"
- ACPI: DSDT _CRS Interrupt() descriptors
(mainline does not yet parse the RIMT Interrupt Wire Array)
When triggered, rewrite igs to IGS_WSI and reuse the existing WSI
handling. Keep the existing behaviour otherwise.
Fixes: d5f88ac ("iommu/riscv: Add support for platform msi")
Signed-off-by: Fangyu Yu <fangyu.yu@linux.alibaba.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "iommu/riscv: prefer WSI on IGS=BOTH when wired IRQs are described" |
|
Patch 1: "iommu/riscv: prefer WSI on IGS=BOTH when wired IRQs are described" |
|
Patch 1: "iommu/riscv: prefer WSI on IGS=BOTH when wired IRQs are described" |
|
Patch 1: "iommu/riscv: prefer WSI on IGS=BOTH when wired IRQs are described" |
|
Patch 1: "iommu/riscv: prefer WSI on IGS=BOTH when wired IRQs are described" |
|
Patch 1: "iommu/riscv: prefer WSI on IGS=BOTH when wired IRQs are described" |
|
Patch 1: "iommu/riscv: prefer WSI on IGS=BOTH when wired IRQs are described" |
|
Patch 1: "iommu/riscv: prefer WSI on IGS=BOTH when wired IRQs are described" |
|
Patch 1: "iommu/riscv: prefer WSI on IGS=BOTH when wired IRQs are described" |
|
Patch 1: "iommu/riscv: prefer WSI on IGS=BOTH when wired IRQs are described" |
|
Patch 1: "iommu/riscv: prefer WSI on IGS=BOTH when wired IRQs are described" |
|
Patch 1: "iommu/riscv: prefer WSI on IGS=BOTH when wired IRQs are described" |
a1231b7 to
c03cdce
Compare
PR for series 1097370 applied to workflow__riscv__fixes
Name: iommu/riscv: prefer WSI on IGS=BOTH when wired IRQs are described
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1097370
Version: 1