From: Matt Sealey <matt@genesi-usa.com>
To: Timur Tabi <timur@freescale.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH] powerpc: remove default=y from PMAC and CHRP Kconfigs
Date: Thu, 09 Oct 2008 11:49:58 -0500 [thread overview]
Message-ID: <48EE3636.7020305@genesi-usa.com> (raw)
In-Reply-To: <ed82fe3e0810090920t25442258gcd5cedabf686fe2d@mail.gmail.com>
Timur Tabi wrote:
> On Thu, Oct 9, 2008 at 10:59 AM, Matt Sealey <matt@genesi-usa.com> wrote:
>
>> If you really want to build a single-cpu single-board kernel, disable CHRP
>> and PMAC for those board configs, but the default definitely should be to
>> enable them all within reason
>
> The problem is that this is inconsistent with most Kconfig options.
> Last I heard, the kernel community generally frowns on "default y" in
> Kconfig options.
>
> I'm waiting for someone to explain to me what's so special about CHRP
> and PMAC that these two platforms should be enabled by default, when
> all other PowerPC platforms are disabled by default.
>
> This is what I see in menuconfig when I create a fresh .config for PowerPC:
>
> │ │ [*] Common Hardware Reference Platform (CHRP) based machines (NEW)
> │ │ [ ] Freescale MPC5121E ADS (NEW)
> │ │ [ ] Generic support for simple MPC5121 based boards (NEW)
> │ │ [ ] 52xx-based boards (NEW)
> │ │ [*] Apple PowerMac based machines (NEW)
> │ │ [ ] 82xx-based boards (PQ II) (NEW) --->
> │ │ [ ] 83xx-based boards (NEW) --->
> │ │ [ ] 86xx-based boards (NEW) --->
> │ │ [ ] Embedded 6xx/7xx/7xxx-based boards (NEW)
>
> CHRP and PMAC aren't following the rules that everyone else is following. Why?
Because they are by far the historically most common configuration, and
still in production as the defacto standard PowerPC system configuration.
IBM blades etc. with SLOF will boot up as a CHRP-ish system, as well as the
Efika and Pegasos and anything else Genesi produces. Since Linux distributions
generally do not support tiny embedded boards, you can imagine why it's
disabled by default, but there's no reason it can't be ENABLED by default
and turned off by a distribution, the same way it can't be enabled by
default and turned off by YOU (compare and contrast having to manually
select which board you want to build for every time).
But, turning them all on would not matter. You would build a kernel for
every one and a device tree for every one increasing your build time a
bit for a default kernel, but you would be guaranteed to get a kernel
binary somewhere in the tree that would work on all of them :)
--
Matt Sealey <matt@genesi-usa.com>
Genesi, Manager, Developer Relations
next prev parent reply other threads:[~2008-10-09 16:49 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-08 19:57 [PATCH] powerpc: remove default=y from PMAC and CHRP Kconfigs Timur Tabi
2008-10-08 20:03 ` Benjamin Herrenschmidt
2008-10-08 20:14 ` Timur Tabi
2008-10-08 20:39 ` Benjamin Herrenschmidt
2008-10-08 20:44 ` Timur Tabi
2008-10-09 15:59 ` Matt Sealey
2008-10-09 16:20 ` Timur Tabi
2008-10-09 16:49 ` Matt Sealey [this message]
2008-10-09 17:08 ` Scott Wood
2008-10-09 17:23 ` Timur Tabi
2008-10-09 20:18 ` Sven Luther
2008-10-09 21:14 ` Timur Tabi
2008-10-09 21:28 ` Sven Luther
2008-10-09 21:32 ` Timur Tabi
2008-10-10 0:43 ` Paul Mackerras
2008-10-10 1:22 ` Kumar Gala
2008-10-10 1:51 ` Timur Tabi
2008-10-10 3:01 ` Benjamin Herrenschmidt
2008-10-10 3:01 ` Benjamin Herrenschmidt
2008-10-09 16:21 ` Scott Wood
2008-10-08 20:46 ` Scott Wood
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=48EE3636.7020305@genesi-usa.com \
--to=matt@genesi-usa.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=timur@freescale.com \
/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.