[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <fac9f731-627f-73e8-ca22-4214883f058b@csgroup.eu>
Date: Mon, 14 Nov 2022 12:14:43 +0000
From: Christophe Leroy <christophe.leroy@...roup.eu>
To: Samuel Holland <samuel@...lland.org>,
Michael Ellerman <mpe@...erman.id.au>,
Nicholas Piggin <npiggin@...il.com>
CC: "Eric W. Biederman" <ebiederm@...ssion.com>,
Kees Cook <keescook@...omium.org>,
Russell Currey <ruscur@...sell.cc>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linuxppc-dev@...ts.ozlabs.org" <linuxppc-dev@...ts.ozlabs.org>
Subject: Re: [PATCH] powerpc: Save AMR/IAMR when switching tasks
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
Powered by blists - more mailing lists