Re: [PATCH v2] acpi: apei: fix the wrongly iterate generic error status block

From: Baicar, Tyler
Date: Tue Aug 15 2017 - 14:31:26 EST


On 8/15/2017 10:55 AM, Borislav Petkov wrote:
On Wed, Aug 16, 2017 at 12:42:43AM +0800, gengdongjiu wrote:
I ever discuss it with Tyler about it, as shown below link, thanks

https://lkml.org/lkml/2017/8/14/355
Tyler's patch fixes ghes_do_proc() - yours cper_estatus_print(). How is
that merged?

Hello Boris,

His patch fixes the define for apei_estatus_for_each_section which in turn should fix ghes_do_proc(). So my patch should no longer be needed. I'm going to test this out just to verify if fixes the issue I found.

Dongjiu,

This patch changes cper_estatus_print() to use apei_estatus_for_each_section. Can you also make that same change to cper_estatus_check() since that function is doing the same iteration?

Thanks,
Tyler

--
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project.