From: Santosh Shilimkar <santosh.shilimkar@ti.com>
To: Dave Martin <dave.martin@linaro.org>,
linux-arm-kernel@lists.infradead.org
Cc: linux-omap@vger.kernel.org
Subject: RE: [PATCH 1/2] ARM: Thumb-2: Make CONFIG_THUMB2_KERNEL depend on !CPU_V6
Date: Fri, 4 Feb 2011 16:17:04 +0530 [thread overview]
Message-ID: <7cf35ba2aa44e420ee82adf5b1aaf232@mail.gmail.com> (raw)
In-Reply-To: <1291895982-4775-2-git-send-email-dave.martin@linaro.org>
> -----Original Message-----
> From: Dave Martin [mailto:dave.martin@linaro.org]
> Sent: Thursday, December 09, 2010 5:30 PM
> To: linux-arm-kernel@lists.infradead.org
> Cc: Dave Martin; Santosh Shilimkar; linux-omap@vger.kernel.org
> Subject: [PATCH 1/2] ARM: Thumb-2: Make CONFIG_THUMB2_KERNEL depend
> on !CPU_V6
>
> This makes sense, because Thumb-2 code can't execute on plain
> ARMv6 processors.
>
> This will avoid accidentally configuring a broken kernel where the
> config otherwise would allow multiple architecture versions to
> coexist in the same kernel.
>
> Not adding !CPU_V5 etc., because the chance of anyone trying to
> put v5 and v7 in the same kernel is low, and I'm not aware of
> any mach which can do this. These could be added later if it
> matters.
>
> Note that the rules may need to be refined if support for the
> ARM1156J(F)-S processor is later added to the kernel, since this
> processor supports the rare ARMv6T2 extensions, which add support
> for Thumb-2 and a few other ARMv7 features.
>
> Signed-off-by: Dave Martin <dave.martin@linaro.org>
> Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>`
> ---
> arch/arm/Kconfig | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index db524e7..f9ca7f3 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -1311,7 +1311,7 @@ config HZ
>
> config THUMB2_KERNEL
> bool "Compile the kernel in Thumb-2 mode"
> - depends on CPU_V7 && EXPERIMENTAL
> + depends on CPU_V7 && !CPU_V6 && EXPERIMENTAL
> select AEABI
> select ARM_ASM_UNIFIED
> help
> --
> 1.7.1
WARNING: multiple messages have this Message-ID (diff)
From: santosh.shilimkar@ti.com (Santosh Shilimkar)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] ARM: Thumb-2: Make CONFIG_THUMB2_KERNEL depend on !CPU_V6
Date: Fri, 4 Feb 2011 16:17:04 +0530 [thread overview]
Message-ID: <7cf35ba2aa44e420ee82adf5b1aaf232@mail.gmail.com> (raw)
In-Reply-To: <1291895982-4775-2-git-send-email-dave.martin@linaro.org>
> -----Original Message-----
> From: Dave Martin [mailto:dave.martin at linaro.org]
> Sent: Thursday, December 09, 2010 5:30 PM
> To: linux-arm-kernel at lists.infradead.org
> Cc: Dave Martin; Santosh Shilimkar; linux-omap at vger.kernel.org
> Subject: [PATCH 1/2] ARM: Thumb-2: Make CONFIG_THUMB2_KERNEL depend
> on !CPU_V6
>
> This makes sense, because Thumb-2 code can't execute on plain
> ARMv6 processors.
>
> This will avoid accidentally configuring a broken kernel where the
> config otherwise would allow multiple architecture versions to
> coexist in the same kernel.
>
> Not adding !CPU_V5 etc., because the chance of anyone trying to
> put v5 and v7 in the same kernel is low, and I'm not aware of
> any mach which can do this. These could be added later if it
> matters.
>
> Note that the rules may need to be refined if support for the
> ARM1156J(F)-S processor is later added to the kernel, since this
> processor supports the rare ARMv6T2 extensions, which add support
> for Thumb-2 and a few other ARMv7 features.
>
> Signed-off-by: Dave Martin <dave.martin@linaro.org>
> Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>`
> ---
> arch/arm/Kconfig | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index db524e7..f9ca7f3 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -1311,7 +1311,7 @@ config HZ
>
> config THUMB2_KERNEL
> bool "Compile the kernel in Thumb-2 mode"
> - depends on CPU_V7 && EXPERIMENTAL
> + depends on CPU_V7 && !CPU_V6 && EXPERIMENTAL
> select AEABI
> select ARM_ASM_UNIFIED
> help
> --
> 1.7.1
next prev parent reply other threads:[~2011-02-04 10:47 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-09 11:59 [PATCH 0/2] ARM: Thumb-2: Fix Kconfig rules to avoid nonworking configs Dave Martin
2010-12-09 11:59 ` Dave Martin
2010-12-09 11:59 ` [PATCH 1/2] ARM: Thumb-2: Make CONFIG_THUMB2_KERNEL depend on !CPU_V6 Dave Martin
2010-12-09 11:59 ` Dave Martin
2010-12-09 18:34 ` Nicolas Pitre
2010-12-09 18:34 ` Nicolas Pitre
2010-12-10 5:47 ` Santosh Shilimkar
2010-12-10 5:47 ` Santosh Shilimkar
2011-02-04 10:47 ` Santosh Shilimkar [this message]
2011-02-04 10:47 ` Santosh Shilimkar
2010-12-09 11:59 ` [PATCH 2/2] ARM: Make CONFIG_FPE_NWFPE depend on !CONFIG_THUMB2_KERNEL Dave Martin
2010-12-09 11:59 ` Dave Martin
2010-12-09 18:32 ` Nicolas Pitre
2010-12-09 18:32 ` Nicolas Pitre
2010-12-10 5:48 ` Santosh Shilimkar
2010-12-10 5:48 ` Santosh Shilimkar
2011-02-04 10:47 ` Santosh Shilimkar
2011-02-04 10:47 ` Santosh Shilimkar
2011-02-04 11:03 ` Russell King - ARM Linux
2011-02-04 11:03 ` Russell King - ARM Linux
2011-02-04 12:01 ` Dave Martin
2011-02-04 12:01 ` Dave Martin
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=7cf35ba2aa44e420ee82adf5b1aaf232@mail.gmail.com \
--to=santosh.shilimkar@ti.com \
--cc=dave.martin@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-omap@vger.kernel.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.