qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v15 0/9] Add LoongArch linux-user emulation support
@ 2022-06-09  2:42 Song Gao
  2022-06-09  2:42 ` [PATCH v15 1/9] linux-user: Add LoongArch generic header files Song Gao
                   ` (8 more replies)
  0 siblings, 9 replies; 24+ messages in thread
From: Song Gao @ 2022-06-09  2:42 UTC (permalink / raw)
  To: qemu-devel; +Cc: richard.henderson, laurent, gaosong

Hi All,

This series add support linux-user emulation.
As the LoongArch kernel had merged into 5.19-rc1,
you can see the latest kernel at https://kernel.org

Need review patches:

  0002-linux-user-Add-LoongArch-signal-support.patch
  0008-target-loongarch-Adjust-functions-and-structure-to-s.patch
  0009-target-loongarch-Update-README.patch

v15:
  - Rebase;
  - Update README;
  - Adjust some functions and structure to support user-mode;
  - Update syscall;
  - Update target_sigcontext;


Old series:
   - https://patchew.org/QEMU/20220106094200.1801206-1-gaosong@loongson.cn/
  

Thanks.
Song Gao


Song Gao (9):
  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
  default-configs: Add loongarch linux-user support
  scripts: add loongarch64 binfmt config
  target/loongarch: Adjust functions and structure to support user-mode
  target/loongarch: Update README

 configs/targets/loongarch64-linux-user.mak    |   3 +
 linux-user/elfload.c                          |  54 +++
 linux-user/loongarch64/cpu_loop.c             |  93 ++++++
 linux-user/loongarch64/signal.c               | 194 +++++++++++
 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                     |  12 +-
 scripts/gensyscalls.sh                        |   1 +
 scripts/qemu-binfmt-conf.sh                   |   6 +-
 target/loongarch/README                       |  39 ++-
 target/loongarch/cpu.c                        |  22 +-
 target/loongarch/cpu.h                        |   6 +
 target/loongarch/helper.h                     |   5 +-
 target/loongarch/insn_trans/trans_extra.c.inc |  14 +
 .../insn_trans/trans_privileged.c.inc         |  36 ++
 target/loongarch/internals.h                  |   2 +
 target/loongarch/op_helper.c                  |  12 +
 27 files changed, 974 insertions(+), 12 deletions(-)
 create mode 100644 configs/targets/loongarch64-linux-user.mak
 create mode 100644 linux-user/loongarch64/cpu_loop.c
 create mode 100644 linux-user/loongarch64/signal.c
 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

-- 
2.31.1



^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2022-06-13 16:11 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-09  2:42 [PATCH v15 0/9] Add LoongArch linux-user emulation support Song Gao
2022-06-09  2:42 ` [PATCH v15 1/9] linux-user: Add LoongArch generic header files Song Gao
2022-06-09  9:54   ` WANG Xuerui
2022-06-09  2:42 ` [PATCH v15 2/9] linux-user: Add LoongArch signal support Song Gao
2022-06-09 18:00   ` Richard Henderson
2022-06-09  2:42 ` [PATCH v15 3/9] linux-user: Add LoongArch elf support Song Gao
2022-06-09  2:42 ` [PATCH v15 4/9] linux-user: Add LoongArch syscall support Song Gao
2022-06-09 10:04   ` WANG Xuerui
2022-06-10  1:15     ` gaosong
2022-06-09  2:42 ` [PATCH v15 5/9] linux-user: Add LoongArch cpu_loop support Song Gao
2022-06-09  2:42 ` [PATCH v15 6/9] default-configs: Add loongarch linux-user support Song Gao
2022-06-09 10:11   ` WANG Xuerui
2022-06-09 18:14   ` Richard Henderson
2022-06-09  2:42 ` [PATCH v15 7/9] scripts: add loongarch64 binfmt config Song Gao
2022-06-09  2:42 ` [PATCH v15 8/9] target/loongarch: Adjust functions and structure to support user-mode Song Gao
2022-06-09 10:18   ` WANG Xuerui
2022-06-09 18:42   ` Richard Henderson
2022-06-10  6:53     ` gaosong
2022-06-10 22:45       ` Richard Henderson
2022-06-11  3:10         ` gaosong
2022-06-11 16:06           ` Richard Henderson
2022-06-13  3:50             ` gaosong
2022-06-13 16:05               ` Richard Henderson
2022-06-09  2:42 ` [PATCH v15 9/9] target/loongarch: Update README Song Gao

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).