[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] target/ppc: Restrict KVM-specific fields from ArchCPU
From: |
Nicholas Piggin |
Subject: |
Re: [PATCH v2] target/ppc: Restrict KVM-specific fields from ArchCPU |
Date: |
Mon, 26 Jun 2023 12:10:45 +1000 |
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 <npiggin@gmail.com>
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
> Since v1
> https://lore.kernel.org/qemu-devel/20230405160454.97436-9-philmd@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(+)