1. 28 9月, 2014 1 次提交
  2. 22 8月, 2014 1 次提交
  3. 11 4月, 2014 4 次提交
  4. 26 2月, 2014 1 次提交
  5. 03 1月, 2014 1 次提交
    • J
      drivers/dma/ioat/dma.c: check DMA mapping error in ioat_dma_self_test() · 3532e566
      Jiang Liu 提交于
      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: NJiang 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: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      3532e566
  6. 15 11月, 2013 8 次提交
  7. 14 11月, 2013 1 次提交
  8. 25 10月, 2013 1 次提交
  9. 23 8月, 2013 2 次提交
  10. 04 7月, 2013 1 次提交
  11. 16 4月, 2013 5 次提交
  12. 15 4月, 2013 9 次提交
  13. 23 3月, 2013 1 次提交
  14. 14 2月, 2013 1 次提交
  15. 13 2月, 2013 1 次提交
    • D
      ioatdma: fix race between updating ioat->head and IOAT_COMPLETION_PENDING · 4dec23d7
      Dave Jiang 提交于
      There is a race that can hit during __cleanup() when the ioat->head pointer is
      incremented during descriptor submission. The __cleanup() can clear the
      PENDING flag when it does not see any active descriptors. This causes new
      submitted descriptors to be ignored because the COMPLETION_PENDING flag is
      cleared. This was introduced when code was adapted from ioatdma v1 to ioatdma
      v2. For v2 and v3, IOAT_COMPLETION_PENDING flag will be abandoned and a new
      flag IOAT_CHAN_ACTIVE will be utilized. This flag will also be protected under
      the prep_lock when being modified in order to avoid the race.
      Signed-off-by: NDave Jiang <dave.jiang@intel.com>
      Reviewed-by: NDan Williams <djbw@fb.com>
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      4dec23d7
  16. 08 1月, 2013 2 次提交