kernel_optimize_test/arch/powerpc/platforms/pasemi
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
..
cpufreq.c [POWERPC] pasemi: Don't enter powersaving states from elevated astates 2007-12-01 13:03:40 -06:00
dma_lib.c [POWERPC] pasemi: Add function engine management functions to dma_lib 2008-03-05 12:26:50 -06:00
gpio_mdio.c phy: Change mii_bus id field to a string 2008-04-16 20:09:35 -04:00
idle.c [POWERPC] pasemi: Use machine_*_initcall() hooks in platform code 2008-01-02 14:08:42 -06:00
iommu.c powerpc/pseries: iommu enablement for CMO 2008-07-25 15:44:43 +10:00
Kconfig [POWERPC] pasemi: Move electra-ide to pata_of_platform 2008-01-15 10:26:45 -06:00
Makefile [POWERPC] pasemi: Register i2c devices at boot 2008-02-21 21:08:35 +11:00
misc.c i2c: Switch pasemi to the new device/driver matching scheme 2008-05-18 20:49:40 +02:00
pasemi.h Merge branch 'linux-2.6' 2008-01-31 11:25:51 +11:00
pci.c [POWERPC] pasemi: Add workaround for erratum 5945 2007-09-14 01:33:21 +10:00
powersave.S [POWERPC] pasemi: Don't enter powersaving states from elevated astates 2007-12-01 13:03:40 -06:00
setup.c [POWERPC] pasemi: Use machine_*_initcall() hooks in platform code 2008-01-02 14:08:42 -06:00
time.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00