[PATCH] powerpc/64s/exception: KVM Fix for host DSI being taken in HPT guest MMU context

Michael Ellerman patch-notifications at ellerman.id.au
Fri Nov 20 18:00:37 AEDT 2020


On Tue, 17 Nov 2020 23:56:17 +1000, Nicholas Piggin wrote:
> Commit 2284ffea8f0c ("powerpc/64s/exception: Only test KVM in SRR
> interrupts when PR KVM is supported") removed KVM guest tests from
> interrupts that do not set HV=1, when PR-KVM is not configured.
> 
> This is wrong for HV-KVM HPT guest MMIO emulation case which attempts
> to load the faulting instruction word with MSR[DR]=1 and MSR[HV]=1 with
> the guest MMU context loaded. This can cause host DSI, DSLB interrupts
> which must test for KVM guest. Restore this and add a comment.

Applied to powerpc/fixes.

[1/1] powerpc/64s/exception: KVM Fix for host DSI being taken in HPT guest MMU context
      https://git.kernel.org/powerpc/c/cd81acc600a9684ea4b4d25a47900d38a3890eab

cheers


More information about the Linuxppc-dev mailing list