On 9/28/21 5:31 AM, Peter Maydell wrote:
+ uint32_t *host_rc = g2h_untagged(retcode);...but here we treat it as a normal guest address that we can convert into a host address and dereference. If the signal handler is being entered in Thumb mode this will be a misaligned pointer.
Oops, yes.I've no idea why the kernel works so hard to match the mode of the signal handler to the mode of the trampoline, but I presume it's ABI at this point.
r~
