mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Christophe Leroy <christophe.leroy@csgroup.eu>
To: Samuel Holland <samuel@sholland.org>,
	Michael Ellerman <mpe@ellerman.id.au>,
	Nicholas Piggin <npiggin@gmail.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>,
	Kees Cook <keescook@chromium.org>,
	Russell Currey <ruscur@russell.cc>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>
Subject: Re: [PATCH] powerpc: Save AMR/IAMR when switching tasks
Date: Mon, 14 Nov 2022 12:14:43 +0000	[thread overview]
Message-ID: <fac9f731-627f-73e8-ca22-4214883f058b@csgroup.eu> (raw)
In-Reply-To: <28f0b6b0-cc85-8406-c007-111d44fa06c2@sholland.org>



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

      reply	other threads:[~2022-11-14 12:14 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-16  5:05 Samuel Holland
2022-09-17  8:16 ` Christophe Leroy
2022-09-17 18:38   ` Samuel Holland
2022-09-18  8:21     ` Christophe Leroy
2022-09-19 12:37   ` Michael Ellerman
2022-09-19 13:39     ` Christophe Leroy
2022-09-21 13:00       ` Michael Ellerman
2022-09-21  3:33     ` Samuel Holland
2022-09-21  5:17       ` Christophe Leroy
2022-10-26  4:27         ` Samuel Holland
2022-11-14 12:14           ` Christophe Leroy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fac9f731-627f-73e8-ca22-4214883f058b@csgroup.eu \
    --to=christophe.leroy@csgroup.eu \
    --cc=ebiederm@xmission.com \
    --cc=keescook@chromium.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    --cc=npiggin@gmail.com \
    --cc=ruscur@russell.cc \
    --cc=samuel@sholland.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®