kernel-ark/arch/powerpc/platforms
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
..
8xx powerpc/CPM: Add i2c pins to dts and board setup 2008-07-14 07:55:39 -05:00
40x
44x powerpc/44x: Support NAND boot for Rev A Warp boards 2008-07-09 13:36:39 -04:00
52xx Merge commit 'gcl/gcl-next' 2008-07-25 15:35:03 +10:00
82xx Revert "powerpc/ep8248e: Fix compile problem if !CONFIG_FS_ENET" 2008-07-16 17:59:47 -05:00
83xx powerpc/83xx: fix ULPI setup for MPC8315 processors 2008-07-16 17:57:37 -05:00
85xx powerpc: Remove Kconfig PPC_CPM_NEW_BINDING 2008-07-16 17:57:50 -05:00
86xx powerpc/85xx/86xx: some refactoring for fsl_uli1575 code 2008-07-16 17:57:42 -05:00
512x powerpc/mpc5121: Add support for CPLD on MPC5121ADS board 2008-07-12 12:10:55 -06:00
cell powerpc/pseries: iommu enablement for CMO 2008-07-25 15:44:43 +10:00
chrp driver core: fix a lot of printk usages of bus_id 2008-07-21 21:54:53 -07:00
embedded6xx powerpc: Add C2K to configuration 2008-06-09 13:42:29 +10:00
iseries powerpc/pseries: iommu enablement for CMO 2008-07-25 15:44:43 +10:00
maple [POWERPC] Fix sparse warnings in arch/powerpc/kernel 2008-05-14 22:31:59 +10:00
pasemi powerpc/pseries: iommu enablement for CMO 2008-07-25 15:44:43 +10:00
powermac kgdb, powerpc: arch specific powerpc kgdb support 2008-07-23 11:30:15 -05:00
prep
ps3 powerpc/ps3: Add a sub-match id to ps3_system_bus 2008-07-22 10:39:33 +10:00
pseries powerpc/pseries: iommu enablement for CMO 2008-07-25 15:44:43 +10:00
fsl_uli1575.c powerpc/85xx/86xx: some refactoring for fsl_uli1575 code 2008-07-16 17:57:42 -05:00
Kconfig powerpc: Remove Kconfig PPC_CPM_NEW_BINDING 2008-07-16 17:57:50 -05:00
Kconfig.cputype powerpc: Remove duplicate 6xx option in Kconfig 2008-07-22 10:39:35 +10:00
Makefile [POWERPC] celleb: Move miscellaneous files for Beat 2008-04-24 21:08:14 +10:00