Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1671249 > unrolled thread

Re: [RFC v2 10/12] powerpc: Read AMR only if pkey-violation caused the exception.

Started byRam Pai <linuxram@us.ibm.com>
First post2017-06-21 02:00 +0200
Last post2017-06-21 02:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [RFC v2 10/12] powerpc: Read AMR only if pkey-violation caused  the exception. Ram Pai <linuxram@us.ibm.com> - 2017-06-21 02:00 +0200

#1671249 — Re: [RFC v2 10/12] powerpc: Read AMR only if pkey-violation caused the exception.

FromRam Pai <linuxram@us.ibm.com>
Date2017-06-21 02:00 +0200
SubjectRe: [RFC v2 10/12] powerpc: Read AMR only if pkey-violation caused the exception.
Message-ID<tUBdU-6Oo-9@gated-at.bofh.it>
On Mon, Jun 19, 2017 at 09:06:13PM +1000, Michael Ellerman wrote:
> Ram Pai <linuxram@us.ibm.com> writes:
> 
> > Signed-off-by: Ram Pai <linuxram@us.ibm.com>
> > ---
> >  arch/powerpc/kernel/exceptions-64s.S | 16 ++++++++++------
> >  1 file changed, 10 insertions(+), 6 deletions(-)
> >
> > diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S
> > index 8db9ef8..a4de1b4 100644
> > --- a/arch/powerpc/kernel/exceptions-64s.S
> > +++ b/arch/powerpc/kernel/exceptions-64s.S
> > @@ -493,13 +493,15 @@ EXC_COMMON_BEGIN(data_access_common)
> >  	ld	r12,_MSR(r1)
> >  	ld	r3,PACA_EXGEN+EX_DAR(r13)
> >  	lwz	r4,PACA_EXGEN+EX_DSISR(r13)
> > +	std	r3,_DAR(r1)
> > +	std	r4,_DSISR(r1)
> >  #ifdef CONFIG_PPC64_MEMORY_PROTECTION_KEYS
> > +	andis.  r0,r4,DSISR_KEYFAULT@h /* save AMR only if its a key fault */
> > +	beq+	1f
> 
> This seems to be incremental on top of one of your other patches.
> 
> But I don't see why, can you please just squash this into whatever patch
> adds this code in the first place.

Yes. squash it is.

next version of my patch will have it squashed.
RP

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web