From: Adrian Bunk <bunk@kernel.org>
To: Ingo Molnar <mingo@elte.hu>
Cc: Florian Fainelli <florian.fainelli@telecomint.eu>,
linux-kernel@vger.kernel.org, Sam Ravnborg <sam@ravnborg.org>,
Thomas Gleixner <tglx@linutronix.de>,
"H. Peter Anvin" <hpa@zytor.com>
Subject: Re: [PATCH] Add rdc321x defconfig file
Date: Mon, 25 Feb 2008 13:08:58 +0200 [thread overview]
Message-ID: <20080225110858.GA32450@cs181133002.pp.htv.fi> (raw)
In-Reply-To: <20080225101433.GA30685@elte.hu>
On Mon, Feb 25, 2008 at 11:14:33AM +0100, Ingo Molnar wrote:
>
> * Florian Fainelli <florian.fainelli@telecomint.eu> wrote:
>
> > This patch adds the default kernel configuration for the RDC R-321x
> > SoC.
>
> hm, i'm not sure. Right now we just have a 32-bit defconfig and a 64-bit
> defconfig - but there are about 8 subarchitectures in arch/x86. Given
> the amount of variety in PC hardware, i doubt it makes sense to start
> collecting defconfigs for hardware variants - we'd end up having
> hundreds or thousands of them. Even ARM has only 75 defconfigs.
What I want is at least one defconfig per subarchitecture for compile
tests.
And especially considering the original purpose "configuration users can
use as a starting point for configuring their kernel" I even wouldn't
mind if we had a few dozen x86 defconfigs.
> what i do is i regularly test whether "make allyesconfig" boots all the
> way up to general user-space in regular whitebox PC hardware. For
> example the attached config is such a config, i successfully booted it
> on 2.6.25-rc3 on a stock PC.
You are testing something completely different here.
What I want is that e.g. after fiddling with kernel headers I want an
easy way of having much compile coverage. And my script that builds all
defconfig's is trivial (although it takes a day to finish).
> This way we can ensure that the (near-) totality of the config space is
> bootable on regular PCs, and the subarch support is basically just
> bootstrap and quirks differences.
You miss our headers mess.
You remember how your big x86 merge this merge window broke 8 or 9 other
architectures? Change one file under include/ and watch how many
configurations no longer build.
Or other subtle differences between the subarchs that have in the past
led to compile errors.
I do consider them useful for the way I'm doing kernel tests, and even
if you don't consider them that useful can we agree that adding a
defconfig is neither a big deal for the subarchitecture maintainer nor
imposes any maintainance work on you as maintainer (except for sometimes
applying patches adding/updating them)?
> Longer term we should get rid of the
> subarchitecture distinction altogether and turn them into regular
> quirks/callbacks/drivers.
>...
Generally agreed (with my biggest worry being whether changing
CLOCK_TICK_RATE from a compile time constant to a runtime
variable has any performance effects).
> Ingo
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
next prev parent reply other threads:[~2008-02-25 11:10 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-25 9:58 Florian Fainelli
2008-02-25 10:14 ` Ingo Molnar
2008-02-25 10:24 ` Florian Fainelli
2008-02-25 10:51 ` Ingo Molnar
2008-02-25 11:03 ` Florian Fainelli
2008-02-25 11:17 ` Adrian Bunk
2008-02-25 11:27 ` Florian Fainelli
2008-02-25 11:45 ` Adrian Bunk
2008-02-25 11:54 ` Ingo Molnar
2008-02-25 11:08 ` Adrian Bunk [this message]
2008-02-25 11:17 ` Ingo Molnar
2008-02-25 11:32 ` Adrian Bunk
2008-02-25 11:50 ` Ingo Molnar
2008-02-25 12:25 ` Adrian Bunk
2008-02-25 12:57 ` Ingo Molnar
2008-02-25 13:12 ` Adrian Bunk
2008-02-25 13:45 ` Ingo Molnar
2008-02-25 14:09 ` Adrian Bunk
2008-02-25 19:02 ` Sam Ravnborg
2008-02-26 9:44 ` Ingo Molnar
2008-02-26 20:14 ` Sam Ravnborg
2008-02-26 20:30 ` Ingo Molnar
2008-02-27 6:49 ` Adrian Bunk
2008-02-27 18:31 ` Sam Ravnborg
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=20080225110858.GA32450@cs181133002.pp.htv.fi \
--to=bunk@kernel.org \
--cc=florian.fainelli@telecomint.eu \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=sam@ravnborg.org \
--cc=tglx@linutronix.de \
/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
all inboxes | Powered by JetHome®