summary refs log tree commit diff stats
path: root/gitlab/issues/target_i386/host_ppc
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-05-21 21:21:26 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-05-21 21:21:26 +0200
commit4b927bc37359dec23f67d3427fc982945f24f404 (patch)
tree245449ef9146942dc7fffd0235b48b7e70a00bf2 /gitlab/issues/target_i386/host_ppc
parentaa8bd79cec7bf6790ddb01d156c2ef2201abbaab (diff)
downloadqemu-analysis-4b927bc37359dec23f67d3427fc982945f24f404.tar.gz
qemu-analysis-4b927bc37359dec23f67d3427fc982945f24f404.zip
add gitlab issues in toml format
Diffstat (limited to 'gitlab/issues/target_i386/host_ppc')
-rw-r--r--gitlab/issues/target_i386/host_ppc/accel_TCG/2487.toml76
-rw-r--r--gitlab/issues/target_i386/host_ppc/accel_TCG/391.toml15
2 files changed, 91 insertions, 0 deletions
diff --git a/gitlab/issues/target_i386/host_ppc/accel_TCG/2487.toml b/gitlab/issues/target_i386/host_ppc/accel_TCG/2487.toml
new file mode 100644
index 000000000..10dcd0649
--- /dev/null
+++ b/gitlab/issues/target_i386/host_ppc/accel_TCG/2487.toml
@@ -0,0 +1,76 @@
+id = 2487
+title = "qemu-x86_64: qemu/tcg/ppc/tcg-target.c.inc:1777:tcg_out_test: code should not be reached"
+state = "closed"
+created_at = "2024-08-06T22:08:38.660Z"
+closed_at = "2024-08-08T01:41:40.130Z"
+labels = ["Closed::Fixed", "accel: TCG", "host: ppc", "target: i386"]
+url = "https://gitlab.com/qemu-project/qemu/-/issues/2487"
+host-os = "Adélie Linux"
+host-arch = "ppc64"
+qemu-version = "qemu-x86_64 version 9.0.50 (v9.0.0-521-g15957eb9ef-dirty)"
+guest-os = "n/a"
+guest-arch = "x86_64"
+description = """Using this basic test file:
+
+```c
+int
+main (void)
+{
+    return 0;
+}
+```
+
+compiled into a static executable using an x86_64 toolchain (glibc or musl both tested),
+
+```
+gwyn ~/qemu-bug # file test1
+test1: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), static-pie linked, with debug_info, not stripped
+
+gwyn ~/qemu-bug # file test2
+test2: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, BuildID[sha1]=276dc49ee7cbd3b760e24761bf9fb9e1cc4b4349, for GNU/Linux 3.2.0, not stripped
+```
+
+Using QEMU from 15957eb9efe2da67c796612cead95cba28ba9bda or newer:
+
+```
+gwyn ~/qemu-bug # ../emus-ppc64/bin/qemu-x86_64 --version
+qemu-x86_64 version 9.0.50 (v9.0.0-521-g15957eb9ef-dirty)
+Copyright (c) 2003-2024 Fabrice Bellard and the QEMU Project developers
+```
+
+QEMU crashes:
+
+```
+gwyn ~/qemu-bug # ../emus-ppc64/bin/qemu-x86_64 ./test2
+**
+ERROR:/root/qemu/tcg/ppc/tcg-target.c.inc:1777:tcg_out_test: code should not be reached
+Bail out! ERROR:/root/qemu/tcg/ppc/tcg-target.c.inc:1777:tcg_out_test: code should not be reached
+Aborted
+```"""
+reproduce = """1. Build QEMU user for ppc64 (may affect other hosts) using commit 15957eb9efe2da67c796612cead95cba28ba9bda or newer.
+2. Run any simple x86_64 executable.
+3. Observe the crash."""
+additional = """Bisected to here:
+
+```
+commit 15957eb9efe2da67c796612cead95cba28ba9bda
+Author: Paolo Bonzini <pbonzini@redhat.com>
+Date:   Fri Oct 27 05:57:31 2023 +0200
+
+    target/i386: use TSTEQ/TSTNE to test low bits
+    
+    When testing the sign bit or equality to zero of a partial register, it
+    is useful to use a single TSTEQ or TSTNE operation.  It can also be used
+    to test the parity flag, using bit 0 of the population count.
+    
+    Do not do this for target_ulong-sized values however; the optimizer would
+    produce a comparison against zero anyway, and it avoids shifts by 64
+    which are undefined behavior.
+    
+    Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
+    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
+
+ target/i386/tcg/emit.c.inc  |  5 ++---
+ target/i386/tcg/translate.c | 28 ++++++++++++++++++++--------
+ 2 files changed, 22 insertions(+), 11 deletions(-)
+```"""
diff --git a/gitlab/issues/target_i386/host_ppc/accel_TCG/391.toml b/gitlab/issues/target_i386/host_ppc/accel_TCG/391.toml
new file mode 100644
index 000000000..d5669bcbc
--- /dev/null
+++ b/gitlab/issues/target_i386/host_ppc/accel_TCG/391.toml
@@ -0,0 +1,15 @@
+id = 391
+title = "Unable to pass-through PCIe devices from a ppc64le host to an x86_64 guest"
+state = "opened"
+created_at = "2021-06-06T18:37:12.636Z"
+closed_at = "n/a"
+labels = ["VFIO", "accel: TCG", "host: ppc", "kind::Feature Request", "target: i386", "workflow::Needs Info"]
+url = "https://gitlab.com/qemu-project/qemu/-/issues/391"
+host-os = "n/a"
+host-arch = "n/a"
+qemu-version = "n/a"
+guest-os = "n/a"
+guest-arch = "n/a"
+description = "n/a"
+reproduce = "n/a"
+additional = "n/a"