[PATCH v12 20/40] arm64/sme: Implement streaming SVE signal handling

Thiago Jung Bauermann thiago.bauermann at linaro.org
Wed Mar 16 15:38:30 PDT 2022


Hello,

Mark Brown <broonie at kernel.org> writes:

> @@ -186,9 +189,16 @@ struct sve_context {
>   * sve_context.vl must equal the thread's current vector length when
>   * doing a sigreturn.
>   *
> + * On systems with support for SME the SVE register state may reflect either
> + * streaming or non-streaming mode.  In streaming mode the streaming mode
> + * vector length will be used and the flag SVE_SIG_FLAG_SM will be set in
> + * the flags field. It is permitted to enter or leave streaming mode in
> + * a signal return, applications should take care to ensure that any difference
> + * in vector length between the two modes is handled, including any resixing
> + * and movement of context blocks.

s/resixing/resizing/

-- 
Thiago



More information about the linux-arm-kernel mailing list