OpenCloudOS-Kernel/arch/powerpc/mm/nohash
Michael Ellerman a7caf3f181 powerpc/nohash: Fix build with llvm-as
When using the LLVM integrated assembler (llvm-as), the book3e build
fails with:

  arch/powerpc/mm/nohash/tlb_low_64e.S:354:2: error: invalid instruction
   tlbilxva 0,%r15
   ^

tlbilxva is an extended mnemonic for tlbilx, but llvm-as also doesn't
support tlbilx, despite it being an e500mc instruction.

Fix it by using the existing PPC_TLBILX_VA macro. The resulting binary
is identical when building with binutils.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20230216112915.1681631-1-mpe@ellerman.id.au
2023-02-16 23:53:15 +11:00
..
8xx.c powerpc/32: Call mmu_mark_initmem_nx() regardless of data block mapping. 2022-07-27 21:36:05 +10:00
40x.c powerpc/32: Remove __map_without_ltlbs 2022-06-29 16:59:06 +10:00
44x.c powerpc/mm: Add __init attribute to eligible functions 2021-12-23 22:33:11 +11:00
Makefile powerpc: Remove CONFIG_PPC_FSL_BOOK3E 2022-09-26 23:00:13 +10:00
book3e_pgtable.c powerpc/book3e: Fix PUD allocation size in map_kernel_page() 2022-06-24 12:42:45 +10:00
e500.c powerpc: Remove CONFIG_PPC_FSL_BOOK3E 2022-09-26 23:00:13 +10:00
e500_hugetlbpage.c powerpc/nohash: Fix build error with binutils >= 2.38 2023-02-16 23:53:15 +11:00
kaslr_booke.c powerpc/book3e: remove #include <generated/utsrelease.h> 2022-11-30 21:46:48 +11:00
kup.c powerpc/kuap: Wire-up KUAP on 40x 2021-12-09 22:41:20 +11:00
mmu_context.c powerpc/mm: Make slice specific to book3s/64 2022-05-05 22:11:57 +10:00
tlb.c powerpc/tlb: Add local flush for page given mm_struct and psize 2022-11-30 21:46:49 +11:00
tlb_low.S powerpc: Remove CONFIG_PPC_FSL_BOOK3E 2022-09-26 23:00:13 +10:00
tlb_low_64e.S powerpc/nohash: Fix build with llvm-as 2023-02-16 23:53:15 +11:00