Skip to content

powerpc: Build fixes

Nicholas Piggin linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9powerpc: Fix merge conflict between pcrel and copy_thread changesarch/powerpc/kernel/interrupt_64.S+1 -10 replies
2/9powerpc/64s: Disable pcrel code model on Clangarch/powerpc/Kconfig+6 -10 replies
3/9powerpc/boot: Seperate target flags from BOOTCFLAGSarch/powerpc/boot/Makefile+21 -190 replies
4/9powerpc/boot: Seperate CPP flags from BOOTCFLAGSarch/powerpc/boot/Makefile+7 -70 replies
5/9powerpc/boot: Separate BOOTCFLAGS from BOOTASFLAGSarch/powerpc/boot/Makefile+1 -11 reply
6/9powerpc/boot: Clean up Makefile after cflags and asflags separationarch/powerpc/boot/Makefile+13 -130 replies
6/9powerpc/boot: clean up Makefile flagsarch/powerpc/boot/Makefile+13 -130 replies
7/9powerpc/build: Remove -pipe from compilation flagsarch/powerpc/Makefile arch/powerpc/boot/Makefile+3 -30 replies
8/9powerpc/64s: Permit d-form memops in asm when building with prefix on clangarch/powerpc/Kconfig arch/powerpc/include/asm/atomic.h arch/powerpc/include/asm/io.h +1 more+14 -70 replies
9/9powerpc/64s: Work around llvm-as not recognising plaarch/powerpc/Kconfig arch/powerpc/include/asm/ppc_asm.h arch/powerpc/kernel/vector.S+16 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] powerpc: Build fixes

This series is against powerpc next. The first two patches are independent build fixes for recent patches. Patches 3-5 separate boot Makefile BOOTCFLAGS and BOOTASFLAGS and stops passing some C code generation flags to the assembler which causes some warnings for llvm. Patches 6-9 are not fixes but a bunch of other improvements I noticed along the way.

Thanks,
Nick

Nicholas Piggin (9):
powerpc: Fix merge conflict between pcrel and copy_thread changes powerpc/64s: Disable pcrel code model on Clang powerpc/boot: Seperate target flags from BOOTCFLAGS powerpc/boot: Seperate CPP flags from BOOTCFLAGS powerpc/boot: Separate BOOTCFLAGS from BOOTASFLAGS powerpc/boot: Clean up Makefile after cflags and asflags separation powerpc/build: Remove -pipe from compilation flags powerpc/64s: Permit d-form memops in asm when building with prefix on
clang
powerpc/64s: Work around llvm-as not recognising pla

 arch/powerpc/Kconfig               | 19 ++++++++-
 arch/powerpc/Makefile              |  2 +-
 arch/powerpc/boot/Makefile         | 62 +++++++++++++++---------------
 arch/powerpc/include/asm/atomic.h  |  8 ++--
 arch/powerpc/include/asm/io.h      |  2 +-
 arch/powerpc/include/asm/ppc_asm.h |  5 +++
 arch/powerpc/include/asm/uaccess.h |  4 +-
 arch/powerpc/kernel/interrupt_64.S |  2 +-
 arch/powerpc/kernel/vector.S       |  6 +++
 9 files changed, 70 insertions(+), 40 deletions(-)
Signature · 1 line
2.40.0