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


Groups > linux.kernel > #1667630

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

From Benjamin Herrenschmidt <benh@kernel.crashing.org>
Newsgroups linux.kernel
Subject Re: [RFC PATCH 7/7 v1]powerpc: Deliver SEGV signal on protection key violation.
Date 2017-06-16 12:40 +0200
Message-ID <tSWPx-7fv-23@gated-at.bofh.it> (permalink)
References <tPbaq-1V1-3@gated-at.bofh.it> <tPbar-1V1-33@gated-at.bofh.it> <tSVJL-6Aa-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [RFC PATCH 7/7 v1]powerpc: Deliver SEGV signal on protection key  violation. Anshuman Khandual <khandual@linux.vnet.ibm.com> - 2017-06-16 11:30 +0200
  Re: [RFC PATCH 7/7 v1]powerpc: Deliver SEGV signal on protection  key violation. Benjamin Herrenschmidt <benh@kernel.crashing.org> - 2017-06-16 12:40 +0200
    Re: [RFC PATCH 7/7 v1]powerpc: Deliver SEGV signal on protection key  violation. Ram Pai <linuxram@us.ibm.com> - 2017-06-16 21:20 +0200
      Re: [RFC PATCH 7/7 v1]powerpc: Deliver SEGV signal on protection  key violation. Benjamin Herrenschmidt <benh@kernel.crashing.org> - 2017-06-17 01:00 +0200
  Re: [RFC PATCH 7/7 v1]powerpc: Deliver SEGV signal on protection key  violation. Ram Pai <linuxram@us.ibm.com> - 2017-06-16 21:20 +0200

csiph-web