]> Gentwo Git Trees - linux/.git/commit
ACPI: RISC-V: Add support for RIMT
authorSunil V L <sunilvl@ventanamicro.com>
Mon, 18 Aug 2025 04:58:05 +0000 (10:28 +0530)
committerJoerg Roedel <joerg.roedel@amd.com>
Fri, 5 Sep 2025 13:06:03 +0000 (15:06 +0200)
commit8f77295525825086cb43675cd1a4f3716b119d7f
treeb1508a7375e83ce3837fbc228375eabbaf1161a4
parent8f5ae30d69d7543eee0d70083daf4de8fe15d585
ACPI: RISC-V: Add support for RIMT

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>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20250818045807.763922-2-sunilvl@ventanamicro.com
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
MAINTAINERS
arch/riscv/Kconfig
drivers/acpi/Kconfig
drivers/acpi/riscv/Kconfig [new file with mode: 0644]
drivers/acpi/riscv/Makefile
drivers/acpi/riscv/init.c
drivers/acpi/riscv/init.h
drivers/acpi/riscv/rimt.c [new file with mode: 0644]
include/linux/acpi_rimt.h [new file with mode: 0644]