Searched hist:"9 bbcf372193a2064743461aea5bf59cc83e37aa9" (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/target/i386/tcg/sysemu/ |
H A D | excp_helper.c | diff 9bbcf372193a2064743461aea5bf59cc83e37aa9 Sun Oct 02 12:29:51 CDT 2022 Richard Henderson <richard.henderson@linaro.org> target/i386: Reorg GET_HPHYS
Replace with PTE_HPHYS for the page table walk, and a direct call to mmu_translate for the final stage2 translation. Hoist the check for HF2_NPT_MASK out to get_physical_address, which avoids the recursive call when stage2 is disabled.
We can now return all the way out to x86_cpu_tlb_fill before raising an exception, which means probe works.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20221002172956.265735-5-richard.henderson@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|