6490c4903d
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> |
||
---|---|---|
.. | ||
spufs | ||
axon_msi.c | ||
beat_htab.c | ||
beat_hvCall.S | ||
beat_interrupt.c | ||
beat_interrupt.h | ||
beat_iommu.c | ||
beat_smp.c | ||
beat_spu_priv1.c | ||
beat_syscall.h | ||
beat_udbg.c | ||
beat_wrapper.h | ||
beat.c | ||
beat.h | ||
cbe_cpufreq_pervasive.c | ||
cbe_cpufreq_pmi.c | ||
cbe_cpufreq.c | ||
cbe_cpufreq.h | ||
cbe_powerbutton.c | ||
cbe_regs.c | ||
cbe_thermal.c | ||
celleb_pci.c | ||
celleb_pci.h | ||
celleb_scc_epci.c | ||
celleb_scc_pciex.c | ||
celleb_scc_sio.c | ||
celleb_scc_uhc.c | ||
celleb_scc.h | ||
celleb_setup.c | ||
cpufreq_spudemand.c | ||
interrupt.c | ||
interrupt.h | ||
io-workarounds.c | ||
io-workarounds.h | ||
iommu.c | ||
Kconfig | ||
Makefile | ||
pervasive.c | ||
pervasive.h | ||
pmu.c | ||
ras.c | ||
ras.h | ||
setup.c | ||
smp.c | ||
spider-pci.c | ||
spider-pic.c | ||
spu_base.c | ||
spu_callbacks.c | ||
spu_fault.c | ||
spu_manage.c | ||
spu_notify.c | ||
spu_priv1_mmio.c | ||
spu_priv1_mmio.h | ||
spu_syscalls.c |