All of lore.kernel.org
 help / color / mirror / Atom feed
From: dave.martin@linaro.org (Dave Martin)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 1/2] ARM: ELF: Define new core note type for VFP registers
Date: Tue, 3 May 2011 10:36:59 +0100	[thread overview]
Message-ID: <20110503093659.GA2503@arm.com> (raw)
In-Reply-To: <20110428184925.GM17290@n2100.arm.linux.org.uk>

On Thu, Apr 28, 2011 at 07:49:25PM +0100, Russell King - ARM Linux wrote:
> On Wed, Apr 13, 2011 at 10:56:36AM +0100, Dave Martin wrote:
> > The VFP registers are not currently included in coredumps,
> > and there's no existing note type where they can sensibly be
> > included, so this patch defines a dedicated note type for them.
> 
> This probably wants to be copied to LKML (added).

Good point-- thanks.

---Dave

> 
> > Signed-off-by: Dave Martin <dave.martin@linaro.org>
> > Acked-by: Will Deacon <Will.Deacon@arm.com>
> > ---
> >  include/linux/elf.h |    1 +
> >  1 files changed, 1 insertions(+), 0 deletions(-)
> > 
> > diff --git a/include/linux/elf.h b/include/linux/elf.h
> > index 4d60801..110821c 100644
> > --- a/include/linux/elf.h
> > +++ b/include/linux/elf.h
> > @@ -395,6 +395,7 @@ typedef struct elf64_shdr {
> >  #define NT_S390_CTRS	0x304		/* s390 control registers */
> >  #define NT_S390_PREFIX	0x305		/* s390 prefix register */
> >  #define NT_S390_LAST_BREAK	0x306	/* s390 breaking event address */
> > +#define NT_ARM_VFP	0x400		/* ARM VFP/NEON registers */
> >  
> >  
> >  /* Note header in a PT_NOTE section */
> > -- 
> > 1.7.1
> > 
> > 
> > _______________________________________________
> > linux-arm-kernel mailing list
> > linux-arm-kernel at lists.infradead.org
> > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

WARNING: multiple messages have this Message-ID (diff)
From: Dave Martin <dave.martin@linaro.org>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>
Cc: lkml <linux-kernel@vger.kernel.org>,
	linux-arm-kernel@lists.infradead.org,
	Nicolas Pitre <nicolas.pitre@linaro.org>,
	Ulrich Weigand <ulrich.weigand@linaro.org>,
	Will Deacon <Will.Deacon@arm.com>,
	patches@linaro.org
Subject: Re: [PATCH v4 1/2] ARM: ELF: Define new core note type for VFP registers
Date: Tue, 3 May 2011 10:36:59 +0100	[thread overview]
Message-ID: <20110503093659.GA2503@arm.com> (raw)
In-Reply-To: <20110428184925.GM17290@n2100.arm.linux.org.uk>

On Thu, Apr 28, 2011 at 07:49:25PM +0100, Russell King - ARM Linux wrote:
> On Wed, Apr 13, 2011 at 10:56:36AM +0100, Dave Martin wrote:
> > The VFP registers are not currently included in coredumps,
> > and there's no existing note type where they can sensibly be
> > included, so this patch defines a dedicated note type for them.
> 
> This probably wants to be copied to LKML (added).

Good point-- thanks.

---Dave

> 
> > Signed-off-by: Dave Martin <dave.martin@linaro.org>
> > Acked-by: Will Deacon <Will.Deacon@arm.com>
> > ---
> >  include/linux/elf.h |    1 +
> >  1 files changed, 1 insertions(+), 0 deletions(-)
> > 
> > diff --git a/include/linux/elf.h b/include/linux/elf.h
> > index 4d60801..110821c 100644
> > --- a/include/linux/elf.h
> > +++ b/include/linux/elf.h
> > @@ -395,6 +395,7 @@ typedef struct elf64_shdr {
> >  #define NT_S390_CTRS	0x304		/* s390 control registers */
> >  #define NT_S390_PREFIX	0x305		/* s390 prefix register */
> >  #define NT_S390_LAST_BREAK	0x306	/* s390 breaking event address */
> > +#define NT_ARM_VFP	0x400		/* ARM VFP/NEON registers */
> >  
> >  
> >  /* Note header in a PT_NOTE section */
> > -- 
> > 1.7.1
> > 
> > 
> > _______________________________________________
> > linux-arm-kernel mailing list
> > linux-arm-kernel@lists.infradead.org
> > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2011-05-03  9:36 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-13  9:56 [PATCH v4 REPOST 0/2] ARM: ptrace: migrate to regsets and enable VFP coredumps Dave Martin
2011-04-13  9:56 ` [PATCH v4 1/2] ARM: ELF: Define new core note type for VFP registers Dave Martin
2011-04-28 18:49   ` Russell King - ARM Linux
2011-04-28 18:49     ` Russell King - ARM Linux
2011-05-03  9:36     ` Dave Martin [this message]
2011-05-03  9:36       ` Dave Martin
2011-05-12  9:14       ` Russell King - ARM Linux
2011-05-12  9:14         ` Russell King - ARM Linux
2011-05-13  6:59         ` Dave Martin
2011-05-13  6:59           ` Dave Martin
2011-05-13  7:29           ` Nicolas Pitre
2011-05-13  7:29             ` Nicolas Pitre
2011-05-13 19:24             ` Arnd Bergmann
2011-05-13 19:24               ` Arnd Bergmann
2011-04-13  9:56 ` [PATCH v4 2/2] ARM: ptrace: Migrate to regsets framework Dave Martin
  -- strict thread matches above, loose matches on Subject: below --
2011-04-05  8:59 [PATCH v3 0/2] ARM: ptrace: migrate to regsets and enable VFP coredumps Dave Martin
2011-04-05  8:59 ` [PATCH v4 1/2] ARM: ELF: Define new core note type for VFP registers Dave Martin

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=20110503093659.GA2503@arm.com \
    --to=dave.martin@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.