Lucas Stach
ebb853b1bd
Revert "dmaengine: imx-sdma: alloclate bd memory from dma pool"
...
This reverts commit fe5b85c656bc. The SDMA engine needs the descriptors to
be contiguous in memory. As the dma pool API is only able to provide a
single descriptor per alloc invocation there is no guarantee that multiple
descriptors satisfy this requirement. Also the code in question is broken
as it only allocates memory for a single descriptor, without looking at the
number of descriptors required for the transfer, leading to out-of-bounds
accesses when the descriptors are written.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2018-12-05 13:52:52 +05:30
..
2018-06-12 16:19:22 -07:00
2018-10-24 09:15:48 +01:00
2018-08-29 21:43:17 +05:30
2018-10-07 19:25:09 +05:30
2018-10-25 06:50:48 -07:00
2018-06-12 16:19:22 -07:00
2018-03-27 15:18:15 +05:30
2018-10-16 20:08:30 +05:30
2018-06-08 11:02:21 -07:00
2018-10-07 20:04:14 +05:30
2018-06-19 09:59:13 +05:30
2018-06-29 14:20:00 +05:30
2016-02-22 09:06:09 +05:30
2017-10-20 11:51:10 +05:30
2017-12-04 22:33:51 +05:30
2017-11-08 10:47:04 +05:30
2018-11-29 19:49:41 +05:30
2018-09-03 16:24:05 +05:30
2018-10-07 19:18:16 +05:30
2018-06-06 11:15:43 -07:00
2016-09-26 22:28:24 +05:30
2018-10-07 19:19:03 +05:30
2013-01-07 17:36:37 +01:00
2018-05-02 10:06:42 +05:30
2018-10-07 19:20:14 +05:30
2018-10-24 09:16:04 +01:00
2018-08-26 11:48:42 -07:00
2017-11-02 11:10:55 +01:00
2018-04-16 21:05:54 +05:30
2018-10-07 19:25:11 +05:30
2017-06-29 09:25:28 +05:30
2015-04-02 16:10:27 +05:30
2018-10-09 14:29:58 +05:30
2018-10-09 14:29:58 +05:30
2018-09-11 12:06:39 +05:30
2018-09-03 16:23:00 +05:30
2017-06-22 18:31:35 +05:30
2018-10-24 09:15:59 +01:00
2016-03-24 23:13:48 -07:00
2017-12-04 22:33:51 +05:30
2018-10-07 19:25:10 +05:30
2018-12-05 13:52:52 +05:30
2016-08-08 08:11:39 +05:30
2018-10-07 19:25:10 +05:30
2018-10-24 09:16:04 +01:00
2015-08-18 22:12:14 +05:30
2018-09-11 12:06:39 +05:30
2018-09-18 12:15:45 -07:00
2018-08-27 11:16:04 +05:30
2015-08-05 10:53:52 +05:30
2016-08-08 08:11:39 +05:30
2018-10-24 09:15:43 +01:00
2018-06-06 11:15:43 -07:00
2016-10-03 09:17:33 +05:30
2018-07-25 17:53:22 +05:30
2018-09-03 16:23:31 +05:30
2016-11-25 11:16:36 +05:30
2018-08-29 21:43:18 +05:30
2018-10-24 09:16:22 +01:00
2017-07-19 09:30:44 +05:30
2018-10-15 22:39:16 +05:30
2017-10-31 17:01:06 +05:30
2018-08-18 15:55:59 -07:00
2018-09-11 11:40:35 +05:30
2018-07-07 17:52:26 +02:00
2018-06-06 11:15:43 -07:00
2016-12-12 22:25:22 +05:30
2018-09-03 16:58:50 +05:30
2018-08-29 21:43:17 +05:30
2016-10-18 20:12:06 +05:30
2016-06-08 08:59:55 +05:30
2013-05-23 21:13:19 +02:00
2018-08-29 21:43:17 +05:30
2018-10-02 20:32:15 +05:30
2018-03-22 10:51:35 +05:30
2018-08-29 21:43:17 +05:30
2017-04-24 09:50:05 +05:30
2017-10-23 11:44:03 +05:30
2017-11-29 19:35:05 +05:30
2017-08-09 11:39:16 +05:30
2018-10-02 20:11:09 +05:30
2014-07-15 22:14:30 +05:30
2018-04-22 21:38:06 +05:30
2014-11-24 22:46:44 +01:00
2017-12-04 22:33:51 +05:30
2017-12-04 22:33:51 +05:30
2017-08-22 22:13:44 +05:30
2018-06-12 16:19:22 -07:00