OpenCloudOS-Kernel/arch/powerpc/platforms/powernv
Vasant Hegde f7d98d18a0 powerpc/powernv: Call OPAL sync before kexec'ing
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>
2014-01-15 17:21:18 +11:00
..
Kconfig powerpc/powernv: Replace CONFIG_POWERNV_MSI with just CONFIG_PPC_POWERNV 2013-12-02 14:16:39 +11:00
Makefile powerpc/powernv: Get FSP memory errors and plumb into memory poison infrastructure. 2013-12-09 11:41:14 +11:00
eeh-ioda.c powerpc/eeh: Escalate error on non-existing PE 2014-01-15 17:18:59 +11:00
eeh-powernv.c powerpc/eeh: Call opal_pci_reinit() on powernv for restoring config space 2014-01-15 13:57:43 +11:00
opal-flash.c powerpc/powernv: Increase candidate fw image size 2014-01-15 13:58:44 +11:00
opal-lpc.c powerpc/powernv: Fix OPAL LPC access in Little Endian 2013-12-13 15:55:15 +11:00
opal-memory-errors.c powerpc/powernv: Get FSP memory errors and plumb into memory poison infrastructure. 2013-12-09 11:41:14 +11:00
opal-nvram.c powerpc/powernv: Make OPAL NVRAM device tree accesses endian safe 2013-10-11 16:48:47 +11:00
opal-rtc.c powernv: Remove get/set_rtc_time when they are not present 2013-12-05 16:08:22 +11:00
opal-takeover.S powerpc: Merge STK_REG/PARAM/FRAMESIZE 2012-07-10 19:18:03 +10:00
opal-wrappers.S powerpc/powernv: Call OPAL sync before kexec'ing 2014-01-15 17:21:18 +11:00
opal-xscom.c powerpc/powernv: Fix endian issue in opal_xscom_read 2013-12-13 15:53:59 +11:00
opal.c powerpc/powernv: Call OPAL sync before kexec'ing 2014-01-15 17:21:18 +11:00
pci-ioda.c powerpc/powernv: Remove unnecessary assignment 2014-01-15 13:46:45 +11:00
pci-p5ioc2.c PPC: POWERNV: move iommu_add_device earlier 2013-12-05 16:08:17 +11:00
pci.c powerpc/iommu: Update the generic code to use dynamic iommu page sizes 2013-12-30 14:17:19 +11:00
pci.h Merge branch 'merge' into next 2013-12-30 15:19:31 +11:00
powernv.h powerpc/powernv: Add PIO accessors for Power8 LPC bus 2013-08-14 14:58:08 +10:00
rng.c powerpc: Make cpu_to_chip_id() available when SMP=n 2013-11-21 10:33:44 +11:00
setup.c powerpc/powernv: Call OPAL sync before kexec'ing 2014-01-15 17:21:18 +11:00
smp.c powerpc: Convert platforms to smp_generic_cpu_bootable 2013-08-14 14:56:57 +10:00