Re: powerpc/powernv: Call OPAL sync before kexec'ing

2014-01-15 Thread Benjamin Herrenschmidt
On Thu, 2014-01-16 at 11:58 +1100, Michael Ellerman wrote: > On Wed, 2014-01-15 at 17:02 +1100, Benjamin Herrenschmidt wrote: > > From: Vasant Hegde > > > > Its possible that OPAL may be writing to host memory during > > kexec (like dump retrieve scenario). In this situation we might > > end

Re: powerpc/powernv: Call OPAL sync before kexec'ing

2014-01-15 Thread Michael Ellerman
On Wed, 2014-01-15 at 17:02 +1100, Benjamin Herrenschmidt wrote: > From: Vasant Hegde > > 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. Are we happy with that happening during kdu

powerpc/powernv: Call OPAL sync before kexec'ing

2014-01-14 Thread Benjamin Herrenschmidt
From: Vasant Hegde 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-b