Skip to content
Commit 5c0ebbd3 authored by Tomasz Jeznach's avatar Tomasz Jeznach Committed by Joerg Roedel
Browse files

iommu/riscv: Add RISC-V IOMMU platform device driver

Introduce platform device driver for implementation of RISC-V IOMMU
architected hardware.

Hardware interface definition located in file iommu-bits.h is based on
ratified RISC-V IOMMU Architecture Specification version 1.0.0.

This patch implements platform device initialization, early check and
configuration of the IOMMU interfaces and enables global pass-through
address translation mode (iommu_mode == BARE), without registering
hardware instance in the IOMMU subsystem.

Link: https://github.com/riscv-non-isa/riscv-iommu


Co-developed-by: default avatarNick Kossifidis <mick@ics.forth.gr>
Signed-off-by: default avatarNick Kossifidis <mick@ics.forth.gr>
Co-developed-by: default avatarSebastien Boeuf <seb@rivosinc.com>
Signed-off-by: default avatarSebastien Boeuf <seb@rivosinc.com>
Reviewed-by: default avatarLu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: default avatarTomasz Jeznach <tjeznach@rivosinc.com>
Acked-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
Link: https://lore.kernel.org/r/2f2e4530c0ee4a81385efa90f1da932f5179f3fb.1729059707.git.tjeznach@rivosinc.com


Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 14d050cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment