Re: [Qemu-devel] [PATCH] ppc: Stop dumping state on all exceptions in linux-user

2016-08-08 Thread Richard Henderson
On 08/07/2016 06:20 AM, Benjamin Herrenschmidt wrote: On Sat, 2016-08-06 at 15:23 +0530, Richard Henderson wrote: On 08/03/2016 05:09 PM, Benjamin Herrenschmidt wrote: As far user-with-softmmu, I'm not too sure... softmmu significantly increases the overhead of load and stores. Maybe after we

Re: [Qemu-devel] [PATCH] ppc: Stop dumping state on all exceptions in linux-user

2016-08-06 Thread Benjamin Herrenschmidt
On Sat, 2016-08-06 at 15:23 +0530, Richard Henderson wrote: > On 08/03/2016 05:09 PM, Benjamin Herrenschmidt wrote: > > > > As far user-with-softmmu, I'm not too sure... softmmu significantly > > increases the overhead of load and stores. Maybe after we add 128-bit > > integers to TGC to alleviate

Re: [Qemu-devel] [PATCH] ppc: Stop dumping state on all exceptions in linux-user

2016-08-06 Thread Richard Henderson
On 08/03/2016 05:09 PM, Benjamin Herrenschmidt wrote: As far user-with-softmmu, I'm not too sure... softmmu significantly increases the overhead of load and stores. Maybe after we add 128-bit integers to TGC to alleviate that a bit ? :-) It wouldn't be mandatory, but there are certain bugs we c

Re: [Qemu-devel] [PATCH] ppc: Stop dumping state on all exceptions in linux-user

2016-08-03 Thread Benjamin Herrenschmidt
On Wed, 2016-08-03 at 12:05 +0100, Peter Maydell wrote: > On 3 August 2016 at 09:02, Benjamin Herrenschmidt > > wrote: > > > > Other archs don't do it, some programs catch signals just fine > > and those dumps just clutter the output. Keep the dumps for cases > > that aren't supposed to happen su

Re: [Qemu-devel] [PATCH] ppc: Stop dumping state on all exceptions in linux-user

2016-08-03 Thread Benjamin Herrenschmidt
On Wed, 2016-08-03 at 12:32 +0100, Peter Maydell wrote: > Yeah, there's an LTP test that fails because of this (we > send a SIGSEGV when we should be sending a SIGBUS). It's > a bit painful to fix though, since as you say we've > effectively thrown away some information. I'm inclined to > put this

Re: [Qemu-devel] [PATCH] ppc: Stop dumping state on all exceptions in linux-user

2016-08-03 Thread Peter Maydell
On 3 August 2016 at 12:28, Benjamin Herrenschmidt wrote: > To the best of my understanding we only ever generate > 0x4000 and 0x4200 via ppc_cpu_handle_mmu_fault() > in user_only_helper.c unless there's another path to DSI > in user mode that I missed. > > That being said, the comment isn'

Re: [Qemu-devel] [PATCH] ppc: Stop dumping state on all exceptions in linux-user

2016-08-03 Thread Peter Maydell
On 3 August 2016 at 09:02, Benjamin Herrenschmidt wrote: > Other archs don't do it, some programs catch signals just fine > and those dumps just clutter the output. Keep the dumps for cases > that aren't supposed to happen such as unknown codes. > > Signed-off-by: Benjamin Herrenschmidt > --- >

[Qemu-devel] [PATCH] ppc: Stop dumping state on all exceptions in linux-user

2016-08-03 Thread Benjamin Herrenschmidt
Other archs don't do it, some programs catch signals just fine and those dumps just clutter the output. Keep the dumps for cases that aren't supposed to happen such as unknown codes. Signed-off-by: Benjamin Herrenschmidt --- linux-user/main.c | 14 -- 1 file changed, 14 deletions(-)