]> git.baikalelectronics.ru Git - kernel.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)
commit6f238e9e4efa132061f05c8d35d1c37c8b1d8ef4
treec5a1092a52911143b0c4f9bc4257c1dbafbb8bdd
parent081e9016b0c2c7850f6d9d7e516fdc1a3e6c9158
[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