2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-20 03:04:01 +08:00
linux-next/arch/powerpc
Benjamin Herrenschmidt 2c0f99516f powerpc/32: Fix early access to cpu_spec relocation
Commit 9402c68461 ("powerpc: Factor do_feature_fixup calls")
introduced a subtle bug on 32-bit. When reading the cpu spec from the
global, we not only need to do a pointer relocation on the global
address but also on the pointer we read from it.

This fixes crashes reported on MPC5200 based machines.

Fixes: 9402c68461 ("powerpc: Factor do_feature_fixup calls")
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-08-03 15:43:16 +10:00
..
boot powerpc updates for 4.8 # 1 2016-07-30 21:01:36 -07:00
configs powerpc updates for 4.8 # 1 2016-07-30 21:01:36 -07:00
crypto crypto: powerpc - Add POWER8 optimised crc32c 2016-07-05 23:05:19 +08:00
include powerpc/ptrace: Enable support for Performance Monitor registers 2016-08-01 11:15:24 +10:00
kernel powerpc/ptrace: Enable support for Performance Monitor registers 2016-08-01 11:15:24 +10:00
kvm powerpc/mm: Move hash table ops to a separate structure 2016-07-21 18:59:09 +10:00
lib powerpc/32: Fix early access to cpu_spec relocation 2016-08-03 15:43:16 +10:00
math-emu
mm powerpc/mm: remove flush_tlb_page_nohash 2016-08-01 11:15:13 +10:00
net powerpc/ebpf/jit: Implement JIT compiler for extended BPF 2016-06-24 15:17:57 +10:00
oprofile powerpc: Various typo fixes 2016-06-14 13:58:26 +10:00
perf powerpc updates for 4.8 # 1 2016-07-30 21:01:36 -07:00
platforms powerpc: Move cpu_has_feature() to a separate file 2016-08-01 11:15:03 +10:00
scripts powerpc/ftrace: Add Kconfig & Make glue for mprofile-kernel 2016-03-07 14:53:56 +11:00
sysdev powerpc updates for 4.8 # 1 2016-07-30 21:01:36 -07:00
xmon powerpc: Move cpu_has_feature() to a separate file 2016-08-01 11:15:03 +10:00
Kconfig powerpc updates for 4.8 # 1 2016-07-30 21:01:36 -07:00
Kconfig.debug powerpc/mm: Catch usage of cpu/mmu_has_feature() before jump label init 2016-08-01 11:15:06 +10:00
Makefile powerpc/sparse: Pass endianness to sparse 2016-07-14 20:44:03 +10:00
relocs_check.sh powerpc: Convert relocs_check to a shell script using grep 2015-03-23 14:47:39 +11:00