1. 09 11月, 2016 1 次提交
  2. 25 10月, 2016 1 次提交
  3. 19 9月, 2016 1 次提交
  4. 15 9月, 2016 1 次提交
  5. 31 8月, 2016 1 次提交
  6. 24 8月, 2016 1 次提交
  7. 11 8月, 2016 1 次提交
    • Y
      megaraid_sas: Fix probing cards without io port · e7f85168
      Yinghai Lu 提交于
      Found one megaraid_sas HBA probe fails,
      
      [  187.235190] scsi host2: Avago SAS based MegaRAID driver
      [  191.112365] megaraid_sas 0000:89:00.0: BAR 0: can't reserve [io  0x0000-0x00ff]
      [  191.120548] megaraid_sas 0000:89:00.0: IO memory region busy!
      
      and the card has resource like,
      [  125.097714] pci 0000:89:00.0: [1000:005d] type 00 class 0x010400
      [  125.104446] pci 0000:89:00.0: reg 0x10: [io  0x0000-0x00ff]
      [  125.110686] pci 0000:89:00.0: reg 0x14: [mem 0xce400000-0xce40ffff 64bit]
      [  125.118286] pci 0000:89:00.0: reg 0x1c: [mem 0xce300000-0xce3fffff 64bit]
      [  125.125891] pci 0000:89:00.0: reg 0x30: [mem 0xce200000-0xce2fffff pref]
      
      that does not io port resource allocated from BIOS, and kernel can not
      assign one as io port shortage.
      
      The driver is only looking for MEM, and should not fail.
      
      It turns out megasas_init_fw() etc are using bar index as mask.  index 1
      is used as mask 1, so that pci_request_selected_regions() is trying to
      request BAR0 instead of BAR1.
      
      Fix all related reference.
      
      Fixes: b6d5d880 ("megaraid_sas: Use lowest memory bar for SR-IOV VF support")
      Signed-off-by: NYinghai Lu <yinghai@kernel.org>
      Acked-by: NKashyap Desai <kashyap.desai@broadcom.com>
      Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
      e7f85168
  8. 14 7月, 2016 1 次提交
    • S
      megaraid_sas: Do not fire MR_DCMD_PD_LIST_QUERY to controllers which do not support it · d9083160
      Sumit Saxena 提交于
      There was an issue reported by Lucz Geza on Dell Perc 6i. As per issue
      reported, megaraid_sas driver goes into an infinite error reporting loop
      as soon as there is a change in the status of one of the
      arrays (degrade, resync online etc ).  Below are the error logs reported
      continuously-
      
      Jun 25 08:49:30 ns8 kernel: [  757.757017] megaraid_sas 0000:02:00.0: DCMD failed/not supported by firmware: megasas_get_pd_list 4115
      Jun 25 08:49:30 ns8 kernel: [  757.778017] megaraid_sas 0000:02:00.0: DCMD failed/not supported by firmware: megasas_get_pd_list 4115
      Jun 25 08:49:30 ns8 kernel: [  757.799017] megaraid_sas 0000:02:00.0: DCMD failed/not supported by firmware: megasas_get_pd_list 4115
      Jun 25 08:49:30 ns8 kernel: [  757.820018] megaraid_sas 0000:02:00.0: DCMD failed/not supported by firmware: megasas_get_pd_list 4115
      Jun 25 08:49:30 ns8 kernel: [  757.841018] megaraid_sas 0000:02:00.0: DCMD failed/not supported by firmware: megasas_get_pd_list 4115
      
      This issue is very much specific to controllers which do not support
      DCMD- MR_DCMD_PD_LIST_QUERY.  In case of any hotplugging/rescanning of
      drives, AEN thread will be scheduled by driver and fire DCMD-
      MR_DCMD_PD_LIST_QUERY and if this DCMD is failed then driver will fail
      this event processing and will not go ahead for further events. This
      will cause infinite loop of same event getting retried infinitely and
      causing above mentioned logs.
      
      Fix for this problem is: not to fire DCMD MR_DCMD_PD_LIST_QUERY for
      controllers which do not support it and send DCMD SUCCESS status to AEN
      function so that it can go ahead with other event processing.
      Reported-by: NLucz Geza <geza@lucz.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NSumit Saxena <sumit.saxena@broadcom.com>
      Reviewed-by: NTomas Henzl <thenzl@redhat.com>
      Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
      d9083160
  9. 06 5月, 2016 1 次提交
  10. 16 4月, 2016 2 次提交
  11. 19 3月, 2016 1 次提交
  12. 11 3月, 2016 1 次提交
  13. 24 2月, 2016 14 次提交
  14. 10 11月, 2015 2 次提交
  15. 03 11月, 2015 1 次提交
  16. 29 10月, 2015 10 次提交