1. 14 7月, 2008 24 次提交
  2. 13 7月, 2008 14 次提交
  3. 12 7月, 2008 2 次提交
    • J
      [SCSI] bsg: fix oops on remove · 8df5fc04
      James Bottomley 提交于
      If you do a modremove of any sas driver, you run into an oops on
      shutdown when the host is removed (coming from the host bsg device).
      The root cause seems to be that there's a use after free of the
      bsg_class_device:  In bsg_kref_release_function, this is used (to do a
      put_device(bcg->parent) after bcg->release has been called.  In sas (and
      possibly many other things) bcd->release frees the queue which contains
      the bsg_class_device, so we get a put_device on unreferenced memory.
      Fix this by taking a copy of the pointer to the parent before releasing
      bsg.
      Acked-by: NFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      8df5fc04
    • J
      [SCSI] fusion: default MSI to disabled for SPI and FC controllers · 27898988
      James Bottomley 提交于
      There's a fault on the FC controllers that makes them not respond
      correctly to MSI.  The SPI controllers are fine, but are likely to be
      onboard on older motherboards which don't handle MSI correctly, so
      default both these cases to disabled.  Enable by setting the module
      parameter mpt_msi_enable=1.
      
      For the SAS case, enable MSI by default, but it can be disabled by
      setting the module parameter mpt_msi_enable=0.
      
      Cc: "Prakash, Sathya" <sathya.prakash@lsi.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      27898988