[PATCH 0/9] powerpc: Build fixes

Nicholas Piggin npiggin at gmail.com
Wed Apr 26 15:58:37 AEST 2023


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(-)

-- 
2.40.0



More information about the Linuxppc-dev mailing list