From: Thomas Huth <thuth@redhat.com>
To: Michael Ellerman <mpe@ellerman.id.au>, linuxppc-dev@ozlabs.org
Subject: Re: [PATCH 5/6] powerpc/kconfig: Move cpu options after platform options
Date: Fri, 9 Oct 2015 07:47:50 +0200 [thread overview]
Message-ID: <56175506.1040702@redhat.com> (raw)
In-Reply-To: <1444338557-14988-5-git-send-email-mpe@ellerman.id.au>
On 08/10/15 23:09, Michael Ellerman wrote:
> In general platforms are a more important configuration decision than
> cpus, so the platforms should come first.
>
> My basis for saying that is that our cpu selection options are generally
> just about tuning for a cpu, rather than enabling/disabling support for
> a cpu. On the other hand disabling a platform means you can't boot on
> those machines, and any associated cpu options should vanish.
>
> With this applied the start of menuconfig looks like:
>
> [*] 64-bit kernel
> Endianness selection (Build little endian kernel)
> General setup
> [*] Enable loadable module support
> -*- Enable the block layer
> Platform support
> Processor support
> Kernel options
> Bus options
>
> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
> ---
> arch/powerpc/Kconfig | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
> index ea9377259f15..0f8c51279147 100644
> --- a/arch/powerpc/Kconfig
> +++ b/arch/powerpc/Kconfig
> @@ -34,8 +34,6 @@ config CPU_LITTLE_ENDIAN
>
> endchoice
>
> -source "arch/powerpc/platforms/Kconfig.cputype"
> -
> config PPC32
> bool
> default y if !PPC64
> @@ -339,6 +337,7 @@ source "init/Kconfig"
> source "kernel/Kconfig.freezer"
>
> source "arch/powerpc/platforms/Kconfig"
> +source "arch/powerpc/platforms/Kconfig.cputype"
>
> menu "Kernel options"
>
Reviewed-by: Thomas Huth <thuth@redhat.com>
next prev parent reply other threads:[~2015-10-09 5:47 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-08 21:09 [PATCH 1/6] powerpc/kconfig: Move NR_IRQS into "Kernel Options" Michael Ellerman
2015-10-08 21:09 ` [PATCH 2/6] powerpc/kconfig: Move sysdev Kconfig later Michael Ellerman
2015-10-09 5:54 ` Thomas Huth
2015-10-08 21:09 ` [PATCH 3/6] powerpc/kconfig: Move bitness & endian options to the top Michael Ellerman
2015-10-08 21:09 ` [PATCH 4/6] powerpc/kconfig: Move SCOM_DEBUGFS into "Kernel Hacking" Michael Ellerman
2015-10-08 21:09 ` [PATCH 5/6] powerpc/kconfig: Move cpu options after platform options Michael Ellerman
2015-10-09 5:47 ` Thomas Huth [this message]
2015-10-12 21:47 ` Scott Wood
2015-10-13 0:11 ` Michael Ellerman
2015-10-08 21:09 ` [PATCH 6/6] powerpc/kconfig: Cell CPU options should depend on PPC_CELL Michael Ellerman
2015-10-09 5:48 ` Thomas Huth
2015-10-08 21:30 ` [PATCH 1/6] powerpc/kconfig: Move NR_IRQS into "Kernel Options" Arnd Bergmann
2015-10-12 10:00 ` Michael Ellerman
2015-10-12 10:30 ` Arnd Bergmann
2015-10-12 11:07 ` Michael Ellerman
2015-10-12 11:50 ` Arnd Bergmann
2015-10-13 0:28 ` Michael Ellerman
2015-10-13 12:07 ` Arnd Bergmann
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=56175506.1040702@redhat.com \
--to=thuth@redhat.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=mpe@ellerman.id.au \
/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.