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-10-09 20:04:04 -05:00
2013-11-20 13:20:24 -08:00
2014-01-02 14:40:30 -08:00
2013-11-13 14:10:48 +05:30
2013-12-12 22:43:41 -08:00
2013-11-28 13:46:00 +05:30
2013-08-25 16:43:45 +05:30
2013-12-04 11:22:05 +05:30
2013-12-12 22:43:41 -08:00
2013-11-16 12:02:36 +05:30
2013-02-26 09:24:48 -08:00
2013-10-25 11:15:56 +05:30
2013-01-07 17:36:37 +01:00
2013-11-12 14:28:25 +05:30
2013-10-25 11:15:58 +05:30
2013-12-13 00:57:03 -08:00
2012-03-13 11:37:22 +05:30
2013-12-12 22:43:41 -08:00
2013-11-20 13:20:24 -08:00
2013-11-14 11:04:38 -08:00
2013-12-12 22:43:41 -08:00
2013-11-13 14:26:27 +05:30
2013-10-31 22:36:13 +05:30
2013-11-20 13:20:24 -08:00
2012-09-01 08:57:12 -07:00
2013-10-25 11:16:04 +05:30
2013-11-16 12:02:36 +05:30
2013-10-25 11:16:07 +05:30
2013-12-18 12:53:43 -08:00
2013-10-08 06:42:10 +09:00
2013-11-28 13:39:11 +05:30
2013-11-20 13:20:24 -08:00
2013-10-09 20:04:04 -05:00
2013-12-12 22:48:53 -08:00
2013-11-14 11:04:42 -08:00
2013-11-13 15:38:31 +05:30
2013-08-19 14:45:05 +05:30
2013-10-25 11:16:11 +05:30
2013-09-02 11:59:58 +05:30
2013-12-18 10:08:56 -08:00
2013-12-04 11:24:30 +05:30
2013-10-25 11:16:13 +05:30
2013-08-13 17:01:01 +05:30
2013-06-04 11:12:10 +02:00
2013-05-23 21:13:19 +02:00
2013-10-25 11:16:15 +05:30
2013-10-25 11:16:16 +05:30
2013-11-14 11:04:38 -08:00
2011-07-14 04:02:08 +05:30
2013-12-12 22:43:41 -08:00
2012-03-13 11:36:06 +05:30
2012-07-01 14:15:23 +01:00
2012-07-01 14:15:23 +01:00