Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: Netlogic: Cache, TLB support and feature overrides for XLR

CPU_XLR case added to mm/tlbex.c
CPU_XLR case added to mm/c-r4k.c for PINDEX attribute
Feature overrides for XLR cpu.

Signed-off-by: Jayachandran C <jayachandranc@netlogicmicro.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2333/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by

Jayachandran C and committed by
Ralf Baechle
efa0f81c 3c595a51

+4
+2
arch/mips/include/asm/module.h
··· 118 118 #define MODULE_PROC_FAMILY "LOONGSON2 " 119 119 #elif defined CONFIG_CPU_CAVIUM_OCTEON 120 120 #define MODULE_PROC_FAMILY "OCTEON " 121 + #elif defined CONFIG_CPU_XLR 122 + #define MODULE_PROC_FAMILY "XLR " 121 123 #else 122 124 #error MODULE_PROC_FAMILY undefined for your processor configuration 123 125 #endif
+1
arch/mips/mm/c-r4k.c
··· 1006 1006 case CPU_25KF: 1007 1007 case CPU_SB1: 1008 1008 case CPU_SB1A: 1009 + case CPU_XLR: 1009 1010 c->dcache.flags |= MIPS_CACHE_PINDEX; 1010 1011 break; 1011 1012
+1
arch/mips/mm/tlbex.c
··· 404 404 case CPU_5KC: 405 405 case CPU_TX49XX: 406 406 case CPU_PR4450: 407 + case CPU_XLR: 407 408 uasm_i_nop(p); 408 409 tlbw(p); 409 410 break;