[PW_SID:970282] RISC-V: Add ACPI support for IOMMU#496
Conversation
RISC-V IO Mapping Table (RIMT) is a static ACPI table to communicate IOMMU information to the OS. The spec is available at [1]. The changes at high level are, a) Initialize data structures required for IOMMU/device configuration using the data from RIMT. Provide APIs required for device configuration. b) Provide an API for IOMMU drivers to register the fwnode with RIMT data structures. This API will create a fwnode for PCIe IOMMU. [1] - https://github.com/riscv-non-isa/riscv-acpi-rimt Signed-off-by: Sunil V L <sunilvl@ventanamicro.com> Link: https://lore.kernel.org/r/20250514055723.1328557-3-sunilvl@ventanamicro.com Signed-off-by: Anup Patel <anup@brainfault.org> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
acpi_iommu_configure_id() currently supports only IORT (ARM) and VIOT. Add support for RISC-V as well. Signed-off-by: Sunil V L <sunilvl@ventanamicro.com> Link: https://lore.kernel.org/r/20250514055723.1328557-4-sunilvl@ventanamicro.com Signed-off-by: Anup Patel <anup@brainfault.org> Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
RISC-V IO Mapping Table (RIMT) provides the information about the IOMMU to the OS in ACPI. Add support for ACPI in RISC-V IOMMU drivers by using RIMT data. The changes at high level are, a) Register the IOMMU with RIMT data structures. b) Enable probing of platform IOMMU in ACPI way using the ACPIID defined for the RISC-V IOMMU in the BRS spec [1]. Configure the MSI domain if the platform IOMMU uses MSIs. [1] - https://github.com/riscv-non-isa/riscv-brs/blob/main/acpi-id.adoc Signed-off-by: Sunil V L <sunilvl@ventanamicro.com> Link: https://lore.kernel.org/r/20250514055723.1328557-5-sunilvl@ventanamicro.com Signed-off-by: Anup Patel <anup@brainfault.org> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "[v2,1/3] ACPI: RISC-V: Add support for RIMT" |
|
Patch 1: "[v2,1/3] ACPI: RISC-V: Add support for RIMT" |
|
Patch 1: "[v2,1/3] ACPI: RISC-V: Add support for RIMT" |
|
Patch 1: "[v2,1/3] ACPI: RISC-V: Add support for RIMT" |
|
Patch 1: "[v2,1/3] ACPI: RISC-V: Add support for RIMT" |
|
Patch 1: "[v2,1/3] ACPI: RISC-V: Add support for RIMT" |
|
Patch 1: "[v2,1/3] ACPI: RISC-V: Add support for RIMT" |
|
Patch 1: "[v2,1/3] ACPI: RISC-V: Add support for RIMT" |
|
Patch 1: "[v2,1/3] ACPI: RISC-V: Add support for RIMT" |
|
Patch 1: "[v2,1/3] ACPI: RISC-V: Add support for RIMT" |
|
Patch 1: "[v2,1/3] ACPI: RISC-V: Add support for RIMT" |
|
Patch 1: "[v2,1/3] ACPI: RISC-V: Add support for RIMT" |
|
Patch 2: "[v2,2/3] ACPI: scan: Add support for RISC-V in acpi_iommu_configure_id()" |
|
Patch 2: "[v2,2/3] ACPI: scan: Add support for RISC-V in acpi_iommu_configure_id()" |
|
Patch 2: "[v2,2/3] ACPI: scan: Add support for RISC-V in acpi_iommu_configure_id()" |
|
Patch 2: "[v2,2/3] ACPI: scan: Add support for RISC-V in acpi_iommu_configure_id()" |
|
Patch 2: "[v2,2/3] ACPI: scan: Add support for RISC-V in acpi_iommu_configure_id()" |
|
Patch 2: "[v2,2/3] ACPI: scan: Add support for RISC-V in acpi_iommu_configure_id()" |
|
Patch 2: "[v2,2/3] ACPI: scan: Add support for RISC-V in acpi_iommu_configure_id()" |
|
Patch 2: "[v2,2/3] ACPI: scan: Add support for RISC-V in acpi_iommu_configure_id()" |
|
Patch 2: "[v2,2/3] ACPI: scan: Add support for RISC-V in acpi_iommu_configure_id()" |
|
Patch 2: "[v2,2/3] ACPI: scan: Add support for RISC-V in acpi_iommu_configure_id()" |
|
Patch 2: "[v2,2/3] ACPI: scan: Add support for RISC-V in acpi_iommu_configure_id()" |
|
Patch 2: "[v2,2/3] ACPI: scan: Add support for RISC-V in acpi_iommu_configure_id()" |
|
Patch 3: "[v2,3/3] iommu/riscv: Add ACPI support" |
|
Patch 3: "[v2,3/3] iommu/riscv: Add ACPI support" |
|
Patch 3: "[v2,3/3] iommu/riscv: Add ACPI support" |
|
Patch 3: "[v2,3/3] iommu/riscv: Add ACPI support" |
|
Patch 3: "[v2,3/3] iommu/riscv: Add ACPI support" |
|
Patch 3: "[v2,3/3] iommu/riscv: Add ACPI support" |
|
Patch 3: "[v2,3/3] iommu/riscv: Add ACPI support" |
|
Patch 3: "[v2,3/3] iommu/riscv: Add ACPI support" |
|
Patch 3: "[v2,3/3] iommu/riscv: Add ACPI support" |
|
Patch 3: "[v2,3/3] iommu/riscv: Add ACPI support" |
|
Patch 3: "[v2,3/3] iommu/riscv: Add ACPI support" |
|
Patch 3: "[v2,3/3] iommu/riscv: Add ACPI support" |
0b44c19 to
8023d1f
Compare
PR for series 970282 applied to workflow__riscv__fixes
Name: RISC-V: Add ACPI support for IOMMU
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=970282
Version: 2