All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Gibson <david@gibson.dropbear.id.au>
To: Arnd Bergmann <arnd@arndb.de>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH 0/7] Kconfig cleanup part II
Date: Fri, 13 Apr 2007 21:48:18 +1000	[thread overview]
Message-ID: <20070413114818.GC17568@localhost.localdomain> (raw)
In-Reply-To: <200704131337.08029.arnd@arndb.de>

On Fri, Apr 13, 2007 at 01:37:07PM +0200, Arnd Bergmann wrote:
> On Friday 13 April 2007, Kumar Gala wrote:
> > Here the second part of the Kconfig cleanup to move all the
> > platform/*/Kconfig to be sourced by platform/Kconfig.  Plus some other
> > minor cleanups.
> 
> Nice patches, I had thought about doing these as well after
> I have cleaned up the CPU selection.
> 
> Two questions though:
> - Is there a technical reason why we want to disallow building
>   a kernel that contains a combination of 6xx, 83xx, 86xx and
>   embedded6xx platforms, or are there only bugs that make it
>   impossible?
> 
> - I'm still not sure whether platform selection or cpu selection
>   should come first, three options I can think of are:
>   1. CPU first, then platform:
>      you might choose to build a kernel for 970 exclusively, which
>      would allow you to select powermac, pseries and maple but no
>      other platforms.
>   2. Platform first, the CPU:
>      You might select pseries as the only platform, and then get
>      presented with the choice between power3 to power6, rs64
>      and 970, but not cell or pa6t.
>   3. platform and CPU depend on instruction set, but not on each other,
>      You only choose between powerpc64, 4xx, 6xx, e200, e500 or 8xx.
>      This would allow nonworking setups though, like a 83xx platform
>      with a 601 cpu or a ps3 with power5 cpu.

I would suggest CPU family first (where "family" mostly corresponds to
MMU design: 4xx, 44x, classic32, ppc64 etc.).  Then platforms, with
any combination allowable from the selected CPU family.  Specific CPU
models would usually be implied by platform selection.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

  reply	other threads:[~2007-04-13 11:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-12 23:08 [PATCH 0/7] Kconfig cleanup part II Kumar Gala
2007-04-12 23:09 ` [PATCH 1/7] Ensure platform CONFIG options have correct dependencies Kumar Gala
2007-04-12 23:09 ` [PATCH 2/7] Convert 86xx platform to unified platform Kconfig Kumar Gala
2007-04-12 23:10 ` [PATCH 3/7] Convert 83xx " Kumar Gala
2007-04-12 23:11 ` [PATCH 4/7] Convert 82xx " Kumar Gala
2007-04-12 23:11 ` [PATCH 5/7] Convert 8xx " Kumar Gala
2007-04-12 23:12 ` [PATCH 6/7] Convert 85xx " Kumar Gala
2007-04-12 23:12 ` [PATCH 7/7] Miscellaneous arch/powerpc Kconfig and platform/Kconfig cleanup Kumar Gala
2007-04-13 11:37 ` [PATCH 0/7] Kconfig cleanup part II Arnd Bergmann
2007-04-13 11:48   ` David Gibson [this message]
2007-04-13 15:02   ` Kumar Gala

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=20070413114818.GC17568@localhost.localdomain \
    --to=david@gibson.dropbear.id.au \
    --cc=arnd@arndb.de \
    --cc=linuxppc-dev@ozlabs.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.