Andy Shevchenko
d9abd00232
dmaengine: dmatest: Abort test in case of mapping error
[ Upstream commit 6454368a80 ]
In case of mapping error the DMA addresses are invalid and continuing
will screw system memory or potentially something else.
[ 222.480310] dmatest: dma0chan7-copy0: summary 1 tests, 3 failures 6 iops 349 KB/s (0)
...
[ 240.912725] check: Corrupted low memory at 00000000c7c75ac9 (2940 phys) = 5656000000000000
[ 240.921998] check: Corrupted low memory at 000000005715a1cd (2948 phys) = 279f2aca5595ab2b
[ 240.931280] check: Corrupted low memory at 000000002f4024c0 (2950 phys) = 5e5624f349e793cf
...
Abort any test if mapping failed.
Fixes: 4076e755db ("dmatest: convert to dmaengine_unmap_data")
Cc: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-15 11:50:56 +09:00
..
2016-09-14 18:57:38 +05:30
2016-10-06 17:13:54 -07:00
2016-09-15 21:15:40 +05:30
2023-05-15 09:20:17 +09:00
2017-03-12 06:41:52 +01:00
2016-10-03 09:36:11 +05:30
2018-05-30 07:50:48 +02:00
2018-05-30 07:50:48 +02:00
2023-05-15 11:22:27 +09:00
2016-02-22 09:06:09 +05:30
2016-06-21 21:35:00 +05:30
2015-11-16 09:21:05 +05:30
2023-05-15 10:05:22 +09:00
2023-05-15 11:50:52 +09:00
2023-05-15 11:23:56 +09:00
2016-09-26 22:28:24 +05:30
2016-10-03 09:17:33 +05:30
2013-01-07 17:36:37 +01:00
2023-05-15 10:26:50 +09:00
2016-07-01 22:56:41 +05:30
2018-02-25 11:05:49 +01:00
2023-05-15 09:20:21 +09:00
2017-12-20 10:07:21 +01:00
2016-08-08 08:11:42 +05:30
2023-05-15 11:50:56 +09:00
2017-10-18 09:35:38 +02:00
2017-06-14 15:05:57 +02:00
2016-10-06 17:13:54 -07:00
2015-04-02 16:10:27 +05:30
2018-03-03 10:23:20 +01:00
2016-10-03 09:36:11 +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
2016-08-22 11:57:49 +05:30
2023-05-15 11:23:56 +09:00
2018-04-13 19:48:12 +02:00
2016-08-08 08:11:39 +05:30
2023-05-12 17:05:27 +09:00
2016-10-18 20:32:56 +05:30
2015-08-18 22:12:14 +05:30
2016-07-12 10:09:53 +05:30
2016-08-08 08:11:39 +05:30
2015-08-05 10:53:52 +05:30
2016-08-08 08:11:39 +05:30
2016-10-03 09:17:33 +05:30
2016-09-05 16:40:52 +05:30
2016-10-03 09:17:33 +05:30
2023-05-15 08:20:05 +09:00
2016-10-03 09:36:11 +05:30
2016-09-15 21:13:59 +05:30
2016-10-03 09:18:29 +05:30
2016-08-08 08:11:40 +05:30
2016-05-14 13:34:10 +05:30
2017-01-19 20:18:03 +01:00
2016-08-08 08:11:40 +05:30
2023-05-15 08:19:15 +09:00
2016-08-19 16:17:26 +05:30
2016-10-03 09:16:03 +05:30
2016-09-26 22:29:26 +05:30
2016-10-03 09:18:29 +05:30
2016-06-08 08:59:55 +05:30
2013-05-23 21:13:19 +02:00
2016-10-03 09:35:55 +05:30
2017-12-09 22:01:50 +01:00
2016-05-27 15:26:11 -07:00
2016-11-14 10:35:58 +05:30
2016-08-08 08:11:41 +05:30
2016-08-22 11:55:05 +05:30
2018-03-24 11:00:26 +01:00
2016-08-08 08:11:41 +05:30
2014-07-15 22:14:30 +05:30
2016-08-08 08:11:41 +05:30
2014-11-24 22:46:44 +01:00
2016-08-08 08:11:41 +05:30
2016-10-01 11:41:39 +05:30
2016-08-08 08:11:43 +05:30
2018-02-25 11:05:53 +01:00