]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/ACPI: Optimize device state transition delays
authorAaron Lu <aaron.lu@intel.com>
Wed, 25 Mar 2015 06:37:06 +0000 (14:37 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 8 Apr 2015 21:25:25 +0000 (16:25 -0500)
commit7d1a3678a0e51de98819f07dfd1e5eb8d22937aa
tree5a5b5cb497a21c0342ac0a7d2956b366020fef68
parenta931835028902e81cb723eae49032c80ab24f795
PCI/ACPI: Optimize device state transition delays

The PCI "ACPI additions for FW latency optimizations" ECN (link below)
defines two functions in the PCI _DSM:

  Function 8, "Reset Delay," applies to the entire hierarchy below a PCI
  host bridge.  If it returns one, the OS may assume that all devices in
  the hierarchy have already completed power-on reset delays.

  Function 9, "Device Readiness Durations," applies only to the object
  where it is located.  It returns delay durations required after various
  events if the device requires less time than the spec requires.  Delays
  from this function take precedence over the Reset Delay function.

Add support for Reset Delay and part of Device Readiness Durations.

[bhelgaas: changelog, comments]
Link: https://www.pcisig.com/specifications/conventional/pci_firmware/ECN_fw_latency_optimization_final.pdf
Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci-acpi.c
include/linux/pci-acpi.h
include/linux/pci.h