Hi Leonid,No, lose_fpu disables MSA now, saves MSA context and switches off TIF_USEDMSA. See 33c771ba5c5d067f85a5a6c4b11047219b5b8f4e, "MIPS: save/disable MSA in lose_fpu".
On Wed, Mar 18, 2015 at 12:46:51PM -0700, Leonid Yegoshin wrote:
thread_msa_context_live() == check of TIF_MSA_CTX_LIVE == existence ofRight (I mis-read when its cleared when i grepped). Still, that would
MSA context for thread.
It differs from MSA is owned by thread, it just says that thread has
already initialized MSA.
Unfortunate choice of function name, I believe.
make it even harder to hit since lose_fpu wouldn't clear it, and you
already would've taken an MSA disabled exception first.
Anyway, my point was that there's nothing invalid about an unaligned
load being the first MSA instruction. You might use it to load the
initial vector state.