diff options
author | Sunil V L <sunilvl@ventanamicro.com> | 2025-08-18 10:28:07 +0530 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2025-09-05 15:06:06 +0200 |
commit | 4f901b3dce57d26c6ae869607d2e16296587a250 (patch) | |
tree | b4edca3a45cda53d9205414ab5d9851cc7b6aaa3 /rust | |
parent | cbf4fbc484e1730cbcb5187b923fadc842f632ce (diff) |
iommu/riscv: Add ACPI support
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>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20250818045807.763922-4-sunilvl@ventanamicro.com
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'rust')
0 files changed, 0 insertions, 0 deletions