OpenCloudOS-Kernel/arch/powerpc/platforms/pseries
Milton Miller d24f9c6999 powerpc: Use the newly added get_required_mask dma_map_ops hook
Now that the generic code has dma_map_ops set, instead of having a
messy ifdef & if block in the base dma_get_required_mask hook push
the computation into the dma ops.

If the ops fails to set the get_required_mask hook default to the
width of dma_addr_t.

This also corrects ibmbus ibmebus_dma_supported to require a 64
bit mask.  I doubt anything is checking or setting the dma mask on
that bus.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Cc: linuxppc-dev@lists.ozlabs.org
Cc: linux-kernel@vger.kernel.org
Cc: benh@kernel.crashing.org
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2011-09-20 09:19:35 +10:00
..
Kconfig pcspkr: Cleanup Kconfig dependencies 2011-06-09 15:01:41 +02:00
Makefile powerpc/pseries: Add support for IO event interrupts 2011-05-06 13:19:01 +10:00
cmm.c powerpc/pseries: Cleanup use of notifier_from_errno() 2011-03-02 16:50:06 +11:00
dlpar.c powerpc/pseries: Introduce pSeries_reconfig_notify() 2011-06-29 17:48:22 +10:00
dtl.c powerpc/pseries: Fix kexec on recent firmware versions 2011-08-05 14:47:57 +10:00
eeh.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
eeh_cache.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
eeh_driver.c powerpc/eeh: Display eeh error location for bus and device 2011-05-06 13:32:31 +10:00
eeh_event.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
eeh_sysfs.c headers: kobject.h redux 2011-01-10 08:51:44 -08:00
event_sources.c powerpc/pseries: Add WARN_ON() to request_event_sources_irqs() on irq allocation/request failure 2010-07-09 11:28:32 +10:00
firmware.c powerpc: Add VPHN firmware feature 2010-11-29 15:48:22 +11:00
hotplug-cpu.c powerpc/pseries: Simplify vpa deregistration functions 2011-08-05 14:47:58 +10:00
hotplug-memory.c Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2011-07-25 22:59:39 -07:00
hvCall.S powerpc: Remove second definition of STACK_FRAME_OVERHEAD 2010-11-29 15:48:23 +11:00
hvCall_inst.c powerpc: remove cast from void* 2010-11-03 10:23:26 -04:00
hvconsole.c powerpc/pseries/hvconsole: Fix dropped console output 2011-07-19 15:13:05 +10:00
hvcserver.c [PATCH] powerpc/pseries: Change H_StudlyCaps to H_SHOUTING_CAPS 2006-04-01 22:36:57 +11:00
io_event_irq.c powerpc: Lack of ibm,io-events not that important! 2011-08-05 14:47:56 +10:00
iommu.c powerpc: Use the newly added get_required_mask dma_map_ops hook 2011-09-20 09:19:35 +10:00
kexec.c powerpc/pseries: Simplify vpa deregistration functions 2011-08-05 14:47:58 +10:00
lpar.c powerpc/pseries: Cleanup VPA registration and deregistration errors 2011-08-05 14:47:57 +10:00
mobility.c powerpc/pseries: Partition migration in the kernel 2010-10-13 16:19:03 +11:00
msi.c powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
nvram.c powerpc/nvram: Don't overwrite oops/panic report on normal shutdown 2011-03-30 10:36:23 +11:00
offline_states.h powerpc/smp: soft-replugged CPUs must go back to start_secondary 2011-04-01 15:37:09 +11:00
pci.c [POWERPC] Rename get_property to of_get_property: arch/powerpc 2007-04-13 03:55:19 +10:00
pci_dlpar.c powerpc/pci: Make both ppc32 and ppc64 use sysdata for pci_controller 2011-02-04 11:46:51 -07:00
phyp_dump.c lmb: rename to memblock 2010-07-14 17:14:00 +10:00
plpar_wrappers.h powerpc/pseries: Simplify vpa deregistration functions 2011-08-05 14:47:58 +10:00
power.c [POWERPC] Fix warning in pseries/power.c 2008-02-20 13:33:37 +11:00
pseries.h powerpc/pseries: Re-implement HVSI as part of hvc_vio 2011-06-29 17:48:35 +10:00
pseries_energy.c powerpc: Add support for new hcall H_BEST_ENERGY 2010-11-29 15:48:19 +11:00
ras.c powerpc/pseries: Print corrupt r3 in FWNMI code 2011-05-19 14:30:43 +10:00
reconfig.c powerpc/pseries: Improve error code on reconfiguration notifier failure 2011-06-29 17:48:24 +10:00
scanlog.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
setup.c powerpc/pseries: Cleanup VPA registration and deregistration errors 2011-08-05 14:47:57 +10:00
smp.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
suspend.c suspend: constify platform_suspend_ops 2010-11-16 14:14:02 +01:00