Lines Matching full:msa
60 #include <asm/msa.h>
1276 static int enable_restore_fp_context(int msa) in enable_restore_fp_context() argument
1287 if (msa && !err) { in enable_restore_fp_context()
1290 * with MSA enabled, userspace can see MSACSR in enable_restore_fp_context()
1291 * and MSA regs, but the values in them are from in enable_restore_fp_context()
1293 * from saved fp/msa context in enable_restore_fp_context()
1311 * If this thread has no live MSA vector context then we can simply in enable_restore_fp_context()
1312 * restore the scalar FP context. If it has live MSA vector context in enable_restore_fp_context()
1313 * (that is, it has or may have used MSA since last performing a in enable_restore_fp_context()
1316 * instruction. This is because if we were to later execute an MSA in enable_restore_fp_context()
1335 if (!msa && !thread_msa_context_live()) in enable_restore_fp_context()
1339 * This task is using or has previously used MSA. Thus we require in enable_restore_fp_context()
1353 * If this is the first time that the task is using MSA and it has in enable_restore_fp_context()
1374 * The task has not formerly used MSA, so clear the upper 64b in enable_restore_fp_context()
1397 static int enable_restore_fp_context(int msa) in enable_restore_fp_context() argument
1515 if (notify_die(DIE_MSAFP, "MSA FP exception", regs, 0, in do_msa_fpe()