The following changes since commit e8e86b484eac70cd86e15fa10a2f0038a536cbba:
Merge tag 'pull-riscv-to-apply-20220703-1' of github.com:alistair23/qemu into staging (2022-07-03 06:29:02 +0530) are available in the Git repository at: https://gitlab.com/rth7680/qemu.git tags/pull-la-20220704 for you to fetch changes up to eb1e9ff8bba91674b4321f2b075c55aa8d9948cc: target/loongarch: Add lock when writing timer clear reg (2022-07-04 11:08:58 +0530) ---------------------------------------------------------------- LoongArch patch queue: Support linux-user. Fixes for CSR BADV. Fix ASRT{LE,GT} exception. Fixes for LS7A RTC. Fix for interrupt vector spacing. ---------------------------------------------------------------- Mao Bibo (1): hw/intc/loongarch_pch_msi: Fix msi vector convertion 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 Xiaojuan Yang (9): hw/rtc/ls7a_rtc: Fix uninitialied bugs and toymatch writing function hw/rtc/ls7a_rtc: Fix timer call back function hw/rtc/ls7a_rtc: Remove unimplemented device in realized function hw/rtc/ls7a_rtc: Add reset function hw/rtc/ls7a_rtc: Fix rtc enable and disable function hw/rtc/ls7a_rtc: Use tm struct pointer as arguments in toy_time_to_val() hw/rtc/ls7a_rtc: Fix 'calculate' spelling errors target/loongarch: Fix the meaning of ECFG reg's VS field target/loongarch: Add lock when writing timer clear reg configs/targets/loongarch64-linux-user.mak | 3 + include/hw/intc/loongarch_pch_msi.h | 2 + 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 + hw/intc/loongarch_pch_msi.c | 22 +- hw/loongarch/loongson3.c | 1 + hw/rtc/ls7a_rtc.c | 131 ++++---- linux-user/elfload.c | 91 ++++++ linux-user/loongarch64/cpu_loop.c | 96 ++++++ linux-user/loongarch64/signal.c | 335 +++++++++++++++++++++ target/loongarch/cpu.c | 38 ++- target/loongarch/csr_helper.c | 2 + target/loongarch/gdbstub.c | 2 +- target/loongarch/op_helper.c | 10 +- target/loongarch/insn_trans/trans_privileged.c.inc | 36 +++ scripts/gensyscalls.sh | 2 + scripts/qemu-binfmt-conf.sh | 6 +- target/loongarch/README | 39 ++- 32 files changed, 1226 insertions(+), 95 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