aboutsummaryrefslogtreecommitdiff
path: root/lib/pm-notifier-error-inject.c
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2018-04-25 17:58:20 +0100
committerMarc Zyngier <[email protected]>2018-07-09 11:37:42 +0100
commit2f6ea23f63cca99cd514c221f075c986b57c927e (patch)
tree23f3397f81f925209b318a6df577a58fa529ba47 /lib/pm-notifier-error-inject.c
parent09605e94c2cbb67c6472c07e1c06a7a0e7271f83 (diff)
arm64: KVM: Avoid marking pages as XN in Stage-2 if CTR_EL0.DIC is set
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. Acked-by: Catalin Marinas <[email protected]> Acked-by: Mark Rutland <[email protected]> Acked-by: Christoffer Dall <[email protected]> Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions