linux/arch/powerpc
Nicholas Piggin dc5dac748a powerpc/64: Add support to build with prefixed instructions
Add an option to build kernel and module with prefixed instructions if
the CPU and toolchain support it.

This is not related to kernel support for userspace execution of
prefixed instructions.

Building with prefixed instructions breaks some extended inline asm
memory addressing, for example it will provide immediates that exceed
the range of simple load/store displacement. Whether this is a
toolchain or a kernel asm problem remains to be seen. For now, these
are replaced with simpler and less efficient direct register addressing
when compiling with prefixed.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230408021752.862660-4-npiggin@gmail.com
2023-04-20 12:54:22 +10:00
..
boot powerpc: dts: turris1x.dts: Remove "fsl,P2020RDB-PC" compatible string 2023-04-20 12:23:13 +10:00
configs eth: fealnx: bring back this old driver 2023-03-08 23:22:04 -08:00
crypto crypto: powerpc - Use address generation helper for asm 2023-02-10 22:17:36 +11:00
include powerpc/64: Add support to build with prefixed instructions 2023-04-20 12:54:22 +10:00
kernel powerpc/64: Add support to build with prefixed instructions 2023-04-20 12:54:22 +10:00
kexec powerpc/kexec_file: print error string on usable memory property update failure 2023-02-15 23:14:06 +11:00
kvm KVM: PPC: Enable prefixed instructions for HV KVM and disable for PR KVM 2023-04-03 15:45:59 +10:00
lib powerpc: Remove memcpy_page_flushcache() 2023-03-29 23:53:02 +11:00
math-emu powerpc/math-emu: Inhibit W=1 warnings 2022-09-08 11:11:18 +10:00
mm powerpc: Use of_address_to_resource() 2023-04-04 22:11:03 +10:00
net powerpc/bpf/32: perform three operands ALU operations 2023-02-10 22:17:35 +11:00
perf powerpc/perf: Properly detect mpc7450 family 2023-03-30 23:35:43 +11:00
platforms powerpc/64: Add support to build with prefixed instructions 2023-04-20 12:54:22 +10:00
purgatory powerpc/kcsan: Add exclusions from instrumentation 2023-02-10 22:19:56 +11:00
sysdev powerpc: Use of_address_to_resource() 2023-04-04 22:11:03 +10:00
tools powerpc/64: Add UADDR64 relocation support 2022-03-09 21:47:53 +11:00
xmon cpumask: fix incorrect cpumask scanning result checks 2023-03-06 12:15:13 -08:00
Kbuild
Kconfig powerpc/64: Add support to build with prefixed instructions 2023-04-20 12:54:22 +10:00
Kconfig.debug powerpc: Add support for early debugging via Serial 16550 console 2022-09-28 19:22:09 +10:00
Makefile powerpc/64: Add support to build with prefixed instructions 2023-04-20 12:54:22 +10:00
Makefile.postlink kbuild: remove --include-dir MAKEFLAG from top Makefile 2023-02-05 18:51:22 +09:00