Jiang Liu
3532e5660f
drivers/dma/ioat/dma.c: check DMA mapping error in ioat_dma_self_test()
Check DMA mapping return values in function ioat_dma_self_test() to get
rid of following warning message.
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1203 at lib/dma-debug.c:937 check_unmap+0x4c0/0x9a0()
ioatdma 0000:00:04.0: DMA-API: device driver failed to check map error[device address=0x000000085191b000] [size=2000 bytes] [mapped as single]
Modules linked in: ioatdma(+) mac_hid wmi acpi_pad lp parport hidd_generic usbhid hid ixgbe isci dca libsas ahci ptp libahci scsi_transport_sas meegaraid_sas pps_core mdio
CPU: 0 PID: 1203 Comm: systemd-udevd Not tainted 3.13.0-rc4+ #8
Hardware name: Intel Corporation BRICKLAND/BRICKLAND, BIOS BRIVTIIN1.86B.0044.L09.1311181644 11/18/2013
Call Trace:
dump_stack+0x4d/0x66
warn_slowpath_common+0x7d/0xa0
warn_slowpath_fmt+0x4c/0x50
check_unmap+0x4c0/0x9a0
debug_dma_unmap_page+0x81/0x90
ioat_dma_self_test+0x3d2/0x680 [ioatdma]
ioat3_dma_self_test+0x12/0x30 [ioatdma]
ioat_probe+0xf4/0x110 [ioatdma]
ioat3_dma_probe+0x268/0x410 [ioatdma]
ioat_pci_probe+0x122/0x1b0 [ioatdma]
local_pci_probe+0x45/0xa0
pci_device_probe+0xd9/0x130
driver_probe_device+0x171/0x490
__driver_attach+0x93/0xa0
bus_for_each_dev+0x6b/0xb0
driver_attach+0x1e/0x20
bus_add_driver+0x1f8/0x2b0
driver_register+0x81/0x110
__pci_register_driver+0x60/0x70
ioat_init_module+0x89/0x1000 [ioatdma]
do_one_initcall+0xe2/0x250
load_module+0x2313/0x2a00
SyS_init_module+0xd9/0x130
system_call_fastpath+0x1a/0x1f
---[ end trace 990c591681d27c31 ]---
Mapped at:
debug_dma_map_page+0xbe/0x180
ioat_dma_self_test+0x1ab/0x680 [ioatdma]
ioat3_dma_self_test+0x12/0x30 [ioatdma]
ioat_probe+0xf4/0x110 [ioatdma]
ioat3_dma_probe+0x268/0x410 [ioatdma]
Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Cc: Vinod Koul <vinod.koul@intel.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-01-02 14:40:30 -08:00
..
2013-12-29 13:35:04 -08:00
2013-10-31 14:48:38 +00:00
2013-12-24 09:35:58 -08:00
2013-11-19 15:53:02 -05:00
2013-10-29 12:53:07 +02:00
2013-12-08 01:04:17 +01:00
2013-11-13 17:40:34 +09:00
2013-12-24 10:06:03 -08:00
2013-12-04 11:11:49 -02:00
2013-11-14 08:51:29 +09:00
2013-12-08 18:47:25 -08:00
2013-12-16 11:30:39 +00:00
2013-12-10 19:49:18 +01:00
2013-11-14 17:19:20 -05:00
2013-12-22 00:51:52 +01:00
2013-12-03 22:05:22 +01:00
2014-01-01 14:06:23 +08:00
2013-11-07 19:24:20 +01:00
2014-01-02 14:40:30 -08:00
2013-11-30 12:26:36 +01:00
2013-11-26 15:17:23 +09:00
2013-12-15 16:32:32 +01:00
2013-12-29 13:35:04 -08:00
2013-12-17 11:47:40 -08:00
2013-12-23 11:31:44 -05:00
2013-12-13 13:21:28 -08:00
2013-12-12 11:05:19 -08:00
2013-12-12 22:48:22 +01:00
2013-11-20 13:25:04 -08:00
2013-12-19 11:47:39 -08:00
2013-12-17 20:37:14 +00:00
2013-12-30 09:33:30 -08:00
2013-12-31 10:53:19 -08:00
2013-12-06 16:44:25 +00:00
2013-12-20 11:28:30 -08:00
2013-11-20 21:52:30 -05:00
2013-12-02 11:53:17 -08:00
2013-11-07 12:13:05 +10:30
2013-11-27 11:35:47 +11:00
2013-12-24 10:06:03 -08:00
2013-12-10 05:40:57 -02:00
2013-11-15 09:32:21 +09:00
2013-11-13 12:09:26 +09:00
2013-12-12 18:19:26 -08:00
2013-12-08 18:47:25 -08:00
2013-11-26 15:51:16 -08:00
2013-12-12 15:02:04 -08:00
2013-12-29 22:37:00 -05:00
2013-11-26 11:15:12 -08:00
2013-12-30 12:09:47 -06:00
2013-11-15 14:05:15 -08:00
2013-12-15 11:56:47 -08:00
2013-11-12 16:52:17 +09:00
2013-12-10 12:53:30 -08:00
2013-12-27 00:43:24 +01:00
2013-11-26 13:03:36 +09:00
2013-12-05 02:01:55 +01:00
2013-11-18 15:35:09 -08:00
2013-12-22 01:27:51 +01:00
2013-11-13 12:09:35 +09:00
2013-11-01 11:17:57 +01:00
2013-12-16 11:30:39 +00:00
2013-10-29 11:28:11 +10:30
2013-12-12 18:19:26 -08:00
2013-12-02 15:31:07 +01:00
2013-12-19 14:50:17 -08:00
2013-11-28 11:31:35 +00:00
2013-12-17 17:12:55 -08:00
2013-12-19 14:49:54 -08:00
2013-11-19 15:50:47 -08:00
2013-12-17 16:02:25 -08:00
2013-12-02 11:50:37 -08:00
2013-12-17 13:22:36 -08:00
2013-11-07 11:42:15 +09:00
2013-11-22 10:52:03 -08:00
2013-12-09 19:21:39 -08:00
2013-12-05 13:12:39 +10:30
2013-11-15 09:32:21 +09:00
2013-12-10 08:48:15 +01:00
2013-12-20 09:34:54 -08:00
2013-11-14 13:41:48 +09:00
2013-11-14 13:41:48 +09:00