[PATCH v3 09/21] arm64/sme: Provide storage for ZT0

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


On 2022/11/12 5:50, Mark Brown wrote:
> +	 * enabled we should retain the ZA and ZT state so duplicate
> +	 * it here.  This may be shortly freed if we exec() or if
> +	 * CLONE_SETTLS but it's simpler to do it here. To avoid
> +	 * confusing the rest of the code ensure that we have a
> +	 * sve_state allocated whenever za_state is allocated.

nit: s/za_state/sme_state/ and can be squashed into patch #1.

Zenghui



More information about the linux-arm-kernel mailing list