Re: [PATCH] powerpc: Never handle VSX alignment exceptions from kernel

2013-08-20 Thread Anton Blanchard
Hi, > Can you say what will happen when you apply this patch. ie It > produces one oops rather than megabytes of crap making it easier > to debug. Good point, updated. > Also, can you give a clue as to how you can hit this since it should > never happen in the first place. I assume it's some

Re: [PATCH] powerpc: Never handle VSX alignment exceptions from kernel

2013-08-20 Thread Michael Neuling
On Tue, Aug 20, 2013 at 4:05 PM, Anton Blanchard wrote: > > The VSX alignment handler needs to write out the existing VSX > state to memory before operating on it (flush_vsx_to_thread()). > If we take a VSX alignment exception in the kernel bad things > will happen. It looks like we could write th

[PATCH] powerpc: Never handle VSX alignment exceptions from kernel

2013-08-19 Thread Anton Blanchard
The VSX alignment handler needs to write out the existing VSX state to memory before operating on it (flush_vsx_to_thread()). If we take a VSX alignment exception in the kernel bad things will happen. It looks like we could write the kernel state out to the user process, or we could handle the ker