Home
last modified time | relevance | path

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

/openbmc/qemu/hw/riscv/
H A Driscv-iommu.c386 const unsigned va_skip = TARGET_PAGE_BITS + sc[pass].ptidxbits * in riscv_iommu_spa_fetch() local
388 const unsigned idx = (addr >> va_skip) & ((1 << va_bits) - 1); in riscv_iommu_spa_fetch()
395 const uint64_t va_mask = (1ULL << (va_skip + va_bits)) - 1; in riscv_iommu_spa_fetch()
427 } else if (ppn & ((1ULL << (va_skip - TARGET_PAGE_BITS)) - 1)) { in riscv_iommu_spa_fetch()
440 base = PPN_PHYS(ppn) | (addr & ((1ULL << va_skip) - 1)); in riscv_iommu_spa_fetch()
442 iotlb->addr_mask &= (1ULL << va_skip) - 1; in riscv_iommu_spa_fetch()