Re: [PATCH] sparc64: Swap registers for fault code and address in mna trap

2016-06-22 Thread David Miller
From: 神田 尚 Date: Tue, 21 Jun 2016 10:36:42 + > Hi, David > > Thank you for your reply. > >> If you can really trigger this code path, please post the kernel log >> backtrace that happens when the BUG() triggers. That way we can >> figure out what the real problem is. > I'm sorry I cannot s

Re: [PATCH] sparc64: Swap registers for fault code and address in mna trap

2016-06-21 Thread Xose Vazquez Perez
Hisashi Kanda wrote: > In fact, BUG() in do_sparc64_fault occurred in modified version > of linux-2.6.25.8 on SPARC64VIIIfx. I'm misunderstanding that > the same problem remains in the latest. Fujitsu K computer, with SPARC64 VIIIfx, runs a heavily modified 2.6.25.8 kernel. And maybe also binutil

RE: [PATCH] sparc64: Swap registers for fault code and address in mna trap

2016-06-21 Thread 神田 尚
sparcli...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH] sparc64: Swap registers for fault code and address in mna trap From: 神田 尚 Date: Fri, 17 Jun 2016 01:49:11 + > This bug may occur in the following. > > user_rtt_fill_64bit <= If mna trap occurred,

Re: [PATCH] sparc64: Swap registers for fault code and address in mna trap

2016-06-17 Thread David Miller
From: 神田 尚 Date: Fri, 17 Jun 2016 01:49:11 + > This bug may occur in the following. > > user_rtt_fill_64bit <= If mna trap occurred, call do_mna > +-> do_mna <= Mistake storing registers for fault code and > address > +-> winfix_mna > +-> user_rtt_fill_

[PATCH] sparc64: Swap registers for fault code and address in mna trap

2016-06-16 Thread 神田 尚
From: "Hisashi Kanda" This bug may occur in the following. user_rtt_fill_64bit <= If mna trap occurred, call do_mna +-> do_mna <= Mistake storing registers for fault code and address +-> winfix_mna +-> user_rtt_fill_fixup <= Put fault address into thread_

Re: [PATCH] sparc64: Swap registers for fault code and address in mna trap

2016-06-16 Thread Julian Calaby
Hi Hisashi, On Fri, Jun 17, 2016 at 10:05 AM, 神田 尚 wrote: > From: "Hisashi Kanda" Could you please put your real email address here? > I found a logical bug in SPARC code. > So, I send this patch. Please check it. Leave this part out, we only need the explanation of the potential bug, if you'

[PATCH] sparc64: Swap registers for fault code and address in mna trap

2016-06-16 Thread 神田 尚
From: "Hisashi Kanda" I found a logical bug in SPARC code. So, I send this patch. Please check it. This bug may occur in the following. user_rtt_fill_64bit <= If mna trap occurred, call do_mna +-> do_mna <= Mistake storing registers for fault code and address +->

Re: [PATCH] sparc64: Swap registers for fault code and address in mna trap

2016-06-16 Thread David Miller
Your patch has been whitespace corrupted by your email client. Also, the correct mailing list to submit Sparc patches to is sparcli...@vger.kernel.org