summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/lppaca.h
diff options
context:
space:
mode:
authorNishanth Aravamudan <nacc@us.ibm.com>2011-05-06 13:27:30 (GMT)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-05-19 04:30:40 (GMT)
commit767303349e052ae0cb9e6495a70870da3459eeb6 (patch)
tree53c6839bef96ec7eb2c587c60665c06b672c5265 /arch/powerpc/include/asm/lppaca.h
parent31355403dba5aa7a700c69f91cd6266092932701 (diff)
downloadlinux-fsl-qoriq-767303349e052ae0cb9e6495a70870da3459eeb6.tar.xz
powerpc: Fix kexec with dynamic dma windows
When we kexec we look for a particular property added by the first kernel, "linux,direct64-ddr-window-info", per-device where we already have set up dynamic dma windows. The current code, though, wasn't initializing the size of this property and thus when we kexec'd, we would find the property but read uninitialized memory resulting in garbage ddw values for the kexec'd kernel and panics. Fix this by setting the size at enable_ddw() time and ensuring that the size of the found property is valid at dupe_ddw_if_kexec() time. Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/lppaca.h')
0 files changed, 0 insertions, 0 deletions