From: josh@joshtriplett.org (Josh Triplett)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/5] ARM: orion5x/dove/mv78xx0 multiplatform
Date: Fri, 11 Dec 2015 10:27:30 -0800 [thread overview]
Message-ID: <20151211182730.GA15800@cloud> (raw)
In-Reply-To: <20151211133601.GB18249@io.lakedaemon.net>
On Fri, Dec 11, 2015 at 01:36:01PM +0000, Jason Cooper wrote:
> +Josh
>
> Hey Arnd, Detlef,
>
> On Fri, Dec 11, 2015 at 12:10:55AM +0100, Arnd Bergmann wrote:
> > On Thursday 10 December 2015 23:00:24 Detlef Vollmann wrote:
> > > On 12/10/15 22:29, Arnd Bergmann wrote:
> > > > On Thursday 10 December 2015 22:14:25 Detlef Vollmann wrote:
> > > >> On 12/10/15 21:59, Arnd Bergmann wrote:
> > > > It may also be worth investigating what has made CONFIG_OF so costly,
> > > Probably because too much is done at runtime and too few things can
> > > be fixed at build time.
> > >
> > > > maybe we can reduce this a bit again.
> > > Probably not without turning the wheel backward :-(
> > >
> > > So for the test: yes it works, but I'm unhappy with it.
> >
> > I'm not too happy about adding 80kb to the uncompressed kernel
> > image either. I've spent some more time now trying to find where
> > we added the bloat. It's mainly in drivers, not in arch specific
> > code, a kilobyte here and there eventually adds up, but the largest
> > portion with a little over 50% of the total diff is drivers/of.
>
> Wasn't there an idea kicked around a while ago to create a
> dt2boardfile script/executable*? Then, during kernel configuration, you
> enable it and select which dts file you want. It would disable
> CONFIG_OF, multiplatform, etc. And generate a board_file.c from the dts
> file.
>
> If anything, it might be worth asking the kernel tinification [1], [2]
> folks if they'd be interested in taking this on...
No objection if you want to add it to the task list on
tiny.wiki.kernel.org (on the more difficult end).
I don't know if you could generate a board file, but I do wonder if you
could effectively compile in a parsed description and ditch the parser.
Bonus if you can make the values parsed out of it into compile-time
constants for constant folding.
WARNING: multiple messages have this Message-ID (diff)
From: Josh Triplett <josh@joshtriplett.org>
To: Jason Cooper <jason@lakedaemon.net>
Cc: Arnd Bergmann <arnd@arndb.de>, Detlef Vollmann <dv@vollmann.ch>,
linux-arm-kernel@lists.infradead.org,
Andrew Lunn <andrew@lunn.ch>,
Russell King <linux@arm.linux.org.uk>,
Benjamin Cama <benoar@dolka.fr>,
linux-kernel@vger.kernel.org,
Gregory CLEMENT <gregory.clement@free-electrons.com>,
"Evgeniy A. Dushistov" <dushistov@mail.ru>,
Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Subject: Re: [PATCH 0/5] ARM: orion5x/dove/mv78xx0 multiplatform
Date: Fri, 11 Dec 2015 10:27:30 -0800 [thread overview]
Message-ID: <20151211182730.GA15800@cloud> (raw)
In-Reply-To: <20151211133601.GB18249@io.lakedaemon.net>
On Fri, Dec 11, 2015 at 01:36:01PM +0000, Jason Cooper wrote:
> +Josh
>
> Hey Arnd, Detlef,
>
> On Fri, Dec 11, 2015 at 12:10:55AM +0100, Arnd Bergmann wrote:
> > On Thursday 10 December 2015 23:00:24 Detlef Vollmann wrote:
> > > On 12/10/15 22:29, Arnd Bergmann wrote:
> > > > On Thursday 10 December 2015 22:14:25 Detlef Vollmann wrote:
> > > >> On 12/10/15 21:59, Arnd Bergmann wrote:
> > > > It may also be worth investigating what has made CONFIG_OF so costly,
> > > Probably because too much is done at runtime and too few things can
> > > be fixed at build time.
> > >
> > > > maybe we can reduce this a bit again.
> > > Probably not without turning the wheel backward :-(
> > >
> > > So for the test: yes it works, but I'm unhappy with it.
> >
> > I'm not too happy about adding 80kb to the uncompressed kernel
> > image either. I've spent some more time now trying to find where
> > we added the bloat. It's mainly in drivers, not in arch specific
> > code, a kilobyte here and there eventually adds up, but the largest
> > portion with a little over 50% of the total diff is drivers/of.
>
> Wasn't there an idea kicked around a while ago to create a
> dt2boardfile script/executable*? Then, during kernel configuration, you
> enable it and select which dts file you want. It would disable
> CONFIG_OF, multiplatform, etc. And generate a board_file.c from the dts
> file.
>
> If anything, it might be worth asking the kernel tinification [1], [2]
> folks if they'd be interested in taking this on...
No objection if you want to add it to the task list on
tiny.wiki.kernel.org (on the more difficult end).
I don't know if you could generate a board file, but I do wonder if you
could effectively compile in a parsed description and ditch the parser.
Bonus if you can make the values parsed out of it into compile-time
constants for constant folding.
next prev parent reply other threads:[~2015-12-11 18:27 UTC|newest]
Thread overview: 103+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-25 15:49 [PATCH 0/5] ARM: orion5x/dove/mv78xx0 multiplatform Arnd Bergmann
2015-11-25 15:49 ` Arnd Bergmann
2015-11-25 15:49 ` [PATCH 1/5] ARM: orion: move watchdog setup to mach-orion5x Arnd Bergmann
2015-11-25 15:49 ` Arnd Bergmann
2015-11-25 15:49 ` [PATCH 2/5] ARM: orion: always use MULTI_IRQ_HANDLER Arnd Bergmann
2015-11-25 15:49 ` Arnd Bergmann
2015-11-25 15:49 ` [PATCH 3/5] ARM: orion: use SPARSE_IRQ everywhere Arnd Bergmann
2015-11-25 15:49 ` Arnd Bergmann
2015-11-25 15:49 ` [PATCH 4/5] ARM: orion: clean up mach/*.h headers Arnd Bergmann
2015-11-25 15:49 ` Arnd Bergmann
2015-11-25 15:49 ` [PATCH 5/5] ARM: orion: multiplatform support Arnd Bergmann
2015-11-25 15:49 ` Arnd Bergmann
2015-11-25 16:09 ` [PATCH 0/5] ARM: orion5x/dove/mv78xx0 multiplatform Andrew Lunn
2015-11-25 16:09 ` Andrew Lunn
2015-11-25 17:34 ` Gregory CLEMENT
2015-11-25 17:34 ` Gregory CLEMENT
2015-11-25 17:44 ` Andrew Lunn
2015-11-25 17:44 ` Andrew Lunn
2015-11-25 19:58 ` Arnd Bergmann
2015-11-25 19:58 ` Arnd Bergmann
2015-11-26 14:50 ` Jason Cooper
2015-11-26 14:50 ` Jason Cooper
2015-11-25 18:37 ` Russell King - ARM Linux
2015-11-25 18:37 ` Russell King - ARM Linux
2015-11-25 19:16 ` Andrew Lunn
2015-11-25 19:16 ` Andrew Lunn
2015-11-25 19:29 ` Russell King - ARM Linux
2015-11-25 19:29 ` Russell King - ARM Linux
2015-11-25 23:19 ` Russell King - ARM Linux
2015-11-25 23:19 ` Russell King - ARM Linux
2015-11-25 20:05 ` Arnd Bergmann
2015-11-25 20:05 ` Arnd Bergmann
2015-11-25 22:47 ` Russell King - ARM Linux
2015-11-25 22:47 ` Russell King - ARM Linux
2015-11-25 20:14 ` Andrew Lunn
2015-11-25 20:14 ` Andrew Lunn
2015-11-30 13:37 ` Gregory CLEMENT
2015-11-30 13:37 ` Gregory CLEMENT
2015-11-30 13:43 ` Gregory CLEMENT
2015-12-01 17:22 ` Detlef Vollmann
2015-12-02 11:08 ` Gregory CLEMENT
2015-12-02 14:55 ` Andrew Lunn
2015-12-02 14:55 ` Andrew Lunn
2015-12-10 12:56 ` Detlef Vollmann
2015-12-10 13:18 ` Arnd Bergmann
2015-12-10 13:18 ` Arnd Bergmann
2015-12-10 13:43 ` Arnd Bergmann
2015-12-10 13:43 ` Arnd Bergmann
2015-12-10 19:03 ` Detlef Vollmann
2015-12-10 20:59 ` Arnd Bergmann
2015-12-10 20:59 ` Arnd Bergmann
2015-12-10 21:14 ` Detlef Vollmann
2015-12-10 21:29 ` Arnd Bergmann
2015-12-10 21:29 ` Arnd Bergmann
2015-12-10 22:00 ` Detlef Vollmann
2015-12-10 23:10 ` Arnd Bergmann
2015-12-10 23:10 ` Arnd Bergmann
2015-12-11 13:36 ` Jason Cooper
2015-12-11 13:36 ` Jason Cooper
2015-12-11 14:46 ` Arnd Bergmann
2015-12-11 14:46 ` Arnd Bergmann
2015-12-11 14:55 ` Jason Cooper
2015-12-11 14:55 ` Jason Cooper
2015-12-11 22:41 ` Detlef Vollmann
2015-12-11 18:27 ` Josh Triplett [this message]
2015-12-11 18:27 ` Josh Triplett
2015-12-11 18:46 ` Jason Cooper
2015-12-11 18:46 ` Jason Cooper
2015-12-11 19:08 ` Josh Triplett
2015-12-11 19:08 ` Josh Triplett
2015-12-11 19:14 ` Jason Cooper
2015-12-11 19:14 ` Jason Cooper
[not found] ` <5669808F.2050909@vollmann.ch>
2015-12-11 21:33 ` Arnd Bergmann
2015-12-11 21:33 ` Arnd Bergmann
2015-12-11 23:18 ` Detlef Vollmann
2015-12-01 22:51 ` Andrew Lunn
2015-12-01 22:51 ` Andrew Lunn
2015-12-01 22:55 ` Arnd Bergmann
2015-12-01 22:55 ` Arnd Bergmann
2015-12-02 11:03 ` Gregory CLEMENT
2015-12-02 11:03 ` Gregory CLEMENT
2015-12-02 12:33 ` Russell King - ARM Linux
2015-12-02 12:33 ` Russell King - ARM Linux
2015-12-02 15:49 ` Arnd Bergmann
2015-12-02 15:49 ` Arnd Bergmann
2015-12-02 19:28 ` Russell King - ARM Linux
2015-12-02 19:28 ` Russell King - ARM Linux
2015-12-02 19:37 ` Russell King - ARM Linux
2015-12-02 19:37 ` Russell King - ARM Linux
2015-12-02 19:54 ` Arnd Bergmann
2015-12-02 19:54 ` Arnd Bergmann
2015-12-02 19:51 ` Arnd Bergmann
2015-12-02 19:51 ` Arnd Bergmann
2015-12-02 20:22 ` Russell King - ARM Linux
2015-12-02 20:22 ` Russell King - ARM Linux
2015-12-02 20:38 ` Andrew Lunn
2015-12-02 20:38 ` Andrew Lunn
2015-12-02 21:03 ` Russell King - ARM Linux
2015-12-02 21:03 ` Russell King - ARM Linux
2015-12-02 21:15 ` Arnd Bergmann
2015-12-02 21:15 ` Arnd Bergmann
2015-12-02 23:59 ` Andrew Lunn
2015-12-02 23:59 ` Andrew Lunn
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=20151211182730.GA15800@cloud \
--to=josh@joshtriplett.org \
--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.