Skip to content
Commit a4714a89 authored by Randy Wright's avatar Randy Wright Committed by Rafael J. Wysocki
Browse files

ACPI: Fix bug when ACPI reset register is implemented in system memory

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: default avatarRandy Wright <rwright@hp.com>
Signed-off-by: default avatarDavid E. Box <david.e.box@linux.intel.com>
[rjw: Changelog, simplified code]
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 72013795
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment