All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sshtylyov@mvista.com>
To: Jayachandran C <jayachandranc@netlogicmicro.com>
Cc: ralf@linux-mips.org, linux-mips@linux-mips.org
Subject: Re: [PATCH 1/7] Netlogic XLR/XLS processor IDs.
Date: Fri, 25 Mar 2011 14:26:57 +0300	[thread overview]
Message-ID: <4D8C7C01.9080107@mvista.com> (raw)
In-Reply-To: <bf492d3d03640f86bdd9963d892545423567451d.1301028081.git.jayachandranc@netlogicmicro.com>

Hello.

On 25-03-2011 7:57, Jayachandran C wrote:

> Add Netlogic Microsystems company ID and processor IDs for XLR
> and XLS processors for CPU probe. Add CPU_XLR to cpu_type_enum.

> Signed-off-by: Jayachandran C<jayachandranc@netlogicmicro.com>
[...]

> diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c
> index f65d4c8..a995d56 100644
> --- a/arch/mips/kernel/cpu-probe.c
> +++ b/arch/mips/kernel/cpu-probe.c
> @@ -988,6 +988,59 @@ static inline void cpu_probe_ingenic(struct cpuinfo_mips *c, unsigned int cpu)
>   	}
>   }
>
> +static inline void cpu_probe_netlogic(struct cpuinfo_mips *c, int cpu)
> +{
> +	decode_configs(c);
> +
> +	c->options = (MIPS_CPU_TLB     |

    Perhaps should align | with others...

> +			MIPS_CPU_4KEX    |
> +			MIPS_CPU_COUNTER |
> +			MIPS_CPU_DIVEC   |
> +			MIPS_CPU_WATCH   |
> +			MIPS_CPU_EJTAG   |
> +			MIPS_CPU_LLSC);
[...]
> +	default:
> +		printk(KERN_INFO "Unknown Netlogic chip id [%02x]!\n",

    Not %04x?

> +		       c->processor_id);
> +		c->cputype = CPU_XLR;
> +		break;
> +	}
> +
> +	c->isa_level = MIPS_CPU_ISA_M64R1;
> +	c->tlbsize = ((read_c0_config1() >> 25) & 0x3f) + 1;
> +}
> +
>   #ifdef CONFIG_64BIT
>   /* For use by uaccess.h */
>   u64 __ua_limit;

WBR, Sergei

  reply	other threads:[~2011-03-25 11:28 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-25  4:56 [PATCH 0/7] Support for Netlogic XLR/XLS processors Jayachandran C
2011-03-25  4:57 ` [PATCH 1/7] Netlogic XLR/XLS processor IDs Jayachandran C
2011-03-25 11:26   ` Sergei Shtylyov [this message]
2011-03-25 12:58     ` Ralf Baechle
2011-03-25 13:19       ` Jayachandran C.
2011-03-25 13:44         ` Ralf Baechle
2011-03-25  4:57 ` [PATCH 2/7] mach-netlogic include directory and files Jayachandran C
2011-03-25 12:59   ` Ralf Baechle
2011-03-25  4:57 ` [PATCH 3/7] Cache, TLB support, and feature overrides for XLR Jayachandran C
2011-03-25 12:59   ` Ralf Baechle
2011-03-25  4:58 ` [PATCH 4/7] Add XLR to asm/module.h Jayachandran C
2011-03-25 12:59   ` Ralf Baechle
2011-03-25  4:58 ` [PATCH 5/7] Platform files for XLR/XLS processor support Jayachandran C
2011-03-25 13:02   ` Ralf Baechle
2011-03-25  4:58 ` [PATCH 6/7] Kconfig and Makefile update for Netlogic XLR/XLS Jayachandran C
2011-03-25 13:02   ` Ralf Baechle
2011-03-25  4:59 ` [PATCH 7/7] Add default configuration for XLR/XLS processors Jayachandran C
2011-03-25 13:03   ` Ralf Baechle
  -- strict thread matches above, loose matches on Subject: below --
2011-03-18 13:27 [PATCH 0/7] Support for Netlogic " Jayachandran C
2011-03-18 13:28 ` [PATCH 1/7] Netlogic XLR/XLS processor IDs Jayachandran C
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.

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=4D8C7C01.9080107@mvista.com \
    --to=sshtylyov@mvista.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.