1. 15 Mar, 2014 3 commits
    • Eddie Wai's avatar
      [SCSI] bnx2fc: Fixed scsi_remove_target soft lockup when rmmod bnx2x · 06c4f20d
      Eddie Wai authored
      The problem has been identified to be a change in the scsi_remove_device
      path where a call to the pm_runtime_set_memalloc_noio was added when
      del_gendisk is called in this path.  Note that the new pm routine
      attempts to cycle through all parent devices from the FC target device
      to set the memalloc_noio flag.  Because of this new change, a dependency
      was created between the FC target device and the parent netdev device
      in the destroy path.
      
      In order to synchronized the destroy paths, bnx2fc has been modified
      to flush all destroy workqueues in the NETDEV_UNREGISTER return path.
      
      [    4.123584] BUG: soft lockup - CPU#8 stuck for 22s! [kworker/8:3:8082]
      [    4.123713] Call Trace:
      [    4.123719]  [<ffffffff815dfbe0>] klist_next+0x20/0xf0
      [    4.123725]  [<ffffffff813e9220>] ? pm_save_wakeup_count+0x70/0x70
      [    4.123731]  [<ffffffff813d9e4e>] device_for_each_child+0x4e/0x70
      [    4.123735]  [<ffffffff813e9554>] pm_runtime_set_memalloc_noio+0x94/0xf0
      [    4.123740]  [<ffffffff812d4d74>] del_gendisk+0x264/0x2a0
      [    4.123747]  [<ffffffffa00c6dc9>] sd_remove+0x69/0xb0 [sd_mod]
      [    4.123751]  [<ffffffff813de24f>] __device_release_driver+0x7f/0xf0
      [    4.123754]  [<ffffffff813de2e3>] device_release_driver+0x23/0x30
      [    4.123757]  [<ffffffff813ddab4>] bus_remove_device+0xf4/0x170
      [    4.123760]  [<ffffffff813da475>] device_del+0x135/0x1d0
      [    4.123765]  [<ffffffff81411b75>] __scsi_remove_device+0xc5/0xd0
      [    4.123768]  [<ffffffff81411ba6>] scsi_remove_device+0x26/0x40
      [    4.123770]  [<ffffffff81411d40>] scsi_remove_target+0x160/0x210
      [    4.123775]  [<ffffffffa0420e4c>] fc_rport_final_delete+0xac/0x1f0 [scsi_transport_fc]
      [    4.123780]  [<ffffffff810774ab>] process_one_work+0x17b/0x460
      [    4.123783]  [<ffffffff8107825b>] worker_thread+0x11b/0x400
      [    4.123786]  [<ffffffff81078140>] ? rescuer_thread+0x3e0/0x3e0
      [    4.123791]  [<ffffffff8107e9c0>] kthread+0xc0/0xd0
      [    4.123794]  [<ffffffff8107e900>] ? kthread_create_on_node+0x110/0x110
      [    4.123798]  [<ffffffff8160ceec>] ret_from_fork+0x7c/0xb0
      [    4.123801]  [<ffffffff8107e900>] ? kthread_create_on_node+0x110/0x110
      Signed-off-by: default avatarEddie Wai <eddie.wai@broadcom.com>
      Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
      06c4f20d
    • Viswas G's avatar
      [SCSI] pm80xx: Fixed return value issue · cf370066
      Viswas G authored
      pm80xx_get_gsm_dump() was returning "1" in error case
      instead of negative error value.
      Signed-off-by: default avatarViswas G <Viswas.G@pmcs.com>
      Reviewed-by: default avatarJack Wang <jinpu.wang@profitbricks.com>
      Reviewed-by: default avatarTomas Henzl <thenzl@redhat.com>
      Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
      cf370066
    • Viswas G's avatar
      [SCSI] pm80xx: Removing redundant code snippets · 859b5d10
      Viswas G authored
      Removed redundant code snippets in pm8001_hwi.c and
      pm8001_ctl.c
      Signed-off-by: default avatarViswas G <Viswas.G@pmcs.com>
      Reviewed-by: default avatarJack Wang <jinpu.wang@profitbricks.com>
      Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
      859b5d10
  2. 12 Mar, 2014 1 commit
  3. 10 Mar, 2014 5 commits
  4. 19 Feb, 2014 2 commits
    • Linus Torvalds's avatar
      Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux · 960dfc4e
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Lots of little small things, nothing too major: nouveau regression
        fixes, vmware fixes for the new hw support, memory leaks in error path
        fixes"
      
      * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux: (31 commits)
        drm/radeon/ni: fix typo in dpm sq ramping setup
        drm/radeon/si: fix typo in dpm sq ramping setup
        drm/radeon: fix CP semaphores on CIK
        drm/radeon: delete a stray tab
        drm/radeon: fix display tiling setup on SI
        drm/radeon/dpm: reduce r7xx vblank mclk threshold to 200
        drm/radeon: fill in DRM_CAPs for cursor size
        drm: add DRM_CAPs for cursor size
        drm/radeon: unify bpc handling
        drm/ttm: Fix memory leak in ttm_agp_backend.c
        drm/ttm: declare 'struct device' in ttm_page_alloc.h
        drm/nouveau: fix TTM_PL_TT memtype on pre-nv50
        drm/nv50/disp: use correct register to determine DP display bpp
        drm/nouveau/fb: use correct ram oclass for nv1a hardware
        drm/nv50/gr: add missing nv_error parameter priv
        drm/nouveau: fix ENG_RUNLIST register address
        drm/nv4c/bios: disallow retrieving from prom on nv4x igp's
        drm/nv4c/vga: decode register is in a different place on nv4x igp's
        drm/nv4c/mc: nv4x igp's have a different msi rearm register
        drm/nouveau: set irq_enabled manually
        ...
      960dfc4e
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid · 525b8709
      Linus Torvalds authored
      Pull HID update from Jiri Kosina:
      
       - fixes for several bugs in incorrect allocations of buffers by David
         Herrmann and Benjamin Tissoires.
      
       - support for a few new device IDs by Archana Patni, Benjamin
         Tissoires, Huei-Horng Yo, Reyad Attiyat and Yufeng Shen
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid:
        HID: hyperv: make sure input buffer is big enough
        HID: Bluetooth: hidp: make sure input buffers are big enough
        HID: hid-sensor-hub: quirk for STM Sensor hub
        HID: apple: add Apple wireless keyboard 2011 JIS model support
        HID: fix buffer allocations
        HID: multitouch: add FocalTech FTxxxx support
        HID: microsoft: Add ID's for Surface Type/Touch Cover 2
        HID: usbhid: quirk for CY-TM75 75 inch Touch Overlay
      525b8709
  5. 18 Feb, 2014 29 commits