From: Chen Gang <gang.chen.5i5j@gmail.com>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>
Cc: Arnd Bergmann <arnd@arndb.de>,
akpm@linux-foundation.org,
Geert Uytterhoeven <geert@linux-m68k.org>,
Jean Delvare <jdelvare@suse.de>,
catalin.marinas@arm.com, will.deacon@arm.com,
tony.luck@intel.com, fenghua.yu@intel.com, tglx@linutronix.de,
mingo@redhat.com, hpa@zytor.com, x86@kernel.org,
linux-arm-kernel@lists.infradead.org, linux-ia64@vger.kernel.org,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
gxt@mprc.pku.edu.cn, liqin.linux@gmail.com, lennox.wu@gmail.com,
cmetcalf@tilera.com, hskinnemoen@gmail.com, egtvedt@samfundet.no,
james.hogan@imgtec.com, linux-arch@vger.kernel.org
Subject: Re: [PATCH] arch: Kconfig: Let all little endian architectures define CPU_LITTLE_ENDIAN explicitly
Date: Tue, 12 Aug 2014 11:27:42 +0800 [thread overview]
Message-ID: <53E989AE.7070808@gmail.com> (raw)
In-Reply-To: <20140811225326.GF30401@n2100.arm.linux.org.uk>
On 8/12/14 6:53, Russell King - ARM Linux wrote:
> On Tue, Aug 12, 2014 at 05:18:44AM +0800, Chen Gang wrote:
>> x86, ia64, and arm(64) are little endian, and also another architectures
>> may be little endian (mips, sh, powerpc, and m32r) which already marked
>> CPU_LITTLE_ENDIAN explicitly.
>
> This is incorrect. ARM can be either endian.
>
> arch/arm/mm/Kconfig:
>
> config CPU_BIG_ENDIAN
> bool "Build big-endian kernel"
> depends on ARCH_SUPPORTS_BIG_ENDIAN
> help
> Say Y if you plan on running a kernel in big-endian mode.
> Note that your board must be properly built and your board
> port must properly enable any big-endian related features
> of your chipset/board/processor.
>
OK, thanks, I shall check all CPU_BIG_ENDIAN and send patch v2 for it.
And still welcome another ideas, suggestions or completions, especially
for another architectures.
Thanks.
--
Chen Gang
Open, share, and attitude like air, water, and life which God blessed
WARNING: multiple messages have this Message-ID (diff)
From: Chen Gang <gang.chen.5i5j@gmail.com>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>
Cc: Arnd Bergmann <arnd@arndb.de>,
akpm@linux-foundation.org,
Geert Uytterhoeven <geert@linux-m68k.org>,
Jean Delvare <jdelvare@suse.de>,
catalin.marinas@arm.com, will.deacon@arm.com,
tony.luck@intel.com, fenghua.yu@intel.com, tglx@linutronix.de,
mingo@redhat.com, hpa@zytor.com, x86@kernel.org,
linux-arm-kernel@lists.infradead.org, linux-ia64@vger.kernel.org,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
gxt@mprc.pku.edu.cn, liqin.linux@gmail.com, lennox.wu@gmail.com,
cmetcalf@tilera.com, hskinnemoen@gmail.com, egtvedt@samfundet.no,
james.hogan@imgtec.com, linux-arch@vger.kernel.org
Subject: Re: [PATCH] arch: Kconfig: Let all little endian architectures define CPU_LITTLE_ENDIAN explicitly
Date: Tue, 12 Aug 2014 03:27:42 +0000 [thread overview]
Message-ID: <53E989AE.7070808@gmail.com> (raw)
In-Reply-To: <20140811225326.GF30401@n2100.arm.linux.org.uk>
On 8/12/14 6:53, Russell King - ARM Linux wrote:
> On Tue, Aug 12, 2014 at 05:18:44AM +0800, Chen Gang wrote:
>> x86, ia64, and arm(64) are little endian, and also another architectures
>> may be little endian (mips, sh, powerpc, and m32r) which already marked
>> CPU_LITTLE_ENDIAN explicitly.
>
> This is incorrect. ARM can be either endian.
>
> arch/arm/mm/Kconfig:
>
> config CPU_BIG_ENDIAN
> bool "Build big-endian kernel"
> depends on ARCH_SUPPORTS_BIG_ENDIAN
> help
> Say Y if you plan on running a kernel in big-endian mode.
> Note that your board must be properly built and your board
> port must properly enable any big-endian related features
> of your chipset/board/processor.
>
OK, thanks, I shall check all CPU_BIG_ENDIAN and send patch v2 for it.
And still welcome another ideas, suggestions or completions, especially
for another architectures.
Thanks.
--
Chen Gang
Open, share, and attitude like air, water, and life which God blessed
WARNING: multiple messages have this Message-ID (diff)
From: gang.chen.5i5j@gmail.com (Chen Gang)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arch: Kconfig: Let all little endian architectures define CPU_LITTLE_ENDIAN explicitly
Date: Tue, 12 Aug 2014 11:27:42 +0800 [thread overview]
Message-ID: <53E989AE.7070808@gmail.com> (raw)
In-Reply-To: <20140811225326.GF30401@n2100.arm.linux.org.uk>
On 8/12/14 6:53, Russell King - ARM Linux wrote:
> On Tue, Aug 12, 2014 at 05:18:44AM +0800, Chen Gang wrote:
>> x86, ia64, and arm(64) are little endian, and also another architectures
>> may be little endian (mips, sh, powerpc, and m32r) which already marked
>> CPU_LITTLE_ENDIAN explicitly.
>
> This is incorrect. ARM can be either endian.
>
> arch/arm/mm/Kconfig:
>
> config CPU_BIG_ENDIAN
> bool "Build big-endian kernel"
> depends on ARCH_SUPPORTS_BIG_ENDIAN
> help
> Say Y if you plan on running a kernel in big-endian mode.
> Note that your board must be properly built and your board
> port must properly enable any big-endian related features
> of your chipset/board/processor.
>
OK, thanks, I shall check all CPU_BIG_ENDIAN and send patch v2 for it.
And still welcome another ideas, suggestions or completions, especially
for another architectures.
Thanks.
--
Chen Gang
Open, share, and attitude like air, water, and life which God blessed
next prev parent reply other threads:[~2014-08-12 3:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-11 21:18 [PATCH] arch: Kconfig: Let all little endian architectures define CPU_LITTLE_ENDIAN explicitly Chen Gang
2014-08-11 21:18 ` Chen Gang
2014-08-11 21:18 ` Chen Gang
2014-08-11 22:53 ` Russell King - ARM Linux
2014-08-11 22:53 ` Russell King - ARM Linux
2014-08-11 22:53 ` Russell King - ARM Linux
2014-08-12 3:27 ` Chen Gang [this message]
2014-08-12 3:27 ` Chen Gang
2014-08-12 3:27 ` Chen Gang
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=53E989AE.7070808@gmail.com \
--to=gang.chen.5i5j@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=arnd@arndb.de \
--cc=catalin.marinas@arm.com \
--cc=cmetcalf@tilera.com \
--cc=egtvedt@samfundet.no \
--cc=fenghua.yu@intel.com \
--cc=geert@linux-m68k.org \
--cc=gxt@mprc.pku.edu.cn \
--cc=hpa@zytor.com \
--cc=hskinnemoen@gmail.com \
--cc=james.hogan@imgtec.com \
--cc=jdelvare@suse.de \
--cc=lennox.wu@gmail.com \
--cc=linux-arch@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-ia64@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=liqin.linux@gmail.com \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
--cc=tony.luck@intel.com \
--cc=will.deacon@arm.com \
--cc=x86@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.