]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ACPI: Fix bug when ACPI reset register is implemented in system memory
authorRandy Wright <rwright@hp.com>
Wed, 4 Jun 2014 15:55:59 +0000 (08:55 -0700)
committerJiri Slaby <jslaby@suse.cz>
Mon, 16 Feb 2015 15:11:00 +0000 (16:11 +0100)
commit526d09dfa647cacd71d7271bb30bf058f6cf72a2
tree2fa8e2fe3cea65403b8beed32270a5915ec59320
parent18f12cbe86a5d6d4afc710cd3e3e064898808738
ACPI: Fix bug when ACPI reset register is implemented in system memory

commit a4714a898e85205e1118ec923cde43d88eb105f6 upstream.

Use acpi_os_map_generic_address to pre-map the reset register if it is
memory mapped, thereby preventing the BUG_ON() in line 1319 of
mm/vmalloc.c from triggering during panic-triggered reboots.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=77131
Signed-off-by: Randy Wright <rwright@hp.com>
Signed-off-by: David E. Box <david.e.box@linux.intel.com>
[rjw: Changelog, simplified code]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/acpi/osl.c