aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorMark Brown <[email protected]>2022-12-27 17:12:04 +0000
committerWill Deacon <[email protected]>2023-01-05 15:31:18 +0000
commit0cab5b4964c7064893e6ff5e81087a9206c63908 (patch)
treeb162ef3e16da8c6a851d009e6f76fc7d4b8b3ff2 /tools/testing/selftests/bpf/progs/test_autoload.c
parent031af50045ea97ed4386eb3751ca2c134d0fc911 (diff)
arm64/sme: Fix context switch for SME only systems
When refactoring fpsimd_load() to support keeping SVE enabled over syscalls support for systems with SME but not SVE was broken. The code that selects between loading regular FPSIMD and SVE states was guarded by using system_supports_sve() but is also needed to handle the streaming SVE state in SME only systems where that check will be false. Fix this by also checking for system_supports_sme(). Fixes: a0136be443d5 ("arm64/fpsimd: Load FP state based on recorded data type") Signed-off-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions