Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752786AbdHOSbW (ORCPT ); Tue, 15 Aug 2017 14:31:22 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:45616 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752577AbdHOSbU (ORCPT ); Tue, 15 Aug 2017 14:31:20 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 3B5B56014C Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=tbaicar@codeaurora.org Subject: Re: [PATCH v2] acpi: apei: fix the wrongly iterate generic error status block To: Borislav Petkov , gengdongjiu Cc: rjw@rjwysocki.net, lenb@kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linuxarm@huawei.com, john.garry@huawei.com, shiju.jose@huawei.com, zhengqiang10@huawei.com, wangxiongfeng2@huawei.com, huangshaoyu@huawei.com, wuquanming@huawei.com, james.morse@arm.com, geliangtang@gmail.com, andriy.shevchenko@linux.intel.com, tony.luck@intel.com, austinwc@codeaurora.org, shameerali.kolothum.thodi@huawei.com, jonathan.cameron@huawei.com, huangdaode@hisilicon.com, wangzhou1@hisilicon.com References: <1502795713-20945-1-git-send-email-gengdongjiu@huawei.com> <20170815161342.jxxf4rndqbs7t5rr@pd.tnic> <20170815163239.xm5y6w5yeiaakekv@pd.tnic> <20170815165551.4cwa344wm6eptj3d@pd.tnic> From: "Baicar, Tyler" Message-ID: <7921a233-6971-6e3b-9164-01d6176d61c0@codeaurora.org> Date: Tue, 15 Aug 2017 12:31:14 -0600 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170815165551.4cwa344wm6eptj3d@pd.tnic> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 953 Lines: 27 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.