Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753456AbdHQUwv (ORCPT ); Thu, 17 Aug 2017 16:52:51 -0400 Received: from cloudserver094114.home.net.pl ([79.96.170.134]:57303 "EHLO cloudserver094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752632AbdHQUws (ORCPT ); Thu, 17 Aug 2017 16:52:48 -0400 From: "Rafael J. Wysocki" To: Borislav Petkov Cc: Dongjiu Geng , will.deacon@arm.com, zjzhang@codeaurora.org, catalin.marinas@arm.com, tbaicar@codeaurora.org, james.morse@arm.com, geliangtang@gmail.com, andriy.shevchenko@linux.intel.com, tony.luck@intel.com, austinwc@codeaurora.org, 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 Subject: Re: [PATCH v4] acpi: apei: fix the wrong iteration of generic error status block Date: Thu, 17 Aug 2017 22:44:20 +0200 Message-ID: <1789497.8no4QDaUqc@aspire.rjw.lan> In-Reply-To: <20170817114349.uxtossvvaccuwy5g@pd.tnic> References: <1502971638-31670-1-git-send-email-gengdongjiu@huawei.com> <20170817114349.uxtossvvaccuwy5g@pd.tnic> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 793 Lines: 21 On Thursday, August 17, 2017 1:43:49 PM CEST Borislav Petkov wrote: > On Thu, Aug 17, 2017 at 08:07:18PM +0800, Dongjiu Geng wrote: > > The revision 0x300 generic error data entry is different > > from the old version, but currently iterating through the > > GHES estatus blocks does not take into account this difference. > > This will lead to failure to get the right data entry if GHES > > has revision 0x300 error data entry. > > > > Update the GHES estatus iteration to properly increment using > > iteration macro, > > This is not what I meant - I meant: > > "Update the GHES estatus iteration macro to properly increment using > acpi_hest_get_next(), and ..." > > But you don't need to send another version. > > Rafael, please correct that when applying, instead. I will, thanks!