]> git.openfabrics.org - ~emulex/infiniband.git/commit
[SPARC64]: Add boot option to force UltraSPARC-III P-Cache on.
authorDavid S. Miller <davem@davemloft.net>
Mon, 23 May 2005 22:52:08 +0000 (15:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 May 2005 22:52:08 +0000 (15:52 -0700)
commit816242da3735957bee99aeba40aa60c4f120a101
treec5a1092a52911143b0c4f9bc4257c1dbafbb8bdd
parentab3fc403633c38aef5ef48844f8e5dbfee7c34f8
[SPARC64]: Add boot option to force UltraSPARC-III P-Cache on.

Older UltraSPARC-III chips have a P-Cache bug that makes us disable it
by default at boot time.

However, this does hurt performance substantially, particularly with
memcpy(), and the bug is _incredibly_ obscure.  I have never seen it
triggered in practice, ever.

So provide a "-P" boot option that forces the P-Cache on.  It taints
the kernel, so if it does trigger and cause some data corruption or
OOPS, we will find out in the logs that this option was on when it
happened.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/setup.c
arch/sparc64/kernel/smp.c
arch/sparc64/kernel/traps.c
include/asm-sparc64/spitfire.h