kernel_optimize_test/drivers/dma
Stefan Roese 5156463588 dmaengine: mv_xor: Fix incorrect offset in dma_map_page()
Upon booting, I occasionally spotted some BUGs triggered by the internal
DMA test routine executed upon driver probing. This was detected by
SLUB_DEBUG ("Freechain corrupt" or "Redzone overwritten"). Tracking
this down located a problem in passing 0 as offset in dma_map_page().
As kmalloc, especially when used with SLUB_DEBUG, may return a non page
aligned address.

This patch fixes this issue by passing the correct offset in
dma_map_page().

Tested on a custom Armada XP board.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Gregory CLEMENT <gregory.clement@free-electrons.com>
Cc: Marcin Wojtas <mw@semihalf.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
2016-06-07 12:44:23 +05:30
..
bestcomm
dw dmaengine: dw: pass platform data via struct dw_dma_chip 2016-05-02 15:31:05 +05:30
hsu dmaengine updates for 4.7 2016-05-19 11:47:18 -07:00
ioat dmaengine: ioatdma: disable relaxed ordering for ioatdma 2016-05-14 13:36:52 +05:30
ipu
ppc4xx
qcom dmaengine: qcom_hidma: add support for object hierarchy 2016-05-14 11:54:45 +05:30
sh dmaengine: rcar-dmac: clear pertinence number of channels 2016-03-03 21:51:14 +05:30
xilinx dmaengine updates for 4.7 2016-05-19 11:47:18 -07:00
acpi-dma.c dmaengine: acpi-dma: align debug message with flow 2016-02-22 09:06:09 +05:30
amba-pl08x.c dmaengine: pl08x: allocate OF slave channel data at probe time 2016-04-05 16:53:41 -07:00
at_hdmac_regs.h
at_hdmac.c
at_xdmac.c dmaengine: at_xdmac: double FIFO flush needed to compute residue 2016-05-30 10:47:52 +05:30
bcm2835-dma.c dmaengine: bcm2835: fix typo/added newline in legacy-mode warning message 2016-05-02 15:08:19 +05:30
coh901318_lli.c
coh901318.c
coh901318.h
cppi41.c
dma-axi-dmac.c
dma-jz4740.c
dma-jz4780.c
dmaengine.c Merge branch 'topic/core' into for-linus 2016-05-17 10:13:40 +05:30
dmaengine.h
dmatest.c
edma.c dmaengine updates for 4.7 2016-05-19 11:47:18 -07:00
ep93xx_dma.c dmaengine: ep93xx: Treat STALL and NFB IRQs same way 2016-01-25 09:49:55 +05:30
fsl_raid.c
fsl_raid.h
fsl-edma.c
fsldma.c dmaengine: fsldma: Use dma_pool_zalloc 2016-05-03 12:23:25 +05:30
fsldma.h
idma64.c dmaengine: idma64: clear LLP_[SD]_EN bits in last descriptor 2016-02-15 22:06:45 +05:30
idma64.h asm-generic changes for 4.6 2016-03-24 23:13:48 -07:00
img-mdc-dma.c
imx-dma.c
imx-sdma.c
iop-adma.c dma, mm/pat: Rename dma_*_writecombine() to dma_*_wc() 2016-03-09 14:57:51 +01:00
k3dma.c
Kconfig Merge branch 'topic/xilinx' into for-linus 2016-05-17 10:15:34 +05:30
lpc18xx-dmamux.c
Makefile dmaengine: tegra-adma: Add support for Tegra210 ADMA 2016-05-13 14:56:24 +05:30
mic_x100_dma.c dma/mic_x100_dma: IS_ERR() vs PTR_ERR() typo 2016-03-03 21:13:01 +05:30
mic_x100_dma.h
mmp_pdma.c dmaengine: mmp_pdma: Use dma_pool_zalloc 2016-05-03 12:23:11 +05:30
mmp_tdma.c
moxart-dma.c
mpc512x_dma.c dmaengine: mpc512x: Fix code style 2016-04-04 09:50:10 -07:00
mv_xor.c dmaengine: mv_xor: Fix incorrect offset in dma_map_page() 2016-06-07 12:44:23 +05:30
mv_xor.h dmaengine: mv_xor: use SoC type instead of directly the operation mode 2016-05-03 12:27:47 +05:30
mxs-dma.c
nbpfaxi.c
of-dma.c dmaengine: of_dma: approximate an average distribution 2016-05-14 13:34:10 +05:30
omap-dma.c dmaengine: omap-dma: Do not suppress interrupts for memcpy 2016-04-05 09:09:42 -07:00
pch_dma.c
pl330.c dmaengine: pl330: fix to support the burst mode 2016-03-01 09:11:25 +05:30
pxa_dma.c dmaengine: pxa_dma: remove duplicate const qualifier 2016-04-26 21:59:46 +05:30
s3c24xx-dma.c
sa11x0-dma.c
sirf-dma.c dmaengine: sirf: use __maybe_unused to hide pm functions 2016-03-04 20:31:35 +05:30
ste_dma40_ll.c
ste_dma40_ll.h
ste_dma40.c
stm32-dma.c
sun4i-dma.c remove lots of IS_ERR_VALUE abuses 2016-05-27 15:26:11 -07:00
sun6i-dma.c dmaengine: sun6i: Add cyclic capability 2016-05-02 15:59:02 +05:30
tegra20-apb-dma.c dmaengine: tegra-apb: proper default init of channel slave_id 2016-05-02 15:23:56 +05:30
tegra210-adma.c dmaengine: tegra-adma: Add support for Tegra210 ADMA 2016-05-13 14:56:24 +05:30
ti-dma-crossbar.c
timb_dma.c
TODO
txx9dmac.c
txx9dmac.h
virt-dma.c
virt-dma.h Merge branch 'topic/async' into for-linus 2016-01-06 15:17:47 +05:30
xgene-dma.c dmaengine: xgene-dma: Fix double IRQ issue by setting IRQ_DISABLE_UNLAZY flag 2016-01-07 11:09:36 +05:30
zx296702_dma.c