[PATCH v3 12/21] arm64/sme: Implement ZT0 ptrace support

Zenghui Yu yuzenghui at huawei.com
Sat Dec 17 01:23:27 PST 2022


On 2022/11/12 5:50, Mark Brown wrote:
> @@ -1474,6 +1520,14 @@ static const struct user_regset aarch64_regsets[] = {
>  		.regset_get = za_get,
>  		.set = za_set,
>  	},
> +	[REGSET_ZT] = { /* SME ZA */

nit: /* SME ZT */

> +		.core_note_type = NT_ARM_ZT,
> +		.n = 1,
> +		.size = ZT_SIG_REG_BYTES,
> +		.align = sizeof(u64),
> +		.regset_get = zt_get,
> +		.set = zt_set,
> +	},
>  #endif
>  #ifdef CONFIG_ARM64_PTR_AUTH
>  	[REGSET_PAC_MASK] = {

Zenghui



More information about the linux-arm-kernel mailing list