On Sun Jun 25, 2023 at 5:26 AM AEST, Philippe Mathieu-Daudé wrote: > The 'kvm_sw_tlb' and 'tlb_dirty' fields introduced in commit > 93dd5e852c ("kvm: ppc: booke206: use MMU API") are specific > to KVM and shouldn't be accessed when it is not available.
Reviewed-by: Nicholas Piggin <npig...@gmail.com> > > Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> > --- > Since v1 > https://lore.kernel.org/qemu-devel/20230405160454.97436-9-phi...@linaro.org/: > - Restrict tlb_dirty field (Cédric, thus drop Daniel's R-b). > --- > target/ppc/cpu.h | 2 ++ > hw/ppc/e500.c | 2 ++ > hw/ppc/ppce500_spin.c | 2 ++ > target/ppc/mmu_common.c | 4 ++++ > 4 files changed, 10 insertions(+)