remarkable-linux/include/acpi
Lin Ming 1cc0c998fd ACPI: Fix D3hot v D3cold confusion
Before this patch, ACPI_STATE_D3 incorrectly referenced D3hot
in some places, but D3cold in other places.

After this patch, ACPI_STATE_D3 always means ACPI_STATE_D3_COLD;
and all references to D3hot use ACPI_STATE_D3_HOT.

ACPI's _PR3 method is used to enter both D3hot and D3cold states.
What distinguishes D3hot from D3cold is the presence _PR3
(Power Resources for D3hot)  If these resources are all ON,
then the state is D3hot.  If _PR3 is not present,
or all _PR0 resources for the devices are OFF,
then the state is D3cold.

This patch applies after Linux-3.4-rc1.
A future syntax cleanup may remove ACPI_STATE_D3
to emphasize that it always means ACPI_STATE_D3_COLD.

Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Reviewed-by: Aaron Lu <aaron.lu@amd.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2012-05-05 01:19:52 -04:00
..
platform acpi: remove module.h include from platform/aclinux.h 2011-10-31 19:32:27 -04:00
acconfig.h ACPICA: Support for custom ACPICA build for ACPI 5 reduced hardware 2012-03-22 01:44:49 -04:00
acexcep.h ACPICA: Support for custom ACPICA build for ACPI 5 reduced hardware 2012-03-22 01:44:49 -04:00
acnames.h ACPICA: Clarify METHOD_NAME* defines for full-pathname cases 2012-03-22 01:45:53 -04:00
acoutput.h
acpi.h
acpi_bus.h ACPI, PCI: Move acpi_dev_run_wake() to ACPI core 2012-03-30 02:21:18 -04:00
acpi_drivers.h ACPI: Fix CONFIG_ACPI_DOCK=n compiler warning 2011-11-06 20:58:17 -05:00
acpi_numa.h ACPI: Store SRAT table revision 2012-01-17 04:19:04 -05:00
acpiosxf.h ACPICA: Add acpi_os_physical_table_override interface 2012-03-22 01:44:59 -04:00
acpixf.h ACPICA: Update to version 20120320 2012-03-30 01:45:14 -04:00
acrestyp.h ACPI 5.0: Support for all new resource descriptors 2012-01-17 03:36:30 -05:00
actbl.h ACPICA: ACPI 5: Support for new FADT SleepStatus, SleepControl registers 2012-03-22 01:44:34 -04:00
actbl1.h acpi/apei/einj: Add extensions to EINJ from rev 5.0 of acpi spec 2012-01-18 01:14:17 -05:00
actbl2.h
actbl3.h ACPI 5.0: Add new/changed tables to headers 2012-01-17 03:36:28 -05:00
actypes.h ACPI: Fix D3hot v D3cold confusion 2012-05-05 01:19:52 -04:00
apei.h module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
button.h
container.h
hed.h
pdc_intel.h
processor.h ACPI processor hotplug: Delay acpi_processor_start() call for hotplugged cores 2012-01-19 21:26:32 -05:00
reboot.h
video.h