Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1331667

Re: powerpc/86xx: Use config fragments approach

From Scott Wood <oss@buserror.net>
Newsgroups linux.kernel
Subject Re: powerpc/86xx: Use config fragments approach
Date 2016-02-11 04:30 +0100
Message-ID <r0Q78-32d-7@gated-at.bofh.it> (permalink)
References <r0Ac4-VA-53@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 2016-02-10 at 10:22 +0100, Alessio Igor Bogani wrote:
> Signed-off-by: Alessio Igor Bogani <alessio.bogani@elettra.eu>
> ---
>  arch/powerpc/Makefile                            |  10 +
>  arch/powerpc/configs/86xx-32bit.config           |   4 +
>  arch/powerpc/configs/86xx-hw.config              | 106 +++++++++
>  arch/powerpc/configs/86xx-smp.config             |   2 +
>  arch/powerpc/configs/86xx/gef_ppc9a_defconfig    | 216 ------------------
>  arch/powerpc/configs/86xx/gef_sbc310_defconfig   | 214 ------------------
>  arch/powerpc/configs/86xx/gef_sbc610_defconfig   | 273 --------------------
> ---
>  arch/powerpc/configs/86xx/mpc8610_hpcd_defconfig | 110 ---------
>  arch/powerpc/configs/86xx/mpc8641_hpcn_defconfig | 156 -------------
>  arch/powerpc/configs/86xx/sbc8641d_defconfig     | 246 --------------------
>  arch/powerpc/configs/mpc86xx_basic_defconfig     |   6 +
>  arch/powerpc/configs/mpc86xx_defconfig           | 162 --------------
>  12 files changed, 128 insertions(+), 1377 deletions(-)
>  create mode 100644 arch/powerpc/configs/86xx-32bit.config
>  create mode 100644 arch/powerpc/configs/86xx-hw.config
>  create mode 100644 arch/powerpc/configs/86xx-smp.config
>  delete mode 100644 arch/powerpc/configs/86xx/gef_ppc9a_defconfig
>  delete mode 100644 arch/powerpc/configs/86xx/gef_sbc310_defconfig
>  delete mode 100644 arch/powerpc/configs/86xx/gef_sbc610_defconfig
>  delete mode 100644 arch/powerpc/configs/86xx/mpc8610_hpcd_defconfig
>  delete mode 100644 arch/powerpc/configs/86xx/mpc8641_hpcn_defconfig
>  delete mode 100644 arch/powerpc/configs/86xx/sbc8641d_defconfig
>  create mode 100644 arch/powerpc/configs/mpc86xx_basic_defconfig
>  delete mode 100644 arch/powerpc/configs/mpc86xx_defconfig

Why do your patches not start with [PATCH]?

How does the resulting config compare to the individual previous configs?  Are
there any options that were dropped from the union of the old configs? 
 Mutually exclusive options that had to be resolved one way or another? 
 Changes in non-hw options?

It would be nice to do what I did with 85xx in commit 7e2ad2ef851, and start
with a patch that makes the defconfigs conform to what the new approach will
give (to more easily see what is changing), and then have the next patch
switch to fragments.

> diff --git a/arch/powerpc/configs/86xx-32bit.config
> b/arch/powerpc/configs/86xx-32bit.config
> new file mode 100644
> index 0000000..8a2c6ff
> --- /dev/null
> +++ b/arch/powerpc/configs/86xx-32bit.config
> @@ -0,0 +1,4 @@
> +CONFIG_HIGHMEM=y
> +CONFIG_KEXEC=y
> +CONFIG_PPC_86xx=y
> +CONFIG_PROC_KCORE=y

Why is this not in mpc86xx_basic_defconfig?  There is no 64-bit 86xx.

-Scott

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: powerpc/86xx: Use config fragments approach Scott Wood <oss@buserror.net> - 2016-02-11 04:30 +0100

csiph-web