Re: [RFC PATCH 0/7] linux-user: Streamline handling of SIGSEGV/SIGBUS

2021-09-13 Thread Richard Henderson
On 9/13/21 3:05 PM, Richard Henderson wrote: All of the really tcg-specific portions are still in user-exec.c, and all of the really host-specific portions are now ditributed across linux-user/host//. Importantly, SEGV_MAPERR and SEGV_ACCERR are now passed through from the host kernel -- or at

[RFC PATCH 0/7] linux-user: Streamline handling of SIGSEGV/SIGBUS

2021-09-13 Thread Richard Henderson
Our current setup is: host_signal_handler cpu_signal_handler handle_cpu_signal cc->tcg_ops->tlb_fill raise_exception cpu_loop queue_signal and in the process lose information from the host siginfo_t, which we (mostly) do not recreate properly. Moreover, the