Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: David Daney <ddaney@caviumnetworks.com>
To: Jayachandran C <jayachandranc@netlogicmicro.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 09:49:06 -0700	[thread overview]
Message-ID: <4D80EA02.9030605@caviumnetworks.com> (raw)
In-Reply-To: <cadf7ed67683e96d920fedc87d8fc5d6dbdccdc7.1300275485.git.jayachandranc@netlogicmicro.com>

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.

David Daney

  reply	other threads:[~2011-03-16 16:49 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 [this message]
2011-03-16 17:22     ` Jayachandran C.
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=4D80EA02.9030605@caviumnetworks.com \
    --to=ddaney@caviumnetworks.com \
    --cc=jayachandranc@netlogicmicro.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