mbox series

[kernel,0/6] powerpc: Build with LLVM_IAS=1

Message ID 20211221055904.555763-1-aik@ozlabs.ru (mailing list archive)
Headers show
Series powerpc: Build with LLVM_IAS=1 | expand

Message

Alexey Kardashevskiy Dec. 21, 2021, 5:58 a.m. UTC
This allows compiling the upstream Linux with the upstream llvm with one fix on top;
https://reviews.llvm.org/D115419

This is based on sha1
798527287598 Michael Ellerman "Automatic merge of 'next' into merge (2021-12-14 00:12)".

Please comment. Thanks.



Alan Modra (1):
  powerpc/toc: PowerPC64 future proof kernel toc, revised for lld

Alexey Kardashevskiy (3):
  powerpc/64/asm: Inline BRANCH_TO_C000
  powerpc/mm: Switch obsolete dssall to .long
  powerpc/mm/book3s64/hash: Switch pre 2.06 tlbiel to .long

Daniel Axtens (2):
  powerpc: check for support for -Wa,-m{power4,any}
  powerpc/64/asm: Do not reassign labels

 arch/powerpc/Makefile                   |  9 +++--
 arch/powerpc/include/asm/head-64.h      | 12 +++----
 arch/powerpc/include/asm/ppc-opcode.h   |  4 +++
 arch/powerpc/include/asm/sections.h     | 14 ++++----
 arch/powerpc/kernel/idle.c              |  2 +-
 arch/powerpc/mm/book3s64/hash_native.c  |  4 +--
 arch/powerpc/mm/mmu_context.c           |  2 +-
 arch/powerpc/boot/crt0.S                |  2 +-
 arch/powerpc/boot/zImage.lds.S          |  7 ++--
 arch/powerpc/kernel/exceptions-64s.S    | 47 ++++++++++---------------
 arch/powerpc/kernel/head_64.S           | 20 +++++------
 arch/powerpc/kernel/idle_6xx.S          |  2 +-
 arch/powerpc/kernel/interrupt_64.S      |  2 +-
 arch/powerpc/kernel/l2cr_6xx.S          |  6 ++--
 arch/powerpc/kernel/swsusp_32.S         |  2 +-
 arch/powerpc/kernel/swsusp_asm64.S      |  2 +-
 arch/powerpc/kernel/vmlinux.lds.S       |  8 ++---
 arch/powerpc/platforms/powermac/cache.S |  4 +--
 18 files changed, 69 insertions(+), 80 deletions(-)

Comments

Michael Ellerman Dec. 26, 2021, 9:52 p.m. UTC | #1
On Tue, 21 Dec 2021 16:58:58 +1100, Alexey Kardashevskiy wrote:
> This allows compiling the upstream Linux with the upstream llvm with one fix on top;
> https://reviews.llvm.org/D115419
> 
> This is based on sha1
> 798527287598 Michael Ellerman "Automatic merge of 'next' into merge (2021-12-14 00:12)".
> 
> Please comment. Thanks.
> 
> [...]

Applied to powerpc/next.

[1/6] powerpc/toc: PowerPC64 future proof kernel toc, revised for lld
      https://git.kernel.org/powerpc/c/a3ad84da076009c94969fa97f604257667e2980f
[2/6] powerpc: check for support for -Wa,-m{power4,any}
      https://git.kernel.org/powerpc/c/f5140cab448e4819ca6f158cb4130352f73c92e4
[3/6] powerpc/64/asm: Inline BRANCH_TO_C000
      https://git.kernel.org/powerpc/c/fd983957971632088908c646116383402f04084b
[4/6] powerpc/64/asm: Do not reassign labels
      https://git.kernel.org/powerpc/c/d72c4a36d7ab560127885473a310ece28988b604
[5/6] powerpc/mm: Switch obsolete dssall to .long
      https://git.kernel.org/powerpc/c/d51f86cfd8e378d4907958db77da3074f6dce3ba
[6/6] powerpc/mm/book3s64/hash: Switch pre 2.06 tlbiel to .long
      https://git.kernel.org/powerpc/c/62479e6e26ef18f00e2e540c0e30156254533a43

cheers