Home
last modified time | relevance | path

Searched refs:SVCR_SM_MASK (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.6/tools/testing/selftests/arm64/abi/
Dsyscall-abi.c112 if (!sve_vl && !(svcr & SVCR_SM_MASK)) { in check_fpr()
128 if (svcr & SVCR_SM_MASK) { in check_fpr()
166 if (svcr & SVCR_SM_MASK) { in check_z()
243 if ((svcr & SVCR_SM_MASK) && in setup_ffr()
268 if ((svcr & SVCR_SM_MASK) && in check_ffr()
296 if (svcr_out & SVCR_SM_MASK) { in check_svcr()
436 SVCR_ZA_MASK | SVCR_SM_MASK), in test_one_syscall()
441 sme_vls[sme], SVCR_SM_MASK), in test_one_syscall()
460 SVCR_ZA_MASK | SVCR_SM_MASK), in test_one_syscall()
463 ksft_test_result(do_test(cfg, 0, sme_vls[sme], SVCR_SM_MASK), in test_one_syscall()
Dsyscall-abi.h10 #define SVCR_SM_MASK 1 macro
/Linux-v6.6/arch/arm64/kernel/
Dfpsimd.c498 if (*svcr & SVCR_SM_MASK) { in fpsimd_save()
905 !(task->thread.svcr & (SVCR_SM_MASK | SVCR_ZA_MASK))) { in vec_set_vector_length()
911 task->thread.svcr &= ~(SVCR_SM_MASK | in vec_set_vector_length()
1989 svcr & SVCR_SM_MASK); in __efi_fpsimd_begin()
1996 ffr = !(svcr & SVCR_SM_MASK); in __efi_fpsimd_begin()
2005 SVCR_SM_MASK, 0); in __efi_fpsimd_begin()
2040 SVCR_SM_MASK); in __efi_fpsimd_end()
Dsignal.c310 current->thread.svcr &= ~SVCR_SM_MASK; in restore_sve_fpsimd_context()
344 current->thread.svcr |= SVCR_SM_MASK; in restore_sve_fpsimd_context()
1111 if (current->thread.svcr & SVCR_SM_MASK) { in setup_return()
1118 SVCR_SM_MASK); in setup_return()
Dptrace.c880 target->thread.svcr &= ~SVCR_SM_MASK; in sve_set_common()
883 target->thread.svcr |= SVCR_SM_MASK; in sve_set_common()
/Linux-v6.6/arch/arm64/kvm/
Dfpsimd.c112 if (read_sysreg_s(SYS_SVCR) & (SVCR_SM_MASK | SVCR_ZA_MASK)) { in kvm_arch_vcpu_load_fp()
/Linux-v6.6/arch/arm64/include/asm/
Dfpsimd.h79 return system_supports_sme() && (thread->svcr & SVCR_SM_MASK); in thread_sm_enabled()
Dprocessor.h202 if (system_supports_sme() && (thread->svcr & SVCR_SM_MASK)) in thread_get_cur_vl()