From: Arnd Bergmann <arnd@arndb.de>
To: linux-arm-kernel@lists.infradead.org
Subject: Re: XIP_KERNEL and !ARCH_MULTIPLATFORM
Date: Mon, 23 Mar 2015 05:54:40 +0000 [thread overview]
Message-ID: <201503230654.40287.arnd@arndb.de> (raw)
In-Reply-To: <HK2PR06MB056105B026481446243452FC8A0D0@HK2PR06MB0561.apcprd06.prod.outlook.com>
On Monday 23 March 2015, Chris Brandt wrote:
> > Yes, that makes sense if we agree that we want to have multi-platform XIP kernels.
>
> My initial ambition was to simply understand what the minimum Kconfig changes were
> needed to build XIP on the current upstream kernel.
I think it should be enough to change the dependency from !ARCH_MULTIPLATFORM
to !SMP_ON_UP as a start, and drop the reverse dependency in SMP_ON_UP.
Try running 'make randconfig' a few hundred times (without building the kernel)
and see if any obvious Kconfig warnings come up after doing that.
> I'm not convinced XIP and multi-platform really make sense together (unless ARM
> comes up with a new supper speedy configurable cache system just for DDR reads,
> but DDR writes have to be done from different address location).
There are two different scenarios to consider here:
a) building a kernel for a single machine while CONFIG_ARCH_MULTIPLATFORM is
enabled
b) actually enabling all sorts of machines
I have patches to make ARCH_MULTIPLATFORM always enabled on all ARMv6/v7
targets and would like to get them into the next kernel. The main reasons
for this are to get rid of the special cases for non-multiplatform targets,
and to allow 'make allmodconfig' to include all known v6/v7 targets. This
means that I would definitely want to see XIP_KERNEL being possible on your
machine with a), but I agree that there is not much use for b) here.
> I guess my first goal is to make sure the existing XIP_KERNEL code doesn't
> get yanked out because no one thought it was being used.
Don't worry about that. We definitely rely on XIP_KERNEL for some of the
NOMMU targets, and it's not going away.
Arnd
WARNING: multiple messages have this Message-ID (diff)
From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: XIP_KERNEL and !ARCH_MULTIPLATFORM
Date: Mon, 23 Mar 2015 06:54:40 +0100 [thread overview]
Message-ID: <201503230654.40287.arnd@arndb.de> (raw)
In-Reply-To: <HK2PR06MB056105B026481446243452FC8A0D0@HK2PR06MB0561.apcprd06.prod.outlook.com>
On Monday 23 March 2015, Chris Brandt wrote:
> > Yes, that makes sense if we agree that we want to have multi-platform XIP kernels.
>
> My initial ambition was to simply understand what the minimum Kconfig changes were
> needed to build XIP on the current upstream kernel.
I think it should be enough to change the dependency from !ARCH_MULTIPLATFORM
to !SMP_ON_UP as a start, and drop the reverse dependency in SMP_ON_UP.
Try running 'make randconfig' a few hundred times (without building the kernel)
and see if any obvious Kconfig warnings come up after doing that.
> I'm not convinced XIP and multi-platform really make sense together (unless ARM
> comes up with a new supper speedy configurable cache system just for DDR reads,
> but DDR writes have to be done from different address location).
There are two different scenarios to consider here:
a) building a kernel for a single machine while CONFIG_ARCH_MULTIPLATFORM is
enabled
b) actually enabling all sorts of machines
I have patches to make ARCH_MULTIPLATFORM always enabled on all ARMv6/v7
targets and would like to get them into the next kernel. The main reasons
for this are to get rid of the special cases for non-multiplatform targets,
and to allow 'make allmodconfig' to include all known v6/v7 targets. This
means that I would definitely want to see XIP_KERNEL being possible on your
machine with a), but I agree that there is not much use for b) here.
> I guess my first goal is to make sure the existing XIP_KERNEL code doesn't
> get yanked out because no one thought it was being used.
Don't worry about that. We definitely rely on XIP_KERNEL for some of the
NOMMU targets, and it's not going away.
Arnd
next prev parent reply other threads:[~2015-03-23 5:54 UTC|newest]
Thread overview: 58+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-17 3:48 XIP_KERNEL and !ARCH_MULTIPLATFORM Chris Brandt
2015-03-17 3:48 ` Chris Brandt
2015-03-17 10:26 ` Russell King - ARM Linux
2015-03-17 10:26 ` Russell King - ARM Linux
2015-03-17 13:29 ` Chris Brandt
2015-03-17 13:29 ` Chris Brandt
2015-03-17 10:50 ` Geert Uytterhoeven
2015-03-17 10:50 ` Geert Uytterhoeven
2015-03-17 13:46 ` Chris Brandt
2015-03-17 13:46 ` Chris Brandt
2015-03-17 13:57 ` Geert Uytterhoeven
2015-03-17 13:57 ` Geert Uytterhoeven
2015-03-17 16:08 ` Chris Brandt
2015-03-17 16:08 ` Chris Brandt
2015-03-17 16:20 ` Geert Uytterhoeven
2015-03-17 16:20 ` Geert Uytterhoeven
2015-03-17 16:28 ` Russell King - ARM Linux
2015-03-17 16:28 ` Russell King - ARM Linux
2015-03-17 16:37 ` Chris Brandt
2015-03-17 16:37 ` Chris Brandt
2015-03-17 16:34 ` Chris Brandt
2015-03-17 16:34 ` Chris Brandt
2015-03-19 20:57 ` Chris Brandt
2015-03-19 20:57 ` Chris Brandt
2015-03-20 8:19 ` Uwe Kleine-König
2015-03-20 8:19 ` Uwe Kleine-König
2015-03-20 20:18 ` Chris Brandt
2015-03-20 20:18 ` Chris Brandt
2015-03-22 9:13 ` Uwe Kleine-König
2015-03-22 9:13 ` Uwe Kleine-König
2015-03-20 22:23 ` Russell King - ARM Linux
2015-03-20 22:23 ` Russell King - ARM Linux
2015-03-21 15:39 ` Chris Brandt
2015-03-21 15:39 ` Chris Brandt
2015-03-22 16:57 ` Russell King - ARM Linux
2015-03-22 16:57 ` Russell King - ARM Linux
2015-03-22 19:48 ` Arnd Bergmann
2015-03-22 19:48 ` Arnd Bergmann
2015-03-23 1:41 ` Chris Brandt
2015-03-23 1:41 ` Chris Brandt
2015-03-23 1:24 ` Chris Brandt
2015-03-23 1:24 ` Chris Brandt
2015-03-23 5:54 ` Arnd Bergmann [this message]
2015-03-23 5:54 ` Arnd Bergmann
2015-03-23 13:54 ` Chris Brandt
2015-03-23 13:54 ` Chris Brandt
2015-03-22 19:40 ` Arnd Bergmann
2015-03-22 19:40 ` Arnd Bergmann
2015-03-23 1:37 ` Geert Uytterhoeven
2015-03-23 1:37 ` Geert Uytterhoeven
2015-03-23 1:49 ` Chris Brandt
2015-03-23 1:49 ` Chris Brandt
2015-03-17 16:36 ` Uwe Kleine-König
2015-03-17 16:36 ` Uwe Kleine-König
2015-04-05 16:02 ` Russell King - ARM Linux
2015-04-05 16:02 ` Russell King - ARM Linux
2015-04-07 3:31 ` Chris Brandt
2015-04-07 3:31 ` Chris Brandt
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=201503230654.40287.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.