Skip to content

powerpc patches for new Kconfig language

Nicholas Piggin linux-kbuild linuxppc-dev 5 versions – Applied

Status from this message: Applied to powerpc next, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest4 patches 16 repliesApplied
  2. v44 patches 4 repliesSuperseded
  3. v34 patches 5 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v25 patches8 repliesSuperseded
v11 patch2 repliesSuperseded

Changes in v5 from the cover letter

- Patch 4 update to syntax changed since kconfig-shell-v3 release.
- Patch 4 suggestions from Masahiro Yamada, remove unnecessary "OK" output from check mprofile script, and fold CC_USING_MPROFILE_KERNEL into CONFIG_MPROFILE_KERNEL.
- Reduce whitespace disturbance in patch 1.

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/4powerpc/kbuild: set default generic machine type for 32-bit compilearch/powerpc/Makefile+8 -03 replies
2/4powerpc/kbuild: remove CROSS32 defines from top level powerpc Makefilearch/powerpc/Makefile arch/powerpc/boot/Makefile arch/powerpc/kernel/vdso32/Makefile+22 -161 reply
3/4powerpc/kbuild: Use flags variables rather than overriding LD/CC/ASarch/powerpc/Makefile arch/powerpc/tools/gcc-check-mprofile-kernel.sh scripts/recordmcount.pl+34 -122 replies
4/4powerpc/kbuild: move -mprofile-kernel check to Kconfigarch/powerpc/Kconfig arch/powerpc/Makefile arch/powerpc/include/asm/module.h +3 more+8 -340 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMichael Ellerman
SeriesA-b
1/4
2/4
3/4
4/4

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

Read the v5 thread

Cover letter [PATCH v5 0/4] powerpc patches for new Kconfig language

This series of patches improves th powerpc kbuild system. The motivation was to to be compatible with the new Kconfig scripting language that Yamada-san has implemented here for merge:

https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git/log/?h=kconfig

I have tested on top of that tree, powerpc now builds there.

To avoid build breakage, the first 3 patches must go before the kconfig change, and the 4th patch must go after it.

v5 changes:
- Patch 4 update to syntax changed since kconfig-shell-v3 release.
- Patch 4 suggestions from Masahiro Yamada, remove unnecessary "OK" output from check mprofile script, and fold CC_USING_MPROFILE_KERNEL into CONFIG_MPROFILE_KERNEL.
- Reduce whitespace disturbance in patch 1.

Thanks,
Nick

Nicholas Piggin (4):
powerpc/kbuild: set default generic machine type for 32-bit compile powerpc/kbuild: remove CROSS32 defines from top level powerpc Makefile powerpc/kbuild: Use flags variables rather than overriding LD/CC/AS powerpc/kbuild: move -mprofile-kernel check to Kconfig

 arch/powerpc/Kconfig                          | 16 +------
 arch/powerpc/Makefile                         | 44 ++++++++-----------
 arch/powerpc/boot/Makefile                    | 16 ++++---
 arch/powerpc/include/asm/module.h             |  2 +-
 arch/powerpc/kernel/module_64.c               |  4 +-
 arch/powerpc/kernel/trace/ftrace.c            |  6 +--
 arch/powerpc/kernel/vdso32/Makefile           | 15 +++++--
 .../tools/gcc-check-mprofile-kernel.sh        | 13 +++---
 scripts/recordmcount.pl                       | 18 +++++++-
 9 files changed, 72 insertions(+), 62 deletions(-)
Signature · 1 line
2.17.0