Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/arm64/abi/
H A 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()
H A Dsyscall-abi.h10 #define SVCR_SM_MASK 1 macro
/openbmc/linux/arch/arm64/kernel/
H A 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()
2008 svcr & SVCR_SM_MASK); in __efi_fpsimd_begin()
2015 ffr = !(svcr & SVCR_SM_MASK); in __efi_fpsimd_begin()
2024 SVCR_SM_MASK, 0); in __efi_fpsimd_begin()
2059 SVCR_SM_MASK); in __efi_fpsimd_end()
H A 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()
H A Dptrace.c877 target->thread.svcr &= ~SVCR_SM_MASK; in sve_set_common()
880 target->thread.svcr |= SVCR_SM_MASK; in sve_set_common()
/openbmc/linux/arch/arm64/kvm/
H A Dfpsimd.c112 if (read_sysreg_s(SYS_SVCR) & (SVCR_SM_MASK | SVCR_ZA_MASK)) { in kvm_arch_vcpu_load_fp()
/openbmc/linux/arch/arm64/include/asm/
H A Dfpsimd.h79 return system_supports_sme() && (thread->svcr & SVCR_SM_MASK); in thread_sm_enabled()
H A Dprocessor.h202 if (system_supports_sme() && (thread->svcr & SVCR_SM_MASK)) in thread_get_cur_vl()