* [PATCH 6/6] Cpu features overrides for msp platforms.
@ 2011-01-25 8:23 Anoop P.A
2011-01-25 12:09 ` Sergei Shtylyov
[not found] ` <20110211150403.GG23348@linux-mips.org>
0 siblings, 2 replies; 4+ messages in thread
From: Anoop P.A @ 2011-01-25 8:23 UTC (permalink / raw)
To: ralf, linux-mips, linux-kernel; +Cc: Anoop P A
From: Anoop P A <anoop.pa@gmail.com>
Signed-off-by: Anoop P A <anoop.pa@gmail.com>
---
.../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
diff --git a/arch/mips/include/asm/pmc-sierra/msp71xx/cpu-feature-overrides.h b/arch/mips/include/asm/pmc-sierra/msp71xx/cpu-feature-overrides.h
new file mode 100644
index 0000000..a80801b
--- /dev/null
+++ b/arch/mips/include/asm/pmc-sierra/msp71xx/cpu-feature-overrides.h
@@ -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 (ralf@linux-mips.org)
+ */
+#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 */
--
1.7.0.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 6/6] Cpu features overrides for msp platforms.
2011-01-25 8:23 [PATCH 6/6] Cpu features overrides for msp platforms Anoop P.A
@ 2011-01-25 12:09 ` Sergei Shtylyov
2011-01-25 12:32 ` Anoop P A
[not found] ` <20110211150403.GG23348@linux-mips.org>
1 sibling, 1 reply; 4+ messages in thread
From: Sergei Shtylyov @ 2011-01-25 12:09 UTC (permalink / raw)
To: Anoop P.A; +Cc: ralf, linux-mips, linux-kernel
Hello.
On 25-01-2011 11:23, Anoop P.A wrote:
> From: Anoop P A<anoop.pa@gmail.com>
> Signed-off-by: Anoop P A<anoop.pa@gmail.com>
[...]
> diff --git a/arch/mips/include/asm/pmc-sierra/msp71xx/cpu-feature-overrides.h b/arch/mips/include/asm/pmc-sierra/msp71xx/cpu-feature-overrides.h
> new file mode 100644
> index 0000000..a80801b
> --- /dev/null
> +++ b/arch/mips/include/asm/pmc-sierra/msp71xx/cpu-feature-overrides.h
> @@ -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 (ralf@linux-mips.org)
If you're the author, how come it's Ralf's copyright here?
WBR, Sergei
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 6/6] Cpu features overrides for msp platforms.
2011-01-25 12:09 ` Sergei Shtylyov
@ 2011-01-25 12:32 ` Anoop P A
0 siblings, 0 replies; 4+ messages in thread
From: Anoop P A @ 2011-01-25 12:32 UTC (permalink / raw)
To: Sergei Shtylyov; +Cc: ralf, linux-mips, linux-kernel
On Tue, 2011-01-25 at 15:09 +0300, Sergei Shtylyov wrote:
> Hello.
>
> On 25-01-2011 11:23, Anoop P.A wrote:
>
> > From: Anoop P A<anoop.pa@gmail.com>
>
>
> > Signed-off-by: Anoop P A<anoop.pa@gmail.com>
> [...]
>
> > diff --git a/arch/mips/include/asm/pmc-sierra/msp71xx/cpu-feature-overrides.h b/arch/mips/include/asm/pmc-sierra/msp71xx/cpu-feature-overrides.h
> > new file mode 100644
> > index 0000000..a80801b
> > --- /dev/null
> > +++ b/arch/mips/include/asm/pmc-sierra/msp71xx/cpu-feature-overrides.h
> > @@ -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 (ralf@linux-mips.org)
>
> If you're the author, how come it's Ralf's copyright here?
I just copied that file from some other platform.
>
> WBR, Sergei
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 6/6] Cpu features overrides for msp platforms.
[not found] ` <20110211150403.GG23348@linux-mips.org>
@ 2011-02-11 15:31 ` Anoop P A
0 siblings, 0 replies; 4+ messages in thread
From: Anoop P A @ 2011-02-11 15:31 UTC (permalink / raw)
To: Ralf Baechle; +Cc: linux-mips, linux-kernel
On Fri, 2011-02-11 at 16:04 +0100, Ralf Baechle wrote:
> Queued 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.
Can you point me to reference file ?.
>
> Ralf
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-02-11 15:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-25 8:23 [PATCH 6/6] Cpu features overrides for msp platforms Anoop P.A
2011-01-25 12:09 ` Sergei Shtylyov
2011-01-25 12:32 ` Anoop P A
[not found] ` <20110211150403.GG23348@linux-mips.org>
2011-02-11 15:31 ` Anoop P A
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).