From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: nommu: re-enable use of vexpress without ARCH_MULTIPLATFORM
Date: Wed, 9 Jan 2013 22:14:24 +0000 [thread overview]
Message-ID: <201301092214.24639.arnd@arndb.de> (raw)
In-Reply-To: <alpine.LFD.2.02.1301091627010.6300@xanadu.home>
On Wednesday 09 January 2013, Nicolas Pitre wrote:
> On Wed, 9 Jan 2013, Arnd Bergmann wrote:
>
> > On Wednesday 09 January 2013, Nicolas Pitre wrote:
> > > > If we decide that building an allnoconfig without any platform
> > > > is actually ok, we could just as well rip out that error statement.
> > >
> > > Is it expected for allnoconfig kernels to still boot on other
> > > architectures? If so I think we should try to still provide a valid
> > > config even in the allnoconfig case.
> >
> > The practical use of a kernel without any device drivers or file
> > systems is pretty low, I would not expect such a kernel to be
> > any useful.
>
> I didn't say "useful". But at least "booting" e.g. to print out a
> kernel oops because no root filesystem is available or the like should
> be a minimum. Having the wrong platform configured in might prevent
> even that from working, but at least we shouldn't allow for a kernel
> config that we know in advance has no chance of ever executing anywhere.
x86 allows you disable support for all the CPU types at the same time,
although the default is to not give you the option and enable them
all together, which means that allnoconfig may still boot, but
randconfig may not. That is probably a reasonable compromise.
Maybe we could have the virtual platform as the default but make it
invisible if CONFIG_EXPERT is disable. That would also make allnoconfig
be reasonable. Thinking a bit more about the CPU setting for the
virtual platform, I guess it actually makes sense to let the user
build this for any CPU: It makes a very nice minimal kernel for
running in qemu and easily allows you to test a rootfs that was
built for an arbitrary CPU without having to support a specific
SoC in qemu.
Arnd
prev parent reply other threads:[~2013-01-09 22:14 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-09 18:15 [PATCH] ARM: nommu: re-enable use of vexpress without ARCH_MULTIPLATFORM Jonathan Austin
2013-01-09 18:30 ` Nicolas Pitre
2013-01-09 18:41 ` Will Deacon
2013-01-09 19:17 ` [PATCH v2] " Jonathan Austin
2013-01-09 18:43 ` [PATCH] " Arnd Bergmann
2013-01-09 18:54 ` Nicolas Pitre
2013-01-09 20:22 ` Arnd Bergmann
2013-01-09 20:39 ` Rob Herring
2013-01-09 20:48 ` Russell King - ARM Linux
2013-01-10 3:51 ` Rob Herring
2013-01-10 10:16 ` Arnd Bergmann
2013-01-10 13:20 ` Christopher Covington
2013-01-10 13:45 ` Marc Zyngier
2013-01-09 21:09 ` Nicolas Pitre
2013-01-09 21:00 ` Nicolas Pitre
2013-01-09 21:15 ` Arnd Bergmann
2013-01-09 21:37 ` Nicolas Pitre
2013-01-09 22:14 ` Arnd Bergmann [this message]
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=201301092214.24639.arnd@arndb.de \
--to=arnd@arndb.de \
--cc=linux-arm-kernel@lists.infradead.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.