mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-29 10:40:36 -07:00
The PPN field in a non-leaf PDT entry is positioned differently from that in a leaf PDT entry. The original implementation incorrectly used the leaf entry's PPN mask to extract the PPN from a non-leaf entry, leading to an erroneous page table walk. This commit introduces new macros to properly define the fields for non-leaf PDT entries and corrects the page table walk. Signed-off-by: Jason Chien <jason.chien@sifive.com> Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Message-ID: <20250301173751.9446-1-jason.chien@sifive.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com> |
||
|---|---|---|
| .. | ||
| boot.c | ||
| Kconfig | ||
| meson.build | ||
| microblaze-v-generic.c | ||
| microchip_pfsoc.c | ||
| numa.c | ||
| opentitan.c | ||
| riscv-iommu-bits.h | ||
| riscv-iommu-hpm.c | ||
| riscv-iommu-hpm.h | ||
| riscv-iommu-pci.c | ||
| riscv-iommu-sys.c | ||
| riscv-iommu.c | ||
| riscv-iommu.h | ||
| riscv_hart.c | ||
| shakti_c.c | ||
| sifive_e.c | ||
| sifive_u.c | ||
| spike.c | ||
| trace-events | ||
| trace.h | ||
| virt-acpi-build.c | ||
| virt.c | ||