Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sshtylyov@mvista.com>
To: "Steven J. Hill" <sjhill@mips.com>
Cc: linux-mips@linux-mips.org, ralf@linux-mips.org,
	Leonid Yegoshin <yegoshin@mips.com>
Subject: Re: [PATCH] Add MIPS64R2 core support.
Date: Tue, 10 Apr 2012 15:49:28 +0400	[thread overview]
Message-ID: <4F841E48.7000104@mvista.com> (raw)
In-Reply-To: <1333987461-822-1-git-send-email-sjhill@mips.com>

Hello.

On 09-04-2012 20:04, Steven J. Hill wrote:

> From: "Steven J. Hill"<sjhill@mips.com>

> Signed-off-by: Leonid Yegoshin<yegoshin@mips.com>
> Signed-off-by: Steven J. Hill<sjhill@mips.com>
> ---
>   arch/mips/Kconfig            |   29 +++++++++++++++++++++++------
>   arch/mips/include/asm/cpu.h  |    2 +-
>   arch/mips/kernel/cpu-probe.c |    4 ++++
>   arch/mips/kernel/traps.c     |    1 +
>   4 files changed, 29 insertions(+), 7 deletions(-)

> diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
> index 991de91..fae33f3 100644
> --- a/arch/mips/Kconfig
> +++ b/arch/mips/Kconfig
> @@ -282,6 +282,7 @@ config MIPS_MALTA
>   	select SYS_HAS_CPU_MIPS32_R1
>   	select SYS_HAS_CPU_MIPS32_R2
>   	select SYS_HAS_CPU_MIPS64_R1
> +	select SYS_HAS_CPU_MIPS64_R2
>   	select SYS_HAS_CPU_NEVADA
>   	select SYS_HAS_CPU_RM7000
>   	select SYS_HAS_EARLY_PRINTK
> @@ -1761,6 +1762,22 @@ config 64BIT
>
>   endchoice
>
> +config 64BIT_PHYS_ADDR
> +	bool "Kernel supports 64 bit physical addresses" if EXPERIMENTAL
> +	depends on 64BIT

    This option is selected on 32-bit CPUs like Alchemy, which has 36-bit 
physical address. It will cause a warning about unmet direct dependencies then.

> +	help
> +	  Defines 64 bit physical addresses in kernel.
> +	  Increases page table sizes.
> +
> +	  It is an alternative for HIGHMEM usage of huge physical memory.
> +	  Requires 64bit capable CPU  and 64 bit kernel code model.

    No, it really doesn't.

> +	  Note: without this option kernel can support up to 4GB physical
> +	  memory for 4KB pages and up to 64GB for 64KB pages.
> +
> +config ARCH_PHYS_ADDR_T_64BIT
> +       def_bool 64BIT_PHYS_ADDR
> +
>   choice
>   	prompt "Kernel page size"
>   	default PAGE_SIZE_4KB

WBR, Sergei

  reply	other threads:[~2012-04-10 11:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-09 16:04 [PATCH] Add MIPS64R2 core support Steven J. Hill
2012-04-10 11:49 ` Sergei Shtylyov [this message]
2012-04-10 19:09   ` Leonid Yegoshin
2012-04-10 19:09     ` Leonid Yegoshin
2012-04-10 19:26     ` Sergei Shtylyov
2012-04-10 19:55       ` Leonid Yegoshin
2012-04-10 19:55         ` Leonid Yegoshin
2012-04-11 11:53         ` Sergei Shtylyov

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=4F841E48.7000104@mvista.com \
    --to=sshtylyov@mvista.com \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    --cc=sjhill@mips.com \
    --cc=yegoshin@mips.com \
    /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