* [PULL 0/5] Misc patch queue
@ 2022-01-03 17:33 Richard Henderson
2022-01-03 17:33 ` [PULL 1/5] meson: Unify mips and mips64 in host_arch Richard Henderson
` (5 more replies)
0 siblings, 6 replies; 11+ messages in thread
From: Richard Henderson @ 2022-01-03 17:33 UTC (permalink / raw)
To: qemu-devel
The following changes since commit 69f153667fce723ee546d2f047d66d0cfa67c3cc:
Merge tag 'memory-api-20211231' of https://github.com/philmd/qemu into staging (2021-12-30 17:02:42 -0800)
are available in the Git repository at:
https://gitlab.com/rth7680/qemu.git tags/pull-misc-20220103
for you to fetch changes up to 5c23f0c3191907000bab278654570a7d5879822a:
gitlab: Disable check-python-tox (2022-01-03 08:55:55 -0800)
----------------------------------------------------------------
Fix some meson conversion breakage
Disable check-python-tox
Fix emulation of hppa STBY insn
----------------------------------------------------------------
Richard Henderson (5):
meson: Unify mips and mips64 in host_arch
tests/tcg: Use $cpu in configure.sh
tests/tcg: Unconditionally use 90 second timeout
target/hppa: Fix atomic_store_3 for STBY
gitlab: Disable check-python-tox
configure | 2 +-
meson.build | 2 +
target/hppa/op_helper.c | 27 +++++++------
tests/tcg/hppa/stby.c | 87 ++++++++++++++++++++++++++++++++++++++++++
.gitlab-ci.d/static_checks.yml | 2 +
tests/tcg/Makefile.target | 12 +++---
tests/tcg/configure.sh | 2 +-
tests/tcg/hppa/Makefile.target | 5 +++
8 files changed, 118 insertions(+), 21 deletions(-)
create mode 100644 tests/tcg/hppa/stby.c
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PULL 1/5] meson: Unify mips and mips64 in host_arch
2022-01-03 17:33 [PULL 0/5] Misc patch queue Richard Henderson
@ 2022-01-03 17:33 ` Richard Henderson
2022-01-03 17:33 ` [PULL 2/5] tests/tcg: Use $cpu in configure.sh Richard Henderson
` (4 subsequent siblings)
5 siblings, 0 replies; 11+ messages in thread
From: Richard Henderson @ 2022-01-03 17:33 UTC (permalink / raw)
To: qemu-devel; +Cc: Philippe Mathieu-Daudé
Fixes the build on a mips64 host. Prior to the break, we identified
the arch via the __mips__ define; afterward we use meson's
host_machine.cpu_family(). Restore the previous combination.
Fixes: 823eb013452e ("configure, meson: move ARCH to meson.build")
Reported-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
meson.build | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meson.build b/meson.build
index 886f0a9343..53065e96ec 100644
--- a/meson.build
+++ b/meson.build
@@ -74,6 +74,8 @@ if cpu not in supported_cpus
host_arch = 'unknown'
elif cpu == 'x86'
host_arch = 'i386'
+elif cpu == 'mips64'
+ host_arch = 'mips'
else
host_arch = cpu
endif
--
2.25.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PULL 2/5] tests/tcg: Use $cpu in configure.sh
2022-01-03 17:33 [PULL 0/5] Misc patch queue Richard Henderson
2022-01-03 17:33 ` [PULL 1/5] meson: Unify mips and mips64 in host_arch Richard Henderson
@ 2022-01-03 17:33 ` Richard Henderson
2022-01-03 17:33 ` [PULL 3/5] tests/tcg: Unconditionally use 90 second timeout Richard Henderson
` (3 subsequent siblings)
5 siblings, 0 replies; 11+ messages in thread
From: Richard Henderson @ 2022-01-03 17:33 UTC (permalink / raw)
To: qemu-devel; +Cc: Philippe Mathieu-Daudé
Use $cpu instead of $ARCH, which has been removed from
the top-level configure.
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Fixes: 823eb013452e ("configure, meson: move ARCH to meson.build")
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
configure | 2 +-
tests/tcg/configure.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index eb977e5b6f..030728d11e 100755
--- a/configure
+++ b/configure
@@ -3821,7 +3821,7 @@ done
(for i in $cross_cc_vars; do
export $i
done
-export target_list source_path use_containers ARCH
+export target_list source_path use_containers cpu
$source_path/tests/tcg/configure.sh)
# temporary config to build submodules
diff --git a/tests/tcg/configure.sh b/tests/tcg/configure.sh
index 9ef913df5b..8eb4287c84 100755
--- a/tests/tcg/configure.sh
+++ b/tests/tcg/configure.sh
@@ -326,7 +326,7 @@ for target in $target_list; do
elif test $got_cross_cc = no && test "$container" != no && \
test -n "$container_image"; then
for host in $container_hosts; do
- if test "$host" = "$ARCH"; then
+ if test "$host" = "$cpu"; then
echo "DOCKER_IMAGE=$container_image" >> $config_target_mak
echo "DOCKER_CROSS_CC_GUEST=$container_cross_cc" >> \
$config_target_mak
--
2.25.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PULL 3/5] tests/tcg: Unconditionally use 90 second timeout
2022-01-03 17:33 [PULL 0/5] Misc patch queue Richard Henderson
2022-01-03 17:33 ` [PULL 1/5] meson: Unify mips and mips64 in host_arch Richard Henderson
2022-01-03 17:33 ` [PULL 2/5] tests/tcg: Use $cpu in configure.sh Richard Henderson
@ 2022-01-03 17:33 ` Richard Henderson
2022-01-03 17:33 ` [PULL 4/5] target/hppa: Fix atomic_store_3 for STBY Richard Henderson
` (2 subsequent siblings)
5 siblings, 0 replies; 11+ messages in thread
From: Richard Henderson @ 2022-01-03 17:33 UTC (permalink / raw)
To: qemu-devel; +Cc: Philippe Mathieu-Daudé
The cross-i386-tci test has timeouts because we're no longer
applying the timeout that we desired. Hack around it.
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Fixes: 23a77b2d18b8 ("build-system: clean up TCG/TCI configury")
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
tests/tcg/Makefile.target | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/tests/tcg/Makefile.target b/tests/tcg/Makefile.target
index 63cf1b2573..0f8645f782 100644
--- a/tests/tcg/Makefile.target
+++ b/tests/tcg/Makefile.target
@@ -82,13 +82,12 @@ QEMU_OPTS=
# If TCG debugging, or TCI is enabled things are a lot slower
-ifneq ($(CONFIG_TCG_INTERPRETER),)
+# ??? Makefile no longer has any indication that TCI is enabled,
+# but for the record:
+# 15s original default
+# 60s with --enable-debug
+# 90s with --enable-tcg-interpreter
TIMEOUT=90
-else ifneq ($(CONFIG_DEBUG_TCG),)
-TIMEOUT=60
-else
-TIMEOUT=15
-endif
ifdef CONFIG_USER_ONLY
# The order we include is important. We include multiarch first and
@@ -144,7 +143,6 @@ PLUGINS=$(patsubst %.c, lib%.so, $(notdir $(wildcard $(PLUGIN_SRC)/*.c)))
$(foreach p,$(PLUGINS), \
$(foreach t,$(TESTS),\
$(eval run-plugin-$(t)-with-$(p): $t $p) \
- $(eval run-plugin-$(t)-with-$(p): TIMEOUT=60) \
$(eval RUN_TESTS+=run-plugin-$(t)-with-$(p))))
endif
--
2.25.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PULL 4/5] target/hppa: Fix atomic_store_3 for STBY
2022-01-03 17:33 [PULL 0/5] Misc patch queue Richard Henderson
` (2 preceding siblings ...)
2022-01-03 17:33 ` [PULL 3/5] tests/tcg: Unconditionally use 90 second timeout Richard Henderson
@ 2022-01-03 17:33 ` Richard Henderson
2022-01-03 17:33 ` [PULL 5/5] gitlab: Disable check-python-tox Richard Henderson
2022-01-03 21:06 ` [PULL 0/5] Misc patch queue Richard Henderson
5 siblings, 0 replies; 11+ messages in thread
From: Richard Henderson @ 2022-01-03 17:33 UTC (permalink / raw)
To: qemu-devel; +Cc: Helge Deller, qemu-stable
The parallel version of STBY did not take host endianness into
account, and also computed the incorrect address for STBY_E.
Bswap twice to handle the merge and store. Compute mask inside
the function rather than as a parameter. Force align the address,
rather than subtracting one.
Generalize the function to system mode by using probe_access().
Cc: qemu-stable@nongnu.org
Tested-by: Helge Deller <deller@gmx.de>
Reported-by: Helge Deller <deller@gmx.de>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/hppa/op_helper.c | 27 ++++++-----
tests/tcg/hppa/stby.c | 87 ++++++++++++++++++++++++++++++++++
tests/tcg/hppa/Makefile.target | 5 ++
3 files changed, 107 insertions(+), 12 deletions(-)
create mode 100644 tests/tcg/hppa/stby.c
diff --git a/target/hppa/op_helper.c b/target/hppa/op_helper.c
index 96d9391c39..1b86557d5d 100644
--- a/target/hppa/op_helper.c
+++ b/target/hppa/op_helper.c
@@ -57,26 +57,29 @@ void HELPER(tcond)(CPUHPPAState *env, target_ureg cond)
}
}
-static void atomic_store_3(CPUHPPAState *env, target_ulong addr, uint32_t val,
- uint32_t mask, uintptr_t ra)
+static void atomic_store_3(CPUHPPAState *env, target_ulong addr,
+ uint32_t val, uintptr_t ra)
{
-#ifdef CONFIG_USER_ONLY
- uint32_t old, new, cmp;
+ int mmu_idx = cpu_mmu_index(env, 0);
+ uint32_t old, new, cmp, mask, *haddr;
+ void *vaddr;
+
+ vaddr = probe_access(env, addr, 3, MMU_DATA_STORE, mmu_idx, ra);
+ if (vaddr == NULL) {
+ cpu_loop_exit_atomic(env_cpu(env), ra);
+ }
+ haddr = (uint32_t *)((uintptr_t)vaddr & -4);
+ mask = addr & 1 ? 0x00ffffffu : 0xffffff00u;
- uint32_t *haddr = g2h(env_cpu(env), addr - 1);
old = *haddr;
while (1) {
- new = (old & ~mask) | (val & mask);
+ new = be32_to_cpu((cpu_to_be32(old) & ~mask) | (val & mask));
cmp = qatomic_cmpxchg(haddr, old, new);
if (cmp == old) {
return;
}
old = cmp;
}
-#else
- /* FIXME -- we can do better. */
- cpu_loop_exit_atomic(env_cpu(env), ra);
-#endif
}
static void do_stby_b(CPUHPPAState *env, target_ulong addr, target_ureg val,
@@ -92,7 +95,7 @@ static void do_stby_b(CPUHPPAState *env, target_ulong addr, target_ureg val,
case 1:
/* The 3 byte store must appear atomic. */
if (parallel) {
- atomic_store_3(env, addr, val, 0x00ffffffu, ra);
+ atomic_store_3(env, addr, val, ra);
} else {
cpu_stb_data_ra(env, addr, val >> 16, ra);
cpu_stw_data_ra(env, addr + 1, val, ra);
@@ -122,7 +125,7 @@ static void do_stby_e(CPUHPPAState *env, target_ulong addr, target_ureg val,
case 3:
/* The 3 byte store must appear atomic. */
if (parallel) {
- atomic_store_3(env, addr - 3, val, 0xffffff00u, ra);
+ atomic_store_3(env, addr - 3, val, ra);
} else {
cpu_stw_data_ra(env, addr - 3, val >> 16, ra);
cpu_stb_data_ra(env, addr - 1, val >> 8, ra);
diff --git a/tests/tcg/hppa/stby.c b/tests/tcg/hppa/stby.c
new file mode 100644
index 0000000000..36bd5f723c
--- /dev/null
+++ b/tests/tcg/hppa/stby.c
@@ -0,0 +1,87 @@
+/* Test STBY */
+
+#include <pthread.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+
+struct S {
+ unsigned a;
+ unsigned b;
+ unsigned c;
+};
+
+static void check(const struct S *s, unsigned e,
+ const char *which, const char *insn, int ofs)
+{
+ int err = 0;
+
+ if (s->a != 0) {
+ fprintf(stderr, "%s %s %d: garbage before word 0x%08x\n",
+ which, insn, ofs, s->a);
+ err = 1;
+ }
+ if (s->c != 0) {
+ fprintf(stderr, "%s %s %d: garbage after word 0x%08x\n",
+ which, insn, ofs, s->c);
+ err = 1;
+ }
+ if (s->b != e) {
+ fprintf(stderr, "%s %s %d: 0x%08x != 0x%08x\n",
+ which, insn, ofs, s->b, e);
+ err = 1;
+ }
+
+ if (err) {
+ exit(1);
+ }
+}
+
+#define TEST(INSN, OFS, E) \
+ do { \
+ s.b = 0; \
+ asm volatile(INSN " %1, " #OFS "(%0)" \
+ : : "r"(&s.b), "r" (0x11223344) : "memory"); \
+ check(&s, E, which, INSN, OFS); \
+ } while (0)
+
+static void test(const char *which)
+{
+ struct S s = { };
+
+ TEST("stby,b", 0, 0x11223344);
+ TEST("stby,b", 1, 0x00223344);
+ TEST("stby,b", 2, 0x00003344);
+ TEST("stby,b", 3, 0x00000044);
+
+ TEST("stby,e", 0, 0x00000000);
+ TEST("stby,e", 1, 0x11000000);
+ TEST("stby,e", 2, 0x11220000);
+ TEST("stby,e", 3, 0x11223300);
+}
+
+static void *child(void *x)
+{
+ return NULL;
+}
+
+int main()
+{
+ int err;
+ pthread_t thr;
+
+ /* Run test in serial mode */
+ test("serial");
+
+ /* Create a dummy thread to start parallel mode. */
+ err = pthread_create(&thr, NULL, child, NULL);
+ if (err != 0) {
+ fprintf(stderr, "pthread_create: %s\n", strerror(err));
+ return 2;
+ }
+
+ /* Run test in parallel mode */
+ test("parallel");
+ return 0;
+}
diff --git a/tests/tcg/hppa/Makefile.target b/tests/tcg/hppa/Makefile.target
index d0d5e0e257..b78e6b4849 100644
--- a/tests/tcg/hppa/Makefile.target
+++ b/tests/tcg/hppa/Makefile.target
@@ -12,3 +12,8 @@ run-signals: signals
$(call skip-test, $<, "BROKEN awaiting vdso support")
run-plugin-signals-with-%:
$(call skip-test, $<, "BROKEN awaiting vdso support")
+
+VPATH += $(SRC_PATH)/tests/tcg/hppa
+TESTS += stby
+
+stby: CFLAGS += -pthread
--
2.25.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PULL 5/5] gitlab: Disable check-python-tox
2022-01-03 17:33 [PULL 0/5] Misc patch queue Richard Henderson
` (3 preceding siblings ...)
2022-01-03 17:33 ` [PULL 4/5] target/hppa: Fix atomic_store_3 for STBY Richard Henderson
@ 2022-01-03 17:33 ` Richard Henderson
2022-01-03 21:06 ` [PULL 0/5] Misc patch queue Richard Henderson
5 siblings, 0 replies; 11+ messages in thread
From: Richard Henderson @ 2022-01-03 17:33 UTC (permalink / raw)
To: qemu-devel
Set this test to be manually run, until failures can be fixed.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
.gitlab-ci.d/static_checks.yml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.gitlab-ci.d/static_checks.yml b/.gitlab-ci.d/static_checks.yml
index 902843f8b3..5e955540d3 100644
--- a/.gitlab-ci.d/static_checks.yml
+++ b/.gitlab-ci.d/static_checks.yml
@@ -46,4 +46,6 @@ check-python-tox:
QEMU_TOX_EXTRA_ARGS: --skip-missing-interpreters=false
needs:
job: python-container
+ rules:
+ - when: manual
allow_failure: true
--
2.25.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PULL 0/5] Misc patch queue
2022-01-03 17:33 [PULL 0/5] Misc patch queue Richard Henderson
` (4 preceding siblings ...)
2022-01-03 17:33 ` [PULL 5/5] gitlab: Disable check-python-tox Richard Henderson
@ 2022-01-03 21:06 ` Richard Henderson
5 siblings, 0 replies; 11+ messages in thread
From: Richard Henderson @ 2022-01-03 21:06 UTC (permalink / raw)
To: qemu-devel
On 1/3/22 9:33 AM, Richard Henderson wrote:
> The following changes since commit 69f153667fce723ee546d2f047d66d0cfa67c3cc:
>
> Merge tag 'memory-api-20211231' of https://github.com/philmd/qemu into staging (2021-12-30 17:02:42 -0800)
>
> are available in the Git repository at:
>
> https://gitlab.com/rth7680/qemu.git tags/pull-misc-20220103
>
> for you to fetch changes up to 5c23f0c3191907000bab278654570a7d5879822a:
>
> gitlab: Disable check-python-tox (2022-01-03 08:55:55 -0800)
>
> ----------------------------------------------------------------
> Fix some meson conversion breakage
> Disable check-python-tox
> Fix emulation of hppa STBY insn
>
> ----------------------------------------------------------------
> Richard Henderson (5):
> meson: Unify mips and mips64 in host_arch
> tests/tcg: Use $cpu in configure.sh
> tests/tcg: Unconditionally use 90 second timeout
> target/hppa: Fix atomic_store_3 for STBY
> gitlab: Disable check-python-tox
>
> configure | 2 +-
> meson.build | 2 +
> target/hppa/op_helper.c | 27 +++++++------
> tests/tcg/hppa/stby.c | 87 ++++++++++++++++++++++++++++++++++++++++++
> .gitlab-ci.d/static_checks.yml | 2 +
> tests/tcg/Makefile.target | 12 +++---
> tests/tcg/configure.sh | 2 +-
> tests/tcg/hppa/Makefile.target | 5 +++
> 8 files changed, 118 insertions(+), 21 deletions(-)
> create mode 100644 tests/tcg/hppa/stby.c
Applied.
r~
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PULL 0/5] misc patch queue
@ 2024-07-30 1:11 Richard Henderson
2024-07-30 5:31 ` Richard Henderson
0 siblings, 1 reply; 11+ messages in thread
From: Richard Henderson @ 2024-07-30 1:11 UTC (permalink / raw)
To: qemu-devel
The following changes since commit 93b799fafd9170da3a79a533ea6f73a18de82e22:
Merge tag 'pull-ppc-for-9.1-2-20240726-1' of https://gitlab.com/npiggin/qemu into staging (2024-07-26 15:10:45 +1000)
are available in the Git repository at:
https://gitlab.com/rth7680/qemu.git tags/pull-misc-20240730
for you to fetch changes up to d9b019e0a05cbbaa184815dd201b25006950c6d7:
linux-user: open_self_stat: Implement num_threads (2024-07-30 07:59:23 +1000)
----------------------------------------------------------------
util/getauxval: Ensure setting errno if not found
util/getauxval: Use elf_aux_info on OpenBSD
linux-user: open_self_stat: Implement num_threads
target/rx: Use target_ulong for address in LI
----------------------------------------------------------------
Brad Smith (1):
util/cpuinfo: Make use of elf_aux_info(3) on OpenBSD
Fabio D'Urso (1):
linux-user: open_self_stat: Implement num_threads
Richard Henderson (1):
target/rx: Use target_ulong for address in LI
Vivian Wang (2):
util/getauxval: Ensure setting errno if not found
linux-user/main: Check errno when getting AT_EXECFD
linux-user/main.c | 3 ++-
linux-user/syscall.c | 10 ++++++++++
target/rx/translate.c | 3 ++-
util/cpuinfo-aarch64.c | 9 ++++++---
util/cpuinfo-ppc.c | 5 +++--
util/getauxval.c | 9 +++++++--
meson.build | 8 ++++++++
7 files changed, 38 insertions(+), 9 deletions(-)
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PULL 0/5] misc patch queue
2024-07-30 1:11 [PULL 0/5] misc " Richard Henderson
@ 2024-07-30 5:31 ` Richard Henderson
0 siblings, 0 replies; 11+ messages in thread
From: Richard Henderson @ 2024-07-30 5:31 UTC (permalink / raw)
To: qemu-devel
On 7/30/24 11:11, Richard Henderson wrote:
> The following changes since commit 93b799fafd9170da3a79a533ea6f73a18de82e22:
>
> Merge tag 'pull-ppc-for-9.1-2-20240726-1' of https://gitlab.com/npiggin/qemu into staging (2024-07-26 15:10:45 +1000)
>
> are available in the Git repository at:
>
> https://gitlab.com/rth7680/qemu.git tags/pull-misc-20240730
>
> for you to fetch changes up to d9b019e0a05cbbaa184815dd201b25006950c6d7:
>
> linux-user: open_self_stat: Implement num_threads (2024-07-30 07:59:23 +1000)
>
> ----------------------------------------------------------------
> util/getauxval: Ensure setting errno if not found
> util/getauxval: Use elf_aux_info on OpenBSD
> linux-user: open_self_stat: Implement num_threads
> target/rx: Use target_ulong for address in LI
>
> ----------------------------------------------------------------
> Brad Smith (1):
> util/cpuinfo: Make use of elf_aux_info(3) on OpenBSD
>
> Fabio D'Urso (1):
> linux-user: open_self_stat: Implement num_threads
>
> Richard Henderson (1):
> target/rx: Use target_ulong for address in LI
>
> Vivian Wang (2):
> util/getauxval: Ensure setting errno if not found
> linux-user/main: Check errno when getting AT_EXECFD
>
> linux-user/main.c | 3 ++-
> linux-user/syscall.c | 10 ++++++++++
> target/rx/translate.c | 3 ++-
> util/cpuinfo-aarch64.c | 9 ++++++---
> util/cpuinfo-ppc.c | 5 +++--
> util/getauxval.c | 9 +++++++--
> meson.build | 8 ++++++++
> 7 files changed, 38 insertions(+), 9 deletions(-)
Applied, thanks. Please update https://wiki.qemu.org/ChangeLog/9.1 as appropriate.
r~
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PULL 0/5] misc patch queue
@ 2024-08-21 2:25 Richard Henderson
2024-08-21 5:08 ` Richard Henderson
0 siblings, 1 reply; 11+ messages in thread
From: Richard Henderson @ 2024-08-21 2:25 UTC (permalink / raw)
To: qemu-devel
Two x86 fixes and one {bsd,linux}-user fix.
r~
The following changes since commit 9eb5bfbe3394b92fb37cc6f155ceea4d6c9e401c:
Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging (2024-08-20 21:29:52 +1000)
are available in the Git repository at:
https://gitlab.com/rth7680/qemu.git tags/pull-misc-20240821
for you to fetch changes up to ded1db48c9f9b35f6d9569e53503e2b345f6d44e:
target/i386: Fix tss access size in switch_tss_ra (2024-08-21 09:11:26 +1000)
----------------------------------------------------------------
target/i386: Fix carry flag for BLSI
target/i386: Fix tss access size in switch_tss_ra
linux-user: Handle short reads in mmap_h_gt_g
bsd-user: Handle short reads in mmap_h_gt_g
----------------------------------------------------------------
Richard Henderson (5):
linux-user: Handle short reads in mmap_h_gt_g
bsd-user: Handle short reads in mmap_h_gt_g
target/i386: Split out gen_prepare_val_nz
target/i386: Fix carry flag for BLSI
target/i386: Fix tss access size in switch_tss_ra
target/i386/cpu.h | 5 ++++
bsd-user/mmap.c | 38 +++++++++++++++++++++++++--
linux-user/mmap.c | 44 +++++++++++++++++++++++++++-----
target/i386/tcg/cc_helper.c | 18 +++++++++++++
target/i386/tcg/seg_helper.c | 5 ++--
target/i386/tcg/translate.c | 27 ++++++++++++++------
tests/tcg/x86_64/test-2175.c | 24 +++++++++++++++++
target/i386/tcg/cc_helper_template.h.inc | 18 +++++++++++++
target/i386/tcg/emit.c.inc | 2 +-
tests/tcg/x86_64/Makefile.target | 1 +
10 files changed, 163 insertions(+), 19 deletions(-)
create mode 100644 tests/tcg/x86_64/test-2175.c
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PULL 0/5] misc patch queue
2024-08-21 2:25 Richard Henderson
@ 2024-08-21 5:08 ` Richard Henderson
0 siblings, 0 replies; 11+ messages in thread
From: Richard Henderson @ 2024-08-21 5:08 UTC (permalink / raw)
To: qemu-devel
On 8/21/24 12:25, Richard Henderson wrote:
> The following changes since commit 9eb5bfbe3394b92fb37cc6f155ceea4d6c9e401c:
>
> Merge tag 'for_upstream' ofhttps://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging (2024-08-20 21:29:52 +1000)
>
> are available in the Git repository at:
>
> https://gitlab.com/rth7680/qemu.git tags/pull-misc-20240821
>
> for you to fetch changes up to ded1db48c9f9b35f6d9569e53503e2b345f6d44e:
>
> target/i386: Fix tss access size in switch_tss_ra (2024-08-21 09:11:26 +1000)
>
> ----------------------------------------------------------------
> target/i386: Fix carry flag for BLSI
> target/i386: Fix tss access size in switch_tss_ra
> linux-user: Handle short reads in mmap_h_gt_g
> bsd-user: Handle short reads in mmap_h_gt_g
Applied, thanks. Please update https://wiki.qemu.org/ChangeLog/9.1 as appropriate.
r~
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2024-08-21 5:09 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-03 17:33 [PULL 0/5] Misc patch queue Richard Henderson
2022-01-03 17:33 ` [PULL 1/5] meson: Unify mips and mips64 in host_arch Richard Henderson
2022-01-03 17:33 ` [PULL 2/5] tests/tcg: Use $cpu in configure.sh Richard Henderson
2022-01-03 17:33 ` [PULL 3/5] tests/tcg: Unconditionally use 90 second timeout Richard Henderson
2022-01-03 17:33 ` [PULL 4/5] target/hppa: Fix atomic_store_3 for STBY Richard Henderson
2022-01-03 17:33 ` [PULL 5/5] gitlab: Disable check-python-tox Richard Henderson
2022-01-03 21:06 ` [PULL 0/5] Misc patch queue Richard Henderson
-- strict thread matches above, loose matches on Subject: below --
2024-07-30 1:11 [PULL 0/5] misc " Richard Henderson
2024-07-30 5:31 ` Richard Henderson
2024-08-21 2:25 Richard Henderson
2024-08-21 5:08 ` Richard Henderson
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).