Re: [Qemu-devel] [PATCH] ppc: Fix catching some segfaults in user mode

2016-08-03 Thread David Gibson
On Wed, Aug 03, 2016 at 05:55:23PM +1000, Benjamin Herrenschmidt wrote: > The usermode "translate" code generates an error code value that > has the "is_write" bit set, which causes our switch/case to miss > and display "Invalid segfault errno" and a spurrious second state > dump. Fix it. > > Sign

[Qemu-devel] [PATCH] ppc: Fix catching some segfaults in user mode

2016-08-03 Thread Benjamin Herrenschmidt
The usermode "translate" code generates an error code value that has the "is_write" bit set, which causes our switch/case to miss and display "Invalid segfault errno" and a spurrious second state dump. Fix it. Signed-off-by: Benjamin Herrenschmidt --- linux-user/main.c | 1 + 1 file changed, 1 i