提交 37096428 编写于 作者: D Dmitry Monakhov 提交者: Rafael J. Wysocki

ACPI: APEI: Add BERT error log footer

Print total number of records found during BERT log parsing.
This also simplify dmesg parser implementation for BERT events.
Signed-off-by: NDmitry Monakhov <dmtrmonakhov@yandex-team.ru>
Acked-by: NTony Luck <tony.luck@intel.com>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 b90cb105
...@@ -90,6 +90,9 @@ static void __init bert_print_all(struct acpi_bert_region *region, ...@@ -90,6 +90,9 @@ static void __init bert_print_all(struct acpi_bert_region *region,
if (skipped) if (skipped)
pr_info(HW_ERR "Skipped %d error records\n", skipped); pr_info(HW_ERR "Skipped %d error records\n", skipped);
if (printed + skipped)
pr_info("Total records found: %d\n", printed + skipped);
} }
static int __init setup_bert_disable(char *str) static int __init setup_bert_disable(char *str)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册