linux_old1/drivers/dma
Akinobu Mita 8be9e32b31 dmatest: adjust invalid module parameters for number of source buffers
DMA Engine test module has module parameters to set the number of source
buffers for xor and pq operations.  We can set these values larger than the
maximum number of sources that the device can support.  These values are
not adjusted and the unsupported number of source buffers are passed to the
device.  But most drivers don't check it, so unexpected results will happen.

This makes an appropriate adjustment for these module parameters before use.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Vinod Koul <vinod.koul@intel.com>
Cc: Dan Williams <djbw@fb.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
2013-01-07 22:04:55 -08:00
..
ioat Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2012-12-12 18:07:07 -08:00
ipu dma: ipu: rename mach/ipu.h to include/linux/dma/ipu-dma.h 2012-10-15 10:03:12 +08:00
ppc4xx dma: remove use of __devinit 2012-11-28 12:42:36 -08:00
sh dma: remove use of __devinit 2012-11-28 12:42:36 -08:00
Kconfig dmaengine: dw_dmac: remove CLK dependency 2013-01-07 22:04:47 -08:00
Makefile dmaengine: mmp-pdma support 2012-09-14 08:14:07 +05:30
TODO dmaengine: remove ste_dma40 from issue_pending TODO 2011-07-14 04:02:08 +05:30
amba-pl08x.c dma: amba-pl08x: use vchan_dma_desc_free_list 2013-01-07 22:04:54 -08:00
at_hdmac.c Sound updates for 3.7-rc1 2012-10-09 07:07:14 +09:00
at_hdmac_regs.h ARM: at91: move platform_data definitions 2012-09-14 11:16:40 +02:00
coh901318.c dma: coh901318: use devm allocation 2012-06-14 08:42:26 +05:30
coh901318_lli.c dmaengine: Use sg_dma_address instead of sg_phys 2012-05-11 12:04:38 +05:30
coh901318_lli.h dmaengine: move drivers to dma_transfer_direction 2011-10-27 20:53:43 +05:30
dmaengine.c dmaengine: add helper function to request a slave DMA channel 2013-01-06 20:57:45 -08:00
dmaengine.h dmaengine: consolidate initialization of cookies 2012-03-13 11:37:22 +05:30
dmatest.c dmatest: adjust invalid module parameters for number of source buffers 2013-01-07 22:04:55 -08:00
dw_dmac.c dw_dmac: introduce to_dw_desc() macro 2013-01-07 22:04:52 -08:00
dw_dmac_regs.h dw_dmac: introduce to_dw_desc() macro 2013-01-07 22:04:52 -08:00
edma.c dma: remove use of __devinit 2012-11-28 12:42:36 -08:00
ep93xx_dma.c Sound updates for 3.7-rc1 2012-10-09 07:07:14 +09:00
fsldma.c dma: remove use of __devinit 2012-11-28 12:42:36 -08:00
fsldma.h dmaengine: move last completed cookie into generic dma_chan structure 2012-03-13 11:36:06 +05:30
imx-dma.c Merge branch 'arm-next' of git://git.xilinx.com/linux-xlnx into next/cleanup 2012-11-06 07:51:06 -08:00
imx-sdma.c dma: imx-sdma: remove unneeded mach/hardware.h inclusion 2012-10-15 10:03:13 +08:00
intel_mid_dma.c dma: remove use of __devinit 2012-11-28 12:42:36 -08:00
intel_mid_dma_regs.h dma: fix comments 2012-09-01 08:57:12 -07:00
iop-adma.c dma: remove use of __devinit 2012-11-28 12:42:36 -08:00
iovlock.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
mmp_pdma.c dma: remove use of __devinit 2012-11-28 12:42:36 -08:00
mmp_tdma.c dma: remove use of __devinit 2012-11-28 12:42:36 -08:00
mpc512x_dma.c dma: remove use of __devinit 2012-11-28 12:42:36 -08:00
mv_xor.c ARM: arm-soc: Updates for Marvell mvebu/kirkwood 2012-12-14 14:54:26 -08:00
mv_xor.h dma: mv_xor: clear the window override control registers 2012-11-22 18:16:37 +01:00
mxs-dma.c Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma 2012-10-10 11:10:41 +09:00
omap-dma.c ARM: OMAP: Move plat-omap/dma-omap.h to include/linux/omap-dma.h 2012-11-30 08:41:50 -08:00
pch_dma.c pch_dma: use module_pci_driver to simplify the code 2013-01-06 20:57:46 -08:00
pl330.c dma: remove use of __devinit 2012-11-28 12:42:36 -08:00
sa11x0-dma.c dma: remove use of __devinit 2012-11-28 12:42:36 -08:00
sirf-dma.c dma: remove use of __devinit 2012-11-28 12:42:36 -08:00
ste_dma40.c ARM: plat-nomadik: move DMA40 header to <linux/platform_data> 2012-11-05 09:55:32 +01:00
ste_dma40_ll.c ARM: plat-nomadik: move DMA40 header to <linux/platform_data> 2012-11-05 09:55:32 +01:00
ste_dma40_ll.h dma: fix comments 2012-09-01 08:57:12 -07:00
tegra20-apb-dma.c dma: remove use of __devinit 2012-11-28 12:42:36 -08:00
timb_dma.c dma: remove use of __devinit 2012-11-28 12:42:36 -08:00
txx9dmac.c dmaengine: add context parameter to prep_slave_sg and prep_dma_cyclic 2012-03-21 19:20:23 +05:30
txx9dmac.h dmaengine: move last completed cookie into generic dma_chan structure 2012-03-13 11:36:06 +05:30
virt-dma.c dmaengine: virt-dma: add support for cyclic DMA periodic callbacks 2012-07-01 14:15:23 +01:00
virt-dma.h dmaengine: virt-dma: add support for cyclic DMA periodic callbacks 2012-07-01 14:15:23 +01:00