From: Randy Dunlap <rdunlap@infradead.org>
To: Michael Ellerman <mpe@ellerman.id.au>,
linux-kbuild <linux-kbuild@vger.kernel.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Paul Mackerras <paulus@samba.org>,
Stephen Rothwell <sfr@canb.auug.org.au>,
linuxppc-dev@lists.ozlabs.org
Subject: Re: powerpc: 32BIT vs. 64BIT (PPC32 vs. PPC64)
Date: Sun, 8 Jul 2018 08:46:52 -0700 [thread overview]
Message-ID: <d5935c67-ac6d-2904-ae2a-134ba85a706d@infradead.org> (raw)
In-Reply-To: <87sh4uj675.fsf@concordia.ellerman.id.au>
On 07/08/2018 04:51 AM, Michael Ellerman wrote:
> Randy Dunlap <rdunlap@infradead.org> writes:
>> Hi,
>>
>> Is there a good way (or a shortcut) to do something like:
>
> The best I know of is:
>
>> $ make ARCH=powerpc O=PPC32 [other_options] allmodconfig
>> to get a PPC32/32BIT allmodconfig
>
> $ echo CONFIG_PPC64=n > allmod.config
> $ KCONFIG_ALLCONFIG=1 make allmodconfig
> $ grep PPC32 .config
> CONFIG_PPC32=y
>
> Which is still a bit clunky.
>
That's close to what I already do. And it's very script-able.
>
> I looked at this a while back and the problem we have is that the 32-bit
> kernel is not a single thing. There are multiple 32-bit platforms which
> are mutually exclusive.
>
> eg, from menuconfig:
>
> - 512x/52xx/6xx/7xx/74xx/82xx/83xx/86xx
> - Freescale 85xx
> - Freescale 8xx
> - AMCC 40x
> - AMCC 44x, 46x or 47x
> - Freescale e200
>
>
> So we could have a 32-bit allmodconfig, but we'd need to chose one of
> the above, and we'd still only be testing some of the code.
>
> Having said that you're the 2nd person to ask about this, so we should
> clearly do something to make a 32-bit allmodconfig easier, even if it's
> not perfect.
Thanks.
--
~Randy
next prev parent reply other threads:[~2018-07-08 15:47 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-05 21:30 powerpc: 32BIT vs. 64BIT (PPC32 vs. PPC64) Randy Dunlap
2018-07-07 1:45 ` Benjamin Herrenschmidt
2018-07-07 4:58 ` Randy Dunlap
2018-07-07 12:13 ` Nicholas Piggin
2018-07-07 14:59 ` Randy Dunlap
2018-07-08 15:44 ` Nicholas Piggin
2018-07-30 8:42 ` Masahiro Yamada
2018-07-31 9:57 ` Michael Ellerman
2018-07-09 11:51 ` Michael Ellerman
2018-07-08 11:51 ` Michael Ellerman
2018-07-08 15:46 ` Randy Dunlap [this message]
2018-07-09 12:00 ` Mathieu Malaterre
2018-07-13 11:41 ` CONFIG_ANDROID_BINDER_IPC=y (Re: powerpc: 32BIT vs. 64BIT (PPC32 vs. PPC64)) Mathieu Malaterre
2018-07-13 23:24 ` Randy Dunlap
2018-07-20 17:28 ` Randy Dunlap
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=d5935c67-ac6d-2904-ae2a-134ba85a706d@infradead.org \
--to=rdunlap@infradead.org \
--cc=benh@kernel.crashing.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpe@ellerman.id.au \
--cc=paulus@samba.org \
--cc=sfr@canb.auug.org.au \
/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).