[PATCH] arm64/fpsimd: signal: Clear TPIDR2 when delivering signals

Catalin Marinas catalin.marinas at arm.com
Mon Apr 28 12:25:54 PDT 2025


On Thu, 17 Apr 2025 20:01:13 +0100, Mark Rutland wrote:
> Linux is intended to be compatible with userspace written to Arm's
> AAPCS64 procedure call standard [1,2]. For the Scalable Matrix Extension
> (SME), AAPCS64 was extended with a "ZA lazy saving scheme", where SME's
> ZA tile is lazily callee-saved and caller-restored. In this scheme,
> TPIDR2_EL0 indicates whether the ZA tile is live or has been saved by
> pointing to a "TPIDR2 block" in memory, which has a "za_save_buffer"
> pointer. This scheme has been implemented in GCC and LLVM, with
> necessary runtime support implemented in glibc.
> 
> [...]

Applied to arm64 (for-next/sme-fixes), thanks!

[1/1] arm64/fpsimd: signal: Clear TPIDR2 when delivering signals
      https://git.kernel.org/arm64/c/b376108e1f88

-- 
Catalin




More information about the linux-arm-kernel mailing list