• David S. Miller's avatar
    [SPARC64]: Add boot option to force UltraSPARC-III P-Cache on. · 816242da
    David S. Miller authored
    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: default avatarDavid S. Miller <davem@davemloft.net>
    816242da
setup.c 16.5 KB