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
..
2015-03-18 22:13:14 +05:30
2016-05-02 15:31:05 +05:30
2016-05-19 11:47:18 -07:00
2016-05-14 13:36:52 +05:30
2015-09-16 15:47:51 +02:00
2015-03-16 22:28:15 +05:30
2016-05-14 11:54:45 +05:30
2016-03-03 21:51:14 +05:30
2016-05-19 11:47:18 -07:00
2016-02-22 09:06:09 +05:30
2016-04-05 16:53:41 -07:00
2015-11-16 09:21:05 +05:30
2015-11-16 09:21:05 +05:30
2016-05-30 10:47:52 +05:30
2016-05-02 15:08:19 +05:30
2013-02-26 09:24:48 -08:00
2015-08-05 10:53:52 +05:30
2013-01-07 17:36:37 +01:00
2015-04-11 21:12:58 +05:30
2015-11-16 08:28:52 +05:30
2015-04-24 09:49:37 -07:00
2015-08-18 22:28:50 +05:30
2016-05-17 10:13:40 +05:30
2012-03-13 11:37:22 +05:30
2015-05-28 11:32:10 +09:30
2016-05-19 11:47:18 -07:00
2016-01-25 09:49:55 +05:30
2015-04-02 16:11:35 +05:30
2015-04-02 16:10:27 +05:30
2015-12-05 15:52:13 +05:30
2016-05-03 12:23:25 +05:30
2015-01-13 23:58:08 +05:30
2016-02-15 22:06:45 +05:30
2016-03-24 23:13:48 -07:00
2015-12-18 11:12:29 +05:30
2015-08-05 10:53:52 +05:30
2015-11-16 09:14:25 +05:30
2016-03-09 14:57:51 +01:00
2015-08-05 10:53:52 +05:30
2016-05-17 10:15:34 +05:30
2015-08-18 22:12:14 +05:30
2016-05-13 14:56:24 +05:30
2016-03-03 21:13:01 +05:30
2015-08-05 10:53:52 +05:30
2016-05-03 12:23:11 +05:30
2015-08-05 10:53:52 +05:30
2015-10-01 07:34:31 +05:30
2016-04-04 09:50:10 -07:00
2016-06-07 12:44:23 +05:30
2016-05-03 12:27:47 +05:30
2015-05-04 16:38:55 +05:30
2015-05-04 16:38:55 +05:30
2016-05-14 13:34:10 +05:30
2016-04-05 09:09:42 -07:00
2015-07-06 19:18:53 +05:30
2016-03-01 09:11:25 +05:30
2016-04-26 21:59:46 +05:30
2015-05-04 16:38:55 +05:30
2015-04-17 23:24:35 +05:30
2016-03-04 20:31:35 +05:30
2013-06-04 11:12:10 +02:00
2013-05-23 21:13:19 +02:00
2015-12-10 09:17:10 +05:30
2015-12-10 09:45:22 +05:30
2016-05-27 15:26:11 -07:00
2016-05-02 15:59:02 +05:30
2016-05-02 15:23:56 +05:30
2016-05-13 14:56:24 +05:30
2015-11-30 15:09:16 +05:30
2015-07-06 19:18:53 +05:30
2014-07-15 22:14:30 +05:30
2014-12-22 12:33:22 +05:30
2014-11-24 22:46:44 +01:00
2015-11-16 08:32:16 +05:30
2016-01-06 15:17:47 +05:30
2016-01-07 11:09:36 +05:30
2015-11-10 10:05:17 -08:00