[PATCH 3/4] arm64/signal: Add tpidr2/za/zt sigframe size in comment

Dongxu Sun sundongxu3 at huawei.com
Fri Mar 17 05:49:14 PDT 2023


Update the comments of sigcontext.__reserved[], since we already
support SME/SME2.

Signed-off-by: Dongxu Sun <sundongxu3 at huawei.com>
---
 arch/arm64/include/uapi/asm/sigcontext.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/include/uapi/asm/sigcontext.h b/arch/arm64/include/uapi/asm/sigcontext.h
index 656a10ea6c67..d85e3079474d 100644
--- a/arch/arm64/include/uapi/asm/sigcontext.h
+++ b/arch/arm64/include/uapi/asm/sigcontext.h
@@ -45,10 +45,13 @@ struct sigcontext {
  *	0x210		fpsimd_context
  *	 0x10		esr_context
  *	0x8a0		sve_context (vl <= 64) (optional)
+ *	 0x10		tpidr2_context (optional)
+ *	 0x10		za_context (optional)
+ *	 0x10		zt_context (optional)
  *	 0x20		extra_context (optional)
  *	 0x10		terminator (null _aarch64_ctx)
  *
- *	0x510		(reserved for future allocation)
+ *	0x4e0		(reserved for future allocation)
  *
  * New records that can exceed this space need to be opt-in for userspace, so
  * that an expanded signal frame is not generated unexpectedly.  The mechanism
-- 
2.33.0




More information about the linux-arm-kernel mailing list