summary refs log tree commit diff stats
path: root/hw/intc
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2025-03-14 18:20:00 -0700
committerRichard Henderson <richard.henderson@linaro.org>2025-04-23 14:08:17 -0700
commit66269bb96999395906e0e38ca7e59f92ab371933 (patch)
tree81cb6fcc2bfe3b4f338e9413c59acb2542aa8270 /hw/intc
parente9358339c5dc7aab0b48d35b57371efae1737046 (diff)
downloadfocaccia-qemu-66269bb96999395906e0e38ca7e59f92ab371933.tar.gz
focaccia-qemu-66269bb96999395906e0e38ca7e59f92ab371933.zip
accel/tcg: Fix cpu_ld*_code_mmu for user mode
These routines are buggy in multiple ways:
  - Use of target-endian loads, then a bswap that
    depends on the host endiannness.
  - A non-unwinding code load must set_helper_retaddr 1,
    which is magic within adjust_signal_pc.
  - cpu_ldq_code_mmu used MMU_DATA_LOAD

The bugs are hidden because all current uses of cpu_ld*_code_mmu
are from system mode.

Fixes: 2899062614a ("accel/tcg: Add cpu_ld*_code_mmu")
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/intc')
0 files changed, 0 insertions, 0 deletions