[RFC PATCH 0/3] arm64: Support Common Not Private translations
Vladimir Murzin
vladimir.murzin at arm.com
Mon Aug 14 03:38:51 PDT 2017
Common Not Private (CNP) translations is a feature of ARMv8.2
extension which allows translation table entries to be shared between
different PEs in the same inner shareable domain, so the hardware can
use this fact to optimise the caching of such entries in the TLB.
This patch set is an attempt to bring CNP support into Linux. It was
tested on a v8.2 Fast Model with exploring traces and checking that
TTBRx_ELy and VTTBR_EL2 have CnP bit set where appropriate.
Thanks!
Vladimir Murzin (3):
arm64: mm: Support Common Not Private translations
arm64: KVM: Support Common Not Private translations
arm64: Introduce command line parameter to disable CNP
Documentation/admin-guide/kernel-parameters.txt | 4 +++
arch/arm64/Kconfig | 12 ++++++++
arch/arm64/include/asm/asm-uaccess.h | 2 ++
arch/arm64/include/asm/cpucaps.h | 3 +-
arch/arm64/include/asm/cpufeature.h | 6 ++++
arch/arm64/include/asm/memory.h | 1 +
arch/arm64/include/asm/mmu_context.h | 14 +++++++++
arch/arm64/include/asm/uaccess.h | 10 +++++--
arch/arm64/kernel/cpufeature.c | 40 +++++++++++++++++++++++++
arch/arm64/kernel/hibernate.c | 2 +-
arch/arm64/kvm/hyp-init.S | 4 +++
arch/arm64/kvm/hyp/switch.c | 6 +++-
arch/arm64/mm/proc.S | 5 ++++
13 files changed, 104 insertions(+), 5 deletions(-)
--
2.0.0
More information about the linux-arm-kernel
mailing list