aboutsummaryrefslogtreecommitdiffstats
path: root/mm/util.c
diff options
context:
space:
mode:
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>2009-08-19 11:00:25 +0900
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-09-09 13:29:47 -0700
commit07d92760d2ee542fe932f4e8b5807dd98481d1fd (patch)
tree47d94230d73567b16f9c9a307d1c8f08eff47184 /mm/util.c
parentf1c0ca29ae72bc0c10282eada66c8a792ee98482 (diff)
downloadkernel_samsung_smdk4412-07d92760d2ee542fe932f4e8b5807dd98481d1fd.tar.gz
kernel_samsung_smdk4412-07d92760d2ee542fe932f4e8b5807dd98481d1fd.tar.bz2
kernel_samsung_smdk4412-07d92760d2ee542fe932f4e8b5807dd98481d1fd.zip
PCI ASPM: introduce capable flag
Introduce 'aspm_capable' field to maintain the capable ASPM setting of the link. By the 'aspm_capable', we don't need to recheck latency every time ASPM policy is changed. Each bit in 'aspm_capable' is associated to ASPM state (L0S/L1). The bit is set if the associated ASPM state is supported by the link and it satisfies the latency requirement (i.e. exit latency < endpoint acceptable latency). The 'aspm_capable' is updated when - an endpoint device is added (boot time or hot-plug time) - an endpoint device is removed (hot-unplug time) - PCI power state is changed. Acked-by: Shaohua Li <shaohua.li@intel.com> Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'mm/util.c')
0 files changed, 0 insertions, 0 deletions