You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Rafael J. Wysocki
6a7c7eaf71
PM/Suspend: Introduce two new platform callbacks to avoid breakage
...
Commit 900af0d973
(PM: Change suspend
code ordering) changed the ordering of suspend code in such a way
that the platform .prepare() callback is now executed after the
device drivers' late suspend callbacks have run. Unfortunately, this
turns out to break ARM platforms that need to talk via I2C to power
control devices during the .prepare() callback.
For this reason introduce two new platform suspend callbacks,
.prepare_late() and .wake(), that will be called just prior to
disabling non-boot CPUs and right after bringing them back on line,
respectively, and use them instead of .prepare() and .finish() for
ACPI suspend. Make the PM core execute the .prepare() and .finish()
platform suspend callbacks where they were executed previously (that
is, right after calling the regular suspend methods provided by
device drivers and right before executing their regular resume
methods, respectively).
It is not necessary to make analogous changes to the hibernation
code and data structures at the moment, because they are only used
by ACPI platforms.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Reported-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Len Brown <len.brown@intel.com>
16 years ago
..
acpica
Merge branches 'release', 'APERF', 'ARAT', 'misc', 'kelvin', 'device-lock' and 'bjorn.notify' into release
16 years ago
Kconfig
ACPI: update Kconfig help texts (no functional changes)
16 years ago
Makefile
Merge branch 'async-battery' into release
16 years ago
ac.c
proc 2/2: remove struct proc_dir_entry::owner
16 years ago
acpi_memhotplug.c
trivial: Fix misspelling of "firmware" in acpi_memhotplug.c
16 years ago
battery.c
Revert "ACPI battery: fix async boot oops"
16 years ago
blacklist.c
ACPI: delete OSI(Linux) DMI dmesg spam
16 years ago
bus.c
Merge branch 'bjorn-initcall-cleanup' into release
16 years ago
button.c
ACPI: button: use .notify method instead of installing handler directly
16 years ago
cm_sbs.c
ACPI: remove private acpica headers from driver files
16 years ago
container.c
ACPI: add missing KERN_* constants to printks
16 years ago
debug.c
Merge branch 'acpi-modparam' into release
16 years ago
dock.c
Merge branch 'linus' into release
16 years ago
ec.c
Merge branch 'constify' into release
16 years ago
event.c
netlink: change return-value logic of netlink_broadcast()
16 years ago
fan.c
Merge branch 'linus' into release
16 years ago
glue.c
ACPI: call init_acpi_device_notify() explicitly rather than as initcall
16 years ago
internal.h
ACPI: call acpi_wakeup_device_init() explicitly rather than as initcall
16 years ago
numa.c
x86, ACPI: add support for x2apic ACPI extensions
16 years ago
osl.c
Merge branch 'linus' into release
16 years ago
pci_bind.c
ACPI: simplify buffer management for acpi_pci_bind() etc.
16 years ago
pci_irq.c
Merge branch 'misc' into release
16 years ago
pci_link.c
ACPI: pci_link: simplify list of link devices
16 years ago
pci_root.c
PCI/ACPI: rename pci_osc_control_set()
16 years ago
pci_slot.c
PCI: pci_slot: grab refcount on slot's bus
16 years ago
power.c
Merge branch 'acpi-modparam' into release
16 years ago
proc.c
ACPI: convert acpi_device_lock spinlock to mutex
16 years ago
processor_core.c
ACPI: processor: use .notify method instead of installing handler directly
16 years ago
processor_idle.c
x86 ACPI: Add support for Always Running APIC timer
16 years ago
processor_perflib.c
Merge branch 'linus' into release
16 years ago
processor_thermal.c
Merge branch 'constify' into release
16 years ago
processor_throttling.c
Merge branch 'misc' into release
16 years ago
reboot.c
ACPI: reboot.c: use new acpi_reset interface
16 years ago
sbs.c
Merge branch 'linus' into release
16 years ago
sbshc.c
ACPI: remove private acpica headers from driver files
16 years ago
sbshc.h
ACPI: SBS: Ignore alarms coming from unknown devices
17 years ago
scan.c
ACPI: delete acpi_device.g_list
16 years ago
sleep.c
PM/Suspend: Introduce two new platform callbacks to avoid breakage
16 years ago
sleep.h
ACPI: convert acpi_device_lock spinlock to mutex
16 years ago
system.c
Merge branch 'acpi-modparam' into release
16 years ago
tables.c
Merge branch 'linus' into release
16 years ago
thermal.c
Merge branches 'release', 'APERF', 'ARAT', 'misc', 'kelvin', 'device-lock' and 'bjorn.notify' into release
16 years ago
utils.c
ACPI: scheduling in atomic via acpi_evaluate_integer ()
16 years ago
video.c
ACPI: video: use .notify method instead of installing handler directly
16 years ago
video_detect.c
ACPI video: add a warning message if _BQC is not found
16 years ago
wakeup.c
ACPI: convert acpi_device_lock spinlock to mutex
16 years ago