diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2018-04-25 19:58:20 +0300 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2018-07-09 13:37:42 +0300 |
commit | 2f6ea23f63cca99cd514c221f075c986b57c927e (patch) | |
tree | 23f3397f81f925209b318a6df577a58fa529ba47 /crypto/twofish_generic.c | |
parent | 09605e94c2cbb67c6472c07e1c06a7a0e7271f83 (diff) | |
download | linux-2f6ea23f63cca99cd514c221f075c986b57c927e.tar.xz |
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 <catalin.marinas@arm.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Christoffer Dall <christoffer.dall@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'crypto/twofish_generic.c')
0 files changed, 0 insertions, 0 deletions