[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <555F7E20.3040903@imgtec.com>
Date:	Fri, 22 May 2015 12:06:08 -0700
From:	Leonid Yegoshin <Leonid.Yegoshin@...tec.com>
To:	Ralf Baechle <ralf@...ux-mips.org>
CC:	<linux-mips@...ux-mips.org>, <rusty@...tcorp.com.au>,
	<alexinbeijing@...il.com>, <paul.burton@...tec.com>,
	<david.daney@...ium.com>, <alex@...x-smith.me.uk>,
	<linux-kernel@...r.kernel.org>, <james.hogan@...tec.com>,
	<markos.chandras@...tec.com>, <macro@...ux-mips.org>,
	<eunb.song@...sung.com>, <manuel.lauss@...il.com>,
	<andreas.herrmann@...iumnetworks.com>
Subject: Re: [PATCH 1/2] MIPS: MSA: bugfix - disable MSA during thread switch
 correctly
Ralf,
If there was TIF_USEDMSA in "prev" task then it means that all MSA HW is 
in use.
And switch_to() checks this and transfers it to resume() to indicate 
that MSA processing should be done.
Macro call "msa_save_all    a0" right before disabling MSA in Config5 
does a save of MSA registers. If it doesn't cause an exception then it 
means that Config5 does exist and Config5.MIPS_CONF5_MSAEN does exist too.
- Leonid.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists
 
