[PATCH v11 21/40] arm64/sme: Implement ZA signal handling

Catalin Marinas catalin.marinas at arm.com
Wed Feb 23 07:19:56 PST 2022


On Mon, Feb 07, 2022 at 03:20:50PM +0000, Mark Brown wrote:
> Implement support for ZA in signal handling in a very similar way to how
> we implement support for SVE registers, using a signal context structure
> with optional register state after it. Where present this register state
> stores the ZA matrix as a series of horizontal vectors numbered from 0 to
> VL/8 in the endinanness independent format used for vectors.
> 
> As with SVE we do not allow changes in the vector length during signal
> return but we do allow ZA to be enabled or disabled.
> 
> Signed-off-by: Mark Brown <broonie at kernel.org>

This follows the SVE implementation closely. It looks fine to me:

Reviewed-by: Catalin Marinas <catalin.marinas at arm.com>



More information about the linux-arm-kernel mailing list