]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / PM: Call suspend_nvs_free() earlier during resume
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 19 Jan 2011 21:27:55 +0000 (22:27 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 21 Jan 2011 02:30:17 +0000 (18:30 -0800)
commit2ada213faf85bacd582cc071555a48ccbf6777ec
tree0abdbd457d8d92ced99048a84b92a067b08d4652
parent26cc5822d0e2d03f53f61cc0c9d14d88cbdbee69
ACPI / PM: Call suspend_nvs_free() earlier during resume

It turns out that some device drivers map pages from the ACPI NVS region
during resume using ioremap(), which conflicts with ioremap_cache() used
for mapping those pages by the NVS save/restore code in nvs.c.

Make the NVS pages mapped by the code in nvs.c be unmapped before device
drivers' resume routines run.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/acpi/sleep.c