Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp3753153rwr; Sun, 7 May 2023 19:28:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4CjnYVjmVaVLCj+Bcz3jXHI1JmGWeSES6nVTB1dfpXfDEIYTHDeGvBsdKHHzftTBPUvwMb X-Received: by 2002:a17:90a:94cc:b0:24e:edd:4d63 with SMTP id j12-20020a17090a94cc00b0024e0edd4d63mr8917792pjw.5.1683512900273; Sun, 07 May 2023 19:28:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683512900; cv=none; d=google.com; s=arc-20160816; b=PBE7JDLJckEY6sVvyhwswWXvF8YyfnxeQkMYbVvXNph9jYr4RrFlzRzQL9epJrgxI9 90qDuX5nw2+YQe0FfpptjaJ5jpok75E6OoN9bFMroQx/1YsAxwzCcVWRIsCxpiTdcE1B SNob7EcJnkTR893Tnxg2VwluT2DINNYm46VFZZFEIonor3Qo1plAEZ4anLl2HdXXXM08 AEfQOev4y2Fmv8nClkwCiL+/4o9FE1yIZ57E1fr58A/x/6e7iR4o3Vqrja6LRjSwT3xu CeuvefmHLY+DWnuFEgIey53oeh1C7aWM2WOo9Cyx64js2RKHrKTDd7fvuMH5XxN9UOdo +u9A== 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:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id; bh=mCNQtPA42Ol13QuzD7qBhCXXSMmvlCFYzioWY3sSQkU=; b=ckgavP+W68Zk0lYgox+wW6WmxtyjBo9iUiUvze6AyzoYt/A2GBUSbwJum1OS3UHZhw Yv5wC6MzA72sRwbzqShnCForpXHLfQU1kRlJt5/YCTBPtHUSC1SvYT6+7yhDtQns1Dro yQc/952oBkp5o3ZW/XPDfbgr5ogfeyHx+S74+0br72klzLNaas5WFIX/g6sifT6B6tNt voF7j9NWwTocKt+C63cUKFz8DC8GwbE9ntUjRx0l7CXrZcYiHzRbIZaQ+P/NBGOEZeHH 16OuhYDo0L7x/pfa2TTa79XZ7GR5T+1TzPU5WfKCFjA+pR3FyV/qDkHdXQGnzPUH60XC 5PAw== 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 q13-20020a17090aa00d00b002478d1e81c7si23416766pjp.174.2023.05.07.19.28.07; Sun, 07 May 2023 19:28:20 -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 S232167AbjEHBz3 (ORCPT + 99 others); Sun, 7 May 2023 21:55:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229960AbjEHBz1 (ORCPT ); Sun, 7 May 2023 21:55:27 -0400 Received: from out30-98.freemail.mail.aliyun.com (out30-98.freemail.mail.aliyun.com [115.124.30.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38E9AA24B; Sun, 7 May 2023 18:55:26 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R101e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045192;MF=xueshuai@linux.alibaba.com;NM=1;PH=DS;RN=24;SR=0;TI=SMTPD_---0Vhyn0p8_1683510918; Received: from 30.240.112.215(mailfrom:xueshuai@linux.alibaba.com fp:SMTPD_---0Vhyn0p8_1683510918) by smtp.aliyun-inc.com; Mon, 08 May 2023 09:55:21 +0800 Message-ID: <1694e1b3-c4ad-abfe-bf3a-e3210473b3b5@linux.alibaba.com> Date: Mon, 8 May 2023 09:55:17 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH v7 0/2] ACPI: APEI: handle synchronous exceptions with proper si_code Content-Language: en-US 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: <20221027042445.60108-1-xueshuai@linux.alibaba.com> <20230417011407.58319-1-xueshuai@linux.alibaba.com> <92f2642e-ab44-913f-24fa-3313acd905f8@linux.alibaba.com> In-Reply-To: <92f2642e-ab44-913f-24fa-3313acd905f8@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-12.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,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/4/24 14:24, Shuai Xue wrote: > > > On 2023/4/17 AM9:14, 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 into your next tree, so that we can merge > that in next merge window. > > Thank you. > Gentle ping :) Thanks. > Best Regards, > Shuai