Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Alan Hayward <Alan.Hayward@arm.com>
To: Pedro Alves <palves@redhat.com>
Cc: GDB Patches <gdb-patches@sourceware.org>, nd <nd@arm.com>
Subject: Re: Request for 8.2, SVE cores && adding SVE to NEWS file etc
Date: Fri, 17 Aug 2018 09:26:00 -0000	[thread overview]
Message-ID: <3D0DD287-65D9-4D1B-A9EE-67E202B2FF6A@arm.com> (raw)
In-Reply-To: <843fee7a-1738-4147-256f-e1fc7950fe18@redhat.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 3192 bytes --]



> On 16 Aug 2018, at 17:17, Pedro Alves <palves@redhat.com> wrote:
> 
> On 08/15/2018 10:31 AM, Alan Hayward wrote:
>> Wasn’t sure if this was the best place to ask.
>> 
>> 1) Is 8.2 still open to new functionality? It’d be really useful to have core support for Aarch64 SVE in 8.2
>> (Given SVE is supported in 8.2, I guess you could argue it’s a bug fix :). )
>> Currently in 8.2, GDB will just ignore the SVE parts of a core file.
> 
> Not usually, but there have been exceptions evaluated on a case by case basis.
> 
>> 
>> The four commits are:
>> (Earliest patch is obv, second is a mechanical change across many files, the final two are aarch64 only)
>> 
>> 0c76e06d5c   2 days ago Alan Hayward    Parse SVE registers in aarch64 core file reading/writing
>> b7fd65b9dc   2 days ago Alan Hayward    Detect SVE when reading aarch64 core files
>> a616bb9450   2 days ago Alan Hayward    Split size in regset section iterators
>> dbd534fee4   5 days ago Alan Hayward    Rename size in get_core_register_sectio
> 
> I haven't looked at the patches, but in principle, I'd support it,
> from the standpoint that since we're adding SVE support, might as well
> add all of it.  Also, speaking with my Fedora/RHEL had on, we'd likely end
> up backporting them too.  Can you give a guesstimate of the risk those
> patches bring in to other ports?  I'd assume they'd be pretty self contained.

There’s a simple enough change to the args of a common function. And then everything
else is self contained. I’d break it down into:

dbd534fee4   5 days ago Alan Hayward    Rename size in get_core_register_sectio
 - Rename of single variable in common function. Obvious change, no risk.

a616bb9450   2 days ago Alan Hayward    Split size in regset section iterators
 - Mechanical change across every tdep file (adds a new third arg, which is a
   duplicate of the second arg). Very minor risk on any target that there might
   be a copy/paste error that hasn't been spotted (just needs a triple check of
   the diff again when merging). Minor risk that I've missed a tdep file that
   doesn't get built into a target-all build (causing a build error which I’d
   hope would have been spotted by now).

b7fd65b9dc   2 days ago Alan Hayward    Detect SVE when reading aarch64 core files
0c76e06d5c   2 days ago Alan Hayward    Parse SVE registers in aarch64 core file reading/writing
 - Limited to reading/writing Aarch64 (SVE and non-SVE) Linux cores on either
   a Aarch64 Linux build or target-all build. SVE code is seperated from
   standard aarch64 code. So to go wrong on non-SVE, the code would first
   have to incorrectly detect the presence of SVE.

> 
>> 
>> 
>> 2) I’ve spotted that Aarch64 SVE support should probably be mentioned in the NEWS file.
>> Are there any other documentation type files that need updating alongside?
> 
> Well, the user manual, if there were any changes to it.  
> 
> If the SVE support included any new XML target description feature,
> that should be mentioned in the manual.

Ok, I’ll put together a patch for both of those.

Thanks,
Alan.


\x16º&Öéj×!zÊÞ¶êç׏|ïyb²Ö«r\x18\x1dn–­r\x17¬

  reply	other threads:[~2018-08-17  9:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-15  9:31 Alan Hayward
2018-08-16 16:17 ` Pedro Alves
2018-08-17  9:26   ` Alan Hayward [this message]
2018-08-21 13:16     ` Joel Brobecker
2018-08-21 14:34       ` Pedro Alves

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=3D0DD287-65D9-4D1B-A9EE-67E202B2FF6A@arm.com \
    --to=alan.hayward@arm.com \
    --cc=gdb-patches@sourceware.org \
    --cc=nd@arm.com \
    --cc=palves@redhat.com \
    /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