PCI ASPM: support L1 only
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Wed, 16 Sep 2009 08:29:59 +0000 (17:29 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 17 Sep 2009 17:05:16 +0000 (10:05 -0700)
commit7557b5d63259d55f716e62e528978d4866318515
treea7de26e15fe8d551f7b853d9ecd47403f31b13db
parentab86e5765d41a5eb4239a1c04d613db87bea5ed8
PCI ASPM: support L1 only

The definition of the ASPM support field in the Link Capabilities
Register had been changed by the "ASPM optionality ECN" as follows:

<Before>
00b Reserved
01b L0s Supported
10b Reserved
11b L0s and L1 Supported

<After>
00b No ASPM Support
01b L0s Supported
10b L1 Supported
11b L0s and L1 Supported

Current linux ASPM driver doesn't enable ASPM if the support field is
00b or 10b. So there is no impact about 00b. But current linux ASPM
driver doesn't enable L1 if the support field is 10b. With this patch,
10b (L1 support) is handled properly.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pcie/aspm.c