summary refs log tree commit diff stats
path: root/results/scraper/launchpad-without-comments/1349277
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-06-30 12:24:58 +0000
committerChristian Krinitsin <mail@krinitsin.com>2025-06-30 12:27:06 +0000
commit33606b41d35115f887ea688b1a16f2ff85bf2fe4 (patch)
tree406b2c7b19a087ba437c68f3dbf0b589fa1d6150 /results/scraper/launchpad-without-comments/1349277
parentadedf8771bc4de3113041ca21bd4d0d1c0014b6a (diff)
downloadqemu-analysis-33606b41d35115f887ea688b1a16f2ff85bf2fe4.tar.gz
qemu-analysis-33606b41d35115f887ea688b1a16f2ff85bf2fe4.zip
add launchpad bug reports without comments
Diffstat (limited to 'results/scraper/launchpad-without-comments/1349277')
-rw-r--r--results/scraper/launchpad-without-comments/134927717
1 files changed, 17 insertions, 0 deletions
diff --git a/results/scraper/launchpad-without-comments/1349277 b/results/scraper/launchpad-without-comments/1349277
new file mode 100644
index 000000000..2c81012e1
--- /dev/null
+++ b/results/scraper/launchpad-without-comments/1349277
@@ -0,0 +1,17 @@
+AArch64 emulation ignores SPSel=0 when taking (or returning from) an exception at EL1 or greater
+
+The AArch64 emulation ignores SPSel=0 when:
+
+(1) taking an interrupt from an exception level greater than EL0 (e.g., EL1t),
+
+(2) returning from an exception (via ERET) to an exception level greater than EL0 (e.g., EL1t), with SPSR_ELx[SPSel]=0.
+
+The attached patch fixes the problem in my application.
+
+Background:
+
+I'm running a standalone application (toy OS) that is performing preemptive multithreading between threads running at EL1t, with exception handling / context switching occurring at EL1h.  This bug causes the stack pointer to be corrupted in the threads running at EL1t (they end up with a version of the EL1h stack pointer (SP_EL1)).
+
+Occurs in:
+	qemu-2.1.0-rc1 (found in)
+	commit c60a57ff497667780132a3fcdc1500c83af5d5c0 (current master)
\ No newline at end of file