]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI, APEI, Printk queued error record before panic
authorHuang Ying <ying.huang@intel.com>
Thu, 8 Dec 2011 03:25:45 +0000 (11:25 +0800)
committerLen Brown <len.brown@intel.com>
Tue, 17 Jan 2012 08:54:33 +0000 (03:54 -0500)
commitd11a66a88d0110437c765110c728d86b1a544e5a
treea87b3aff8d51c483c2c48e51106fa9a2f9b50a68
parent5eb1a93f9687347d247931d29358535fd1d7a926
ACPI, APEI, Printk queued error record before panic

Because printk is not safe inside NMI handler, the recoverable error
records received in NMI handler will be queued to be printked in a
delayed IRQ context via irq_work.  If a fatal error occurs after the
recoverable error and before the irq_work processed, we lost a error
report.

To solve the issue, the queued error records are printked in NMI
handler if system will go panic.

Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/apei/ghes.c