[v6] powerpc/mm/radix: Workaround prefetch issue with KVM

Michael Ellerman patch-notifications at ellerman.id.au
Thu Jul 27 22:38:30 AEST 2017


On Tue, 2017-07-25 at 11:47:42 UTC, Michael Ellerman wrote:
> From: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> 
> There's a somewhat architectural issue with Radix MMU and KVM.
> 
> When coming out of a guest with AIL (Alternate Interrupt Location, ie,
> MMU enabled), we start executing hypervisor code with the PID register
> still containing whatever the guest has been using.
...
> 
> Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> [mpe: Rework the asm to build with CONFIG_PPC_RADIX_MMU=n, drop
>       unneeded include of kvm_book3s_asm.h]
> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>

Applied to powerpc fixes.

https://git.kernel.org/powerpc/c/a25bd72badfa793ab5aeafd50dbd9d

cheers


More information about the Linuxppc-dev mailing list