]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Remove Intel Haswell D3 delays
authorTodd E Brandt <todd.e.brandt@linux.intel.com>
Tue, 10 Sep 2013 23:10:43 +0000 (16:10 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 25 Sep 2013 21:45:06 +0000 (15:45 -0600)
commitc7e51fba27eb5c20387830682f7b4e26629e7e06
tree1518176c7b1be79964e1c527c86817efdb025249
parent17c9ed8c5a52a2fe116887efba253dde94121301
PCI: Remove Intel Haswell D3 delays

The latest Intel Haswell chipsets have a hardware optimization which
allows on-chip PCI devices to ignore the 10ms delay before entering
or exiting D3 suspend.

This patch implements the optimization as a PCI quirk, since we want
tight control over which devices use it. This way we can test each device
individually to be sure there are no issues before we enable the quirk.
The first set of devices are from the Haswell platform, which includes
every PCI device that is on the northbridge and southbridge.

This patch reduces the Haswell suspend time from 93 ms to 47 ms and resume
time from 160 ms to 64 ms.

Signed-off-by: Todd Brandt <todd.e.brandt@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/pci/quirks.c