Home
last modified time | relevance | path

Searched refs:SVCR_ZA_MASK (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/tools/testing/selftests/arm64/abi/
Dsyscall-abi.c302 if ((svcr_in & SVCR_ZA_MASK) != (svcr_out & SVCR_ZA_MASK)) { in check_svcr()
327 if (!(svcr & SVCR_ZA_MASK)) in check_za()
356 if (!(svcr & SVCR_ZA_MASK)) in check_zt()
436 SVCR_ZA_MASK | SVCR_SM_MASK), in test_one_syscall()
446 sme_vls[sme], SVCR_ZA_MASK), in test_one_syscall()
460 SVCR_ZA_MASK | SVCR_SM_MASK), in test_one_syscall()
466 ksft_test_result(do_test(cfg, 0, sme_vls[sme], SVCR_ZA_MASK), in test_one_syscall()
Dsyscall-abi.h9 #define SVCR_ZA_MASK 2 macro
/linux-6.6.21/arch/arm64/kvm/
Dfpsimd.c112 if (read_sysreg_s(SYS_SVCR) & (SVCR_SM_MASK | SVCR_ZA_MASK)) { in kvm_arch_vcpu_load_fp()
/linux-6.6.21/arch/arm64/kernel/
Dsignal.c459 current->thread.svcr &= ~SVCR_ZA_MASK; in restore_za_context()
480 current->thread.svcr &= ~SVCR_ZA_MASK; in restore_za_context()
493 current->thread.svcr |= SVCR_ZA_MASK; in restore_za_context()
1117 current->thread.svcr &= ~(SVCR_ZA_MASK | in setup_return()
Dfpsimd.c493 if (*svcr & SVCR_ZA_MASK) in fpsimd_save()
905 !(task->thread.svcr & (SVCR_SM_MASK | SVCR_ZA_MASK))) { in vec_set_vector_length()
912 SVCR_ZA_MASK); in vec_set_vector_length()
Dptrace.c1120 target->thread.svcr &= ~SVCR_ZA_MASK; in za_set()
1145 target->thread.svcr |= SVCR_ZA_MASK; in za_set()
1197 target->thread.svcr |= SVCR_ZA_MASK; in zt_set()
/linux-6.6.21/arch/arm64/include/asm/
Dfpsimd.h84 return system_supports_sme() && (thread->svcr & SVCR_ZA_MASK); in thread_za_enabled()