1. 10 Mar, 2009 2 commits
  2. 10 Feb, 2009 1 commit
  3. 25 Jan, 2009 4 commits
  4. 13 Jan, 2009 1 commit
  5. 07 Jan, 2009 4 commits
  6. 29 Dec, 2008 5 commits
  7. 05 Nov, 2008 1 commit
  8. 20 Oct, 2008 1 commit
  9. 13 Oct, 2008 1 commit
  10. 03 Oct, 2008 2 commits
  11. 13 Sep, 2008 1 commit
    • Andrew Vasquez's avatar
      [SCSI] qla2xxx: Defer enablement of RISC interrupts until ISP initialization completes. · 048feec5
      Andrew Vasquez authored
      Josip Rodin noted
      (http://article.gmane.org/gmane.linux.ports.sparc/10152
      
      ) the
      driver oopsing during registration of an rport to the
      FC-transport layer with a backtrace indicating a dereferencing of
      an shost->shost_data equal to NULL.  David Miller identified a
      small window in driver logic where this could happen:
      
          > Look at how the driver registers the IRQ handler before the host has
          > been registered with the SCSI layer.
          >
          > That leads to a window of time where the shost hasn't been setup
          > fully, yet ISRs can come in and trigger DPC thread events, such as
          > loop resyncs, which expect the transport area to be setup.
          >
          > But it won't be setup, because scsi_add_host() hasn't finished yet.
          >
          > Note that in Josip's crash log, we don't even see the
          >
          >         qla_printk(KERN_INFO, ha, "\n"
          >             " QLogic Fibre Channel HBA Driver: %s\n"
          >             "  QLogic %s - %s\n"
          >             "  ISP%04X: %s @ %s hdma%c, host#=%ld, fw=%s\n",
          >  ...
          >
          > message yet.
          >
          > Which means that the crash occurs between qla2x00_request_irqs()
          > and printing that message.
      
      Close this window by enabling RISC interrupts after the host has
      been registered with the SCSI midlayer.
      Reported-by: default avatarJosip Rodin <joy@entuzijast.net>
      Cc: Stable Tree <stable@kernel.org>
      Signed-off-by: default avatarAndrew Vasquez <andrew.vasquez@qlogic.com>
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
      048feec5
  12. 16 Aug, 2008 3 commits
  13. 26 Jul, 2008 8 commits
  14. 30 May, 2008 1 commit
  15. 15 May, 2008 3 commits
  16. 27 Apr, 2008 2 commits