From: Richard Henderson <richard.henderson@linaro.org>
To: qemu-devel@nongnu.org
Cc: laurent@vivier.eu
Subject: [PATCH v21 00/13] Add LoongArch linux-user emulation support
Date: Sun, 3 Jul 2022 14:29:00 +0530 [thread overview]
Message-ID: <20220703085913.772936-1-richard.henderson@linaro.org> (raw)
Hi. This is Song Gao's v20 [1], with patch 2 extensively rewritten
so that it handles lock_user properly. It compiles, but I need
to update the docker image we produced last year so that I can
properly test this.
In the meantime, Song, can you please test this?
r~
[1] https://lore.kernel.org/qemu-devel/20220624031049.1716097-1-gaosong@loongson.cn/
Song Gao (13):
linux-user: Add LoongArch generic header files
linux-user: Add LoongArch signal support
linux-user: Add LoongArch elf support
linux-user: Add LoongArch syscall support
linux-user: Add LoongArch cpu_loop support
scripts: add loongarch64 binfmt config
target/loongarch: remove badaddr from CPULoongArch
target/loongarch: Fix missing update CSR_BADV
target/loongarch: Fix helper_asrtle_d/asrtgt_d raise wrong exception
target/loongarch: remove unused include hw/loader.h
target/loongarch: Adjust functions and structure to support user-mode
default-configs: Add loongarch linux-user support
target/loongarch: Update README
configs/targets/loongarch64-linux-user.mak | 3 +
linux-user/loongarch64/sockbits.h | 11 +
linux-user/loongarch64/syscall_nr.h | 312 ++++++++++++++++
linux-user/loongarch64/target_cpu.h | 34 ++
linux-user/loongarch64/target_elf.h | 12 +
linux-user/loongarch64/target_errno_defs.h | 12 +
linux-user/loongarch64/target_fcntl.h | 11 +
linux-user/loongarch64/target_prctl.h | 1 +
linux-user/loongarch64/target_resource.h | 11 +
linux-user/loongarch64/target_signal.h | 13 +
linux-user/loongarch64/target_structs.h | 11 +
linux-user/loongarch64/target_syscall.h | 48 +++
linux-user/loongarch64/termbits.h | 11 +
linux-user/syscall_defs.h | 6 +-
target/loongarch/cpu.h | 8 +-
target/loongarch/helper.h | 2 +
target/loongarch/internals.h | 2 +
linux-user/elfload.c | 91 +++++
linux-user/loongarch64/cpu_loop.c | 96 +++++
linux-user/loongarch64/signal.c | 335 ++++++++++++++++++
target/loongarch/cpu.c | 34 +-
target/loongarch/gdbstub.c | 2 +-
target/loongarch/op_helper.c | 10 +-
.../insn_trans/trans_privileged.c.inc | 36 ++
scripts/gensyscalls.sh | 2 +
scripts/qemu-binfmt-conf.sh | 6 +-
target/loongarch/README | 39 +-
27 files changed, 1144 insertions(+), 15 deletions(-)
create mode 100644 configs/targets/loongarch64-linux-user.mak
create mode 100644 linux-user/loongarch64/sockbits.h
create mode 100644 linux-user/loongarch64/syscall_nr.h
create mode 100644 linux-user/loongarch64/target_cpu.h
create mode 100644 linux-user/loongarch64/target_elf.h
create mode 100644 linux-user/loongarch64/target_errno_defs.h
create mode 100644 linux-user/loongarch64/target_fcntl.h
create mode 100644 linux-user/loongarch64/target_prctl.h
create mode 100644 linux-user/loongarch64/target_resource.h
create mode 100644 linux-user/loongarch64/target_signal.h
create mode 100644 linux-user/loongarch64/target_structs.h
create mode 100644 linux-user/loongarch64/target_syscall.h
create mode 100644 linux-user/loongarch64/termbits.h
create mode 100644 linux-user/loongarch64/cpu_loop.c
create mode 100644 linux-user/loongarch64/signal.c
--
2.34.1
next reply other threads:[~2022-07-03 9:43 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-03 8:59 Richard Henderson [this message]
2022-07-03 8:59 ` [PATCH v21 01/13] linux-user: Add LoongArch generic header files Richard Henderson
2022-07-03 8:59 ` [PATCH v21 02/13] linux-user: Add LoongArch signal support Richard Henderson
2022-07-03 8:59 ` [PATCH v21 03/13] linux-user: Add LoongArch elf support Richard Henderson
2022-07-03 8:59 ` [PATCH v21 04/13] linux-user: Add LoongArch syscall support Richard Henderson
2022-07-03 8:59 ` [PATCH v21 05/13] linux-user: Add LoongArch cpu_loop support Richard Henderson
2022-07-03 8:59 ` [PATCH v21 06/13] scripts: add loongarch64 binfmt config Richard Henderson
2022-07-03 8:59 ` [PATCH v21 07/13] target/loongarch: remove badaddr from CPULoongArch Richard Henderson
2022-07-03 8:59 ` [PATCH v21 08/13] target/loongarch: Fix missing update CSR_BADV Richard Henderson
2022-07-03 8:59 ` [PATCH v21 09/13] target/loongarch: Fix helper_asrtle_d/asrtgt_d raise wrong exception Richard Henderson
2022-07-03 8:59 ` [PATCH v21 10/13] target/loongarch: remove unused include hw/loader.h Richard Henderson
2022-07-03 8:59 ` [PATCH v21 11/13] target/loongarch: Adjust functions and structure to support user-mode Richard Henderson
2022-07-03 8:59 ` [PATCH v21 12/13] default-configs: Add loongarch linux-user support Richard Henderson
2022-07-03 8:59 ` [PATCH v21 13/13] target/loongarch: Update README Richard Henderson
2022-07-04 3:57 ` [PATCH v21 00/13] Add LoongArch linux-user emulation support gaosong
2022-07-04 5:42 ` Richard Henderson
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=20220703085913.772936-1-richard.henderson@linaro.org \
--to=richard.henderson@linaro.org \
--cc=laurent@vivier.eu \
--cc=qemu-devel@nongnu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).