android_kernel_xiaomi_sm8350/drivers/acpi
Rafael J. Wysocki c95d47a868 ACPI: Separate invocations of _GTS and _BFS from _PTS and _WAK
The execution of ACPI global control methods _GTS and _BFS is
currently tied to the preparation to enter a sleep state and to the
leaving of the sleep state, respectively.  However, these functions
are called before disabling the nonboot CPUs and after enabling
them, respectively (in fact, on ACPI 1.0x systems the first of them
ought to be called before suspending devices), while according to the
ACPI specification, _GTS is to be executed right prior to entering
the system sleep state and _BFS is to be executed right after the
platfor firmware has returned control to the OS on wake up.

Move the execution of _GTS and _BFS to the right places.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Len Brown <len.brown@intel.com>
2008-02-01 18:30:56 -05:00
..
dispatcher ACPICA: fix acpi-cpufreq boot crash due to _PSD return-by-reference 2007-12-02 14:26:55 -05:00
events ACPICA: fix acpi_serialize hang regression 2008-01-10 23:04:10 -05:00
executer
hardware ACPI: Separate invocations of _GTS and _BFS from _PTS and _WAK 2008-02-01 18:30:56 -05:00
namespace ACPI: Fix a warning of discarding qualifiers from pointer target type 2007-08-25 01:38:40 -04:00
parser
resources fix compilation with gcc 4.2 2007-08-11 15:47:42 -07:00
sleep ACPI: Separate invocations of _GTS and _BFS from _PTS and _WAK 2008-02-01 18:30:56 -05:00
tables ACPI: Add missing spaces to printk format 2007-11-19 21:53:32 -05:00
utilities ACPI: add dump_stack() to trace acpi_format_exception programming errors 2007-08-25 01:39:02 -04:00
ac.c ACPI: Make sysfs interface in ACPI power optional. 2008-01-01 14:27:24 -05:00
acpi_memhotplug.c
asus_acpi.c ACPI: Schedule /proc/acpi/event for removal 2007-08-23 15:20:26 -04:00
battery.c ACPI: Make sysfs interface in ACPI power optional. 2008-01-01 14:27:24 -05:00
bay.c ACPI: bay: send envp with uevent - fix 2007-08-11 22:10:04 -04:00
blacklist.c ACPI: DMI blacklist to reduce console warnings on OSI(Linux) systems. 2008-01-23 21:28:12 -05:00
bus.c firmware: change firmware_kset to firmware_kobj 2008-01-24 20:40:23 -08:00
button.c ACPI: button: send initial lid state after add and resume 2007-10-25 16:31:30 -04:00
cm_sbs.c
container.c
debug.c
dock.c ACPI: dock: Send key=value pair instead of plain value 2007-08-11 22:12:10 -04:00
ec.c ACPI: EC: "DEBUG" needs to be defined earlier 2008-01-23 22:34:09 -05:00
event.c ACPI: fix CONFIG_NET=n acpi_bus_generate_netlink_event build failure 2007-09-03 11:15:11 -04:00
fan.c Revert "ACPI: Fan: Drop force_power_state acpi_device option" 2008-01-23 22:41:20 -05:00
glue.c
Kconfig ACPI: Make sysfs interface in ACPI power optional. 2008-01-01 14:27:24 -05:00
Makefile ACPI: Split out control for /proc/acpi entries from battery, ac, and sbs. 2007-11-19 11:21:50 -05:00
numa.c ACPI: fix modpost warnings 2007-12-13 17:50:09 -05:00
osl.c ACPI: make _OSI(Linux) console messages smarter 2008-01-23 21:26:15 -05:00
pci_bind.c ACPI: acpiphp: Remove dmesg spam on device remove 2007-11-20 19:06:04 -05:00
pci_irq.c ACPI : Not register gsi for PCI IDE controller in legacy mode 2008-01-10 22:49:58 -05:00
pci_link.c Driver core: change sysdev classes to use dynamic kobject names 2008-01-24 20:40:40 -08:00
pci_root.c
power.c ACPI: power: don't cache power resource state 2007-10-25 16:31:31 -04:00
processor_core.c ACPI: avoid references to impossible processors. 2007-11-29 09:24:55 -08:00
processor_idle.c x86: don't disable TSC in any C states on AMD Fam10h 2008-01-30 13:32:41 +01:00
processor_perflib.c acpi-cpufreq: Fix some x86/x86-64 acpi-cpufreq driver issues 2007-08-07 18:40:30 -04:00
processor_thermal.c
processor_throttling.c ACPI: processor: Fix null pointer dereference in throttling 2008-01-15 00:47:47 -05:00
sbs.c ACPI: Make sysfs interface in ACPI power optional. 2008-01-01 14:27:24 -05:00
sbshc.c ACPI: SBS: Ignore alarms coming from unknown devices 2007-12-14 15:14:06 -05:00
sbshc.h ACPI: SBS: Ignore alarms coming from unknown devices 2007-12-14 15:14:06 -05:00
scan.c ACPI: EC: Enable boot EC before bus_scan 2008-01-01 14:12:55 -05:00
system.c Kobject: change drivers/acpi/system.c to use kobject_create_and_add 2008-01-24 20:40:28 -08:00
tables.c
thermal.c Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 2007-10-19 13:12:46 -07:00
toshiba_acpi.c Fix Oops in toshiba_acpi error return path 2007-11-14 18:45:36 -08:00
utils.c
video.c ACPI: video_device_list corruption 2007-12-13 16:24:10 -05:00