PCI: Enable ATS at the device state restore
authorHao, Xudong <xudong.hao@intel.com>
Sat, 17 Dec 2011 13:24:40 +0000 (21:24 +0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 6 Jan 2012 20:11:18 +0000 (12:11 -0800)
commit1900ca132f53c3d51e6e6b94ea8912530223c63a
tree01f7e215f1ba735e54f30c27c3fd91dd747b2c5a
parent424eb391596a38ddf422bee1617e4b9dea60126f
PCI: Enable ATS at the device state restore

During S3 or S4 resume or PCI reset, ATS regs aren't restored correctly.
This patch enables ATS at the device state restore if PCI device has ATS
capability.

Signed-off-by: Xudong Hao <xudong.hao@intel.com>
Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/ats.c
drivers/pci/pci.c
drivers/pci/pci.h