lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <53E989AE.7070808@gmail.com>
Date:	Tue, 12 Aug 2014 11:27:42 +0800
From:	Chen Gang <gang.chen.5i5j@...il.com>
To:	Russell King - ARM Linux <linux@....linux.org.uk>
CC:	Arnd Bergmann <arnd@...db.de>, akpm@...ux-foundation.org,
	Geert Uytterhoeven <geert@...ux-m68k.org>,
	Jean Delvare <jdelvare@...e.de>, catalin.marinas@....com,
	will.deacon@....com, tony.luck@...el.com, fenghua.yu@...el.com,
	tglx@...utronix.de, mingo@...hat.com, hpa@...or.com,
	x86@...nel.org, linux-arm-kernel@...ts.infradead.org,
	linux-ia64@...r.kernel.org,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	gxt@...c.pku.edu.cn, liqin.linux@...il.com, lennox.wu@...il.com,
	cmetcalf@...era.com, hskinnemoen@...il.com, egtvedt@...fundet.no,
	james.hogan@...tec.com, linux-arch@...r.kernel.org
Subject: Re: [PATCH] arch: Kconfig: Let all little endian architectures define
 CPU_LITTLE_ENDIAN explicitly



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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ