Cpu features overrides for msp platforms.
PATCH 6/6 Cpu features overrides for msp platforms.
From: Anoop P A <[email protected]>
--- .../asm/pmc-sierra/msp71xx/cpu-feature-overrides.h | 21 ++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) create mode 100644 arch/mips/include/asm/pmc-sierra/msp71xx/cpu-feature-overrides.h
arch/mips/include/asm/pmc-sierra/msp71xx/cpu-feature-overrides.h new file +21 -0
@@ -0,0 +1,21 @@ +/* +* This file is subject to the terms and conditions of the GNU General Public +* License. See the file "COPYING" in the main directory of this archive +* for more details. +* +* Copyright (C) 2003, 04, 07 Ralf Baechle ([email protected]) +*/ +#ifndef __ASM_MACH_MSP71XX_CPU_FEATURE_OVERRIDES_H +#define __ASM_MACH_MSP71XX_CPU_FEATURE_OVERRIDES_H + +#define cpu_has_mips16 1 +#define cpu_has_dsp 1 +#define cpu_has_mipsmt 1 +#define cpu_has_fpu 0 + +#define cpu_has_mips32r1 0 +#define cpu_has_mips32r2 1 +#define cpu_has_mips64r1 0 +#define cpu_has_mips64r2 0 + +#endif /* __ASM_MACH_MSP71XX_CPU_FEATURE_OVERRIDES_H */
Signature · 1 line
1.7.0.4
Hello.
Quoted 4 lines · Anoop P.A
From: Anoop P A<[email protected]>
Signed-off-by Anoop P A<[email protected]>
[...]
arch/mips/include/asm/pmc-sierra/msp71xx/cpu-feature-overrides.h line 6
Quoted 12 lines
arch/mips/include/asm/pmc-sierra/msp71xx/cpu-feature-overrides.h new file +6
-0@@ -0,0 +1,21 @@ +/* +* This file is subject to the terms and conditions of the GNU General Public +* License. See the file "COPYING" in the main directory of this archive +* for more details. +* +* Copyright (C) 2003, 04, 07 Ralf Baechle ([email protected])
If you're the author, how come it's Ralf's copyright here?
WBR, Sergei
Quoted 10 lines · Sergei Shtylyov
Hello.
Quoted 4 lines · Anoop P.A
From: Anoop P A<[email protected]>
Signed-off-by Anoop P A<[email protected]>[...]
Quoted 14 lines
arch/mips/include/asm/pmc-sierra/msp71xx/cpu-feature-overrides.h line 6
Quoted 12 lines
arch/mips/include/asm/pmc-sierra/msp71xx/cpu-feature-overrides.h new file +6
-0@@ -0,0 +1,21 @@ +/* +* This file is subject to the terms and conditions of the GNU General Public +* License. See the file "COPYING" in the main directory of this archive +* for more details. +* +* Copyright (C) 2003, 04, 07 Ralf Baechle ([email protected]) If you're the author, how come it's Ralf's copyright here?
I just copied that file from some other platform.
Quoted 2 lines
WBR, Sergei
Ralf Baechle
AppliedQueued for 2.6.39, thanks!
But: this is a rather short cpu-feature-overrides.h file. You can shrink the kernel significantly and get a little performance boost by further defines in that file. In particular defining the symbols for cache and TLB properties such as the cpu_dcache_line_size and cpu_icache_line_size are very effective.
Ralf
Quoted 7 lines · Ralf Baechle
Queued for 2.6.39, thanks!
But: this is a rather short
cpu-feature-overrides.hfile. You can shrink the kernel significantly and get a little performance boost by further defines in that file. In particular defining the symbols for cache and TLB properties such as thecpu_dcache_line_sizeandcpu_icache_line_sizeare very effective.
Can you point me to reference file ?.
Quoted 2 lines
Ralf