All of lore.kernel.org
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: Jimi Xenidis <jimix@pobox.com>
Cc: linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH v2] powerpc: book3e: WSP: Add Chroma as a new WSP/PowerEN platform.
Date: Mon, 3 Oct 2011 13:02:41 -0500	[thread overview]
Message-ID: <4E89F8C1.3040509@freescale.com> (raw)
In-Reply-To: <1317349675-18661-1-git-send-email-jimix@pobox.com>

On 09/29/2011 09:27 PM, Jimi Xenidis wrote:
> diff --git a/arch/powerpc/platforms/wsp/Kconfig b/arch/powerpc/platforms/wsp/Kconfig
> index ea2811c..a3eef8e 100644
> --- a/arch/powerpc/platforms/wsp/Kconfig
> +++ b/arch/powerpc/platforms/wsp/Kconfig
> @@ -1,6 +1,7 @@
>  config PPC_WSP
>  	bool
>  	select PPC_A2
> +	select GENERIC_TBSYNC
>  	select PPC_ICSWX
>  	select PPC_SCOM
>  	select PPC_XICS
> @@ -8,14 +9,20 @@ config PPC_WSP
>  	select PCI
>  	select PPC_IO_WORKAROUNDS if PCI
>  	select PPC_INDIRECT_PIO if PCI
> +	select PPC_WSP_COPRO
>  	default n
>  
>  menu "WSP platform selection"
>  	depends on PPC_BOOK3E_64
>  
>  config PPC_PSR2
> -	bool "PSR-2 platform"
> -	select GENERIC_TBSYNC
> +	bool "PowerEN System Reference Platform 2"
> +	select EPAPR_BOOT
> +	select PPC_WSP
> +	default y
> +
> +config PPC_CHROMA
> +	bool "PowerEN PCIe Chroma Card"
>  	select EPAPR_BOOT
>  	select PPC_WSP
>  	default y

This is an existing problem with PSR2, but please don't hide "default y"
in a menu (at least make it a menuconfig).  As is, it's not obvious from
looking at the toplevel platforms menu that these platforms are enabled
at all.

Further, PPC_WSP doesn't build on non-SMP (undefined references to
boot_cpuid and get_hard_smp_processor_id in ics.c), but the platforms
that select it don't depend on SMP.

-Scott

  reply	other threads:[~2011-10-03 18:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-30  2:27 [PATCH v2] powerpc: book3e: WSP: Add Chroma as a new WSP/PowerEN platform Jimi Xenidis
2011-10-03 18:02 ` Scott Wood [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-10-11 14:47 Jimi Xenidis
2011-10-27 20:48 ` Scott Wood
2012-10-26 17:26 ` 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=4E89F8C1.3040509@freescale.com \
    --to=scottwood@freescale.com \
    --cc=jimix@pobox.com \
    --cc=linuxppc-dev@lists.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.