1. 25 5月, 2015 30 次提交
  2. 19 5月, 2015 2 次提交
  3. 12 5月, 2015 2 次提交
  4. 28 4月, 2015 5 次提交
  5. 18 4月, 2015 1 次提交
    • J
      mvsas: fix panic on expander attached SATA devices · 56cbd0cc
      James Bottomley 提交于
      mvsas is giving a General protection fault when it encounters an expander
      attached ATA device.  Analysis of mvs_task_prep_ata() shows that the driver is
      assuming all ATA devices are locally attached and obtaining the phy mask by
      indexing the local phy table (in the HBA structure) with the phy id.  Since
      expanders have many more phys than the HBA, this is causing the index into the
      HBA phy table to overflow and returning rubbish as the pointer.
      
      mvs_task_prep_ssp() instead does the phy mask using the port properties.
      Mirror this in mvs_task_prep_ata() to fix the panic.
      Reported-by: NAdam Talbot <ajtalbot1@gmail.com>
      Tested-by: NAdam Talbot <ajtalbot1@gmail.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
      56cbd0cc