Re: [PATCH v3] arch: Kconfig: Let all architectures set endian explicitly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Ralf Baechle <ralf@xxxxxxxxxxxxxx>
- Subject: Re: [PATCH v3] arch: Kconfig: Let all architectures set endian explicitly
- From: Chen Gang <gang.chen.5i5j@xxxxxxxxx>
- Date: Mon, 25 Aug 2014 20:26:31 +0800
- Cc: Arnd Bergmann <arnd@xxxxxxxx>, akpm@xxxxxxxxxxxxxxxxxxxx, rth@xxxxxxxxxxx, ink@xxxxxxxxxxxxxxxxxxxx, mattst88@xxxxxxxxx, vgupta@xxxxxxxxxxxx, Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>, Jean Delvare <jdelvare@xxxxxxx>, linux@xxxxxxxxxxxxxxxx, catalin.marinas@xxxxxxx, will.deacon@xxxxxxx, hskinnemoen@xxxxxxxxx, egtvedt@xxxxxxxxxxxx, realmz6@xxxxxxxxx, msalter@xxxxxxxxxx, a-jacquiot@xxxxxx, starvik@xxxxxxxx, jesper.nilsson@xxxxxxxx, dhowells@xxxxxxxxxx, rkuo@xxxxxxxxxxxxxx, tony.luck@xxxxxxxxx, fenghua.yu@xxxxxxxxx, takata@xxxxxxxxxxxxxx, james.hogan@xxxxxxxxxx, Michal Simek <monstr@xxxxxxxxx>, yasutake.koichi@xxxxxxxxxxxxxxxx, jonas@xxxxxxxxxxxx, jejb@xxxxxxxxxxxxxxxx, deller@xxxxxx, Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>, paulus@xxxxxxxxx, mpe@xxxxxxxxxxxxxx, Martin Schwidefsky <schwidefsky@xxxxxxxxxx>, heiko.carstens@xxxxxxxxxx, Liqin Chen <liqin.linux@xxxxxxxxx>, Lennox Wu <lennox.wu@xxxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxxxxx>, cmetcalf@xxxxxxxxxx, jdike@xxxxxxxxxxx, Richard Weinberger <richard@xxxxxx>, gxt@xxxxxxxxxxxxxxx, tglx@xxxxxxxxxxxxx, mingo@xxxxxxxxxx, hpa@xxxxxxxxx, chris@xxxxxxxxxx, jcmvbkbc@xxxxxxxxx, linux390@xxxxxxxxxx, x86@xxxxxxxxxx, linux-alpha@xxxxxxxxxxxxxxx, "linux-kernel@xxxxxxxxxxxxxxx" <linux-kernel@xxxxxxxxxxxxxxx>, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, adi-buildroot-devel@xxxxxxxxxxxxxxxxxxxxx, linux-c6x-dev@xxxxxxxxxxxxx, linux-cris-kernel@xxxxxxxx, linux-hexagon@xxxxxxxxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx, linux-m32r@xxxxxxxxxxxxxxxxxxxxx, linux-m32r-ja@xxxxxxxxxxxxxxxxxxxxx, linux-m68k@xxxxxxxxxxxxxxx, linux-metag@xxxxxxxxxxxxxxx, linux-mips@xxxxxxxxxxxxxx, linux-am33-list@xxxxxxxxxx, linux@xxxxxxxxxxxx, linux-parisc@xxxxxxxxxxxxxxx, linuxppc-dev@xxxxxxxxxxxxxxxx, linux-s390@xxxxxxxxxxxxxxx, sparclinux@xxxxxxxxxxxxxxx, user-mode-linux-devel@xxxxxxxxxxxxxxxxxxxxx, user-mode-linux-user@xxxxxxxxxxxxxxxxxxxxx, linux-xtensa@xxxxxxxxxxxxxxxx, linux-sh@xxxxxxxxxxxxxxx, torvalds@xxxxxxxxxxxxxxxxxxxx
- In-reply-to: <53F9A48F.3020803@gmail.com>
- List-id: <linux-ia64.vger.kernel.org>
- References: <53ECE9DD.80004@gmail.com> <20140814180418.GA20777@linux-mips.org> <53ED34CE.3040001@gmail.com> <53EDCC60.5040608@gmail.com> <53F9A48F.3020803@gmail.com>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0
Hello all:
It seems no any additional rejections for it. I guess, I need split the
'big' patch into pieces, and each send to its' related mailing list, so
let it not like a spam. And the schedule may like:
- Firstly, send patch for "init/Kconfig" to add CPU_*_ENDIAN. If pass
checking (hope it can be passed checking), then
- Send each related patch to each related architectures which already
knew their ENDIAN attributes in config time (24 patches, I guess),
then
- Make patch for Kbuild to support __BUILDING_TIME_BIG_ENDIAN__, and
pass checking (hope I can finish), then
- Finish left architectures which need __BUILDING_TIME_BIG_ENDIAN__
(4 patches, I guess).
Welcome any ideas, suggestions, or completions. And if no additional
reply, I shall not send any additional information any more to avoid
spam to other members.
Thanks.
On 08/24/2014 04:38 PM, Chen Gang wrote:
> Hello Maintainers:
>
> Is this patch OK? If it pass basic checking, please let me know, and I
> shall try to make another related patch for KBuild (I can do nothing
> related with Kbuild, before get confirmation for this patch).
>
> Thanks.
>
> On 8/15/14 17:01, Chen Gang wrote:
>>
>>
>> On 8/15/14 6:14, Chen Gang wrote:
>>> On 08/15/2014 02:04 AM, Ralf Baechle wrote:
>>>>
>>>
>>> OK, thanks, I assumes when support both endian, the default choice is
>>> CPU_BIG_ENDIAN, although no default value for choice (originally, I did
>>> worry about it).
>>>
>>>> So I think you can just drop the MIPS segment from your patch.
>>>>
>>>
>>> If what I assumes is correct, what you said sounds reasonable to me.
>>>
>>>
>>
>> So for me, it is harmless to add CPU_*_ENDIAN explicitly, and can let
>> other members don't need think of.
>>
>> By the way, for sh, it is almost the same case, except it contents the
>> default value, for me, it is clear enough, so I skip sh architecture in
>> this patch.
>>
>>
>> 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-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]