Re: [PATCH V7 1/3] MIPS: context switch: Use save/restore instead of set/clear for Status.CU2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 21, 2020 at 05:12:26PM +0800, Huacai Chen wrote:
> Some processors (such as Loongson-3) need to enable CU2 in kernel mode,
> current set/clear method will lose Status.CU2 during context switching,
> so use save/restore method instead.
> 
> Signed-off-by: Huacai Chen <chenhc@xxxxxxxxxx>
> ---
>  arch/mips/include/asm/switch_to.h | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

applied patches 1-3 to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]



[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux