linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Josh Boyer <jwboyer@linux.vnet.ibm.com>
To: Valentine Barshak <vbarshak@ru.mvista.com>
Cc: linuxppc-dev@ozlabs.org, David Gibson <david@gibson.dropbear.id.au>
Subject: Re: [PATCH 4/4] PowerPC 440EPx: Sequoia board support
Date: Wed, 15 Aug 2007 13:43:09 -0500	[thread overview]
Message-ID: <20070815134309.169dffe8@zod.rchland.ibm.com> (raw)
In-Reply-To: <46C3053C.10108@ru.mvista.com>

On Wed, 15 Aug 2007 17:53:00 +0400
Valentine Barshak <vbarshak@ru.mvista.com> wrote:

> David Gibson wrote:
> >> diff -ruN linux-2.6.orig/arch/powerpc/kernel/head_44x.S linux-2.6/arch/powerpc/kernel/head_44x.S
> >> --- linux-2.6.orig/arch/powerpc/kernel/head_44x.S	2007-08-14 17:11:19.000000000 +0400
> >> +++ linux-2.6/arch/powerpc/kernel/head_44x.S	2007-08-14 17:18:43.000000000 +0400
> >> @@ -217,7 +217,7 @@
> >>  	lis	r4,interrupt_base@h	/* IVPR only uses the high 16-bits */
> >>  	mtspr	SPRN_IVPR,r4
> >>  
> >> -#ifdef CONFIG_440EP
> >> +#if defined(CONFIG_440EP) || defined(CONFIG_440EPX)
> > 
> > Since we should now be able to support both 440GP and 440EP boards in
> > the same kernel, this probably needs to become a feature section.
> > 
> 
> Thanks for pointing that out.
> Talking about this, there appears to be more stuff that would need to 
> become feature sections. There're lots of other ifdefs in 
> arch/powerpc/kernel/head_44x.S, like ifdef CONFIG_PPC_FPU or ifdef 
> CONFIG_440A
> Looks like all these things have to be detected dynamically and 
> configured properly at runtime since we tend to support more than one 
> CPU in the same kernel.

Yes, definitely.  It's on my TODO list.  The "multiplatformness" of 44x
at the moment needs work.

> I think this should come as a separate patch, that replaces all these 
> ifdefs with the FTR_SECTION stuff.

I agree.  I'd like to do this as a separate patch later rather than hold
up Sequoia at the moment.

josh

  reply	other threads:[~2007-08-15 18:44 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-14 18:41 [PATCH 0/4] PowerPC 440EPx: Initial Sequoia support take 2 Valentine Barshak
2007-08-14 18:45 ` [PATCH 1/4] PowerPC 440EPx: Sequoia defconfig Valentine Barshak
2007-08-14 19:21   ` Josh Boyer
2007-08-15 12:11     ` Valentine Barshak
2007-08-14 18:48 ` [PATCH 2/4] PowerPC 440EPx: Sequoia DTS Valentine Barshak
2007-08-15  3:43   ` David Gibson
2007-08-15 16:56     ` Valentine Barshak
2007-08-15  6:39   ` Stefan Roese
2007-08-15 12:09     ` Valentine Barshak
2007-08-14 18:53 ` [PATCH 3/4] PowerPC 440EPx: Sequoia bootwrapper Valentine Barshak
2007-08-15  3:46   ` David Gibson
2007-08-15 12:22     ` Valentine Barshak
2007-08-16  5:51       ` David Gibson
2007-08-28 12:54         ` Valentine Barshak
2007-08-15 17:37   ` Jerone Young
2007-08-15 18:23     ` Valentine Barshak
2007-08-14 19:04 ` [PATCH 4/4] PowerPC 440EPx: Sequoia board support Valentine Barshak
2007-08-15  3:48   ` David Gibson
2007-08-15 13:53     ` Valentine Barshak
2007-08-15 18:43       ` Josh Boyer [this message]
2007-08-16  5:48         ` David Gibson

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=20070815134309.169dffe8@zod.rchland.ibm.com \
    --to=jwboyer@linux.vnet.ibm.com \
    --cc=david@gibson.dropbear.id.au \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=vbarshak@ru.mvista.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).