public inbox for linux-rt-users@vger.kernel.org
 help / color / mirror / Atom feed
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
To: Priyanka Jain <Priyanka.Jain@freescale.com>
Cc: linux-rt-users@vger.kernel.org, rostedt@goodmis.org
Subject: Re: [PATCH] powerpc/64bit,PREEMPT_RT: Check preempt_count before preempting
Date: Thu, 25 Apr 2013 18:58:16 +0200	[thread overview]
Message-ID: <20130425165816.GH5561@linutronix.de> (raw)
In-Reply-To: <1366004896-3006-1-git-send-email-Priyanka.Jain@freescale.com>

* Priyanka Jain | 2013-04-15 11:18:16 [+0530]:

>Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com>
>---
> arch/powerpc/kernel/entry_64.S |    2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
>diff --git a/arch/powerpc/kernel/entry_64.S b/arch/powerpc/kernel/entry_64.S
>index 1b1c8ae..ec120e6 100644
>--- a/arch/powerpc/kernel/entry_64.S
>+++ b/arch/powerpc/kernel/entry_64.S
>@@ -643,6 +643,8 @@ resume_kernel:
> #ifdef CONFIG_PREEMPT
> 	/* Check if we need to preempt */
> 	lwz	r8,TI_PREEMPT(r9)
>+	cmpwi	0,r8,0		/* if non-zero, just restore regs and return */
>+	bne	restore
> 	andi.	r0,r4,_TIF_NEED_RESCHED
> 	bne+	check_count

Oh boy oh boy. Thanks for caching this. Steven please take this to v3.6,
don't see this chunk in v3.4.

Priyanka: does 64bit power work fine on v3.6/v3.8 besides this?

Sebastian

  reply	other threads:[~2013-04-25 16:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-15  5:48 [PATCH] powerpc/64bit,PREEMPT_RT: Check preempt_count before preempting Priyanka Jain
2013-04-25 16:58 ` Sebastian Andrzej Siewior [this message]
2013-04-26  4:01   ` Jain Priyanka-B32167
  -- strict thread matches above, loose matches on Subject: below --
2013-04-15  5:47 Priyanka Jain
2013-04-15  5:50 ` Jain Priyanka-B32167

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=20130425165816.GH5561@linutronix.de \
    --to=bigeasy@linutronix.de \
    --cc=Priyanka.Jain@freescale.com \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=rostedt@goodmis.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