1. 13 7月, 2016 4 次提交
  2. 12 7月, 2016 5 次提交
  3. 07 7月, 2016 2 次提交
  4. 29 6月, 2016 1 次提交
  5. 18 6月, 2016 1 次提交
    • A
      ata: fix "ering" sysfs time printing · f3f99d37
      Arnd Bergmann 提交于
      The sysfs file for the libata error handling has multiple issues
      in the way it prints time stamps:
      
       * it prints a 9-digit nanosecond value using a %06lu format string,
         which drops some leading zeroes
       * it converts a 64-bit jiffes value to a timespec using
         jiffies_to_timespec(), which takes a 'long' argument, so the
         result is wrong after a jiffies overflow (49 days).
       * we try to avoid using timespec because that generally overflows
         in 2038, although this particular usage is ok.
      
      This replaces the jiffies_to_timespec call with an open-coded
      implementation that gets it right.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NTejun Heo <tj@kernel.org>
      f3f99d37
  6. 17 6月, 2016 2 次提交
  7. 27 5月, 2016 2 次提交
  8. 13 5月, 2016 1 次提交
    • A
      ata: dwc: add DMADEVICES dependency · 7598469a
      Arnd Bergmann 提交于
      The dwc_460ex SATA driver has become available on non-powerpc architectures
      and may cause randconfig build errors when CONFIG_DMADEVICES is not set
      and SATA_DWC_OLD_DMA is enabled:
      
      warning: (SATA_DWC_OLD_DMA) selects DW_DMAC_CORE which has unmet direct dependencies (DMADEVICES)
      ERROR: "dw_dma_probe" [drivers/ata/sata_dwc_460ex.ko] undefined!
      ERROR: "dw_dma_remove" [drivers/ata/sata_dwc_460ex.ko] undefined!
      
      This adds an explcit Kconfig dependency to CONFIG_SATA_DWC so we
      cannot run into broken configurations. While it would also be
      possible to build the driver with both CONFIG_DMADEVICES
      and SATA_DWC_OLD_DMA disabled, that case is not useful because
      there is no fallback to PIO mode when the DMA engine is not
      usable.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Fixes: 50b43375 ("ata: sata_dwc_460ex: use "dmas" DT property to find dma channel")
      Reviewed-by: NAndy Shevchenko <andy.shevchenko@gmail.com>
      Signed-off-by: NTejun Heo <tj@kernel.org>
      7598469a
  9. 12 5月, 2016 6 次提交
  10. 11 5月, 2016 16 次提交