linux/arch/powerpc
Michael Ellerman ad72a279a2 powerpc: Check flat device tree version at boot
In commit e6a6928c3e "of/fdt: Convert FDT functions to use libfdt",
the kernel stopped supporting old flat device tree formats. The minimum
supported version is now 0x10.

There was a checking function added, early_init_dt_verify(), but it's
not called on powerpc.

The result is, if you boot with an old flat device tree, the kernel will
fail to parse it correctly, think you have no memory etc. and hilarity
ensues.

We can't really fix it, but we can at least catch the fact that the
device tree is in an unsupported format and panic(). We can't call
BUG(), it's too early.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2014-09-25 23:14:50 +10:00
..
boot powerpc/boot: Don't install zImage.* from make install 2014-09-25 23:14:34 +10:00
configs powerpc: Make CONFIG_FHANDLE=y for all 64 bit powerpc defconfigs 2014-09-09 19:02:46 +10:00
crypto powerpc: Fix compile of sha1-powerpc-asm.S on 32-bit 2013-03-05 16:56:26 +11:00
include powerpc/powernv: Don't call generic code on offline cpus 2014-09-25 23:14:50 +10:00
kernel powerpc: Check flat device tree version at boot 2014-09-25 23:14:50 +10:00
kvm powerpc/kvm/cma: Fix panic introduces by signed shift operation 2014-09-03 10:34:07 +02:00
lib powerpc: Make a bunch of things static 2014-09-25 23:14:41 +10:00
math-emu powerpc: Correct emulated mtfsf instruction 2014-04-07 10:33:11 +10:00
mm powerpc: Move htab_remove_mapping function prototype into header file 2014-09-25 23:14:44 +10:00
net net: filter: split 'struct sk_filter' into socket and bpf parts 2014-08-02 15:03:58 -07:00
oprofile powerpc: Ensure global functions include their prototype 2014-09-25 23:14:42 +10:00
perf powerpc: Make a bunch of things static 2014-09-25 23:14:41 +10:00
platforms powerpc/powernv: Don't call generic code on offline cpus 2014-09-25 23:14:50 +10:00
sysdev powerpc/powernv: Don't call generic code on offline cpus 2014-09-25 23:14:50 +10:00
xmon powerpc: Hard disable interrupts in xmon 2014-08-13 15:13:48 +10:00
Kconfig powerpc: Fix build error with CONFIG_PCI=n 2014-09-25 23:14:35 +10:00
Kconfig.debug Patch queue for ppc - 2014-08-01 2014-08-05 09:58:11 +02:00
Makefile powerpc: Add POWER8 CPU selection 2014-09-25 23:14:49 +10:00
relocs_check.pl Fix warning typo "CONFIG_RELCOATABLE" 2013-05-29 15:11:30 +02:00