From patchwork Tue Nov 15 16:41:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xie XiuQi X-Patchwork-Id: 13043993 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7623BC4332F for ; Tue, 15 Nov 2022 16:23:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230463AbiKOQXc (ORCPT ); Tue, 15 Nov 2022 11:23:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229767AbiKOQXa (ORCPT ); Tue, 15 Nov 2022 11:23:30 -0500 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0CB7F5E; Tue, 15 Nov 2022 08:23:28 -0800 (PST) Received: from canpemm500001.china.huawei.com (unknown [172.30.72.57]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4NBWbb1rxszqSMb; Wed, 16 Nov 2022 00:19:39 +0800 (CST) Received: from localhost.localdomain.localdomain (10.175.113.25) by canpemm500001.china.huawei.com (7.192.104.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 16 Nov 2022 00:23:25 +0800 From: Xie XiuQi To: , , , , , , , , , , CC: , , Subject: [PATCH v2 0/2] arm64: fix error unhandling in synchronous External Data Abort Date: Wed, 16 Nov 2022 00:41:44 +0800 Message-ID: <20221115164146.106005-1-xiexiuqi@huawei.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Originating-IP: [10.175.113.25] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To canpemm500001.china.huawei.com (7.192.104.163) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org According to the RAS documentation, if we cannot determine the impact of the error based on the details of the error when an SEA occurs, the process cannot safely continue to run. Therefore, for unhandled error, we should signal the system and terminate the process immediately. PATCH 1: fix compile warning reported by kernel test robot. PATCH 2: kill current process for unknown errors in when an SEA occurs.. --- v2: fix compile warning reported by kernel test robot. Xie XiuQi (2): ACPI: APEI: include missing acpi/apei.h arm64: fix error unhandling in synchronous External Data Abort arch/arm64/kernel/acpi.c | 6 ++++++ drivers/acpi/apei/apei-base.c | 5 +++++ drivers/acpi/apei/ghes.c | 14 +++++++++++--- include/acpi/apei.h | 1 + 4 files changed, 23 insertions(+), 3 deletions(-)