]> git.proxmox.com Git - mirror_ubuntu-focal-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)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 7 Feb 2019 22:10:45 +0000 (23:10 +0100)
commit9c9d08051380ad3f6e6376d4383615771c59fd99
tree5210fbaa683f9eae01ead9e7dcb5bd441f7cbc31
parent06ddeadc8d1c4f704b8956f239263bca75a3add8
ACPI / APEI: Move NOTIFY_SEA between the estatus-queue and NOTIFY_NMI

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>
drivers/acpi/apei/ghes.c