Andy Shevchenko
f2dbb2b5d9
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>
2019-03-13 14:03:21 -07:00
..
2017-11-02 11:10:55 +01:00
2018-12-13 09:18:52 +01:00
2017-01-19 14:20:23 +01:00
2018-11-13 11:14:59 -08:00
2017-01-02 10:48:44 +05:30
2018-11-13 11:15:05 -08:00
2018-05-30 07:52:37 +02:00
2018-05-30 07:52:36 +02:00
2019-02-12 19:45:59 +01:00
2016-02-22 09:06:09 +05:30
2017-10-20 11:51:10 +05:30
2017-08-28 21:11:08 +05:30
2015-11-16 09:21:05 +05:30
2018-12-05 19:41:25 +01:00
2019-03-13 14:03:21 -07:00
2019-02-12 19:46:11 +01:00
2017-08-28 16:44:24 +05:30
2016-09-26 22:28:24 +05:30
2016-10-03 09:17:33 +05:30
2018-12-13 09:18:52 +01:00
2016-07-01 22:56:41 +05:30
2018-02-25 11:08:03 +01:00
2018-11-13 11:15:00 -08:00
2017-08-28 09:39:46 +05:30
2017-11-02 11:10:55 +01:00
2019-03-13 14:03:21 -07:00
2017-09-21 22:51:07 +05:30
2017-05-24 09:52:46 +05:30
2017-06-29 09:25:28 +05:30
2018-03-03 10:24:22 +01:00
2017-08-22 09:22:11 +05:30
2017-06-22 18:31:35 +05:30
2016-02-15 22:06:45 +05:30
2016-03-24 23:13:48 -07:00
2016-12-12 22:25:22 +05:30
2019-02-12 19:46:12 +01:00
2017-05-30 11:52:58 +05:30
2016-08-08 08:11:39 +05:30
2018-08-24 13:09:08 +02:00
2017-07-18 22:04:54 +05:30
2015-08-18 22:12:14 +05:30
2017-11-02 11:10:55 +01:00
2016-12-12 22:25:22 +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
2018-09-26 08:38:05 +02:00
2017-08-22 09:22:11 +05:30
2016-11-25 11:16:36 +05:30
2017-06-15 09:44:45 +05:30
2017-08-22 09:22:11 +05:30
2017-07-19 09:30:44 +05:30
2017-06-20 11:45:01 +08:00
2016-12-12 22:25:22 +05:30
2018-09-26 08:38:00 +02:00
2016-10-18 20:14:32 +05:30
2016-12-12 22:25:22 +05:30
2016-09-26 22:29:26 +05:30
2016-12-12 22:25:22 +05:30
2016-10-19 22:29:33 +05:30
2016-10-18 20:12:06 +05:30
2016-06-08 08:59:55 +05:30
2017-09-06 21:55:10 +05:30
2018-11-13 11:15:05 -08:00
2017-04-24 09:50:05 +05:30
2017-09-05 09:07:20 +05:30
2017-06-30 11:13:44 +05:30
2017-08-09 11:39:16 +05:30
2018-03-24 11:01:28 +01:00
2016-08-08 08:11:41 +05:30
2016-08-08 08:11:41 +05:30
2017-04-26 09:03:27 +05:30
2016-10-01 11:41:39 +05:30
2017-08-22 22:13:44 +05:30
2017-01-25 15:33:45 +05:30