Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-sparc
Navigation:
Lists: gentoo-sparc: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: weeve@g.o
From: "David S. Miller" <davem@...>
Subject: Re: 2.6 kernel and docs
Date: Tue, 05 Jul 2005 21:35:27 -0400 (EDT)
Nevermind, I found the bug.  I subtly broke UltraSPARC-III and
later chips by accident.

This patch should fix it:

[SPARC64]: Fix __cheetah_flush_tlb_pending instruction count.

The recent membar changes broke the UltraSPARC-III code patching.

Signed-off-by: David S. Miller <davem@...>

--- 1/arch/sparc64/mm/ultra.S.~1~	2005-07-05 17:16:49.000000000 -0700
+++ 2/arch/sparc64/mm/ultra.S	2005-07-05 18:32:05.000000000 -0700
@@ -249,7 +249,7 @@
 	retl
 	 wrpr		%g7, 0x0, %pstate
 
-__cheetah_flush_tlb_pending:	/* 22 insns */
+__cheetah_flush_tlb_pending:	/* 23 insns */
 	/* %o0 = context, %o1 = nr, %o2 = vaddrs[] */
 	rdpr		%pstate, %g7
 	sllx		%o1, 3, %o1
@@ -317,7 +317,7 @@
 	sethi		%hi(__cheetah_flush_tlb_pending), %o1
 	or		%o1, %lo(__cheetah_flush_tlb_pending), %o1
 	call		cheetah_patch_one
-	 mov		22, %o2
+	 mov		23, %o2
 
 #ifdef DCACHE_ALIASING_POSSIBLE
 	sethi		%hi(__flush_dcache_page), %o0
-- 
gentoo-sparc@g.o mailing list


Navigation:
Lists: gentoo-sparc: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: [gentoo-dev] xorg-x11-6.8.0-r4 to go ~arch --- ~sparc tests good.
Next by thread:
Re: 2.6 kernel and docs
Previous by date:
Re: [gentoo-dev] xorg-x11-6.8.0-r4 to go ~arch --- ~sparc tests good.
Next by date:
Re: 2.6 kernel and docs


Updated Jun 17, 2009

Summary: Archive of the gentoo-sparc mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.