[Qemu-devel] [PULL 58/66] ppc: Fix catching some segfaults in user mode

2016-09-05 Thread David Gibson
From: 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 Signed-off-by: Dav

[Qemu-devel] [PULL 58/66] ppc: Fix catching some segfaults in user mode

2016-09-05 Thread David Gibson
From: 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 Signed-off-by: Dav