Home
last modified time | relevance | path

Searched refs:gatp (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/hw/riscv/
H A Driscv-iommu.c61 uint64_t gatp; /* G-Stage address translation and protection */ member
260 uint64_t satp, gatp, pte; in riscv_iommu_spa_fetch() local
276 gatp = get_field(ctx->gatp, RISCV_IOMMU_ATP_MODE_FIELD); in riscv_iommu_spa_fetch()
279 en_g = gatp != RISCV_IOMMU_DC_IOHGATP_MODE_BARE; in riscv_iommu_spa_fetch()
317 switch (pass ? gatp : satp) { in riscv_iommu_spa_fetch()
337 switch (pass ? gatp : satp) { in riscv_iommu_spa_fetch()
377 gatp = PPN_PHYS(get_field(ctx->gatp, RISCV_IOMMU_ATP_PPN_FIELD)); in riscv_iommu_spa_fetch()
380 base = en_g ? gatp : satp; in riscv_iommu_spa_fetch()
467 base = gatp; in riscv_iommu_spa_fetch()
483 base = gatp; in riscv_iommu_spa_fetch()
[all …]