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

From: Christophe Leroy
Date: Mon Nov 14 2022 - 07:14:50 EST




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