]> err.no Git - linux-2.6/commit
[PATCH] powerpc: Auto reserve of device tree blob
authorJimi Xenidis <jimix@watson.ibm.com>
Thu, 18 May 2006 22:03:05 +0000 (17:03 -0500)
committerPaul Mackerras <paulus@samba.org>
Fri, 19 May 2006 05:02:26 +0000 (15:02 +1000)
commit4d1f3f25d9c303d1ce63b42cc94c54ac0ab2e950
treeab418b136a78442fc4f0f8d3575da74b82df4bda
parent1dc461f0b03fab309eb9214df1c9b586aeaf3b22
[PATCH] powerpc: Auto reserve of device tree blob

A devtree compiler (dtc) generated devtree blob is "relocatable" and so
does not contain a reserved_map entry for the blob itself.  This means
that if passed to Linux, Linux will not get lmb_reserve() the blob and
it could be over.  The following patch will explicitly reserve the
"blob" as it was given to us and stops prom_init.c from creating a
reserved mapping for the blob.

NOTE: that the dtc/kexec should not generate the blob reservation entry.
Although if they do, LMB reserver handles overlaps.

Signed-off-by: <jimix@watson.ibm.com>
Acked-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/prom.c
arch/powerpc/kernel/prom_init.c