Skip to content

Commit

Permalink
MIPS: Netlogic: Avoid unnecessary cache flushes
Browse files Browse the repository at this point in the history
XLR dcache is fully coherent across CPUs, so avoid unnecessary dcache
flushes.

Signed-off-by: Jayachandran C <jayachandranc@netlogicmicro.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2729/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Jayachandran C authored and Ralf Baechle committed Dec 7, 2011
1 parent 11d48aa commit b66f953
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions arch/mips/include/asm/mach-netlogic/cpu-feature-overrides.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,12 @@
#define cpu_has_llsc 1
#define cpu_has_vtag_icache 0
#define cpu_has_dc_aliases 0
#define cpu_has_ic_fills_f_dc 0
#define cpu_has_ic_fills_f_dc 1
#define cpu_has_dsp 0
#define cpu_has_mipsmt 0
#define cpu_has_userlocal 0
#define cpu_icache_snoops_remote_store 0
#define cpu_icache_snoops_remote_store 1

#define cpu_has_nofpuex 0
#define cpu_has_64bits 1

#define cpu_has_mips32r1 1
Expand Down

0 comments on commit b66f953

Please sign in to comment.