Skip to content

Reduce the defconfig numbers for PXA

Eric Miao linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Remove now unnecessary dma_needs_bounce()arch/arm/common/it8152.c arch/arm/include/asm/dma-mapping.h arch/arm/mach-ixp4xx/common-pci.c+7 -130 replies
1/4Remove now unnecessary dma_needs_bounce()+0 -01 reply
1/4Remove now unnecessary dma_needs_bounce()+0 -01 reply
1/4Remove now unnecessary dma_needs_bounce()+0 -00 replies
2/4pxa: merge all pxa2xx board configs into pxa2xx_defconfigarch/arm/configs/am200epdkit_defconfig arch/arm/configs/cm_x2xx_defconfig arch/arm/configs/colibri_pxa270_defconfig +17 more+3408 -264060 replies
2/4pxa: merge all pxa2xx board configs into pxa2xx_defconfig+0 -00 replies
2/4pxa: merge all pxa2xx board configs into pxa2xx_defconfig+0 -00 replies
3/4pxa: merge all pxa3xx board configs into pxa3xx_defconfigarch/arm/configs/cm_x300_defconfig arch/arm/configs/colibri_pxa300_defconfig arch/arm/configs/pxa3xx_defconfig +1 more+1100 -50490 replies
3/4pxa: merge all pxa3xx board configs into pxa3xx_defconfig+0 -00 replies
4/4pxa: merge {corgi, spitz}_defconfig into zaurus_defconfigarch/arm/configs/corgi_defconfig arch/arm/configs/spitz_defconfig arch/arm/configs/zaurus_defconfig+1726 -37130 replies
4/4pxa: merge {corgi,spitz}_defconfig into zaurus_defconfig+0 -00 replies

Reviews trailers per patch

4 of 11 patches have a Reviewed-by or Acked-by.

PatchMike Rapoport
1/4A-b
1/4A-b
1/4A-b
1/4A-b
2/4
2/4
2/4
3/4
3/4
4/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] [ARM] Reduce the defconfig numbers for PXA

1. dma_needs_bounce() prevents it8152.c and sa1111.c from being built together. Actually it8152.c is sane and dma_needs_bounce() can be removed simply. (Mike, could you give it a test?)

2. Currently, zaurus is not able to be built into a single kernel with other boards, since arch/arm/boot/compressed/head-sharpsl.S will try detecting the machine ID and will cause a dead loop on other boards at run-time. (if we stick with kexecboot or u-boot on zaurus, maybe we can remove head-sharpsl.S as well, and merge them into pxa2xx_defconfig as well)

3. All board configs with CONFIG_PXA2[57]x=y are now merged into pxa2xx_defconfig

4. All board configs with CONFIG_PXA3xx=y are now merged into pxa3xx_defconfig

The merge is rough, pxa2xx_defconfig as an example:

1. $> cat mainstone_defconfig > .config
2. $> for i in $(pxa2xx board defconfigs other than mainstone_defconfig); do sed '/# CONFIG.*is not set/d' $i >> pxa2xx_defconfig done
3. $> make oldconfig
4. $> cp .config arch/arm/configs/pxa2xx_defconfig

The idea is to use mainstone_defconfig as a base, append all those inclusive config options (not those "# CONFIG.*is not set").

Conflicts can happen with:

- CONFIG_* being 'y' or 'm', this is less important provided the platform is sane enough to support both builtin and modules

- CONFIG_* being a value type, the former will always be overwritten e.g. CONFIG_CMDLINE

That's why it's rough. I don't have time to look into those conflicts though, I'd like each board maintainer to give it a test.