summaryrefslogtreecommitdiffstats
path: root/include/clocksource
diff options
context:
space:
mode:
authorMarc Zyngier2016-04-28 17:16:31 +0200
committerChristoffer Dall2016-04-29 13:46:14 +0200
commitd4b9e0790aa764c0b01e18d4e8d33e93ba36d51f (patch)
tree7c68840b2597a9403763465ddea994547b22c855 /include/clocksource
parentarm64: kvm: Add support for 16K pages (diff)
downloadkernel-qcow2-linux-d4b9e0790aa764c0b01e18d4e8d33e93ba36d51f.tar.gz
kernel-qcow2-linux-d4b9e0790aa764c0b01e18d4e8d33e93ba36d51f.tar.xz
kernel-qcow2-linux-d4b9e0790aa764c0b01e18d4e8d33e93ba36d51f.zip
arm/arm64: KVM: Enforce Break-Before-Make on Stage-2 page tables
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. Cc: <stable@vger.kernel.org> Reported-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'include/clocksource')
0 files changed, 0 insertions, 0 deletions