[RFC PATCH 7/7 v1]powerpc: Deliver SEGV signal on protection key violation.

Benjamin Herrenschmidt benh at kernel.crashing.org
Fri Jun 16 20:33:01 AEST 2017


On Fri, 2017-06-16 at 14:50 +0530, Anshuman Khandual wrote:
> On 06/06/2017 06:35 AM, Ram Pai wrote:
> > The value of the AMR register at the time of the exception
> > is made available in gp_regs[PT_AMR] of the siginfo.
> 
> But its already available there in uctxt->uc_mcontext.regs->amr
> while inside the signal delivery context in the user space. The
> pt_regs already got updated with new AMR register. Then why we
> need gp_regs to also contain AMR as well ?

Also changing gp_regs layout/size is a major ABI issue...

Ben.



More information about the Linuxppc-dev mailing list