Commit cc764291 authored by Mark Brown's avatar Mark Brown Committed by Treehugger Robot
Browse files

UPSTREAM: arm64/fpsimd: Sync FPSIMD state with SVE for SME only systems



Currently we guard FPSIMD/SVE state conversions with a check for the system
supporting SVE but SME only systems may need to sync streaming mode SVE
state so add a check for SME support too.  These functions are only used
by the ptrace code.

Bug: 254441685
Fixes: e12310a0 ("arm64/sme: Implement ptrace support for streaming mode SVE registers")
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20230803-arm64-fix-ptrace-ssve-no-sve-v1-2-49df214bfb3e@kernel.org


Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
(cherry picked from commit 507ea5dd)
Signed-off-by: default avatarLee Jones <joneslee@google.com>
Change-Id: I9c45978bcaa53251561976ae3f549dfdd46a8df8
parent aad9899a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment