[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 070f73: linux-user: Add LoongArch generic hea
From: |
Richard Henderson |
Subject: |
[Qemu-commits] [qemu/qemu] 070f73: linux-user: Add LoongArch generic header files |
Date: |
Mon, 04 Jul 2022 08:16:55 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 070f7353339861e92efc44fbdc3103ccf3cae11e
https://github.com/qemu/qemu/commit/070f7353339861e92efc44fbdc3103ccf3cae11e
Author: Song Gao <gaosong@loongson.cn>
Date: 2022-07-04 (Mon, 04 Jul 2022)
Changed paths:
A linux-user/loongarch64/sockbits.h
A linux-user/loongarch64/target_errno_defs.h
A linux-user/loongarch64/target_fcntl.h
A linux-user/loongarch64/target_prctl.h
A linux-user/loongarch64/target_resource.h
A linux-user/loongarch64/target_structs.h
A linux-user/loongarch64/termbits.h
Log Message:
-----------
linux-user: Add LoongArch generic header files
This includes:
- sockbits.h
- target_errno_defs.h
- target_fcntl.h
- termbits.h
- target_resource.h
- target_structs.h
Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: WANG Xuerui <git@xen0n.name>
Message-Id: <20220624031049.1716097-2-gaosong@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 9d5cd6587a70d613087a284763d44ff6fe798149
https://github.com/qemu/qemu/commit/9d5cd6587a70d613087a284763d44ff6fe798149
Author: Song Gao <gaosong@loongson.cn>
Date: 2022-07-04 (Mon, 04 Jul 2022)
Changed paths:
A linux-user/loongarch64/signal.c
A linux-user/loongarch64/target_signal.h
Log Message:
-----------
linux-user: Add LoongArch signal support
Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Message-Id: <20220624031049.1716097-3-gaosong@loongson.cn>
[rth: Rework extctx frame allocation and locking;
Properly read/write fcc from signal frame.]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 3418fe25fa9c37fb5428758a234e527af0735e1a
https://github.com/qemu/qemu/commit/3418fe25fa9c37fb5428758a234e527af0735e1a
Author: Song Gao <gaosong@loongson.cn>
Date: 2022-07-04 (Mon, 04 Jul 2022)
Changed paths:
M linux-user/elfload.c
A linux-user/loongarch64/target_elf.h
Log Message:
-----------
linux-user: Add LoongArch elf support
Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220624031049.1716097-4-gaosong@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 1f63019632aef190ca927e625966c9864e8cfd07
https://github.com/qemu/qemu/commit/1f63019632aef190ca927e625966c9864e8cfd07
Author: Song Gao <gaosong@loongson.cn>
Date: 2022-07-04 (Mon, 04 Jul 2022)
Changed paths:
A linux-user/loongarch64/syscall_nr.h
A linux-user/loongarch64/target_syscall.h
M linux-user/syscall_defs.h
M scripts/gensyscalls.sh
Log Message:
-----------
linux-user: Add LoongArch syscall support
Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220624031049.1716097-5-gaosong@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: da8c70ea82de0d5387d04b33de2bcf5cbe7afe86
https://github.com/qemu/qemu/commit/da8c70ea82de0d5387d04b33de2bcf5cbe7afe86
Author: Song Gao <gaosong@loongson.cn>
Date: 2022-07-04 (Mon, 04 Jul 2022)
Changed paths:
A linux-user/loongarch64/cpu_loop.c
A linux-user/loongarch64/target_cpu.h
Log Message:
-----------
linux-user: Add LoongArch cpu_loop support
Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220624031049.1716097-6-gaosong@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 0caebb9160872e4e2a0cfaa08de34a3d5309b704
https://github.com/qemu/qemu/commit/0caebb9160872e4e2a0cfaa08de34a3d5309b704
Author: Song Gao <gaosong@loongson.cn>
Date: 2022-07-04 (Mon, 04 Jul 2022)
Changed paths:
M scripts/qemu-binfmt-conf.sh
Log Message:
-----------
scripts: add loongarch64 binfmt config
Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220624031049.1716097-7-gaosong@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: fffca8f227a9bab76af77f9b828cba94cafe119e
https://github.com/qemu/qemu/commit/fffca8f227a9bab76af77f9b828cba94cafe119e
Author: Song Gao <gaosong@loongson.cn>
Date: 2022-07-04 (Mon, 04 Jul 2022)
Changed paths:
M target/loongarch/cpu.h
M target/loongarch/gdbstub.c
Log Message:
-----------
target/loongarch: remove badaddr from CPULoongArch
We can use CSR_BADV to replace badaddr.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220624031049.1716097-8-gaosong@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 7d552f0e0abfdfa88ad1825297a7077397e1ae95
https://github.com/qemu/qemu/commit/7d552f0e0abfdfa88ad1825297a7077397e1ae95
Author: Song Gao <gaosong@loongson.cn>
Date: 2022-07-04 (Mon, 04 Jul 2022)
Changed paths:
M target/loongarch/cpu.c
Log Message:
-----------
target/loongarch: Fix missing update CSR_BADV
loongarch_cpu_do_interrupt() should update CSR_BADV for some EXCCODE.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220624031049.1716097-9-gaosong@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 7fe7eea6ffe4f22ba66fd719aa441942d1727f7f
https://github.com/qemu/qemu/commit/7fe7eea6ffe4f22ba66fd719aa441942d1727f7f
Author: Song Gao <gaosong@loongson.cn>
Date: 2022-07-04 (Mon, 04 Jul 2022)
Changed paths:
M target/loongarch/cpu.c
M target/loongarch/op_helper.c
Log Message:
-----------
target/loongarch: Fix helper_asrtle_d/asrtgt_d raise wrong exception
Raise EXCCODE_BCE instead of EXCCODE_ADEM for helper_asrtle_d/asrtgt_d.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220624031049.1716097-10-gaosong@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 9bc92b501363a5bad67ca92cf0f7256b20c401e5
https://github.com/qemu/qemu/commit/9bc92b501363a5bad67ca92cf0f7256b20c401e5
Author: Song Gao <gaosong@loongson.cn>
Date: 2022-07-04 (Mon, 04 Jul 2022)
Changed paths:
M target/loongarch/cpu.c
Log Message:
-----------
target/loongarch: remove unused include hw/loader.h
Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220624031049.1716097-11-gaosong@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 0093b9a5eeee6304fbd6e4f5be6b47820c4d55e3
https://github.com/qemu/qemu/commit/0093b9a5eeee6304fbd6e4f5be6b47820c4d55e3
Author: Song Gao <gaosong@loongson.cn>
Date: 2022-07-04 (Mon, 04 Jul 2022)
Changed paths:
M target/loongarch/cpu.c
M target/loongarch/cpu.h
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_privileged.c.inc
M target/loongarch/internals.h
M target/loongarch/op_helper.c
Log Message:
-----------
target/loongarch: Adjust functions and structure to support user-mode
Some functions and member of the structure are different with softmmu-mode
So we need adjust them to support user-mode.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220624031049.1716097-12-gaosong@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: d32688ecdb43c9a22fc87d0c3e23aed5d15e3b02
https://github.com/qemu/qemu/commit/d32688ecdb43c9a22fc87d0c3e23aed5d15e3b02
Author: Song Gao <gaosong@loongson.cn>
Date: 2022-07-04 (Mon, 04 Jul 2022)
Changed paths:
A configs/targets/loongarch64-linux-user.mak
Log Message:
-----------
default-configs: Add loongarch linux-user support
This patch adds loongarch64 linux-user default configs file.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: WANG Xuerui <git@xen0n.name>
Message-Id: <20220624031049.1716097-13-gaosong@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 227e73c9862672fef358d2417004cac32b3fec34
https://github.com/qemu/qemu/commit/227e73c9862672fef358d2417004cac32b3fec34
Author: Song Gao <gaosong@loongson.cn>
Date: 2022-07-04 (Mon, 04 Jul 2022)
Changed paths:
M target/loongarch/README
Log Message:
-----------
target/loongarch: Update README
Add linux-user emulation introduction
Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220624031049.1716097-14-gaosong@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 490c03ab1106121182f380c639a7db852e1b5401
https://github.com/qemu/qemu/commit/490c03ab1106121182f380c639a7db852e1b5401
Author: Mao Bibo <maobibo@loongson.cn>
Date: 2022-07-04 (Mon, 04 Jul 2022)
Changed paths:
M hw/intc/loongarch_pch_msi.c
M hw/loongarch/loongson3.c
M include/hw/intc/loongarch_pch_msi.h
Log Message:
-----------
hw/intc/loongarch_pch_msi: Fix msi vector convertion
Loongarch pch msi intc connects to extioi controller, the range of irq
number is 64-255. Add a property for irqbase, so that we can compute
the irq offset from the view of pch_msi controller with the method:
msi vector (from view of upper extioi intc) - irqbase
Signed-off-by: Mao Bibo <maobibo@loongson.cn>
Message-Id: <20220701030740.2469162-1-maobibo@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 4f2c65877ce8b9405ff3f1c5e5f4bb4b90f24b6b
https://github.com/qemu/qemu/commit/4f2c65877ce8b9405ff3f1c5e5f4bb4b90f24b6b
Author: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Date: 2022-07-04 (Mon, 04 Jul 2022)
Changed paths:
M hw/rtc/ls7a_rtc.c
Log Message:
-----------
hw/rtc/ls7a_rtc: Fix uninitialied bugs and toymatch writing function
1. Initialize the tm struct in toymatch_write() and ls7a_toy_start() to
fix uninitialized bugs.
2. Fix toymatch_val_to_time function. By the document, when we calculate
the expiration year, we should first get current year, and replace the
0-5 bits with toymatch's 26-31 bits.
Fixes: Coverity CID 1489766, 1489763
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220701093407.2150607-2-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: df11f3ea6957cfdbc1690767e90cf04585a6c601
https://github.com/qemu/qemu/commit/df11f3ea6957cfdbc1690767e90cf04585a6c601
Author: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Date: 2022-07-04 (Mon, 04 Jul 2022)
Changed paths:
M hw/rtc/ls7a_rtc.c
Log Message:
-----------
hw/rtc/ls7a_rtc: Fix timer call back function
Replace qemu_irq_pulse with qemu_irq_raise in ls7a_timer_cb function
to keep consistent with hardware behavior when raise irq.
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220701093407.2150607-3-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 53a5eb2e7a7f8cebb3010fc658e935679379a0fa
https://github.com/qemu/qemu/commit/53a5eb2e7a7f8cebb3010fc658e935679379a0fa
Author: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Date: 2022-07-04 (Mon, 04 Jul 2022)
Changed paths:
M hw/rtc/ls7a_rtc.c
Log Message:
-----------
hw/rtc/ls7a_rtc: Remove unimplemented device in realized function
Remove the unimplemented device when realized ls7a RTC, as it is not uesd.
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220701093407.2150607-4-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: e5c0367e2bbcf730e96614f63ea7575885fdde98
https://github.com/qemu/qemu/commit/e5c0367e2bbcf730e96614f63ea7575885fdde98
Author: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Date: 2022-07-04 (Mon, 04 Jul 2022)
Changed paths:
M hw/rtc/ls7a_rtc.c
Log Message:
-----------
hw/rtc/ls7a_rtc: Add reset function
Add ls7a rtc reset function to delete timers and clear regs when rtc reset.
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Message-Id: <20220701093407.2150607-5-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 6935f132e595a03eb023b5e9a0703509b3f0c2a1
https://github.com/qemu/qemu/commit/6935f132e595a03eb023b5e9a0703509b3f0c2a1
Author: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Date: 2022-07-04 (Mon, 04 Jul 2022)
Changed paths:
M hw/rtc/ls7a_rtc.c
Log Message:
-----------
hw/rtc/ls7a_rtc: Fix rtc enable and disable function
Fix ls7a rtc enable and disable function. When rtc disabled, it do
not support to read or write, but the real time is still continue,
so we need not neither save the time nor update the rtc offset.
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220701093407.2150607-6-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 582788c3fbce95d9c43e30a7d806ee02eb1c13d0
https://github.com/qemu/qemu/commit/582788c3fbce95d9c43e30a7d806ee02eb1c13d0
Author: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Date: 2022-07-04 (Mon, 04 Jul 2022)
Changed paths:
M hw/rtc/ls7a_rtc.c
Log Message:
-----------
hw/rtc/ls7a_rtc: Use tm struct pointer as arguments in toy_time_to_val()
Use pointer as arguments in toy_time_to_val() instead of struct tm.
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220701093407.2150607-7-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 59e52dcff7254603f3b5bf527806a830f016bf82
https://github.com/qemu/qemu/commit/59e52dcff7254603f3b5bf527806a830f016bf82
Author: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Date: 2022-07-04 (Mon, 04 Jul 2022)
Changed paths:
M hw/rtc/ls7a_rtc.c
Log Message:
-----------
hw/rtc/ls7a_rtc: Fix 'calculate' spelling errors
Fix 'calculate' spelling errors.
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220701093407.2150607-8-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 4623367697ebb531fce89a10f9c73a820a5ad82a
https://github.com/qemu/qemu/commit/4623367697ebb531fce89a10f9c73a820a5ad82a
Author: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Date: 2022-07-04 (Mon, 04 Jul 2022)
Changed paths:
M target/loongarch/cpu.c
Log Message:
-----------
target/loongarch: Fix the meaning of ECFG reg's VS field
By the manual of LoongArch CSR, the VS field(18:16 bits) of
ECFG reg means that the number of instructions between each
exception entry is 2^VS.
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220701093407.2150607-9-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: eb1e9ff8bba91674b4321f2b075c55aa8d9948cc
https://github.com/qemu/qemu/commit/eb1e9ff8bba91674b4321f2b075c55aa8d9948cc
Author: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Date: 2022-07-04 (Mon, 04 Jul 2022)
Changed paths:
M target/loongarch/csr_helper.c
Log Message:
-----------
target/loongarch: Add lock when writing timer clear reg
There is such error info when running linux kernel:
tcg_handle_interrupt: assertion failed: (qemu_mutex_iothread_locked()).
calling stack:
#0 in raise () at /lib64/libc.so.6
#1 in abort () at /lib64/libc.so.6
#2 in g_assertion_message_expr.cold () at /lib64/libglib-2.0.so.0
#3 in g_assertion_message_expr () at /lib64/libglib-2.0.so.0
#4 in tcg_handle_interrupt (cpu=0x632000030800, mask=2) at
../accel/tcg/tcg-accel-ops.c:79
#5 in cpu_interrupt (cpu=0x632000030800, mask=2) at ../softmmu/cpus.c:248
#6 in loongarch_cpu_set_irq (opaque=0x632000030800, irq=11, level=0)
at ../target/loongarch/cpu.c:100
#7 in helper_csrwr_ticlr (env=0x632000039440, val=1) at
../target/loongarch/csr_helper.c:85
#8 in code_gen_buffer ()
#9 in cpu_tb_exec (cpu=0x632000030800, itb=0x7fff946ac280,
tb_exit=0x7ffe4fcb6c30)
at ../accel/tcg/cpu-exec.c:358
Add mutex iothread lock around loongarch_cpu_set_irq in csrwr_ticlr() to
fix the bug.
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220701093407.2150607-10-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 1437479e5ee1a49ccd84cad9e7b010fb2ee9d805
https://github.com/qemu/qemu/commit/1437479e5ee1a49ccd84cad9e7b010fb2ee9d805
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-07-04 (Mon, 04 Jul 2022)
Changed paths:
A configs/targets/loongarch64-linux-user.mak
M hw/intc/loongarch_pch_msi.c
M hw/loongarch/loongson3.c
M hw/rtc/ls7a_rtc.c
M include/hw/intc/loongarch_pch_msi.h
M linux-user/elfload.c
A linux-user/loongarch64/cpu_loop.c
A linux-user/loongarch64/signal.c
A linux-user/loongarch64/sockbits.h
A linux-user/loongarch64/syscall_nr.h
A linux-user/loongarch64/target_cpu.h
A linux-user/loongarch64/target_elf.h
A linux-user/loongarch64/target_errno_defs.h
A linux-user/loongarch64/target_fcntl.h
A linux-user/loongarch64/target_prctl.h
A linux-user/loongarch64/target_resource.h
A linux-user/loongarch64/target_signal.h
A linux-user/loongarch64/target_structs.h
A linux-user/loongarch64/target_syscall.h
A linux-user/loongarch64/termbits.h
M linux-user/syscall_defs.h
M scripts/gensyscalls.sh
M scripts/qemu-binfmt-conf.sh
M target/loongarch/README
M target/loongarch/cpu.c
M target/loongarch/cpu.h
M target/loongarch/csr_helper.c
M target/loongarch/gdbstub.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_privileged.c.inc
M target/loongarch/internals.h
M target/loongarch/op_helper.c
Log Message:
-----------
Merge tag 'pull-la-20220704' of https://gitlab.com/rth7680/qemu into staging
LoongArch patch queue:
Support linux-user.
Fixes for CSR BADV.
Fix ASRT{LE,GT} exception.
Fixes for LS7A RTC.
Fix for interrupt vector spacing.
# -----BEGIN PGP SIGNATURE-----
#
# iQFRBAABCgA7FiEEekgeeIaLTbaoWgXAZN846K9+IV8FAmLCs4gdHHJpY2hhcmQu
# aGVuZGVyc29uQGxpbmFyby5vcmcACgkQZN846K9+IV89IQgAsgGM117dgDlI48wP
# zRVRE9rmK9EE/YR8b4rejh5iFlH0kZTELWAaXmjxWSv9uyXwsApNdnxnthUH1CRD
# RbT8AOIUphH6MBMb2joy+zFyBkGBnJQbSxJWN0jDT/ie67I/O0qOIemXU9tETssn
# OLNCn+GuNFLiS8EytczkZHDmQjjt00PGZLsnCm+ZY+/ejNci0FV0NItBo6iWxDdj
# 8MPJU8pDkXyi+djJpExPc0hTxJ2qmH0FZtpjKwWnU8dbLSRD9IfYhFK5Tsh1oxYJ
# 9Er9ZS0RI2CqK3o2k7keYsJHMaIZbNZKhcoA3XiGs15T9YHe1Rc9FeYDasrQw4wQ
# 60FwkA==
# =i2CR
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon 04 Jul 2022 03:01:52 PM +0530
# gpg: using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg: issuer "richard.henderson@linaro.org"
# gpg: Good signature from "Richard Henderson <richard.henderson@linaro.org>"
[ultimate]
* tag 'pull-la-20220704' of https://gitlab.com/rth7680/qemu: (23 commits)
target/loongarch: Add lock when writing timer clear reg
target/loongarch: Fix the meaning of ECFG reg's VS field
hw/rtc/ls7a_rtc: Fix 'calculate' spelling errors
hw/rtc/ls7a_rtc: Use tm struct pointer as arguments in toy_time_to_val()
hw/rtc/ls7a_rtc: Fix rtc enable and disable function
hw/rtc/ls7a_rtc: Add reset function
hw/rtc/ls7a_rtc: Remove unimplemented device in realized function
hw/rtc/ls7a_rtc: Fix timer call back function
hw/rtc/ls7a_rtc: Fix uninitialied bugs and toymatch writing function
hw/intc/loongarch_pch_msi: Fix msi vector convertion
target/loongarch: Update README
default-configs: Add loongarch linux-user support
target/loongarch: Adjust functions and structure to support user-mode
target/loongarch: remove unused include hw/loader.h
target/loongarch: Fix helper_asrtle_d/asrtgt_d raise wrong exception
target/loongarch: Fix missing update CSR_BADV
target/loongarch: remove badaddr from CPULoongArch
scripts: add loongarch64 binfmt config
linux-user: Add LoongArch cpu_loop support
linux-user: Add LoongArch syscall support
...
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Compare: https://github.com/qemu/qemu/compare/dfe2382f0641...1437479e5ee1