]> 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)
commit4bf31fa6ce24a53a6ef57036cfab043a79970365
treea87b3aff8d51c483c2c48e51106fa9a2f9b50a68
parent5917d5a8b5de33868442b3e0382dfa1280f8a1bb
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