]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm/book3s64/hash: Switch pre 2.06 tlbiel to .long
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Tue, 21 Dec 2021 05:59:04 +0000 (16:59 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 23 Dec 2021 11:35:13 +0000 (22:35 +1100)
commitc2e4df421e73b664b59fb9392d3babf11dc897eb
treeaf0ab41abf5be8ba9bee305ed6e6c4aa3cf6ba98
parent9f35d00d513be03590935b1f635566f32463a1cd
powerpc/mm/book3s64/hash: Switch pre 2.06 tlbiel to .long

The llvm integrated assembler does not recognise the ISA 2.05 tlbiel
version. Work around it by switching to .long when an old arch level
detected.

Signed-off-by: Daniel Axtens <dja@axtens.net>
[aik: did "Eventually do this more smartly"]
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211221055904.555763-7-aik@ozlabs.ru
arch/powerpc/include/asm/ppc-opcode.h
arch/powerpc/mm/book3s64/hash_native.c