]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI, APEI, GHES, Distinguish interleaved error report in kernel log
authorHuang Ying <ying.huang@intel.com>
Thu, 8 Dec 2011 03:25:44 +0000 (11:25 +0800)
committerLen Brown <len.brown@intel.com>
Tue, 17 Jan 2012 08:54:31 +0000 (03:54 -0500)
commit5917d5a8b5de33868442b3e0382dfa1280f8a1bb
treea92545ade1a4898431dfd0f6ad9897c6c03931cb
parent3823b5ce9c718658376196359066f5ce10fdf4ca
ACPI, APEI, GHES, Distinguish interleaved error report in kernel log

In most cases, printk only guarantees messages from different printk
calling will not be interleaved between each other.  But, one APEI
GHES hardware error report will involve multiple printk calling,
normally each for one line.  So it is possible that the hardware error
report comes from different generic hardware error source will be
interleaved.

In this patch, a sequence number is prefixed to each line of error
report.  So that, even if they are interleaved, they still can be
distinguished by the prefixed sequence number.

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