summary refs log tree commit diff stats
path: root/results/scraper/launchpad-without-comments/1817846
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/1817846
parentadedf8771bc4de3113041ca21bd4d0d1c0014b6a (diff)
downloademulator-bug-study-33606b41d35115f887ea688b1a16f2ff85bf2fe4.tar.gz
emulator-bug-study-33606b41d35115f887ea688b1a16f2ff85bf2fe4.zip
add launchpad bug reports without comments
Diffstat (limited to 'results/scraper/launchpad-without-comments/1817846')
-rw-r--r--results/scraper/launchpad-without-comments/181784646
1 files changed, 46 insertions, 0 deletions
diff --git a/results/scraper/launchpad-without-comments/1817846 b/results/scraper/launchpad-without-comments/1817846
new file mode 100644
index 00000000..ae3c41f7
--- /dev/null
+++ b/results/scraper/launchpad-without-comments/1817846
@@ -0,0 +1,46 @@
+Qemu 3.1 Aarch64 TLBI VAE1, x0
+
+Hello,
+
+In my code I'm trying to remove some permissions to a 4KiB MMU descriptor. After that I invalidate the MMU with 
+
+TLBI VAE1, x0
+
+where x0 is the start of the address of the 4 KiB page. 
+
+In Qemu 2.12 this did not work, but I worked around it with:
+
+
+    /* invalidate the address */
+    TLBI VAE1, x0
+
+
+    /*****************************************************************/
+    /*****************************************************************/
+    /* NOTE: THIS IS A TRICK FOR QEMU!!!!!!!!!!!!                                                               */
+    /* Apparently we have to change the TTBR0_EL1 when we change a descriptor (especially to remove permissions) */
+    /* Otherwise qemu (2.12) will continue with the same descriptor with permissions!                          **/
+   /*****************************************************************/
+   /*****************************************************************/
+     
+    /* do a trick (in qemu) */
+    mrs     x1 , TTBR0_EL1
+
+    ldr     x2 , =kernelTable0Table
+
+    msr     TTBR0_EL1 , x2
+
+    isb
+
+    msr     TTBR0_EL1 , x1
+
+    /* return from function */
+    ret
+
+
+That is, I just replaced the TTBR0_EL1 with a temporary value, and then restored it. (guess qemu 2.12 just needed to reload the values again).
+
+However, even this procedure is not working with qemu 3.1. (I just tested again with qemu 2.12 and the code works fine, with qemu 3.1 it does not).
+
+Thanks,
+Pharos team
\ No newline at end of file