Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: "Jayachandran C." <jayachandranc@netlogicmicro.com>
To: David Daney <ddaney@caviumnetworks.com>
Cc: linux-mips@linux-mips.org, ralf@linux-mips.org
Subject: Re: [PATCH 3/7] Add XLR/XLS cache and TLB support
Date: Wed, 16 Mar 2011 22:52:33 +0530	[thread overview]
Message-ID: <20110316172232.GG15774@jayachandranc.netlogicmicro.com> (raw)
In-Reply-To: <4D80EA02.9030605@caviumnetworks.com>

On Wed, Mar 16, 2011 at 09:49:06AM -0700, David Daney wrote:
> On 03/16/2011 04:57 AM, Jayachandran C wrote:
> [...]
> >diff --git a/arch/mips/include/asm/mach-netlogic/cpu-feature-overrides.h b/arch/mips/include/asm/mach-netlogic/cpu-feature-overrides.h
> >new file mode 100644
> >index 0000000..7740401
> >--- /dev/null
> >+++ b/arch/mips/include/asm/mach-netlogic/cpu-feature-overrides.h
> >@@ -0,0 +1,9 @@
> >+#ifndef __ASM_MACH_NETLOGIC_CPU_FEATURE_OVERRIDES_H
> >+#define __ASM_MACH_NETLOGIC_CPU_FEATURE_OVERRIDES_H
> >+
> >+/*
> >+ * Most of the properties are in cpu->options
> >+ */
> >+#define cpu_has_netlogic_cache	1
> >+
> >+#endif /* __ASM_MACH_NETLOGIC_CPU_FEATURE_OVERRIDES_H */
> 
> Although this will probably work, you will likely get better
> performance if you supply static default values for as many
> overrides as possible.

True, we will miss possible compile-time optimizations, will 
look at this.

Thanks!
JC.
-- 
Jayachandran C.
jayachandranc@netlogicmicro.com                  (Netlogic Microsystems)
jchandra@freebsd.org                               (The FreeBSD Project)

  reply	other threads:[~2011-03-16 17:16 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-16 11:56 [PATCH 0/7] Support for Netlogic XLR/XLS processors Jayachandran C
2011-03-16 11:57 ` [PATCH 1/7] Netlogic XLR/XLS processor IDs Jayachandran C
2011-03-16 12:01   ` Sergei Shtylyov
2011-03-16 13:24     ` Jayachandran C.
2011-03-16 11:57 ` [PATCH 2/7] mach-netlogic include directory and files Jayachandran C
2011-03-16 11:57 ` [PATCH 3/7] Add XLR/XLS cache and TLB support Jayachandran C
2011-03-16 16:49   ` David Daney
2011-03-16 17:22     ` Jayachandran C. [this message]
2011-03-16 11:58 ` [PATCH 4/7] Add XLR to asm/module.h Jayachandran C
2011-03-16 11:58 ` [PATCH 5/7] Platform files for XLR/XLS processor support Jayachandran C
2011-03-16 11:59 ` [PATCH 6/7] Kconfig and Makefile update for Netlogic XLR/XLS Jayachandran C
2011-03-16 11:59 ` [PATCH 7/7] Add default configuration for XLR/XLS processors Jayachandran C

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110316172232.GG15774@jayachandranc.netlogicmicro.com \
    --to=jayachandranc@netlogicmicro.com \
    --cc=ddaney@caviumnetworks.com \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox