1. 25 6月, 2013 2 次提交
  2. 19 4月, 2013 1 次提交
  3. 22 2月, 2013 1 次提交
  4. 04 12月, 2012 1 次提交
    • X
      megaraid: fix BUG_ON() from incorrect use of delayed work · c1d390d8
      Xiaotian Feng 提交于
      megaraid use INIT_WORK to declare a hotplug_work, but cast the
      hotplug_work from work_struct to delayed_work and
      schedule_delayed_work on it.  This is very dangerous, as other part of
      delayed_work might be kernel memories allocated by others.
      
      With commit 8852aac2 ("workqueue: mod_delayed_work_on() shouldn't queue
      timer on 0 delay"), schedule_delayed_work() will check dwork->timer
      before queue_work even when @delay is 0, this causes megaraid code to
      hit the BUG_ON() in workqueue code.  Change megaraid code to use
      delayed work.
      Signed-off-by: NXiaotian Feng <dannyfeng@tencent.com>
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Cc: Neela Syam Kolli <megaraidlinux@lsi.com>
      Cc: "James E.J. Bottomley" <JBottomley@parallels.com>
      Cc: linux-scsi@vger.kernel.org
      c1d390d8
  5. 09 10月, 2012 1 次提交
  6. 24 8月, 2012 2 次提交
  7. 24 4月, 2012 1 次提交
  8. 16 1月, 2012 2 次提交
  9. 17 10月, 2011 5 次提交
  10. 27 7月, 2011 1 次提交
  11. 25 5月, 2011 2 次提交
  12. 31 3月, 2011 1 次提交
  13. 01 3月, 2011 3 次提交
  14. 23 12月, 2010 4 次提交
  15. 22 12月, 2010 1 次提交
  16. 27 10月, 2010 2 次提交
  17. 08 10月, 2010 1 次提交
    • B
      [SCSI] megaraid_sas: Add Online Controller Reset to MegaRAID SAS drive · 39a98554
      bo yang 提交于
      To add the Online controller reset support, driver need to do:
      a). reset the controller chips -- Xscale and Gen2 which will change
      the function calls and add the reset function related to this two
      chips.
      b). during the reset, driver will store the pending cmds which not
      returned by FW to driver's pending queue.  Driver will re-issue those
      pending cmds again to FW after the OCR finished.
      c). In driver's timeout routine, driver will report to OS as reset.
      Also driver's queue routine will block the cmds until the OCR
      finished.
      d). in Driver's ISR routine, if driver get the FW state as state
      change, FW in Failure status and FW support online controller
      reset (OCR), driver will start to do the controller reset.
      e). In driver's IOCTL routine, the application cmds will wait for the
      OCR to finish, then issue the cmds to FW.
      
      Signed-off-by Bo Yang <bo.yang@lsi.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@suse.de>
      39a98554
  18. 18 2月, 2010 2 次提交
  19. 30 10月, 2009 7 次提交