This is a note to let you know that I've just added the patch titled arm64/signal: Always allocate SVE signal frames on SME only systems to the 6.1-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: arm64-signal-always-allocate-sve-signal-frames-on-sme-only-systems.patch and it can be found in the queue-6.1 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From f26cd7372160da2eba31061d7943348ab9f2c01d Mon Sep 17 00:00:00 2001 From: Mark Brown <broonie@xxxxxxxxxx> Date: Tue, 27 Dec 2022 17:12:06 +0000 Subject: arm64/signal: Always allocate SVE signal frames on SME only systems From: Mark Brown <broonie@xxxxxxxxxx> commit f26cd7372160da2eba31061d7943348ab9f2c01d upstream. Currently we only allocate space for SVE signal frames on systems that support SVE, meaning that SME only systems do not allocate a signal frame for streaming mode SVE state. Change the check so space is allocated if either feature is supported. Fixes: 85ed24dad290 ("arm64/sme: Implement streaming SVE signal handling") Signed-off-by: Mark Brown <broonie@xxxxxxxxxx> Link: https://lore.kernel.org/r/20221223-arm64-fix-sme-only-v1-3-938d663f69e5@xxxxxxxxxx Signed-off-by: Will Deacon <will@xxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- arch/arm64/kernel/signal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/arm64/kernel/signal.c +++ b/arch/arm64/kernel/signal.c @@ -729,7 +729,7 @@ static int setup_sigframe_layout(struct return err; } - if (system_supports_sve()) { + if (system_supports_sve() || system_supports_sme()) { unsigned int vq = 0; if (add_all || test_thread_flag(TIF_SVE) || Patches currently in stable-queue which might be from broonie@xxxxxxxxxx are queue-6.1/arm64-signal-always-accept-sve-signal-frames-on-sme-only-systems.patch queue-6.1/arm64-signal-always-allocate-sve-signal-frames-on-sme-only-systems.patch queue-6.1/arm64-ptrace-use-arm64_sme-to-guard-the-sme-register-enumerations.patch queue-6.1/firmware-psci-don-t-register-with-debugfs-if-psci-isn-t-available.patch queue-6.1/asoc-qcom-lpass-cpu-fix-fallback-sd-line-index-handling.patch queue-6.1/asoc-rt9120-make-dev-pm-runtime-bind-asoc-component-pm.patch