[PATCH] arm/arm64: KVM: Enforce Break-Before-Make on Stage-2 page tables

Christoffer Dall christoffer.dall at linaro.org
Fri Apr 29 04:31:31 PDT 2016


On Thu, Apr 28, 2016 at 04:16:31PM +0100, Marc Zyngier wrote:
> The ARM architecture mandates that when changing a page table entry
> from a valid entry to another valid entry, an invalid entry is first
> written, TLB invalidated, and only then the new entry being written.
> 
> The current code doesn't respect this, directly writing the new
> entry and only then invalidating TLBs. Let's fix it up.
> 
> Signed-off-by: Marc Zyngier <marc.zyngier at arm.com>

Thanks for fixing this, I've applied it to next.

-Christoffer



More information about the linux-arm-kernel mailing list