Lines Matching full:msa
59 #include <asm/msa.h>
1274 static int enable_restore_fp_context(int msa) in enable_restore_fp_context() argument
1285 if (msa && !err) { in enable_restore_fp_context()
1288 * with MSA enabled, userspace can see MSACSR in enable_restore_fp_context()
1289 * and MSA regs, but the values in them are from in enable_restore_fp_context()
1291 * from saved fp/msa context in enable_restore_fp_context()
1309 * If this thread has no live MSA vector context then we can simply in enable_restore_fp_context()
1310 * restore the scalar FP context. If it has live MSA vector context in enable_restore_fp_context()
1311 * (that is, it has or may have used MSA since last performing a in enable_restore_fp_context()
1314 * instruction. This is because if we were to later execute an MSA in enable_restore_fp_context()
1333 if (!msa && !thread_msa_context_live()) in enable_restore_fp_context()
1337 * This task is using or has previously used MSA. Thus we require in enable_restore_fp_context()
1351 * If this is the first time that the task is using MSA and it has in enable_restore_fp_context()
1372 * The task has not formerly used MSA, so clear the upper 64b in enable_restore_fp_context()
1395 static int enable_restore_fp_context(int msa) in enable_restore_fp_context() argument
1513 if (notify_die(DIE_MSAFP, "MSA FP exception", regs, 0, in do_msa_fpe()