1. 12 1月, 2023 1 次提交
  2. 07 1月, 2023 1 次提交
    • J
      scsi: hisi_sas: Fix tag freeing for reserved tags · ea44242b
      Jason Yan 提交于
      The reserved tags were put in the lower region of the tagset in commit
      f7d190a9 ("scsi: hisi_sas: Put reserved tags in lower region of
      tagset"). However, only the allocate function was changed, freeing was not
      handled. This resulted in a failure to boot:
      
      [   33.467345] hisi_sas_v3_hw 0000:b4:02.0: task exec: failed[-132]!
      [   33.473413] sas: Executing internal abort failed 5000000000000603 (-132)
      [   33.480088] hisi_sas_v3_hw 0000:b4:02.0: I_T nexus reset: internal abort (-132)
      [   33.657336] hisi_sas_v3_hw 0000:b4:02.0: task exec: failed[-132]!
      [   33.663403] ata7.00: failed to IDENTIFY (I/O error, err_mask=0x40)
      [   35.787344] hisi_sas_v3_hw 0000:b4:04.0: task exec: failed[-132]!
      [   35.793411] sas: Executing internal abort failed 5000000000000703 (-132)
      [   35.800084] hisi_sas_v3_hw 0000:b4:04.0: I_T nexus reset: internal abort (-132)
      [   35.977335] hisi_sas_v3_hw 0000:b4:04.0: task exec: failed[-132]!
      [   35.983403] ata10.00: failed to IDENTIFY (I/O error, err_mask=0x40)
      [   35.989643] ata10.00: revalidation failed (errno=-5)
      
      Fixes: f7d190a9 ("scsi: hisi_sas: Put reserved tags in lower region of tagset")
      Cc: John Garry <john.g.garry@oracle.com>
      Cc: Xiang Chen <chenxiang66@hisilicon.com>
      Signed-off-by: NJason Yan <yanaijie@huawei.com>
      Reviewed-by: NJohn Garry <john.g.garry@oracle.com>
      Acked-by: NXiang Chen <chenxiang66@hisilicon.com>
      Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
      ea44242b
  3. 26 11月, 2022 3 次提交
  4. 22 10月, 2022 2 次提交
  5. 18 10月, 2022 3 次提交
  6. 07 9月, 2022 4 次提交
  7. 19 7月, 2022 2 次提交
  8. 20 5月, 2022 3 次提交
  9. 30 3月, 2022 1 次提交
  10. 15 3月, 2022 1 次提交
  11. 28 2月, 2022 1 次提交
    • X
      scsi: hisi_sas: Change hisi_sas_control_phy() phyup timeout · 512623de
      Xiang Chen 提交于
      The time of phyup not only depends on the controller but also the type of
      disk connected. As an example, from experience, for some SATA disks the
      amount of time from reset/power-on to receive the D2H FIS for phyup can
      take upto and more than 10s sometimes. According to the specification of
      some SATA disks such as ST14000NM0018, the max time from power-on to ready
      is 30s.
      
      Based on this the current timeout of phyup at 2s which is not enough. So
      set the value as HISI_SAS_WAIT_PHYUP_TIMEOUT (30s) in
      hisi_sas_control_phy().
      
      For v3 hw there is a pre-existing workaround for a HW bug, being that we
      issue a link reset when the OOB occurs but the phyup does not. The current
      phyup timeout is HISI_SAS_WAIT_PHYUP_TIMEOUT. So if this does occur from
      when issuing a phy enable or similar via hisi_sas_control_phy(), the
      subsequent HW workaround linkreset processing calls hisi_sas_control_phy(),
      but this will pend the original phy reset timing out, so it is safe.
      
      Link: https://lore.kernel.org/r/1645703489-87194-3-git-send-email-john.garry@huawei.comSigned-off-by: NXiang Chen <chenxiang66@hisilicon.com>
      Signed-off-by: NJohn Garry <john.garry@huawei.com>
      Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
      512623de
  12. 23 2月, 2022 1 次提交
  13. 20 2月, 2022 10 次提交
  14. 12 2月, 2022 1 次提交
  15. 01 2月, 2022 1 次提交
  16. 25 1月, 2022 1 次提交
  17. 07 1月, 2022 1 次提交
  18. 23 12月, 2021 3 次提交