1. 25 8月, 2022 3 次提交
  2. 10 8月, 2022 1 次提交
  3. 28 7月, 2022 8 次提交
  4. 21 6月, 2022 1 次提交
  5. 14 4月, 2022 1 次提交
  6. 05 4月, 2022 3 次提交
  7. 19 2月, 2022 1 次提交
  8. 26 1月, 2022 1 次提交
  9. 18 12月, 2021 1 次提交
  10. 24 11月, 2021 2 次提交
  11. 12 2月, 2021 5 次提交
  12. 10 12月, 2020 1 次提交
  13. 29 7月, 2020 1 次提交
    • D
      nvme-pci: add support for ACPI StorageD3Enable property · df4f9bc4
      David E. Box 提交于
      This patch implements a solution for a BIOS hack used on some currently
      shipping Intel systems to change driver power management policy for PCIe
      NVMe drives. Some newer Intel platforms, like some Comet Lake systems,
      require that PCIe devices use D3 when doing suspend-to-idle in order to
      allow the platform to realize maximum power savings. This is particularly
      needed to support ATX power supply shutdown on desktop systems. In order to
      ensure this happens for root ports with storage devices, Microsoft
      apparently created this ACPI _DSD property as a way to influence their
      driver policy. To my knowledge this property has not been discussed with
      the NVME specification body.
      
      Though the solution is not ideal, it addresses a problem that also affects
      Linux since the NVMe driver's default policy of using NVMe APST during
      suspend-to-idle prevents the PCI root port from going to D3 and leads to
      higher power consumption for these platforms. The power consumption
      difference may be negligible on laptop systems, but many watts on desktop
      systems when the ATX power supply is blocked from powering down.
      
      The patch creates a new nvme_acpi_storage_d3 function to check for the
      StorageD3Enable property during probe and enables D3 as a quirk if set.  It
      also provides a 'noacpi' module parameter to allow skipping the quirk if
      needed.
      
      Tested with:
       - PM961 NVMe SED Samsung 512GB
       - INTEL SSDPEKKF512G8
      
      Link: https://docs.microsoft.com/en-us/windows-hardware/design/component-guidelines/power-management-for-storage-hardware-devices-introSigned-off-by: NDavid E. Box <david.e.box@linux.intel.com>
      Reviewed-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      df4f9bc4
  14. 22 6月, 2020 1 次提交
  15. 11 10月, 2019 2 次提交
  16. 03 9月, 2019 1 次提交
  17. 26 8月, 2019 1 次提交
  18. 19 6月, 2019 1 次提交
  19. 03 6月, 2019 1 次提交
  20. 01 5月, 2019 1 次提交
    • P
      ACPI / property: fix handling of data_nodes in acpi_get_next_subnode() · 23583f77
      Pierre-Louis Bossart 提交于
      When the DSDT tables expose devices with subdevices and a set of
      hierarchical _DSD properties, the data returned by
      acpi_get_next_subnode() is incorrect, with the results suggesting a bad
      pointer assignment. The parser works fine with device_nodes or
      data_nodes, but not with a combination of the two.
      
      The problem is traced to an invalid pointer used when jumping from
      handling device_nodes to data nodes. The existing code looks for data
      nodes below the last subdevice found instead of the common root. Fix
      by forcing the acpi_device pointer to be derived from the same fwnode
      for the two types of subnodes.
      
      This same problem of handling device and data nodes was already fixed
      in a similar way by 'commit bf4703fd ("ACPI / property: fix data
      node parsing in acpi_get_next_subnode()")' but broken later by 'commit
      34055190 ("ACPI / property: Add fwnode_get_next_child_node()")', so
      this should probably go to linux-stable all the way to 4.12
      Signed-off-by: NPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
      Reviewed-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      23583f77
  21. 17 4月, 2019 1 次提交
  22. 05 12月, 2018 1 次提交
  23. 03 10月, 2018 1 次提交