[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 5e6f3d: target/hppa: Update to SeaBIOS-hppa v
From: |
Alex Bennée |
Subject: |
[Qemu-commits] [qemu/qemu] 5e6f3d: target/hppa: Update to SeaBIOS-hppa version 9 |
Date: |
Wed, 20 Sep 2023 09:27:06 -0700 |
Branch: refs/heads/staging
Home: https://github.com/qemu/qemu
Commit: 5e6f3db21f416645ce3e62cba23fcefc2c55b550
https://github.com/qemu/qemu/commit/5e6f3db21f416645ce3e62cba23fcefc2c55b550
Author: Helge Deller <deller@gmx.de>
Date: 2023-09-13 (Wed, 13 Sep 2023)
Changed paths:
M pc-bios/hppa-firmware.img
M roms/seabios-hppa
Log Message:
-----------
target/hppa: Update to SeaBIOS-hppa version 9
Enhancements:
- Support for Block-TLB (BTLB) on 32-bit CPUs
Signed-off-by: Helge Deller <deller@gmx.de>
Commit: 711212ac136daa954d51b3d7e3c0df54aa3da63d
https://github.com/qemu/qemu/commit/711212ac136daa954d51b3d7e3c0df54aa3da63d
Author: Helge Deller <deller@gmx.de>
Date: 2023-09-13 (Wed, 13 Sep 2023)
Changed paths:
M target/hppa/cpu.h
Log Message:
-----------
target/hppa: Allow up to 16 BTLB entries
Reserve 16 out of the 256 TLB entries for Block-TLBs.
Signed-off-by: Helge Deller <deller@gmx.de>
Commit: 6d1ef68ccafc7989e73b499b617f97d96ea34ac1
https://github.com/qemu/qemu/commit/6d1ef68ccafc7989e73b499b617f97d96ea34ac1
Author: Helge Deller <deller@gmx.de>
Date: 2023-09-15 (Fri, 15 Sep 2023)
Changed paths:
M hw/hppa/machine.c
Log Message:
-----------
target/hppa: Report and clear BTLBs via fw_cfg at startup
Report the new number of TLB entries (without BTLBs) to the
guest and drop reporting of BTLB entries which weren't used at all.
Clear all BTLB and TLB entries at machine reset.
Signed-off-by: Helge Deller <deller@gmx.de>
Commit: fa824d99f9b5c6f5246b8ddc6d7b794d4413e5f4
https://github.com/qemu/qemu/commit/fa824d99f9b5c6f5246b8ddc6d7b794d4413e5f4
Author: Helge Deller <deller@gmx.de>
Date: 2023-09-15 (Fri, 15 Sep 2023)
Changed paths:
M target/hppa/cpu.h
M target/hppa/int_helper.c
M target/hppa/mem_helper.c
M target/hppa/op_helper.c
Log Message:
-----------
target/hppa: Add BTLB support to hppa TLB functions
Change the TLB code to store the Block-TLBs at the beginning
of the TLB table. New 4k TLB entries which are added later
shall not overwrite any of the BTLB entries.
Make sure that when the TLB is cleared by the OS via the ptlbe
instruction, the Block-TLBs will not be dropped.
Signed-off-by: Helge Deller <deller@gmx.de>
Commit: a64b8842f17c1e607d78bef930bb58e3748551dc
https://github.com/qemu/qemu/commit/a64b8842f17c1e607d78bef930bb58e3748551dc
Author: Helge Deller <deller@gmx.de>
Date: 2023-09-15 (Fri, 15 Sep 2023)
Changed paths:
M target/hppa/insns.decode
Log Message:
-----------
target/hppa: Extract diagnose immediate value
Extract the immediate value given by the diagnose CPU instruction.
This is needed to distinguish the various diagnose calls.
Signed-off-by: Helge Deller <deller@gmx.de>
Commit: cf6b28d41bc944c3b498489ee916a3d8c72ff6be
https://github.com/qemu/qemu/commit/cf6b28d41bc944c3b498489ee916a3d8c72ff6be
Author: Helge Deller <deller@gmx.de>
Date: 2023-09-19 (Tue, 19 Sep 2023)
Changed paths:
M target/hppa/helper.h
M target/hppa/mem_helper.c
M target/hppa/translate.c
Log Message:
-----------
target/hppa: Wire up diag instruction to support BTLB
Wire up the hppa diag instruction to support Block-TLBs
when called with the 0x100 value.
The diag_btlb() helper function does all necessary steps
to emulate the PDC BTLB firmware function, which includes
providing BTLB info, adding a new BTLB, deleting a BTLB
and removing all BTLBs.
Signed-off-by: Helge Deller <deller@gmx.de>
Commit: 2529497cb6b298e732e8dbe5212da7925240b4f4
https://github.com/qemu/qemu/commit/2529497cb6b298e732e8dbe5212da7925240b4f4
Author: Mikulas Patocka <mpatocka@redhat.com>
Date: 2023-09-19 (Tue, 19 Sep 2023)
Changed paths:
M linux-user/hppa/signal.c
Log Message:
-----------
linux-user/hppa: clear the PSW 'N' bit when delivering signals
qemu-hppa may crash when delivering a signal. It can be demonstrated with
this program. Compile the program with "hppa-linux-gnu-gcc -O2 signal.c"
and run it with "qemu-hppa -one-insn-per-tb a.out". It reports that the
address of the flag is 0xb4 and it crashes when attempting to touch it.
#include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
#include <signal.h>
sig_atomic_t flag;
void sig(int n)
{
printf("&flag: %p\n", &flag);
flag = 1;
}
int main(void)
{
struct sigaction sa;
struct itimerval it;
sa.sa_handler = sig;
sigemptyset(&sa.sa_mask);
sa.sa_flags = SA_RESTART;
if (sigaction(SIGALRM, &sa, NULL)) perror("sigaction"), exit(1);
it.it_interval.tv_sec = 0;
it.it_interval.tv_usec = 100;
it.it_value.tv_sec = it.it_interval.tv_sec;
it.it_value.tv_usec = it.it_interval.tv_usec;
if (setitimer(ITIMER_REAL, &it, NULL)) perror("setitimer"), exit(1);
while (1) {
}
}
The reason for the crash is that the signal handling routine doesn't clear
the 'N' flag in the PSW. If the signal interrupts a thread when the 'N'
flag is set, the flag remains set at the beginning of the signal handler
and the first instruction of the signal handler is skipped.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Acked-by: Helge Deller <deller@gmx.de>
Cc: qemu-stable@nongnu.org
Signed-off-by: Helge Deller <deller@gmx.de>
Commit: 5b1270ef1477bb7f240c3bfe2cd8b0fe4721fd51
https://github.com/qemu/qemu/commit/5b1270ef1477bb7f240c3bfe2cd8b0fe4721fd51
Author: Mikulas Patocka <mpatocka@redhat.com>
Date: 2023-09-19 (Tue, 19 Sep 2023)
Changed paths:
M linux-user/hppa/signal.c
Log Message:
-----------
linux-user/hppa: lock both words of function descriptor
The code in setup_rt_frame reads two words at haddr, but locks only one.
This patch fixes it to lock both.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Acked-by: Helge Deller <deller@gmx.de>
Cc: qemu-stable@nongnu.org
Signed-off-by: Helge Deller <deller@gmx.de>
Commit: 1dc33f2653ab8c564f0e4371166d2dec4c622dcd
https://github.com/qemu/qemu/commit/1dc33f2653ab8c564f0e4371166d2dec4c622dcd
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
R target/loongarch/insn_trans/trans_lsx.c.inc
A target/loongarch/insn_trans/trans_vec.c.inc
R target/loongarch/lsx_helper.c
M target/loongarch/meson.build
M target/loongarch/translate.c
A target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Renamed lsx*.c to vec* .c
Renamed lsx_helper.c to vec_helper.c and trans_lsx.c.inc to trans_vec.c.inc
So LASX can used them.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-2-gaosong@loongson.cn>
Commit: b630aeaae7b4939719716771b20e8a7817c6bdfd
https://github.com/qemu/qemu/commit/b630aeaae7b4939719716771b20e8a7817c6bdfd
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/insn_trans/trans_vec.c.inc
Log Message:
-----------
target/loongarch: Implement gvec_*_vl functions
Create gvec_*_vl functions in order to hide oprsz.
This is used by gvec_v* functions for oprsz 16,
and will be used by gvec_x* functions for oprsz 32.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-3-gaosong@loongson.cn>
Commit: e2600dad02fa703a714781bd74bc2aabe11bf88d
https://github.com/qemu/qemu/commit/e2600dad02fa703a714781bd74bc2aabe11bf88d
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Use gen_helper_gvec_4_ptr for 4OP + env vector instructions
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-4-gaosong@loongson.cn>
Commit: eb48ab2256531261c5aa9e9d26b020cceab1e111
https://github.com/qemu/qemu/commit/eb48ab2256531261c5aa9e9d26b020cceab1e111
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Use gen_helper_gvec_4 for 4OP vector instructions
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-5-gaosong@loongson.cn>
Commit: 3b286753c9284a187f752bc91339102cd2c7d725
https://github.com/qemu/qemu/commit/3b286753c9284a187f752bc91339102cd2c7d725
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Use gen_helper_gvec_3_ptr for 3OP + env vector instructions
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-6-gaosong@loongson.cn>
Commit: 04711da1a63625af253b124977b096398d854270
https://github.com/qemu/qemu/commit/04711da1a63625af253b124977b096398d854270
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Use gen_helper_gvec_3 for 3OP vector instructions
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-7-gaosong@loongson.cn>
Commit: 226bf88174412267abe4088a13edc31e97dbbe3a
https://github.com/qemu/qemu/commit/226bf88174412267abe4088a13edc31e97dbbe3a
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Use gen_helper_gvec_2_ptr for 2OP + env vector instructions
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-8-gaosong@loongson.cn>
Commit: ff27e335fc3ca538c5cfec9b03e19f52318c9293
https://github.com/qemu/qemu/commit/ff27e335fc3ca538c5cfec9b03e19f52318c9293
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Use gen_helper_gvec_2 for 2OP vector instructions
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-9-gaosong@loongson.cn>
Commit: 329517d518a01df046e3ed8b2f06d71996b7ff3c
https://github.com/qemu/qemu/commit/329517d518a01df046e3ed8b2f06d71996b7ff3c
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Use gen_helper_gvec_2i for 2OP + imm vector instructions
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-10-gaosong@loongson.cn>
Commit: cd1006176bb7e22352c2f5d267242ca0ab2a9a7e
https://github.com/qemu/qemu/commit/cd1006176bb7e22352c2f5d267242ca0ab2a9a7e
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/insn_trans/trans_vec.c.inc
Log Message:
-----------
target/loongarch: Replace CHECK_SXE to check_vec(ctx, 16)
Introduce a new function check_vec to replace CHECK_SXE
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-11-gaosong@loongson.cn>
Commit: 008a3b1662b60fd9e348b8ffb14f05e03c79a2b3
https://github.com/qemu/qemu/commit/008a3b1662b60fd9e348b8ffb14f05e03c79a2b3
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M linux-user/loongarch64/signal.c
M target/loongarch/cpu.c
M target/loongarch/cpu.h
M target/loongarch/gdbstub.c
M target/loongarch/internals.h
M target/loongarch/machine.c
M target/loongarch/translate.c
A target/loongarch/vec.h
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Add LASX data support
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-12-gaosong@loongson.cn>
Commit: b8f1bdf3d1f5ed8e048e5982e3df8297e97b98ff
https://github.com/qemu/qemu/commit/b8f1bdf3d1f5ed8e048e5982e3df8297e97b98ff
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/cpu.c
M target/loongarch/cpu.h
M target/loongarch/insn_trans/trans_vec.c.inc
Log Message:
-----------
target/loongarch: check_vec support check LASX instructions
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230914022645.1151356-13-gaosong@loongson.cn>
Commit: cf61aef308a51978fe6902d7e9e96f61901e52ce
https://github.com/qemu/qemu/commit/cf61aef308a51978fe6902d7e9e96f61901e52ce
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/translate.h
Log Message:
-----------
target/loongarch: Add avail_LASX to check LASX instructions
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-14-gaosong@loongson.cn>
Commit: 269ca39a7d7820e629dcd0f614434f2f0e302bac
https://github.com/qemu/qemu/commit/269ca39a7d7820e629dcd0f614434f2f0e302bac
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/translate.c
Log Message:
-----------
target/loongarch: Implement xvadd/xvsub
This patch includes:
- XVADD.{B/H/W/D/Q};
- XVSUB.{B/H/W/D/Q}.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-15-gaosong@loongson.cn>
Commit: 73123406f3bc455b3320fee08741e1d81b471e72
https://github.com/qemu/qemu/commit/73123406f3bc455b3320fee08741e1d81b471e72
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
Log Message:
-----------
target/loongarch: Implement xvreplgr2vr
This patch includes:
- XVREPLGR2VR.{B/H/W/D}.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-16-gaosong@loongson.cn>
Commit: 342004214bf30bc2e33cb77339777d5e9ca86ea0
https://github.com/qemu/qemu/commit/342004214bf30bc2e33cb77339777d5e9ca86ea0
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
Log Message:
-----------
target/loongarch: Implement xvaddi/xvsubi
This patch includes:
- XVADDI.{B/H/W/D}U;
- XVSUBI.{B/H/W/D}U.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-17-gaosong@loongson.cn>
Commit: 760f9647171bf9e1c67bc15683ee3eec6d559065
https://github.com/qemu/qemu/commit/760f9647171bf9e1c67bc15683ee3eec6d559065
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
Log Message:
-----------
target/loongarch: Implement xvneg
This patch includes:
- XVNEG.{B/H/W/D}.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-18-gaosong@loongson.cn>
Commit: d2df46d9a4370ce1f64714d9f2f94bb9a4091b77
https://github.com/qemu/qemu/commit/d2df46d9a4370ce1f64714d9f2f94bb9a4091b77
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
Log Message:
-----------
target/loongarch: Implement xvsadd/xvssub
This patch includes:
- XVSADD.{B/H/W/D}[U];
- XVSSUB.{B/H/W/D}[U].
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-19-gaosong@loongson.cn>
Commit: 64cf6b99d7df9889b829b170644dc0d122264158
https://github.com/qemu/qemu/commit/64cf6b99d7df9889b829b170644dc0d122264158
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Implement xvhaddw/xvhsubw
This patch includes:
- XVHADDW.{H.B/W.H/D.W/Q.D/HU.BU/WU.HU/DU.WU/QU.DU};
- XVHSUBW.{H.B/W.H/D.W/Q.D/HU.BU/WU.HU/DU.WU/QU.DU}.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-20-gaosong@loongson.cn>
Commit: 85995f076aa89a43ddb80fc0f35793b4b6c06659
https://github.com/qemu/qemu/commit/85995f076aa89a43ddb80fc0f35793b4b6c06659
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Implement xvaddw/xvsubw
This patch includes:
- XVADDW{EV/OD}.{H.B/W.H/D.W/Q.D}[U];
- XVSUBW{EV/OD}.{H.B/W.H/D.W/Q.D}[U];
- XVADDW{EV/OD}.{H.BU.B/W.HU.H/D.WU.W/Q.DU.D}.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-21-gaosong@loongson.cn>
Commit: ee7250d09171b3140e57671e79cd22770fed5106
https://github.com/qemu/qemu/commit/ee7250d09171b3140e57671e79cd22770fed5106
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Implement xavg/xvagr
This patch includes:
- XVAVG.{B/H/W/D/}[U];
- XVAVGR.{B/H/W/D}[U].
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-22-gaosong@loongson.cn>
Commit: ccc9fa2605f6c396f64495561ca233f500723486
https://github.com/qemu/qemu/commit/ccc9fa2605f6c396f64495561ca233f500723486
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
Log Message:
-----------
target/loongarch: Implement xvabsd
This patch includes:
- XVABSD.{B/H/W/D}[U].
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-23-gaosong@loongson.cn>
Commit: 27f5485d9568074865878d31ae1cf6f307295c4e
https://github.com/qemu/qemu/commit/27f5485d9568074865878d31ae1cf6f307295c4e
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Implement xvadda
This patch includes:
- XVADDA.{B/H/W/D}.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-24-gaosong@loongson.cn>
Commit: c09360faad9071ac9db05de253d6dd84afba7296
https://github.com/qemu/qemu/commit/c09360faad9071ac9db05de253d6dd84afba7296
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Implement xvmax/xvmin
This patch includes:
- XVMAX[I].{B/H/W/D}[U];
- XVMIN[I].{B/H/W/D}[U].
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-25-gaosong@loongson.cn>
Commit: 342dc1cfcb5d401e940fdc51820c183d54862ffa
https://github.com/qemu/qemu/commit/342dc1cfcb5d401e940fdc51820c183d54862ffa
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Implement xvmul/xvmuh/xvmulw{ev/od}
This patch includes:
- XVMUL.{B/H/W/D};
- XVMUH.{B/H/W/D}[U];
- XVMULW{EV/OD}.{H.B/W.H/D.W/Q.D}[U];
- XVMULW{EV/OD}.{H.BU.B/W.HU.H/D.WU.W/Q.DU.D}.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-26-gaosong@loongson.cn>
Commit: 3f450c17d094784704f35c50bbacb19bee0a5297
https://github.com/qemu/qemu/commit/3f450c17d094784704f35c50bbacb19bee0a5297
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Implement xvmadd/xvmsub/xvmaddw{ev/od}
This patch includes:
- XVMADD.{B/H/W/D};
- XVMSUB.{B/H/W/D};
- XVMADDW{EV/OD}.{H.B/W.H/D.W/Q.D}[U];
- XVMADDW{EV/OD}.{H.BU.B/W.HU.H/D.WU.W/Q.DU.D}.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-27-gaosong@loongson.cn>
Commit: abb693de0a6531beaa1b144a9d6af46e31a78684
https://github.com/qemu/qemu/commit/abb693de0a6531beaa1b144a9d6af46e31a78684
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch; Implement xvdiv/xvmod
This patch includes:
- XVDIV.{B/H/W/D}[U];
- XVMOD.{B/H/W/D}[U].
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-28-gaosong@loongson.cn>
Commit: e5c7f0315eb9e52622015e1b82873dfa31f1d911
https://github.com/qemu/qemu/commit/e5c7f0315eb9e52622015e1b82873dfa31f1d911
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Implement xvsat
This patch includes:
- XVSAT.{B/H/W/D}[U].
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-29-gaosong@loongson.cn>
Commit: f0db0beb802749b23d923b28e434853f687fc179
https://github.com/qemu/qemu/commit/f0db0beb802749b23d923b28e434853f687fc179
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Implement xvexth
This patch includes:
- XVEXTH.{H.B/W.H/D.W/Q.D};
- XVEXTH.{HU.BU/WU.HU/DU.WU/QU.DU}.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-30-gaosong@loongson.cn>
Commit: 790acb2a432ead067d6c1a0fc8430d29aa58e4ab
https://github.com/qemu/qemu/commit/790acb2a432ead067d6c1a0fc8430d29aa58e4ab
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Implement vext2xv
This patch includes:
- VEXT2XV.{H/W/D}.B, VEXT2XV.{HU/WU/DU}.BU;
- VEXT2XV.{W/D}.B, VEXT2XV.{WU/DU}.HU;
- VEXT2XV.D.W, VEXT2XV.DU.WU.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-31-gaosong@loongson.cn>
Commit: 3a2752179a35b3513b3d7c57f9ec264f655ec5dd
https://github.com/qemu/qemu/commit/3a2752179a35b3513b3d7c57f9ec264f655ec5dd
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
Log Message:
-----------
target/loongarch: Implement xvsigncov
This patch includes:
- XVSIGNCOV.{B/H/W/D}.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-32-gaosong@loongson.cn>
Commit: 97074674a93e7f7a7ce707bd96a0a5a29da59515
https://github.com/qemu/qemu/commit/97074674a93e7f7a7ce707bd96a0a5a29da59515
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Implement xvmskltz/xvmskgez/xvmsknz
This patch includes:
- XVMSKLTZ.{B/H/W/D};
- XVMSKGEZ.B;
- XVMSKNZ.B.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-33-gaosong@loongson.cn>
Commit: a59098e311bd8339516569db5722061a73dd29d1
https://github.com/qemu/qemu/commit/a59098e311bd8339516569db5722061a73dd29d1
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
Log Message:
-----------
target/loongarch: Implement xvldi
This patch includes:
- XVLDI.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-34-gaosong@loongson.cn>
Commit: 4472a45a084f7cd685ca52fa5d88abfad9be6e45
https://github.com/qemu/qemu/commit/4472a45a084f7cd685ca52fa5d88abfad9be6e45
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Implement LASX logic instructions
This patch includes:
- XV{AND/OR/XOR/NOR/ANDN/ORN}.V;
- XV{AND/OR/XOR/NOR}I.B.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-35-gaosong@loongson.cn>
Commit: ad6dc7189ac0a969e784aecebaf14c78b31c1ffc
https://github.com/qemu/qemu/commit/ad6dc7189ac0a969e784aecebaf14c78b31c1ffc
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
Log Message:
-----------
target/loongarch: Implement xvsll xvsrl xvsra xvrotr
This patch includes:
- XVSLL[I].{B/H/W/D};
- XVSRL[I].{B/H/W/D};
- XVSRA[I].{B/H/W/D};
- XVROTR[I].{B/H/W/D}.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-36-gaosong@loongson.cn>
Commit: 6567eac7f7b0cd8f3a3648ea35a85f3da28b6b8c
https://github.com/qemu/qemu/commit/6567eac7f7b0cd8f3a3648ea35a85f3da28b6b8c
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Implement xvsllwil xvextl
This patch includes:
- XVSLLWIL.{H.B/W.H/D.W};
- XVSLLWIL.{HU.BU/WU.HU/DU.WU};
- XVEXTL.Q.D, VEXTL.QU.DU.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-37-gaosong@loongson.cn>
Commit: 8c272fe8f489b07d88dac681150ab1692807c2e8
https://github.com/qemu/qemu/commit/8c272fe8f489b07d88dac681150ab1692807c2e8
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Implement xvsrlr xvsrar
This patch includes:
- XVSRLR[I].{B/H/W/D};
- XVSRAR[I].{B/H/W/D}.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-38-gaosong@loongson.cn>
Commit: 40c7674e9ecf0aead2742514e2521ac4482a4b40
https://github.com/qemu/qemu/commit/40c7674e9ecf0aead2742514e2521ac4482a4b40
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Implement xvsrln xvsran
This patch includes:
- XVSRLN.{B.H/H.W/W.D};
- XVSRAN.{B.H/H.W/W.D};
- XVSRLNI.{B.H/H.W/W.D/D.Q};
- XVSRANI.{B.H/H.W/W.D/D.Q}.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-39-gaosong@loongson.cn>
Commit: c50ce38a4789459ae0ea12ed54822f41cdc9537c
https://github.com/qemu/qemu/commit/c50ce38a4789459ae0ea12ed54822f41cdc9537c
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Implement xvsrlrn xvsrarn
This patch includes:
- XVSRLRN.{B.H/H.W/W.D};
- XVSRARN.{B.H/H.W/W.D};
- XVSRLRNI.{B.H/H.W/W.D/D.Q};
- XVSRARNI.{B.H/H.W/W.D/D.Q}.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-40-gaosong@loongson.cn>
Commit: 6256c8caeb2bb05e6f7dbc4e32b0b823a8390a83
https://github.com/qemu/qemu/commit/6256c8caeb2bb05e6f7dbc4e32b0b823a8390a83
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Implement xvssrln xvssran
This patch includes:
- XVSSRLN.{B.H/H.W/W.D};
- XVSSRAN.{B.H/H.W/W.D};
- XVSSRLN.{BU.H/HU.W/WU.D};
- XVSSRAN.{BU.H/HU.W/WU.D};
- XVSSRLNI.{B.H/H.W/W.D/D.Q};
- XVSSRANI.{B.H/H.W/W.D/D.Q};
- XVSSRLNI.{BU.H/HU.W/WU.D/DU.Q};
- XVSSRANI.{BU.H/HU.W/WU.D/DU.Q}.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-41-gaosong@loongson.cn>
Commit: 77fca79428677d2b834632cd83a24ff28a3d91ce
https://github.com/qemu/qemu/commit/77fca79428677d2b834632cd83a24ff28a3d91ce
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Implement xvssrlrn xvssrarn
This patch includes:
- XVSSRLRN.{B.H/H.W/W.D};
- XVSSRARN.{B.H/H.W/W.D};
- XVSSRLRN.{BU.H/HU.W/WU.D};
- XVSSRARN.{BU.H/HU.W/WU.D};
- XVSSRLRNI.{B.H/H.W/W.D/D.Q};
- XVSSRARNI.{B.H/H.W/W.D/D.Q};
- XVSSRLRNI.{BU.H/HU.W/WU.D/DU.Q};
- XVSSRARNI.{BU.H/HU.W/WU.D/DU.Q}.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-42-gaosong@loongson.cn>
Commit: 12ad133f20b621f34dc737b821197ee8543c751e
https://github.com/qemu/qemu/commit/12ad133f20b621f34dc737b821197ee8543c751e
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Implement xvclo xvclz
This patch includes:
- XVCLO.{B/H/W/D};
- XVCLZ.{B/H/W/D}.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-43-gaosong@loongson.cn>
Commit: 956dec74b75b2ee58be9a856eb3a9c3c8b42904f
https://github.com/qemu/qemu/commit/956dec74b75b2ee58be9a856eb3a9c3c8b42904f
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Implement xvpcnt
This patch includes:
- VPCNT.{B/H/W/D}.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-44-gaosong@loongson.cn>
Commit: 1b3e242f72c5b4cca00309f1cf644a019a24c784
https://github.com/qemu/qemu/commit/1b3e242f72c5b4cca00309f1cf644a019a24c784
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Implement xvbitclr xvbitset xvbitrev
This patch includes:
- XVBITCLR[I].{B/H/W/D};
- XVBITSET[I].{B/H/W/D};
- XVBITREV[I].{B/H/W/D}.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-45-gaosong@loongson.cn>
Commit: abee168ea3bde3be1570cc23e3b3b3138783479d
https://github.com/qemu/qemu/commit/abee168ea3bde3be1570cc23e3b3b3138783479d
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Implement xvfrstp
This patch includes:
- XVFRSTP[I].{B/H}.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-46-gaosong@loongson.cn>
Commit: c9caf1587a36cd521bb195cc75f43349e446662a
https://github.com/qemu/qemu/commit/c9caf1587a36cd521bb195cc75f43349e446662a
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Implement LASX fpu arith instructions
This patch includes:
- XVF{ADD/SUB/MUL/DIV}.{S/D};
- XVF{MADD/MSUB/NMADD/NMSUB}.{S/D};
- XVF{MAX/MIN}.{S/D};
- XVF{MAXA/MINA}.{S/D};
- XVFLOGB.{S/D};
- XVFCLASS.{S/D};
- XVF{SQRT/RECIP/RSQRT}.{S/D}.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-47-gaosong@loongson.cn>
Commit: 60df31a2074fccc3ce99c7b758904c6be913ff5a
https://github.com/qemu/qemu/commit/60df31a2074fccc3ce99c7b758904c6be913ff5a
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Implement LASX fpu fcvt instructions
This patch includes:
- XVFCVT{L/H}.{S.H/D.S};
- XVFCVT.{H.S/S.D};
- XVFRINT[{RNE/RZ/RP/RM}].{S/D};
- XVFTINT[{RNE/RZ/RP/RM}].{W.S/L.D};
- XVFTINT[RZ].{WU.S/LU.D};
- XVFTINT[{RNE/RZ/RP/RM}].W.D;
- XVFTINT[{RNE/RZ/RP/RM}]{L/H}.L.S;
- XVFFINT.{S.W/D.L}[U];
- X[CVFFINT.S.L, VFFINT{L/H}.D.W.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-48-gaosong@loongson.cn>
Commit: 4da72d4306105b3d5649133545df8e59975ac65f
https://github.com/qemu/qemu/commit/4da72d4306105b3d5649133545df8e59975ac65f
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Implement xvseq xvsle xvslt
This patch includes:
- XVSEQ[I].{B/H/W/D};
- XVSLE[I].{B/H/W/D}[U];
- XVSLT[I].{B/H/W/D/}[U].
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-49-gaosong@loongson.cn>
Commit: 3eeda5fe4e95eef91dd87074388d844133623a86
https://github.com/qemu/qemu/commit/3eeda5fe4e95eef91dd87074388d844133623a86
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Implement xvfcmp
This patch includes:
- XVFCMP.cond.{S/D}.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-50-gaosong@loongson.cn>
Commit: f3dfcc8b2334dad831e2bfd9a69ee02dbd6f9eb3
https://github.com/qemu/qemu/commit/f3dfcc8b2334dad831e2bfd9a69ee02dbd6f9eb3
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Implement xvbitsel xvset
This patch includes:
- XVBITSEL.V;
- XVBITSELI.B;
- XVSET{EQZ/NEZ}.V;
- XVSETANYEQZ.{B/H/W/D};
- XVSETALLNEZ.{B/H/W/D}.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-51-gaosong@loongson.cn>
Commit: f5ce2c8f2c0a9c95b76984b520fe77fa2ff16f3e
https://github.com/qemu/qemu/commit/f5ce2c8f2c0a9c95b76984b520fe77fa2ff16f3e
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/translate.c
Log Message:
-----------
target/loongarch: Implement xvinsgr2vr xvpickve2gr
This patch includes:
- XVINSGR2VR.{W/D};
- XVPICKVE2GR.{W/D}[U].
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-52-gaosong@loongson.cn>
Commit: df97f3380760da333010a7752b29c4e575efa286
https://github.com/qemu/qemu/commit/df97f3380760da333010a7752b29c4e575efa286
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Implement xvreplve xvinsve0 xvpickve
This patch includes:
- XVREPLVE.{B/H/W/D};
- XVREPL128VEI.{B/H/W/D};
- XVREPLVE0.{B/H/W/D/Q};
- XVINSVE0.{W/D};
- XVPICKVE.{W/D};
- XVBSLL.V, XVBSRL.V.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-53-gaosong@loongson.cn>
Commit: ad2921482c2b3452b0c611b96c8e46f5c2616241
https://github.com/qemu/qemu/commit/ad2921482c2b3452b0c611b96c8e46f5c2616241
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Implement xvpack xvpick xvilv{l/h}
This patch includes:
- XVPACK{EV/OD}.{B/H/W/D};
- XVPICK{EV/OD}.{B/H/W/D};
- XVILV{L/H}.{B/H/W/D}.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-54-gaosong@loongson.cn>
Commit: 513e88a24dedee946b0a16f12dbf76fb540a8a57
https://github.com/qemu/qemu/commit/513e88a24dedee946b0a16f12dbf76fb540a8a57
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Implement xvshuf xvperm{i} xvshuf4i
This patch includes:
- XVSHUF.{B/H/W/D};
- XVPERM.W;
- XVSHUF4i.{B/H/W/D};
- XVPERMI.{W/D/Q};
- XVEXTRINS.{B/H/W/D}.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-55-gaosong@loongson.cn>
Commit: 4a26512f01e04c67a4a8f8d3c48a165b48b853af
https://github.com/qemu/qemu/commit/4a26512f01e04c67a4a8f8d3c48a165b48b853af
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
Log Message:
-----------
target/loongarch: Implement xvld xvst
This patch includes:
- XVLD[X], XVST[X];
- XVLDREPL.{B/H/W/D};
- XVSTELM.{B/H/W/D}.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-56-gaosong@loongson.cn>
Commit: c7aa3309037fbda40a5ecbd3a9d8ef49e71f57e9
https://github.com/qemu/qemu/commit/c7aa3309037fbda40a5ecbd3a9d8ef49e71f57e9
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/vec.h
M target/loongarch/vec_helper.c
Log Message:
-----------
target/loongarch: Move simply DO_XX marcos togther
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-57-gaosong@loongson.cn>
Commit: 2cd81e37512648a03d7dd37c39fa7fd50e2e4478
https://github.com/qemu/qemu/commit/2cd81e37512648a03d7dd37c39fa7fd50e2e4478
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M target/loongarch/cpu.c
Log Message:
-----------
target/loongarch: CPUCFG support LASX
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-58-gaosong@loongson.cn>
Commit: b31774d020dcd90ed87f734105ab6bb9a47789aa
https://github.com/qemu/qemu/commit/b31774d020dcd90ed87f734105ab6bb9a47789aa
Author: Denis V. Lunev <den@openvz.org>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M block/parallels.c
Log Message:
-----------
parallels: fix formatting in bdrv_parallels initialization
Old code is ugly and contains tabulations. There are no functional
changes in this patch.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Commit: 345b88ee739ba8a384db360cba74aa20fb71ea88
https://github.com/qemu/qemu/commit/345b88ee739ba8a384db360cba74aa20fb71ea88
Author: Denis V. Lunev <den@openvz.org>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M block/parallels.c
Log Message:
-----------
parallels: mark driver as supporting CBT
Parallels driver indeed support Parallels Dirty Bitmap Feature in
read-only mode. The patch adds bdrv_supports_persistent_dirty_bitmap()
callback which always return 1 to indicate that.
This will allow to copy CBT from Parallels image with qemu-img.
Note: read-write support is signalled through
bdrv_co_can_store_new_dirty_bitmap() and is different.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Commit: e9b66c5fd45184968312f652e5ac2ba17fea9b04
https://github.com/qemu/qemu/commit/e9b66c5fd45184968312f652e5ac2ba17fea9b04
Author: Denis V. Lunev <den@openvz.org>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M block/parallels.c
Log Message:
-----------
parallels: fix memory leak in parallels_open()
We should free opts allocated through qemu_opts_create() at the end.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Commit: 7aeb4a836bcec41f79d3418409c6c59c031f42d6
https://github.com/qemu/qemu/commit/7aeb4a836bcec41f79d3418409c6c59c031f42d6
Author: Denis V. Lunev <den@openvz.org>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M block/parallels.c
Log Message:
-----------
parallels: invent parallels_opts_prealloc() helper to parse prealloc opts
This patch creates above mentioned helper and moves its usage to the
beginning of parallels_open(). This simplifies parallels_open() a bit.
The patch also ensures that we store prealloc_size on block driver state
always in sectors. This makes code cleaner and avoids wrong opinion at
the assignment that the value is in bytes.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Commit: d6353f09515a9536845340d2964fd611b10a57be
https://github.com/qemu/qemu/commit/d6353f09515a9536845340d2964fd611b10a57be
Author: Denis V. Lunev <den@openvz.org>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M block/parallels.c
Log Message:
-----------
parallels: return earler in fail_format branch in parallels_open()
We do not need to perform any deallocation/cleanup if wrong format is
detected.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Commit: c30756fbd2664490dd60366d62a6e45fea855776
https://github.com/qemu/qemu/commit/c30756fbd2664490dd60366d62a6e45fea855776
Author: Denis V. Lunev <den@openvz.org>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M block/parallels.c
Log Message:
-----------
parallels: return earlier from parallels_open() function on error
At the beginning of the function we can return immediately until we
really allocate s->header.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Commit: 3d6374921ab19e4cf61eacb5fb1bc4dd8a0b602c
https://github.com/qemu/qemu/commit/3d6374921ab19e4cf61eacb5fb1bc4dd8a0b602c
Author: Denis V. Lunev <den@openvz.org>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M block/parallels.c
Log Message:
-----------
parallels: refactor path when we need to re-check image in parallels_open
More conditions follows thus the check should be more scalable.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Commit: 70a9120e922018d97ba93a9045fae844a6722c4b
https://github.com/qemu/qemu/commit/70a9120e922018d97ba93a9045fae844a6722c4b
Author: Denis V. Lunev <den@openvz.org>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M block/parallels.c
Log Message:
-----------
parallels: create mark_used() helper which sets bit in used bitmap
This functionality is used twice already and next patch will add more
code with it.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Commit: f50a369d4ee8f0ad39df1a53960769e701de9a55
https://github.com/qemu/qemu/commit/f50a369d4ee8f0ad39df1a53960769e701de9a55
Author: Denis V. Lunev <den@openvz.org>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M tests/qemu-iotests/tests/parallels-checks
Log Message:
-----------
tests: ensure that image validation will not cure the corruption
Since
commit cfce1091d55322789582480798a891cbaf66924e
Author: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Date: Tue Jul 18 12:44:29 2023 +0200
parallels: Image repairing in parallels_open()
there is a potential pit fall with calling
qemu-io -c "read"
The image is opened in read-write mode and thus could be potentially
repaired. This could ruin testing process.
The patch forces read-only opening for reads. In that case repairing
is impossible.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Commit: 524dedf1286e18ae07ba28aeb53a0c14f67d0f00
https://github.com/qemu/qemu/commit/524dedf1286e18ae07ba28aeb53a0c14f67d0f00
Author: Denis V. Lunev <den@openvz.org>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M block/parallels.c
Log Message:
-----------
parallels: fix broken parallels_check_data_off()
Once we have repaired data_off field in the header we should update
s->data_start which is calculated on the base of it.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Commit: f530169c54531df15085e4b0984a496f6749211d
https://github.com/qemu/qemu/commit/f530169c54531df15085e4b0984a496f6749211d
Author: Denis V. Lunev <den@openvz.org>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M tests/qemu-iotests/tests/parallels-checks
M tests/qemu-iotests/tests/parallels-checks.out
Log Message:
-----------
parallels: add test which will validate data_off fixes through repair
We have only check through self-repair and that proven to be not enough.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Commit: 590e082d7e07b4d8e00894954f38e599762b3088
https://github.com/qemu/qemu/commit/590e082d7e07b4d8e00894954f38e599762b3088
Author: Denis V. Lunev <den@openvz.org>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M block/parallels.c
M block/parallels.h
Log Message:
-----------
parallels: collect bitmap of used clusters at open
If the operation is failed, we need to check image consistency if the
problem is not about memory allocation.
Bitmap adjustments in allocate_cluster are not performed yet.
They worth to be separate. This was proven useful during debug of this
series. Kept as is for future bissecting.
It should be specifically noted that used bitmap must be recalculated
if data_off has been fixed during image consistency check.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Commit: 1b410176d1bb12af7cda5536fc4b1f4556485a13
https://github.com/qemu/qemu/commit/1b410176d1bb12af7cda5536fc4b1f4556485a13
Author: Denis V. Lunev <den@openvz.org>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M tests/qemu-iotests/tests/parallels-checks
M tests/qemu-iotests/tests/parallels-checks.out
Log Message:
-----------
tests: fix broken deduplication check in parallels format test
Original check is broken as supposed reading from 2 different clusters
results in read from the same file offset twice. This is definitely
wrong.
We should be sure that
* the content of both clusters is correct after repair
* clusters are at the different offsets after repair
In order to check the latter we write some content into the first one
and validate that fact.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Commit: 5ec2a212cc6a3a8d1b297c1525b699ecb120bde4
https://github.com/qemu/qemu/commit/5ec2a212cc6a3a8d1b297c1525b699ecb120bde4
Author: Denis V. Lunev <den@openvz.org>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M tests/qemu-iotests/tests/parallels-checks
M tests/qemu-iotests/tests/parallels-checks.out
Log Message:
-----------
tests: test self-cure of parallels image with duplicated clusters
The test is quite similar with the original one for duplicated clusters.
There is the only difference in the operation which should fix the
image.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Commit: 1915d852fcbef5cb520d18778c344338d7cd03b8
https://github.com/qemu/qemu/commit/1915d852fcbef5cb520d18778c344338d7cd03b8
Author: Denis V. Lunev <den@openvz.org>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M block/parallels.c
Log Message:
-----------
parallels: accept multiple clusters in mark_used()
This would be useful in the next patch in allocate_clusters(). This
change would not imply serious performance drawbacks as usually image
is full of data or are at the end of the bitmap.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Commit: e651cdef4c9b395e7af4fde8bd1dc3d38b866074
https://github.com/qemu/qemu/commit/e651cdef4c9b395e7af4fde8bd1dc3d38b866074
Author: Denis V. Lunev <den@openvz.org>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M block/parallels.c
Log Message:
-----------
parallels: update used bitmap in allocate_cluster
We should extend the bitmap if the file is extended and set the bit in
the image used bitmap once the cluster is allocated. Sanity check at
that moment also looks like a good idea.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Commit: eb35dce075f6b68e894642b760dbd0e3765dc449
https://github.com/qemu/qemu/commit/eb35dce075f6b68e894642b760dbd0e3765dc449
Author: Denis V. Lunev <den@openvz.org>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M block/parallels.c
Log Message:
-----------
parallels: naive implementation of allocate_clusters with used bitmap
The access to the bitmap is not optimized completely.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Commit: 0cd994b46b7070dab5c3e9b21559e7ebd6c5f9dd
https://github.com/qemu/qemu/commit/0cd994b46b7070dab5c3e9b21559e7ebd6c5f9dd
Author: Denis V. Lunev <den@openvz.org>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M block/parallels.c
Log Message:
-----------
parallels: improve readability of allocate_clusters
Replace 'space' representing the amount of data to preallocate with
'bytes'.
Rationale:
* 'space' at each place is converted to bytes
* the unit is more close to the variable name
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Commit: f7fb755972a4d3af0d704837a35288d4b489e28a
https://github.com/qemu/qemu/commit/f7fb755972a4d3af0d704837a35288d4b489e28a
Author: Denis V. Lunev <den@openvz.org>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M block/parallels.c
Log Message:
-----------
parallels: naive implementation of parallels_co_pdiscard
* Discarding with backing stores is not supported by the format.
* There is no buffering/queueing of the discard operation.
* Only operations aligned to the cluster are supported.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Commit: e5e895534c1a2188e705d0bfb959a0f4344bc81b
https://github.com/qemu/qemu/commit/e5e895534c1a2188e705d0bfb959a0f4344bc81b
Author: Denis V. Lunev <den@openvz.org>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M tests/qemu-iotests/131
M tests/qemu-iotests/131.out
Log Message:
-----------
tests: extend test 131 to cover availability of the discard operation
This patch contains test which minimally tests discard and new cluster
allocation logic.
The following checks are added:
* write 2 clusters, discard the first allocated
* write another cluster, check that the hole is filled
* write 2 clusters, discard the first allocated, write 1 cluster at
non-aligned to cluster offset (2 new clusters should be allocated)
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Commit: 30e54a43c0888bd81f4e59083b49d6096210f13e
https://github.com/qemu/qemu/commit/30e54a43c0888bd81f4e59083b49d6096210f13e
Author: Denis V. Lunev <den@openvz.org>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M block/parallels.c
Log Message:
-----------
parallels: naive implementation of parallels_co_pwrite_zeroes
The zero flag is missed in the Parallels format specification. We can
resort to discard if we have no backing file.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Commit: ead1064587ba6534aa2c3da6383713a009dafcb1
https://github.com/qemu/qemu/commit/ead1064587ba6534aa2c3da6383713a009dafcb1
Author: Denis V. Lunev <den@openvz.org>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M tests/qemu-iotests/131
M tests/qemu-iotests/131.out
Log Message:
-----------
tests: extend test 131 to cover availability of the write-zeroes
This patch contains test which minimally tests write-zeroes on top of
working discard.
The following checks are added:
* write 2 clusters, write-zero to the first allocated cluster
* write 2 cluster, write-zero to the half the first allocated cluster
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Commit: c26b5732a43a55c72964c8a0351bc3dd6788acd6
https://github.com/qemu/qemu/commit/c26b5732a43a55c72964c8a0351bc3dd6788acd6
Author: Stefan Hajnoczi <stefanha@redhat.com>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M hw/hppa/machine.c
M linux-user/hppa/signal.c
M pc-bios/hppa-firmware.img
M roms/seabios-hppa
M target/hppa/cpu.h
M target/hppa/helper.h
M target/hppa/insns.decode
M target/hppa/int_helper.c
M target/hppa/mem_helper.c
M target/hppa/op_helper.c
M target/hppa/translate.c
Log Message:
-----------
Merge tag 'hppa-btlb-pull-request' of https://github.com/hdeller/qemu-hppa
into staging
Block-TLB support and linux-user fixes for hppa target
All 32-bit hppa CPUs allow a fixed number of TLB entries to have a
different page size than the default 4k.
Those are called "Block-TLBs" and are created at startup by the
operating system and managed by the firmware of hppa machines
through the firmware PDC_BLOCK_TLB call.
This patchset adds the necessary glue to SeaBIOS-hppa and
qemu to allow up to 16 BTLB entries in the emulation.
Two patches from Mikulas Patocka fix signal delivery issues
in linux-user on hppa.
# -----BEGIN PGP SIGNATURE-----
#
# iHUEABYKAB0WIQS86RI+GtKfB8BJu973ErUQojoPXwUCZQnz0wAKCRD3ErUQojoP
# X6NDAP9F1Huhceot8peohGodRDOhnXWfDcjQZSDvadieKv/rJQEA60Z5QV5VlQgw
# SyUT4AcoiB7N4nvS+iDa+6dKfRH/YQM=
# =kqqt
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue 19 Sep 2023 15:17:39 EDT
# gpg: using EDDSA key BCE9123E1AD29F07C049BBDEF712B510A23A0F5F
# gpg: Good signature from "Helge Deller <deller@gmx.de>" [unknown]
# gpg: aka "Helge Deller <deller@kernel.org>" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 4544 8228 2CD9 10DB EF3D 25F8 3E5F 3D04 A7A2 4603
# Subkey fingerprint: BCE9 123E 1AD2 9F07 C049 BBDE F712 B510 A23A 0F5F
* tag 'hppa-btlb-pull-request' of https://github.com/hdeller/qemu-hppa:
linux-user/hppa: lock both words of function descriptor
linux-user/hppa: clear the PSW 'N' bit when delivering signals
target/hppa: Wire up diag instruction to support BTLB
target/hppa: Extract diagnose immediate value
target/hppa: Add BTLB support to hppa TLB functions
target/hppa: Report and clear BTLBs via fw_cfg at startup
target/hppa: Allow up to 16 BTLB entries
target/hppa: Update to SeaBIOS-hppa version 9
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Commit: a05edc78308b0877b4943f9c8c50a496f6f238fa
https://github.com/qemu/qemu/commit/a05edc78308b0877b4943f9c8c50a496f6f238fa
Author: Stefan Hajnoczi <stefanha@redhat.com>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M linux-user/loongarch64/signal.c
M target/loongarch/cpu.c
M target/loongarch/cpu.h
M target/loongarch/disas.c
M target/loongarch/gdbstub.c
M target/loongarch/helper.h
R target/loongarch/insn_trans/trans_lsx.c.inc
A target/loongarch/insn_trans/trans_vec.c.inc
M target/loongarch/insns.decode
M target/loongarch/internals.h
R target/loongarch/lsx_helper.c
M target/loongarch/machine.c
M target/loongarch/meson.build
M target/loongarch/translate.c
M target/loongarch/translate.h
A target/loongarch/vec.h
A target/loongarch/vec_helper.c
Log Message:
-----------
Merge tag 'pull-loongarch-20230920' of https://gitlab.com/gaosong/qemu into
staging
Add LASX instructions support.
# -----BEGIN PGP SIGNATURE-----
#
# iLMEAAEIAB0WIQS4/x2g0v3LLaCcbCxAov/yOSY+3wUCZQqV7wAKCRBAov/yOSY+
# 35GTA/9rXGbr9pIUnlGstUnWzIJb0vs6f4kt9DaKRPF1zyxaF/59sgl3gqCNAjBA
# eAKfm5W4B8ABJ+PYR3ZVAg9AcAP9AOEi+qV6DgRwvYPPK3WbGqIpJL7i+7gNMMUs
# gppv+IfJEkri8YLXXa7GWffuGOebqdqyD6Pl1B2eiKS4KYSRGw==
# =fNr2
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed 20 Sep 2023 02:49:19 EDT
# gpg: using RSA key B8FF1DA0D2FDCB2DA09C6C2C40A2FFF239263EDF
# gpg: Good signature from "Song Gao <m17746591750@163.com>" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: B8FF 1DA0 D2FD CB2D A09C 6C2C 40A2 FFF2 3926 3EDF
* tag 'pull-loongarch-20230920' of https://gitlab.com/gaosong/qemu: (57 commits)
target/loongarch: CPUCFG support LASX
target/loongarch: Move simply DO_XX marcos togther
target/loongarch: Implement xvld xvst
target/loongarch: Implement xvshuf xvperm{i} xvshuf4i
target/loongarch: Implement xvpack xvpick xvilv{l/h}
target/loongarch: Implement xvreplve xvinsve0 xvpickve
target/loongarch: Implement xvinsgr2vr xvpickve2gr
target/loongarch: Implement xvbitsel xvset
target/loongarch: Implement xvfcmp
target/loongarch: Implement xvseq xvsle xvslt
target/loongarch: Implement LASX fpu fcvt instructions
target/loongarch: Implement LASX fpu arith instructions
target/loongarch: Implement xvfrstp
target/loongarch: Implement xvbitclr xvbitset xvbitrev
target/loongarch: Implement xvpcnt
target/loongarch: Implement xvclo xvclz
target/loongarch: Implement xvssrlrn xvssrarn
target/loongarch: Implement xvssrln xvssran
target/loongarch: Implement xvsrlrn xvsrarn
target/loongarch: Implement xvsrln xvsran
...
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Commit: 3eb8dbd4545cfaddb0e4b0e542ce91564f704b08
https://github.com/qemu/qemu/commit/3eb8dbd4545cfaddb0e4b0e542ce91564f704b08
Author: Stefan Hajnoczi <stefanha@redhat.com>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M block/parallels.c
M block/parallels.h
M tests/qemu-iotests/131
M tests/qemu-iotests/131.out
M tests/qemu-iotests/tests/parallels-checks
M tests/qemu-iotests/tests/parallels-checks.out
Log Message:
-----------
Merge tag 'pull-parallels-2023-09-20' of https://src.openvz.org/scm/~den/qemu
into staging
Parallels format driver:
* regular calculation of cluster used bitmap of the image file
* cluster allocation on the base of that bitmap (effectively allocation of
new clusters could be done inside the image if that offset space is unused)
* support of DISCARD and WRITE_ZEROES operations
* image check bugfixes
* unit tests fixes
* unit tests covering new functionality
# -----BEGIN PGP SIGNATURE-----
#
# iQHDBAABCgAtFiEE9vE2f3B8+RUZInytPzClrpN3nJ8FAmUKtN4PHGRlbkBvcGVu
# dnoub3JnAAoJED8wpa6Td5yfUZ4L/RPGuWIgxeMqGUnWFh66OAb+pZYHy2MJu/Vz
# 5iAk6998L7ZJgrbX9m0GavMsppSscw7FI+RLFL8SQuzPzuWsV+9lJNnnwpaQ5Awo
# sR+LavmdDIJqfnz3rSILKI7JiEffoVj7bfxMdDD5iaxoEyQWg/9Rd2MehyA/j2Jg
# m1FAsfn09ysbaJ6UC8AsVIB7NpKU9eDDcL70yBWOyYFS5upz8Aagp54ieOgY9f9/
# dEDporbjZpkfptVq6tSblChe/2D1SEOoLXcroY8UbKCn0Sr3BI6vPBx0xhVLVn8h
# kF/I3QE/Q+hMxFcOJGJJ9pOb77espQ7BNYR248hJEOx98508BHGkE4mNd816dFBC
# 0vBlNwRbgw6o562fQCXTZmuMySkva2wDjSarRSYF6vfpWK13GRR6B5tXmC5BYQ9a
# PYqlMWOjW0Oaf1YAe4oiQiijLsHo4jx3Ra08JZDVLXzeLqkms8z5DZF1LE6EbWo1
# DFSInx5rtJaIQ5K2Lv8Amot+zrBX2Q==
# =jUP7
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed 20 Sep 2023 05:01:18 EDT
# gpg: using RSA key F6F1367F707CF91519227CAD3F30A5AE93779C9F
# gpg: issuer "den@openvz.org"
# gpg: Good signature from "Denis V. Lunev <den@openvz.org>" [unknown]
# gpg: WARNING: The key's User ID is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: F6F1 367F 707C F915 1922 7CAD 3F30 A5AE 9377 9C9F
* tag 'pull-parallels-2023-09-20' of https://src.openvz.org/scm/~den/qemu: (22
commits)
tests: extend test 131 to cover availability of the write-zeroes
parallels: naive implementation of parallels_co_pwrite_zeroes
tests: extend test 131 to cover availability of the discard operation
parallels: naive implementation of parallels_co_pdiscard
parallels: improve readability of allocate_clusters
parallels: naive implementation of allocate_clusters with used bitmap
parallels: update used bitmap in allocate_cluster
parallels: accept multiple clusters in mark_used()
tests: test self-cure of parallels image with duplicated clusters
tests: fix broken deduplication check in parallels format test
parallels: collect bitmap of used clusters at open
parallels: add test which will validate data_off fixes through repair
parallels: fix broken parallels_check_data_off()
tests: ensure that image validation will not cure the corruption
parallels: create mark_used() helper which sets bit in used bitmap
parallels: refactor path when we need to re-check image in parallels_open
parallels: return earlier from parallels_open() function on error
parallels: return earler in fail_format branch in parallels_open()
parallels: invent parallels_opts_prealloc() helper to parse prealloc opts
parallels: fix memory leak in parallels_open()
...
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Compare: https://github.com/qemu/qemu/compare/4907644841e3...3eb8dbd4545c