linux-stable-rt/arch/powerpc/platforms/pseries
Robert Jennings 6490c4903d powerpc/pseries: iommu enablement for CMO
To support Cooperative Memory Overcommitment (CMO), we need to check
for failure from some of the tce hcalls.

These changes for the pseries platform affect the powerpc architecture;
patches for the other affected platforms are included in this patch.

pSeries platform IOMMU code changes:
 * platform TCE functions must handle H_NOT_ENOUGH_RESOURCES errors and
   return an error.

Architecture IOMMU code changes:
 * Calls to ppc_md.tce_build need to check return values and return
   DMA_MAPPING_ERROR for transient errors.

Architecture changes:
 * struct machdep_calls for tce_build*_pSeriesLP functions need to change
   to indicate failure.
 * all other platforms will need updates to iommu functions to match the new
   calling semantics; they will return 0 on success.  The other platforms
   default configs have been built, but no further testing was performed.

Signed-off-by: Robert Jennings <rcj@linux.vnet.ibm.com>
Acked-by: Olof Johansson <olof@lixom.net>
Acked-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2008-07-25 15:44:43 +10:00
..
Kconfig powerpc/pseries: Add collaborative memory manager 2008-07-25 15:44:42 +10:00
Makefile powerpc/pseries: Add collaborative memory manager 2008-07-25 15:44:42 +10:00
cmm.c powerpc/pseries: Add collaborative memory manager 2008-07-25 15:44:42 +10:00
eeh.c powerpc/eeh: Don't panic when EEH_MAX_FAILS is exceeded 2008-07-22 10:39:37 +10:00
eeh_cache.c
eeh_driver.c
eeh_event.c
eeh_sysfs.c
firmware.c
hotplug-cpu.c
hotplug-memory.c
hvCall.S
hvCall_inst.c
hvconsole.c
hvcserver.c
iommu.c powerpc/pseries: iommu enablement for CMO 2008-07-25 15:44:43 +10:00
kexec.c
lpar.c powerpc: Remove unnecessary condition when sanity-checking WIMG bits 2008-07-15 12:24:59 +10:00
msi.c
nvram.c
pci.c
pci_dlpar.c
phyp_dump.c
plpar_wrappers.h powerpc/pseries: Utilities to set firmware page state 2008-07-25 15:44:42 +10:00
power.c
pseries.h
ras.c
reconfig.c
rtasd.c
scanlog.c
setup.c powerpc/pseries: Enable CMO feature during platform setup 2008-07-25 15:44:42 +10:00
smp.c
xics.c
xics.h