diff options
| author | David S. Miller <davem@nuts.ninka.net> | 2002-10-18 05:09:38 -0700 |
|---|---|---|
| committer | David S. Miller <davem@nuts.ninka.net> | 2002-10-18 05:09:38 -0700 |
| commit | 506523207fb76cc9ae3cf36db034f078680bbd82 (patch) | |
| tree | 9288ac53b7af6fd1abe40ac390c420dffecb0683 | |
| parent | 4978a1f03169947c2b4a437043730eb6f1acd7ed (diff) | |
[SPARC64]: Disable old cheetah pcache optimization.
| -rw-r--r-- | arch/sparc64/lib/VIScopy.S | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/sparc64/lib/VIScopy.S b/arch/sparc64/lib/VIScopy.S index 84093a5201b5..5e076f05fbe3 100644 --- a/arch/sparc64/lib/VIScopy.S +++ b/arch/sparc64/lib/VIScopy.S @@ -397,17 +397,23 @@ cheetah_patch_copyops: ULTRA3_DO_PATCH(__copy_from_user, U3copy_from_user) ULTRA3_DO_PATCH(__copy_to_user, U3copy_to_user) ULTRA3_DO_PATCH(__copy_in_user, U3copy_in_user) +#if 0 /* Causes data corruption, nop out the optimization + * for now -DaveM + */ ldxa [%g0] ASI_DCU_CONTROL_REG, %g3 sethi %uhi(DCU_PE), %o3 sllx %o3, 32, %o3 andcc %g3, %o3, %g0 be,pn %xcc, pcache_disabled nop +#endif ULTRA3_PCACHE_DO_NOP(U3memcpy) ULTRA3_PCACHE_DO_NOP(U3copy_from_user) ULTRA3_PCACHE_DO_NOP(U3copy_to_user) ULTRA3_PCACHE_DO_NOP(cheetah_copy_user_page) +#if 0 pcache_disabled: +#endif retl nop #undef BRANCH_ALWAYS |
