[PATCH v11 23/40] arm64/sme: Add ptrace support for ZA

Catalin Marinas catalin.marinas at arm.com
Wed Feb 23 07:27:24 PST 2022


On Mon, Feb 07, 2022 at 03:20:52PM +0000, Mark Brown wrote:
> The ZA array can be read and written with the NT_ARM_ZA.  Similarly to
> our interface for the SVE vector registers the regset consists of a
> header with information on the current vector length followed by an
> optional register data payload, represented as for signals as a series
> of horizontal vectors from 0 to VL/8 in the endianness independent
> format used for vectors.
> 
> On get if ZA is enabled then register data will be provided, otherwise
> it will be omitted.  On set if register data is provided then ZA is
> enabled and initialized using the provided data, otherwise it is
> disabled.
> 
> Signed-off-by: Mark Brown <broonie at kernel.org>

The patch looks fine to be but I'd like Luis to look at the ptrace ABI
in this series.

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



More information about the linux-arm-kernel mailing list