From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Date: Fri, 26 Jan 2007 21:05:28 +0000 Subject: Re: kernel BUG at arch/sparc64/mm/fault.c:413! Message-Id: <20070126.130528.130236097.davem@davemloft.net> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: sparclinux@vger.kernel.org From: Vince Weaver Date: Fri, 26 Jan 2007 14:44:44 -0500 (EST) > > > Vince, I think I figured out what the bug is, can you test the > > following patch? If we set %g5 with the fault address here, we have > > to set %g4 too. This allows to correctly handle a DTLB-PROT trap for > > a window spill during trap entry for another top-level fault. The > > non-Niagara DTLB-PROT code does this properly, it's just the sun4v > > side that had the bug. > > Great news! This fixes things. The gcc snapshot has been compiling now > for over an hour without a problem, wheras before the bug would appear > within seconds. > > Thanks for fixing this, Awesome, thanks for testing.