]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ACPI / APEI: Move NOTIFY_SEA between the estatus-queue and NOTIFY_NMI
authorJames Morse <james.morse@arm.com>
Tue, 29 Jan 2019 18:48:47 +0000 (18:48 +0000)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 28 Mar 2019 20:05:21 +0000 (15:05 -0500)
commit9cb3c10e6b5036ed18cc9cd312880fb7b67e54b0
treef3238a1110a28c69d14baa5339b4d02cba176e9d
parentaef8a9b16ad233a86782b45e9d603b6cf203cade
ACPI / APEI: Move NOTIFY_SEA between the estatus-queue and NOTIFY_NMI

BugLink: https://bugs.launchpad.net/bugs/1822005
The estatus-queue code is currently hidden by the NOTIFY_NMI #ifdefs.
Once NOTIFY_SEA starts using the estatus-queue we can stop hiding
it as each architecture has a user that can't be turned off.

Split the existing CONFIG_HAVE_ACPI_APEI_NMI block in two, and move
the SEA code into the gap.

Move the code around ... and changes the stale comment describing
why the status queue is necessary: printk() is no longer the issue,
its the helpers like memory_failure_queue() that aren't nmi safe.

Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
(cherry picked from commit 9c9d08051380ad3f6e6376d4383615771c59fd99)
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/acpi/apei/ghes.c