[PATCH] powerpc: Save AMR/IAMR when switching tasks

Christophe Leroy christophe.leroy at csgroup.eu
Mon Nov 14 23:14:43 AEDT 2022



Le 26/10/2022 à 06:27, Samuel Holland a écrit :
> On 9/21/22 00:17, Christophe Leroy wrote:
>>
>> Instead of the patch from Michael, could you try by replacing
>> preempt_enable() by preempt_enable_no_resched() in exit_vmx_usercopy() ?
> 
> I finally got a chance to test this, and the simpler fix of using
> preempt_enable_no_resched() works as well.
> 

Thanks.

That should be fixed upstream now, by commit 
https://github.com/torvalds/linux/commit/00ff1eaac129a24516a3f6d75adfb9df1efb55dd

Christophe


More information about the Linuxppc-dev mailing list