ACPI: Add D3 cold state
authorLin Ming <ming.m.lin@intel.com>
Wed, 4 May 2011 14:56:43 +0000 (22:56 +0800)
committerLen Brown <len.brown@intel.com>
Sun, 29 May 2011 06:21:08 +0000 (02:21 -0400)
commit28c2103dad04dba29ba86e22dad5735db8f0e13c
tree7bdd422ae53e4f48bdaa48e1d83e6c25a1ee56e4
parent61c4f2c81c61f73549928dfd9f3e8f26aa36a8cf
ACPI: Add D3 cold state

_SxW returns an Integer containing the lowest D-state supported in state
Sx. If OSPM has not indicated that it supports _PR3, then the value “3”
corresponds to D3.  If it has indicated _PR3 support, the value “3”
represents D3hot and the value “4” represents D3cold.

Linux does set _OSC._PR3, so we should fix it to expect that _SxW can
return 4.

Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/bus.c
drivers/pci/pci-acpi.c
include/acpi/actypes.h