[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] ec603b: tcg: Record code_gen_buffer address f
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] ec603b: tcg: Record code_gen_buffer address for user-only ... |
Date: |
Thu, 16 Nov 2017 05:34:56 -0800 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: ec603b5584fa71213ef8f324fe89e4b27cc9d2bc
https://github.com/qemu/qemu/commit/ec603b5584fa71213ef8f324fe89e4b27cc9d2bc
Author: Richard Henderson <address@hidden>
Date: 2017-11-15 (Wed, 15 Nov 2017)
Changed paths:
M accel/tcg/atomic_template.h
M accel/tcg/cputlb.c
M accel/tcg/user-exec.c
M include/exec/cpu_ldst.h
M include/exec/cpu_ldst_useronly_template.h
Log Message:
-----------
tcg: Record code_gen_buffer address for user-only memory helpers
When we handle a signal from a fault within a user-only memory helper,
we cannot cpu_restore_state with the PC found within the signal frame.
Use a TLS variable, helper_retaddr, to record the unwind start point
to find the faulting guest insn.
Tested-by: Alex Bennée <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Reported-by: Peter Maydell <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Commit: 3bdb5fcc9a08a9a47ce30c4e0c2d64c95190b49d
https://github.com/qemu/qemu/commit/3bdb5fcc9a08a9a47ce30c4e0c2d64c95190b49d
Author: Richard Henderson <address@hidden>
Date: 2017-11-15 (Wed, 15 Nov 2017)
Changed paths:
M target/arm/helper-a64.c
Log Message:
-----------
target/arm: Use helper_retaddr in stxp helpers
We use raw memory primitives along the !parallel_cpus paths in order to
simplify the endianness handling. Because of that, we did not benefit
from the generic changes to cpu_ldst_user_only_template.h.
The simplest fix is to manipulate helper_retaddr here.
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Commit: 3c5f9c3f35dd3b6d1d1cd68c9d4d86fc3c59c397
https://github.com/qemu/qemu/commit/3c5f9c3f35dd3b6d1d1cd68c9d4d86fc3c59c397
Author: Richard Henderson <address@hidden>
Date: 2017-11-15 (Wed, 15 Nov 2017)
Changed paths:
M target/arm/helper-a64.c
Log Message:
-----------
target/arm: Fix GETPC usage in do_paired_cmpxchg64_l/be
Use of GETPC must be restricted to those functions that are
directly called from TCG generated code.
Reviewed-by: Alex Bennée <address@hidden>
Fixes: 2399d4e7cec22ecf1c51062d2ebfd45220dbaace
Signed-off-by: Richard Henderson <address@hidden>
Commit: 6a7cb8c3d674815cab08d884740d203fded12249
https://github.com/qemu/qemu/commit/6a7cb8c3d674815cab08d884740d203fded12249
Author: Peter Maydell <address@hidden>
Date: 2017-11-16 (Thu, 16 Nov 2017)
Changed paths:
M accel/tcg/atomic_template.h
M accel/tcg/cputlb.c
M accel/tcg/user-exec.c
M include/exec/cpu_ldst.h
M include/exec/cpu_ldst_useronly_template.h
M target/arm/helper-a64.c
Log Message:
-----------
Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20171115' into staging
User-mode memory helper fixes
# gpg: Signature made Wed 15 Nov 2017 12:32:33 GMT
# gpg: using RSA key 0x64DF38E8AF7E215F
# gpg: Good signature from "Richard Henderson <address@hidden>"
# Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A 05C0 64DF 38E8 AF7E 215F
* remotes/rth/tags/pull-tcg-20171115:
target/arm: Fix GETPC usage in do_paired_cmpxchg64_l/be
target/arm: Use helper_retaddr in stxp helpers
tcg: Record code_gen_buffer address for user-only memory helpers
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/8048082f7a11...6a7cb8c3d674
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] ec603b: tcg: Record code_gen_buffer address for user-only ...,
GitHub <=