summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2022-08-29 16:49:20 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2022-09-21 17:26:58 +0100
commit0027d9c6c7b57b61b82f7275633ba89d0de2d2fd (patch)
treeb3e42c5e5235629733ea8466c42e0f35d45d9dc3 /tools
parentf285da05c62a429f1978c5520cf069d483a7d9af (diff)
downloadlinux-stable-0027d9c6c7b57b61b82f7275633ba89d0de2d2fd.tar.gz
linux-stable-0027d9c6c7b57b61b82f7275633ba89d0de2d2fd.tar.bz2
linux-stable-0027d9c6c7b57b61b82f7275633ba89d0de2d2fd.zip
arm64/ptrace: Support access to TPIDR2_EL0
SME introduces an additional EL0 register, TPIDR2_EL0, intended for use by userspace as part of the SME. Provide ptrace access to it through the existing NT_ARM_TLS regset used for TPIDR_EL0 by expanding it to two registers with TPIDR2_EL0 being the second one. Existing programs that query the size of the register set will be able to observe the increased size of the register set. Programs that assume the register set is single register will see no change. On systems that do not support SME TPIDR2_EL0 will read as 0 and writes will be ignored, support for SME should be queried via hwcaps as normal. Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20220829154921.837871-4-broonie@kernel.org Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions