public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
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 10:59:05 -0500	[thread overview]
Message-ID: <48EE2A49.10405@genesi-usa.com> (raw)
In-Reply-To: <48ED1B9E.3020907@freescale.com>


Timur Tabi wrote:
> Benjamin Herrenschmidt wrote:
> 
>> I'm happy with -all- platforms for a given CPU type defaulting to y. 
> 
> I'm not sure I understand.  The current Kconfigs defaults to Y for CHRP and PMAC
> on *all* PowerPC systems, including those that are neither CHRP nor PMAC.  Are
> you saying that's a good thing?

Timur,

You do realise it's entirely possible to build a kernel which supports 50
different Freescale CPUs all in one?

Enabling CHRP, PMAC support *AND* non-CHRP platforms is possible in the same
binary. The relevant code that differentiates them is in the boot wrapper
and this is selected by *how you compile the kernel* and not which objects
are compiled in. make zImage and make cuImage on the same kernel objects
will give you an 'identical' image just packaged in a different way.

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 (obviously coherent and non-coherent designs
cannot coexist in the same kernel, 32-bit and 64-bit do not play well in
the same kernel..)

-- 
Matt Sealey <matt@genesi-usa•com>
Genesi, Manager, Developer Relations

  reply	other threads:[~2008-10-09 15:59 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 [this message]
2008-10-09 16:20           ` Timur Tabi
2008-10-09 16:49             ` Matt Sealey
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=48EE2A49.10405@genesi-usa.com \
    --to=matt@genesi-usa$(echo .)com \
    --cc=linuxppc-dev@ozlabs$(echo .)org \
    --cc=timur@freescale$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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