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 v2] Add MIPS64R2 core support.
Date: Fri, 11 May 2012 21:25:50 +0400	[thread overview]
Message-ID: <4FAD4B9E.70803@mvista.com> (raw)
In-Reply-To: <1336717784-853-1-git-send-email-sjhill@mips.com>

On 05/11/2012 10:29 AM, Steven J. Hill wrote:

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

    Looks like the subject is incorrect. Should be "Add MIPS 5KE support"?

> Signed-off-by: Leonid Yegoshin<yegoshin@mips.com>
> Signed-off-by: Steven J. Hill<sjhill@mips.com>
[...]

> diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
> index d0570f4..862a9c3 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
> @@ -2488,6 +2489,7 @@ config TRAD_SIGNALS
>   config MIPS32_COMPAT
>   	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
>   	depends on 64BIT
> +	default y if CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
>   	help
>   	  Select this option if you want Linux/MIPS 32-bit binary
>   	  compatibility. Since all software available for Linux/MIPS is
> @@ -2507,6 +2509,7 @@ config SYSVIPC_COMPAT
>   config MIPS32_O32
>   	bool "Kernel support for o32 binaries"
>   	depends on MIPS32_COMPAT
> +	default y if CPU_SUPPORTS_32BIT_KERNEL&&  SYS_SUPPORTS_32BIT_KERNEL
>   	help
>   	  Select this option if you want to run o32 binaries.  These are pure
>   	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
> @@ -2525,6 +2528,10 @@ config MIPS32_N32
>
>   	  If unsure, say N.
>
> +comment "64bit kernel, but support of 32bit applications is disabled!"
> +	depends on 64BIT&&  !MIPS32_O32&&  !MIPS32_N32
> +	depends on CPU_SUPPORTS_32BIT_KERNEL&&  SYS_SUPPORTS_32BIT_KERNEL
> +

    The above looks like a material for separate patch...

WBR, Sergei

  reply	other threads:[~2012-05-11 17:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-11  6:29 [PATCH v2] Add MIPS64R2 core support Steven J. Hill
2012-05-11 17:25 ` Sergei Shtylyov [this message]
2012-05-11 17:32   ` Yegoshin, Leonid
2012-05-11 17:37     ` Sergei Shtylyov
2012-05-11 17:45       ` Yegoshin, Leonid
2012-05-11 18:05         ` Sergei Shtylyov
2012-05-11 18:23           ` Hill, Steven
2012-05-11 18:36             ` 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=4FAD4B9E.70803@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