From: Lennox Wu <lennox.wu@gmail.com>
To: Vineet Gupta <Vineet.Gupta1@synopsys.com>
Cc: "linux-m32r-ja@ml.linux-m32r.org"
<linux-m32r-ja@ml.linux-m32r.org>,
"linux-mips@linux-mips.org" <linux-mips@linux-mips.org>,
"a-jacquiot@ti.com" <a-jacquiot@ti.com>,
"catalin.marinas@arm.com" <catalin.marinas@arm.com>,
"linux@lists.openrisc.net" <linux@lists.openrisc.net>,
"will.deacon@arm.com" <will.deacon@arm.com>,
"dhowells@redhat.com" <dhowells@redhat.com>,
"jcmvbkbc@gmail.com" <jcmvbkbc@gmail.com>,
"paulus@samba.org" <paulus@samba.org>,
"hpa@zytor.com" <hpa@zytor.com>,
"sparclinux@vger.kernel.org" <sparclinux@vger.kernel.org>,
"linux-hexagon@vger.kernel.org" <linux-hexagon@vger.kernel.org>,
"gxt@mprc.pku.edu.cn" <gxt@mprc.pku.edu.cn>,
Jean Delvare <jdelvare@suse.de>,
"egtvedt@samfundet.no" <egtvedt@samfundet.no>,
"jonas@southpole.se" <jonas@southpole.se>,
Liqin Chen <liqin.linux@gmail.com>,
"jesper.nilsson@axis.com" <jesper.nilsson@axis.com>,
linux-am33-list@red
Subject: Re: [PATCH v3] arch: Kconfig: Let all architectures set endian explicitly
Date: Fri, 15 Aug 2014 02:27:12 +0800 [thread overview]
Message-ID: <CAF0htA6qfhyVXEuLbruiz+dfxnieF-309NdxSDhoEYHM=aBhQA@mail.gmail.com> (raw)
In-Reply-To: <C2D7FE5348E1B147BCA15975FBA230753C4BA528@IN01WEMBXA.internal.synopsys.com>
[-- Attachment #1.1: Type: text/plain, Size: 3012 bytes --]
I don't think it's necessary, what's the benfit?
2014-08-15 2:21 GMT+08:00 Vineet Gupta <Vineet.Gupta1@synopsys.com>:
> On Thursday 14 August 2014 09:55 AM, Chen Gang wrote:
> > Normal architectures:
> >
> > - Big endian: avr32, frv, m68k, openrisc, parisc, s390, sparc
> >
> > - Little endian: alpha, blackfin, cris, hexagon, ia64, metag, mn10300,
> > score, unicore32, x86
> >
> > - Choose in config time: arc, arm, arm64, c6x, m32r, mips, powerpc, sh
> >
> > Special architectures:
> >
> > - Deside by compiler: microblaze, tile, xtensa.
> >
> > - Deside by building host: um
> >
> > - Next, need improve Kbuild to probe endian to deside whether need mark
> > __BUILDING_TIME_BIG_ENDIAN__ before real config.
> >
> > Another improvements:
> >
> > - score: use '\t' instead of ' '.
> >
> > - s390: sort the select value in alpha order.
> >
> > Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
> > ---
> > arch/alpha/Kconfig | 1 +
> > arch/arc/Kconfig | 1 +
> > arch/arm/Kconfig | 1 +
> > arch/arm64/Kconfig | 1 +
> > arch/avr32/Kconfig | 1 +
> > arch/blackfin/Kconfig | 1 +
> > arch/c6x/Kconfig | 1 +
> > arch/cris/Kconfig | 1 +
> > arch/frv/Kconfig | 1 +
> > arch/hexagon/Kconfig | 1 +
> > arch/ia64/Kconfig | 1 +
> > arch/m32r/Kconfig | 1 +
> > arch/m68k/Kconfig | 1 +
> > arch/metag/Kconfig | 1 +
> > arch/microblaze/Kconfig | 2 ++
> > arch/mips/Kconfig | 1 +
> > arch/mn10300/Kconfig | 1 +
> > arch/openrisc/Kconfig | 1 +
> > arch/parisc/Kconfig | 1 +
> > arch/powerpc/Kconfig | 1 +
> > arch/s390/Kconfig | 3 ++-
> > arch/score/Kconfig | 21 +++++++++++----------
> > arch/sparc/Kconfig | 1 +
> > arch/tile/Kconfig | 2 ++
> > arch/um/Kconfig.common | 2 ++
> > arch/unicore32/Kconfig | 1 +
> > arch/x86/Kconfig | 1 +
> > arch/xtensa/Kconfig | 2 ++
> > init/Kconfig | 6 ++++++
> > 29 files changed, 49 insertions(+), 11 deletions(-)
> >
> > diff --git a/arch/alpha/Kconfig b/arch/alpha/Kconfig
> > index b7ff9a3..1cb7426 100644
> > --- a/arch/alpha/Kconfig
> > +++ b/arch/alpha/Kconfig
> > @@ -27,6 +27,7 @@ config ALPHA
> > select MODULES_USE_ELF_RELA
> > select ODD_RT_SIGACTION
> > select OLD_SIGSUSPEND
> > + select CPU_LITTLE_ENDIAN
> > help
> > The Alpha is a 64-bit general-purpose processor designed and
> > marketed by the Digital Equipment Corporation of blessed memory,
> > diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig
> > index 9596b0a..e939abd 100644
> > --- a/arch/arc/Kconfig
> > +++ b/arch/arc/Kconfig
> > @@ -35,6 +35,7 @@ config ARC
> > select OF_EARLY_FLATTREE
> > select PERF_USE_VMALLOC
> > select HAVE_DEBUG_STACKOVERFLOW
> > + select CPU_LITTLE_ENDIAN if !CPU_BIG_ENDIAN
>
> It is not clear what exactly are you trying to fix. What doesn't work w/o
> this
> patch !
>
> -Vineet
>
[-- Attachment #1.2: Type: text/html, Size: 4242 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
next prev parent reply other threads:[~2014-08-14 18:27 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-14 16:54 [PATCH v3] arch: Kconfig: Let all architectures set endian explicitly Chen Gang
2014-08-14 18:04 ` Ralf Baechle
2014-08-14 22:14 ` Chen Gang
2014-08-15 9:01 ` Chen Gang
2014-08-24 8:38 ` Chen Gang
2014-08-25 12:26 ` Chen Gang
2014-08-14 18:21 ` Vineet Gupta
2014-08-14 18:27 ` Lennox Wu [this message]
2014-08-14 22:22 ` Chen Gang
2014-08-14 23:12 ` Vineet Gupta
2014-08-15 1:29 ` Chen Gang
2014-08-15 1:47 ` Max Filippov
2014-08-15 1:52 ` Max Filippov
2014-08-15 2:06 ` 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='CAF0htA6qfhyVXEuLbruiz+dfxnieF-309NdxSDhoEYHM=aBhQA@mail.gmail.com' \
--to=lennox.wu@gmail.com \
--cc=Vineet.Gupta1@synopsys.com \
--cc=a-jacquiot@ti.com \
--cc=catalin.marinas@arm.com \
--cc=dhowells@redhat.com \
--cc=egtvedt@samfundet.no \
--cc=gxt@mprc.pku.edu.cn \
--cc=hpa@zytor.com \
--cc=jcmvbkbc@gmail.com \
--cc=jdelvare@suse.de \
--cc=jesper.nilsson@axis.com \
--cc=jonas@southpole.se \
--cc=linux-am33-list@red \
--cc=linux-hexagon@vger.kernel.org \
--cc=linux-m32r-ja@ml.linux-m32r.org \
--cc=linux-mips@linux-mips.org \
--cc=linux@lists.openrisc.net \
--cc=liqin.linux@gmail.com \
--cc=paulus@samba.org \
--cc=sparclinux@vger.kernel.org \
--cc=will.deacon@arm.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;
as well as URLs for NNTP newsgroup(s).