summaryrefslogtreecommitdiff
path: root/arch/arm64/kernel/cpuinfo.c
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2019-11-27 09:51:13 +0000
committerCatalin Marinas <catalin.marinas@arm.com>2020-09-03 17:26:31 +0100
commit0178dc7613684561ff3bb1625cd5504f1e7fbe3d (patch)
treee2ecb07f1cab6a6d46e5f7d5c6cfeca88b22b38e /arch/arm64/kernel/cpuinfo.c
parentc058b1c4a5ea7b88cce4c961c1000acf482ea64b (diff)
arm64: mte: Use Normal Tagged attributes for the linear map
Once user space is given access to tagged memory, the kernel must be able to clear/save/restore tags visible to the user. This is done via the linear mapping, therefore map it as such. The new MT_NORMAL_TAGGED index for MAIR_EL1 is initially mapped as Normal memory and later changed to Normal Tagged via the cpufeature infrastructure. From a mismatched attribute aliases perspective, the Tagged memory is considered a permission and it won't lead to undefined behaviour. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Cc: Will Deacon <will@kernel.org> Cc: Suzuki K Poulose <Suzuki.Poulose@arm.com>
Diffstat (limited to 'arch/arm64/kernel/cpuinfo.c')
0 files changed, 0 insertions, 0 deletions