mbox series

[0/9] powerpc: Build fixes

Message ID 20230426055848.402993-1-npiggin@gmail.com (mailing list archive)
Headers show
Series powerpc: Build fixes | expand

Message

Nicholas Piggin April 26, 2023, 5:58 a.m. UTC
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(-)

Comments

Michael Ellerman April 26, 2023, 12:01 p.m. UTC | #1
On Wed, 26 Apr 2023 15:58:37 +1000, Nicholas Piggin wrote:
> 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.
> 
> [...]

Patches 1& 2 applied to powerpc/next.

[1/9] powerpc: Fix merge conflict between pcrel and copy_thread changes
      https://git.kernel.org/powerpc/c/0c993300d52bf5ce9b951c3b6b25d0d14acc49a9
[2/9] powerpc/64s: Disable pcrel code model on Clang
      https://git.kernel.org/powerpc/c/169f8997968ab620d750d9a45e15c5288d498356

cheers