arm64/signal: Include TPIDR2 in the signal context
authorMark Brown <broonie@kernel.org>
Tue, 27 Dec 2022 14:20:41 +0000 (14:20 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 20 Jan 2023 12:42:31 +0000 (12:42 +0000)
commit39e54499280f373d03ab7ffe681ca9d53a9089c9
treebc36790f611be011a0b8058f73244a76cff28db3
parent17d0c4a27b2ac90df99307af0b6b6a162805c4fc
arm64/signal: Include TPIDR2 in the signal context

Add a new signal frame record for TPIDR2 using the same format as we
already use for ESR with different magic, a header with the value from the
register appended as the only data. If SME is supported then this record is
always included.

Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Szabolcs Nagy <szabolcs.nagy@arm.com>
Link: https://lore.kernel.org/r/20221208-arm64-tpidr2-sig-v3-2-c77c6c8775f4@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/uapi/asm/sigcontext.h
arch/arm64/kernel/signal.c