Hi,
This is a follow up to the patch I posted yesterday. I've made some
clean-ups to the comments and logic as suggested from the review.
Additionally I've added a clean-up patch which tidied up all the
call-sites which no longer need to check retaddr/pc before calling
cpu_restore_state.
Alex Bennée (2):
accel/tcg/translate-all: expand cpu_restore_state addr check
target/*helper: don't check retaddr before calling cpu_restore_state
accel/tcg/translate-all.c | 52 +++++++++++++++++-------------
include/exec/exec-all.h | 11 +++++++
scripts/coccinelle/cpu_restore_state.cocci | 12 +++++++
target/alpha/mem_helper.c | 12 ++-----
target/arm/op_helper.c | 17 +++-------
target/i386/svm_helper.c | 4 +--
target/lm32/op_helper.c | 7 ++--
target/m68k/op_helper.c | 7 ++--
target/microblaze/op_helper.c | 7 ++--
target/moxie/helper.c | 4 +--
target/nios2/mmu.c | 7 ++--
target/openrisc/mmu_helper.c | 7 ++--
target/s390x/excp_helper.c | 4 +--
target/tricore/op_helper.c | 11 ++-----
target/unicore32/op_helper.c | 7 ++--
15 files changed, 77 insertions(+), 92 deletions(-)
create mode 100644 scripts/coccinelle/cpu_restore_state.cocci
--
2.14.2