Thread (11 messages) 11 messages, 3 authors, 2018-05-25
STALE2976d REVIEWED: 3 (3M)

[PATCH 2/4] arm64: KVM: Avoid marking pages as XN in Stage-2 if CTR_EL0.DIC is set

From: catalin.marinas@arm.com (Catalin Marinas)
Date: 2018-05-24 15:52:39
Also in: kvm, kvmarm

On Thu, May 17, 2018 at 11:35:46AM +0100, Marc Zyngier wrote:
On systems where CTR_EL0.DIC is set, we don't need to perform
icache invalidation to guarantee that we'll fetch the right
instruction stream.

This also means that taking a permission fault to invalidate the
icache is an unnecessary overhead.

On such systems, we can safely leave the page as being executable.

Signed-off-by: Marc Zyngier <redacted>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help