Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp34812139rwd; Sun, 9 Jul 2023 21:11:02 -0700 (PDT) X-Google-Smtp-Source: APBJJlEk18fXrwB7OM3Uc7jrZLMQS76CxzA8nqkuZnxUOda32homhFFjmBnhx3rf81tq1NBYYinb X-Received: by 2002:a05:651c:102f:b0:2b5:85a9:7e9b with SMTP id w15-20020a05651c102f00b002b585a97e9bmr9961104ljm.33.1688962262316; Sun, 09 Jul 2023 21:11:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688962262; cv=none; d=google.com; s=arc-20160816; b=ZHFlDY+Th7qM/dZfaxVMNSsR5iyHO/1J3L/CsKRxWwYUU97jCBuujA4UyPLDaykCy9 AUusCyLIigJB4ojrh22Pu5UrHrB4EfxlSU3vppB1t3LSLl/ypWvj0VpXLpjsgaLn5ygX 5W24ts9m3vlUW5zm5txf/k78swH83JcCRyykbC2J7UHdv2D/Y9YxPzpQQAuk55YT1YUW jvMtsfZvgheUrDrfmIx5+cnYPrEpCATLUF8VaN0t60bNWweY45WKKlKxlScWU2STXfQh f1ReWXn1zRaUgEgLbG5nN2Ci45woo0WUpjrOnecMX0E7GY7GuUea+/6SAAICxCH0GBgW 0EgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :content-language:references:cc:to:from:subject:user-agent :mime-version:date:message-id; bh=ObEavepoZV8gcXaEudhqW3Uv8ToQDImJMeP2DQm2EO8=; fh=x4MKtA2Pqn+sQC8ZW8v2O5q2q44QiaxvMYSc0ll0ITA=; b=LWbJmrpaeo1MPLfcEVn3YEUPOCz5/AUFYoqJmiODGi2hPEBlKWU7cKRYg4xpuiPrEb 2KgXpYfQ8eWoTdkTW2eV47jJHNyo5tM3EpsuEZqMTRKXovmIfJWauh2Tgm4iQm+1ks5q 3aLjTQ0AdXt0yaQULcslCALe3IeNchuVcSWvjNESLWeW8Do65PpVk1CshFsogxBePTFL IwtHY0c8mOZBxQ8RMaZF0ctYH+UpckD5Ln69R+w3p7Y58q+pYOmmk3icsg3hmvUTFcnb UddSKS6VH/dG2bpf2keH1DOcenO9tO1czxgoT9XMy3RN3XjKOGevE1+79A/JhBa5XW2H rHqw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d9-20020a1709067f0900b0096f81ae0ac9si8090130ejr.34.2023.07.09.21.10.39; Sun, 09 Jul 2023 21:11:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229642AbjGJDPu (ORCPT + 99 others); Sun, 9 Jul 2023 23:15:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229587AbjGJDPq (ORCPT ); Sun, 9 Jul 2023 23:15:46 -0400 Received: from out30-97.freemail.mail.aliyun.com (out30-97.freemail.mail.aliyun.com [115.124.30.97]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5DF9AEC; Sun, 9 Jul 2023 20:15:42 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R551e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046059;MF=xueshuai@linux.alibaba.com;NM=1;PH=DS;RN=24;SR=0;TI=SMTPD_---0VmxC.uy_1688958934; Received: from 30.240.113.134(mailfrom:xueshuai@linux.alibaba.com fp:SMTPD_---0VmxC.uy_1688958934) by smtp.aliyun-inc.com; Mon, 10 Jul 2023 11:15:37 +0800 Message-ID: <1fe4f86e-63ce-3702-4e08-4bc0e7bb391b@linux.alibaba.com> Date: Mon, 10 Jul 2023 11:15:31 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [RESEND PATCH v7 0/2] ACPI: APEI: handle synchronous exceptions with proper si_code From: Shuai Xue To: rafael@kernel.org, wangkefeng.wang@huawei.com, tanxiaofei@huawei.com, mawupeng1@huawei.com, tony.luck@intel.com, naoya.horiguchi@nec.com Cc: linux-acpi@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, justin.he@arm.com, akpm@linux-foundation.org, ardb@kernel.org, ashish.kalra@amd.com, baolin.wang@linux.alibaba.com, bp@alien8.de, cuibixuan@linux.alibaba.com, dave.hansen@linux.intel.com, james.morse@arm.com, jarkko@kernel.org, lenb@kernel.org, linmiaohe@huawei.com, lvying6@huawei.com, xiexiuqi@huawei.com, zhuo.song@linux.alibaba.com References: <20230606074238.97166-1-xueshuai@linux.alibaba.com> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-10.0 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023/6/16 15:15, Shuai Xue wrote: > > > On 2023/6/6 15:42, Shuai Xue wrote: >> changes since v6: >> - add more explicty error message suggested by Xiaofei >> - pick up reviewed-by tag from Xiaofei >> - pick up internal reviewed-by tag from Baolin >> >> changes since v5 by addressing comments from Kefeng: >> - document return value of memory_failure() >> - drop redundant comments in call site of memory_failure() >> - make ghes_do_proc void and handle abnormal case within it >> - pick up reviewed-by tag from Kefeng Wang >> >> changes since v4 by addressing comments from Xiaofei: >> - do a force kill only for abnormal sync errors >> >> changes since v3 by addressing comments from Xiaofei: >> - do a force kill for abnormal memory failure error such as invalid PA, >> unexpected severity, OOM, etc >> - pcik up tested-by tag from Ma Wupeng >> >> changes since v2 by addressing comments from Naoya: >> - rename mce_task_work to sync_task_work >> - drop ACPI_HEST_NOTIFY_MCE case in is_hest_sync_notify() >> - add steps to reproduce this problem in cover letter >> >> changes since v1: >> - synchronous events by notify type >> - Link: https://lore.kernel.org/lkml/20221206153354.92394-3-xueshuai@linux.alibaba.com/ >> >> >> Shuai Xue (2): >> ACPI: APEI: set memory failure flags as MF_ACTION_REQUIRED on >> synchronous events >> ACPI: APEI: handle synchronous exceptions in task work >> >> arch/x86/kernel/cpu/mce/core.c | 9 +-- >> drivers/acpi/apei/ghes.c | 113 ++++++++++++++++++++++----------- >> include/acpi/ghes.h | 3 - >> mm/memory-failure.c | 17 +---- >> 4 files changed, 79 insertions(+), 63 deletions(-) >> > > > Hi, Rafael, > > Gentle ping. > > Are you happy to queue this patch set or anything I can do to improve it? > As @Kefeng said, this issue is met in Alibaba and Huawei products, we hope it > could be fixed ASAP. Hi Rafael, Tony, and Naoya, Gentle ping. I am sorry to see that we have missed v6.3 and v6.4 merge window since three Reviewed-by tags and one Tested-by tag. Do we still need any designated APEI reviewers Reviewed-by? Could you give me your Reviewed-by @Tony, and @Naoya if you are happy with the change. Or Please could you Ack this change if you are happy with the proposal and the change? @Rafael > > Thank you. > > Best Regards, > Shuai