1
0
Fork 0
remarkable-linux/arch/powerpc
Christophe Leroy e261faa2ec powerpc/lib/feature-fixups: use raw_patch_instruction()
commit 8183d99f4a upstream.

feature fixups need to use patch_instruction() early in the boot,
even before the code is relocated to its final address, requiring
patch_instruction() to use PTRRELOC() in order to address data.

But feature fixups applies on code before it is set to read only,
even for modules. Therefore, feature fixups can use
raw_patch_instruction() instead.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reported-by: David Gounaris <david.gounaris@infinera.com>
Tested-by: David Gounaris <david.gounaris@infinera.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-10-20 09:48:52 +02:00
..
boot powerpc/boot: Fix random libfdt related build errors 2018-05-30 07:52:06 +02:00
configs powerpc/configs: Update for CONFIG_SND changes 2017-09-20 13:30:09 +10:00
crypto crypto: hash - annotate algorithms taking optional key 2018-02-16 20:23:00 +01:00
include powerpc/lib/feature-fixups: use raw_patch_instruction() 2018-10-20 09:48:52 +02:00
kernel powerpc/tm: Avoid possible userspace r1 corruption on reclaim 2018-10-20 09:48:52 +02:00
kvm KVM: PPC: Book3S HV: Don't truncate HPTE index in xlate function 2018-10-10 08:54:19 +02:00
lib powerpc/lib/feature-fixups: use raw_patch_instruction() 2018-10-20 09:48:52 +02:00
math-emu License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mm powerpc: Avoid code patching freed init sections 2018-10-13 09:27:28 +02:00
net bpf, ppc64: fix unexpected r0=0 exit path inside bpf_xadd 2018-09-05 09:26:27 +02:00
oprofile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
perf powerpc/perf: Fix memory allocation for core-imc based on num_possible_cpus() 2018-07-03 11:24:50 +02:00
platforms powerpc/powernv/ioda2: Reduce upper limit for DMA window size 2018-10-03 17:00:49 -07:00
purgatory License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sysdev powerpc: Fix size calculation using resource_size() 2018-09-15 09:45:30 +02:00
tools License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
xmon powerpc/64s: Improve RFI L1-D cache flush fallback 2018-05-30 07:51:50 +02:00
Kconfig powerpc/64s: Wire up cpu_show_meltdown() 2018-02-07 11:12:17 -08:00
Kconfig.debug License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile Merge branch 'fixes' into next 2017-08-23 22:20:10 +10:00
Makefile.postlink License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00