Skip to contentSkip to conversation

AArch64 preparation patch set

PATCH Superseded John Rigby 4 participants 5 messages Apr 30, 2013 – May 1, 2013

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

John Rigby

author
#0 lore raw

v2 cover AArch64 preparation patch set

Resubmission of patches submitted by Alexander Graf in March. Addressing feedback sent.

Changes in v2:
All: Use aarch64 instead of arm64 (in all case combinations). Patch 2/12 ARM: Prepare translation for AArch64 code
- Remove uses of is_a64 that are not needed because arch choice happens at a higher level.
- aarch64 register arrays now only have 31 entries with sp and xzr treated as special cases.
Patch 3/12 ARM: Add AArch64 translation stub
- Remove uses of is_a64 that are not needed because arch choice happens at a higher level.
- aarch64 register arrays now only have 31 entries with sp and xzr treated as special cases.
Patch 7/12 linux-user: AArch64 requires at least 3.8.0
- Moved to 12/12 to appear after aarch64 is added to configure

Alexander Graf (11):
ARM: Export cpu_env
ARM: Prepare translation for AArch64 code
ARM: Add AArch64 translation stub
AArch64: Add gdb stub
linux-user: Don't treat aarch64 cpu names specially
linux-user: AArch64 requires at least 3.8.0
linux-user: Add syscall handling for AArch64
linux-user: Fix up AArch64 syscall handlers
linux-user: Add AArch64 support
ARM: Add aarch64 target to configure
linux-user: AArch64 requires at least 3.8.0

Andreas Schwab (1):
linux-user: Add signal handling for AArch64

 configure                              |    9 +
 default-configs/aarch64-linux-user.mak |    3 +
 gdb-xml/aarch64-core.xml               |   46 +++++
 gdb-xml/aarch64-fpu.xml                |   86 +++++++++
 gdbstub.c                              |   53 ++++++
 include/elf.h                          |    2 +
 linux-user/Makefile.objs               |    1 +
 linux-user/arm/syscall.h               |   46 ++++-
 linux-user/arm/syscall_nr.h            |  326 ++++++++++++++++++++++++++++++++
 linux-user/arm/target_signal.h         |    4 +
 linux-user/cpu-uname.c                 |    3 +-
 linux-user/elfload.c                   |   15 +-
 linux-user/main.c                      |   24 +++
 linux-user/signal.c                    |  263 ++++++++++++++++++++++++++
 linux-user/syscall.c                   |   10 +-
 linux-user/syscall_defs.h              |   28 ++-
 target-arm/Makefile.objs               |    1 +
 target-arm/cpu.h                       |  158 +++++++++++-----
 target-arm/translate-a64.c             |  139 ++++++++++++++
 target-arm/translate.c                 |   25 ++-
 target-arm/translate.h                 |    8 +
 21 files changed, 1186 insertions(+), 64 deletions(-)
 create mode 100644 default-configs/aarch64-linux-user.mak
 create mode 100644 gdb-xml/aarch64-core.xml
 create mode 100644 gdb-xml/aarch64-fpu.xml
 create mode 100644 target-arm/translate-a64.c
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 2 lines · John Rigby

Resubmission of patches submitted by Alexander Graf in March. Addressing feedback sent.

Your mail chaining is broken :)

Alex

author
#2 lore raw
Quoted 9 lines · Alexander Graf
Quoted 2 lines · John Rigby

Resubmission of patches submitted by Alexander Graf in March. Addressing feedback sent.

Your mail chaining is broken :)

yes, I see that. When I ran git format-patch I gave it --in-reply-to='<

[email protected]>' which was the msgid of your original part 0/12. That obviously was not the right thing. Do I send each part with --in-reply-to set to previous version of that patch?

--john

#3 lore raw
Quoted 8 lines · John Rigby
Quoted 2 lines · Alexander Graf

Your mail chaining is broken :)

yes, I see that. When I ran git format-patch I gave it --in-reply-to='<[email protected]>' which was the msgid of your original part 0/12. That obviously was not the right thing. Do I send each part with --in-reply-to set to previous version of that patch?

You don't need to chain a v2 patch series to the previously submitted version at all. Just make sure that each patch in the series is a reply to its own cover letter. I use:

git format-patch -o ~/sent-patches/whatever.2 master --cover-letter

     --subject-prefix='PATCH v2'

[Edit the cover letter here]
git send-email --no-chain-reply-to [email protected]
~/sent-patches/whatever.2

(add --suppress-cc, --from, --cc, etc to taste, and you can set these defaults in your .gitconfig rather than using command line arguments. --dry-run is also a useful send-email option.)

PS: for Linaro you should include '[email protected]' :-)

-- PMM

#4 lore raw
Quoted 3 lines · Peter Maydell

(add --suppress-cc, --from, --cc, etc to taste, and you can set these defaults in your .gitconfig rather than using command line arguments. --dry-run is also a useful send-email option.)

Also helpful is setting some defaults in your qemu/.git/config.

E.g. I have the --to=qemu-devel set there. All that's required is that you run the git-send-email from within the qemu source tree.

r~