From: Michael Ellerman <mpe@ellerman.id.au>
To: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Denis Kirjanov <kda@linux-powerpc.org>
Cc: linuxppc-dev <linuxppc-dev@lists.ozlabs.org>
Subject: Re: unrecoverable exception on G5 with CONFIG_PPC_EARLY_DEBUG enabled
Date: Tue, 21 Jun 2016 10:59:44 +1000 [thread overview]
Message-ID: <1466470784.9938.2.camel@ellerman.id.au> (raw)
In-Reply-To: <87a8igyxcx.fsf@skywalker.in.ibm.com>
On Mon, 2016-06-20 at 15:51 +0530, Aneesh Kumar K.V wrote:
> Michael Ellerman <mpe@ellerman.id.au> writes:
> > diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S
> > index 4c9440629128..8bcc1b457115 100644
> > --- a/arch/powerpc/kernel/exceptions-64s.S
> > +++ b/arch/powerpc/kernel/exceptions-64s.S
> > @@ -1399,11 +1399,12 @@ END_MMU_FTR_SECTION_IFCLR(MMU_FTR_RADIX)
> > lwz r9,PACA_EXSLB+EX_CCR(r13) /* get saved CR */
> >
> > mtlr r10
> > -BEGIN_MMU_FTR_SECTION
> > - b 2f
> > -END_MMU_FTR_SECTION_IFSET(MMU_FTR_RADIX)
> > andi. r10,r12,MSR_RI /* check for unrecoverable exception */
> > +BEGIN_MMU_FTR_SECTION
> > beq- 2f
> > +FTR_SECTION_ELSE
> > + b 2f
> > +ALT_MMU_FTR_SECTION_END_IFCLR(MMU_FTR_RADIX)
> >
> > .machine push
> > .machine "power4"
>
> I sent a patch which should get this problem fixed.
>
> http://mid.gmane.org/1466274479-5650-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com
Well s/fixed/avoided/.
I'd rather we fixed the root cause, which is that the SLB miss handler is broken
until code patching happens. When possible we should write feature sections so
that the unpatched code is functional, to avoid problems like this.
cheers
next prev parent reply other threads:[~2016-06-21 0:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-06 7:52 unrecoverable exception on G5 with CONFIG_PPC_EARLY_DEBUG enabled Denis Kirjanov
2016-06-06 12:27 ` Michael Ellerman
2016-06-16 8:12 ` Denis Kirjanov
2016-06-16 12:07 ` Michael Ellerman
2016-06-16 19:49 ` Denis Kirjanov
2016-06-16 22:33 ` Benjamin Herrenschmidt
2016-06-17 1:46 ` Michael Ellerman
2016-06-18 17:17 ` Aneesh Kumar K.V
2016-06-20 9:23 ` Michael Ellerman
2016-06-20 10:21 ` Aneesh Kumar K.V
2016-06-21 0:59 ` Michael Ellerman [this message]
2016-06-21 4:23 ` Denis Kirjanov
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=1466470784.9938.2.camel@ellerman.id.au \
--to=mpe@ellerman.id.au \
--cc=aneesh.kumar@linux.vnet.ibm.com \
--cc=benh@kernel.crashing.org \
--cc=kda@linux-powerpc.org \
--cc=linuxppc-dev@lists.ozlabs.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;
as well as URLs for NNTP newsgroup(s).