Skip to content

AArch64 preparation patch set

Alexander Graf qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12ARM: Extract the disas struct to a header filetarget-arm/translate.c target-arm/translate.h+28 -230 replies
2/12ARM: Export cpu_envtarget-arm/translate.c target-arm/translate.h+3 -10 replies
3/12ARM: Prepare translation for AArch64 codeinclude/elf.h target-arm/cpu.h target-arm/translate.c+103 -444 replies
4/12ARM: Add AArch64 translation stubtarget-arm/Makefile.objs target-arm/translate-a64.c target-arm/translate.c +1 more+161 -02 replies
5/12AArch64: Add gdb stubgdb-xml/aarch64-core.xml gdb-xml/aarch64-fpu.xml gdbstub.c+185 -00 replies
6/12linux-user: Don't treat aarch64 cpu names speciallylinux-user/cpu-uname.c+2 -10 replies
7/12linux-user: AArch64 requires at least 3.8.0linux-user/syscall.c+5 -01 reply
8/12linux-user: Add syscall handling for AArch64linux-user/arm/syscall_nr.h linux-user/main.c+341 -00 replies
9/12linux-user: Fix up AArch64 syscall handlerslinux-user/syscall.c linux-user/syscall_defs.h+29 -40 replies
10/12linux-user: Add signal handling for AArch64linux-user/arm/target_signal.h linux-user/signal.c+267 -00 replies
11/12linux-user: Add AArch64 supportdefault-configs/arm64-linux-user.mak linux-user/arm/syscall.h linux-user/elfload.c +2 more+81 -120 replies
12/12ARM: Add arm64 target to configureconfigure linux-user/Makefile.objs+10 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 00/12] AArch64 preparation patch set

There is some work ongoing at different places to add AArch64 (ARM64) support to QEMU. Most of that work is currently happening behind closed doors that won't open during the next few days.

But we should at least try and get the bits that are uncontroversial into QEMU, so that everyone can base off the same base.

This patch set adds bits that are all based on publicly available information.

Alex

Alexander Graf (11):
ARM: Extract the disas struct to a header file
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 arm64 target to configure

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

 configure                            |    9 +
 default-configs/arm64-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                     |  123 ++++++++++---
 target-arm/translate-a64.c           |  139 +++++++++++++++
 target-arm/translate.c               |   83 +++++-----
 target-arm/translate.h               |   35 ++++
 21 files changed, 1215 insertions(+), 85 deletions(-)
 create mode 100644 default-configs/arm64-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
 create mode 100644 target-arm/translate.h