mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
hw/riscv/riscv-iommu: add ATS support
Add PCIe Address Translation Services (ATS) capabilities to the IOMMU. This will add support for ATS translation requests in Fault/Event queues, Page-request queue and IOATC invalidations. Signed-off-by: Tomasz Jeznach <tjeznach@rivosinc.com> Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Reviewed-by: Frank Chang <frank.chang@sifive.com> Acked-by: Alistair Francis <alistair.francis@wdc.com> Message-ID: <20241016204038.649340-10-dbarboza@ventanamicro.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
parent
9d085a1c3c
commit
69a9ae4836
4 changed files with 171 additions and 3 deletions
|
@ -37,6 +37,7 @@ struct RISCVIOMMUState {
|
|||
|
||||
bool enable_off; /* Enable out-of-reset OFF mode (DMA disabled) */
|
||||
bool enable_msi; /* Enable MSI remapping */
|
||||
bool enable_ats; /* Enable ATS support */
|
||||
bool enable_s_stage; /* Enable S/VS-Stage translation */
|
||||
bool enable_g_stage; /* Enable G-Stage translation */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue