diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2019-11-27 12:51:13 +0300 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2020-09-03 19:26:31 +0300 |
commit | 0178dc7613684561ff3bb1625cd5504f1e7fbe3d (patch) | |
tree | e2ecb07f1cab6a6d46e5f7d5c6cfeca88b22b38e /arch/arm64/include/uapi | |
parent | c058b1c4a5ea7b88cce4c961c1000acf482ea64b (diff) | |
download | linux-0178dc7613684561ff3bb1625cd5504f1e7fbe3d.tar.xz |
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/include/uapi')
0 files changed, 0 insertions, 0 deletions