qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] SIGSEGV fixes
@ 2021-07-15 21:22 Taylor Simpson
  2021-07-15 21:22 ` [PATCH v3 1/2] Hexagon (target/hexagon) remove put_user_*/get_user_* Taylor Simpson
  2021-07-15 21:22 ` [PATCH v3 2/2] linux-test (tests/tcg/multiarch/linux-test.c) add check Taylor Simpson
  0 siblings, 2 replies; 4+ messages in thread
From: Taylor Simpson @ 2021-07-15 21:22 UTC (permalink / raw)
  To: qemu-devel; +Cc: ale, bcain, alex.bennee, richard.henderson, tsimpson, philmd

The Hexagon target was silently failing the SIGSEGV test because
the signal handler was not called.

Patch 1/2 fixes the Hexagon target
Patch 2/2 adds a check that the signal handler is called

**** Changes in v2 ****
Address feedback from Richard Henderson <richard.henderson@linaro.org>
- Replace put_user_* with cpu_st*_data_ra
- Replace get_user_* with cpu_ld*_data_ra
- Treat sig_segv_called as a counter

**** Changes in v3 ****
Address feedback from Richard Henderson <richard.henderson@linaro.org>
- Pass host PC as return address for cpu_st_*_data_ra/cpu_ld*_data_ra


Taylor Simpson (2):
  Hexagon (target/hexagon) remove put_user_*/get_user_*
  linux-test (tests/tcg/multiarch/linux-test.c) add check

 target/hexagon/op_helper.c       | 39 ++++++++++++++++++---------------------
 tests/tcg/multiarch/linux-test.c |  8 ++++++++
 2 files changed, 26 insertions(+), 21 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-16 16:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-15 21:22 [PATCH v3 0/2] SIGSEGV fixes Taylor Simpson
2021-07-15 21:22 ` [PATCH v3 1/2] Hexagon (target/hexagon) remove put_user_*/get_user_* Taylor Simpson
2021-07-16 16:05   ` Richard Henderson
2021-07-15 21:22 ` [PATCH v3 2/2] linux-test (tests/tcg/multiarch/linux-test.c) add check Taylor Simpson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).