1. 07 1月, 2017 1 次提交
  2. 14 12月, 2016 1 次提交
    • A
      ata: avoid probing NCQ Prio Support if not explicitly requested · 9f56eca3
      Adam Manzanares 提交于
      Previously, when the ata device was being initialized we were
      probing for NCQ prio support by checking the identify information
      and also checking the log page that holds information about ncq prio
      support.
      
      This caused an error on an Intel HBA so the code is now updated to
      only probe for NCQ prio support when the sysfs variable controlling
      NCQ prio support is enabled.
      
      tj: Update formatting, switch to spin_[un]lock_irq() and update
          locking a bit, use REVALIDATE instead of RESET, and return -EIO
          instead of -EINVAL on config failure.
      Signed-off-by: NAdam Manzanares <adam.manzanares@wdc.com>
      Signed-off-by: NTejun Heo <tj@kernel.org>
      9f56eca3
  3. 24 10月, 2016 1 次提交
  4. 20 10月, 2016 3 次提交
  5. 19 7月, 2016 2 次提交
  6. 14 7月, 2016 2 次提交
  7. 12 7月, 2016 1 次提交
  8. 20 6月, 2016 1 次提交
    • S
      leds: convert IDE trigger to common disk trigger · eb25cb99
      Stephan Linz 提交于
      This patch converts the IDE specific LED trigger to a generic disk
      activity LED trigger. The libata core is now a trigger source just
      like before the IDE disk driver. It's merely a replacement of the
      string ide by disk.
      
      The patch is taken from http://dev.gentoo.org/~josejx/ata.patch and is
      widely used by any ibook/powerbook owners with great satisfaction.
      Likewise, it is very often used successfully on different ARM platforms.
      
      Unlike the original patch, the existing 'ide-disk' trigger is still
      available for backward compatibility. That reduce the amount of patches
      in affected device trees out of the mainline kernel. For further
      development, the new name 'disk-activity' should be used.
      
      Cc: Joseph Jezak <josejx@gentoo.org>
      Cc: Jörg Sommer <joerg@alea.gnuu.de>
      Cc: Richard Purdie <rpurdie@rpsys.net>
      Signed-off-by: NStephan Linz <linz@li-pro.net>
      Signed-off-by: NJacek Anaszewski <j.anaszewski@samsung.com>
      eb25cb99
  9. 10 5月, 2016 4 次提交
  10. 14 4月, 2016 1 次提交
  11. 05 4月, 2016 3 次提交
  12. 26 1月, 2016 1 次提交
  13. 09 1月, 2016 1 次提交
  14. 08 1月, 2016 1 次提交
  15. 07 12月, 2015 1 次提交
    • H
      ata: core: fix irq description on AHCI single irq systems · 7e22c002
      Heiner Kallweit 提交于
      On my machine with single irq AHCI just the PCI id is printed as
      description in /proc/interrupts.
      I found a related discussion from beginning of this year:
      http://www.gossamer-threads.com/lists/linux/kernel/2117335
      
      Seems like 4f37b504 ("libata: Use dev_name() for request_irq() to
      distinguish devices") tried to fix displaying a proper interrupt
      description for one scenario but broke it for another one.
      
      The mentioned discussion ended in the current situation being
      considered as broken but w/o a patch to fix it.
      
      The following patch is based on a proposal in this mail thread.
      Now the interrupt is properly described as:
      PCI-MSI 512000-edge      ahci[0000:00:1f.2]
      
      By combining both values also the scenario that commit 4f37b504
      ("libata: Use dev_name() for request_irq() to distinguish devices")
      refers to should still be fine. There it should look like this now:
      ahci[20100000.ide]
      
      Using managed memory allocation ensures that the irq description
      lives at least as long as the interrupt.
      Signed-off-by: NHeiner Kallweit <hkallweit1@gmail.com>
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
      7e22c002
  16. 26 8月, 2015 1 次提交
  17. 10 8月, 2015 1 次提交
  18. 04 8月, 2015 1 次提交
    • T
      Revert "libata: Implement support for sense data reporting" · 84ded2f8
      Tejun Heo 提交于
      This reverts commit fe7173c2.
      
      As implemented, ACS-4 sense reporting for ATA devices bypasses error
      diagnosis and handling in libata degrading EH behavior significantly.
      Revert the related changes for now.
      
      ATA_ID_COMMAND_SET_3/4 constants are not reverted as they're used by
      later changes.
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Cc: Hannes Reinecke <hare@suse.de>
      Cc: stable@vger.kernel.org #v4.1+
      84ded2f8
  19. 03 8月, 2015 1 次提交
  20. 17 7月, 2015 1 次提交
  21. 15 7月, 2015 4 次提交
  22. 19 6月, 2015 1 次提交
  23. 10 6月, 2015 1 次提交
  24. 29 5月, 2015 1 次提交
  25. 05 5月, 2015 2 次提交
  26. 26 4月, 2015 2 次提交