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/<arch>/. Importantly, SEGV_MAPERR and SEGV_ACCERR are now passed through from the host kernel -- or at least there's a single place from which to manage it [1].
Hum. And then there's the special case of s390x, where the hw does not provide the exact address on faults, but only the page. We have code for that in cpu_loop, but I have to invent some new hook in this new scheme.
r~