Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5189928rwr; Sun, 23 Apr 2023 23:38:00 -0700 (PDT) X-Google-Smtp-Source: AKy350Z3GfdY+1uZzlTspe5gkKppGnHkBvH4N90fqaOo1vsCcEAtCBs6cnAdWd6u5VrFkGF1Qcat X-Received: by 2002:a05:6a20:4405:b0:f2:a2e5:c1f4 with SMTP id ce5-20020a056a20440500b000f2a2e5c1f4mr11701067pzb.20.1682318280170; Sun, 23 Apr 2023 23:38:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682318280; cv=none; d=google.com; s=arc-20160816; b=tdCimq/CynTvRvZoNxOei/sll8cx9ylFHBmpyjM9KsrZXMIQEc2imhZw2iQzq1CuAN t9/YVs5wrhxR1F89AZnYssreEUy3H8+7fjLVk92xmCgiRFsKwUesyZOawhOiLqgVTzIq HSRpGyspOSor9zgBJ0uGDCZ0XQgX+bOCqnmFmp3VzEfxowe5UNXOL+pjF3xMjrt9XU7H 4XJNedOkdMmKJm5uN2EOlD/3NndDV7S7Ym5/7RAwEG16Ns49wX/wh6DmL7sxt43fl244 OSjB6E7RZqE9nu2uCyWmDKjHsCSYVjjsi5rK6fBwVTMwSRwqRBJB7y6nnu0BtLJLLlCa TNhg== 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:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id; bh=C4srZS1E7pRjScdC8iRUiV7Z9PF/EAe7YeecryVbBPo=; b=sGzK3O1pXoouOaEzprSlProaNyAy8onZhH7Zyx4xA9lmTaTA3lw5D8VXYgx5EtzOSA xqy0YHAwYm5tUvUOY0NclWfXQAwies6b+gm/BaauGIpM1y/UplH9qFhEByI8rGxQRuHu Svm/UuNCUqUoAInVIgqcDxytdW1cHjI1AWHec2P/MaF4R9+MbFUJccdmY/TVzzprjQB9 Hx08S1DhrNjMKcGnLkSL7DTk4yaUVVw/wBmyYiYG6Mwp54Lb70fQzXbrZIExolmcmkC5 D49cVPoWsDt8ObjmiKBT06944ag+xGPJFErO3KKqaDz9ZabHQoKM3msPR1F9qxIuuUKa OxXg== 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 g9-20020aa79f09000000b005cd3a233e3asi10442495pfr.346.2023.04.23.23.37.48; Sun, 23 Apr 2023 23:38:00 -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 S230139AbjDXGYW (ORCPT + 99 others); Mon, 24 Apr 2023 02:24:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229458AbjDXGYV (ORCPT ); Mon, 24 Apr 2023 02:24:21 -0400 Received: from out30-124.freemail.mail.aliyun.com (out30-124.freemail.mail.aliyun.com [115.124.30.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55EDE1726; Sun, 23 Apr 2023 23:24:19 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R161e4;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_---0VgnzJxO_1682317453; Received: from 30.240.114.50(mailfrom:xueshuai@linux.alibaba.com fp:SMTPD_---0VgnzJxO_1682317453) by smtp.aliyun-inc.com; Mon, 24 Apr 2023 14:24:14 +0800 Message-ID: <92f2642e-ab44-913f-24fa-3313acd905f8@linux.alibaba.com> Date: Mon, 24 Apr 2023 14:24:12 +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.0 Subject: Re: [PATCH v7 0/2] ACPI: APEI: handle synchronous exceptions with proper si_code 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> Content-Language: en-US From: Shuai Xue In-Reply-To: <20230417011407.58319-1-xueshuai@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-12.1 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/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. Best Regards, Shuai