powerpc/powernv: Call OPAL sync before kexec'ing
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>
Wed, 15 Jan 2014 06:02:04 +0000 (17:02 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 15 Jan 2014 06:21:18 +0000 (17:21 +1100)
Its possible that OPAL may be writing to host memory during
kexec (like dump retrieve scenario). In this situation we might
end up corrupting host memory.

This patch makes OPAL sync call to make sure OPAL stops
writing to host memory before kexec'ing.

Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

No differences found