Message ID | 1506516620-20033-2-git-send-email-xiexiuqi@huawei.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D758660365 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 27 Sep 2017 12:47:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CB52828EF8 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 27 Sep 2017 12:47:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C01DE2907D; Wed, 27 Sep 2017 12:47:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5E44F28EF8 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 27 Sep 2017 12:47:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=PtEGSJHImUOzv9okLWWPZFtvpzVfSS7Jl7dRHVtlZp8=; b=ko9e7AKqKrWfJx Rb9SxI+UGnW2hGOuestBGKQEAi0mOn0SQ0JC67N8ANJVU1n+DkVqMJs+y9lo5+kvUprcNTeDOFo24 g5jLyUSJ+COgfj4ViFpbgDZdYNWk1LNvN0je5/UbDhaVTDi30RL93NAICJvvR/2vT/N6IE+xppmX+ CxMqOiaolBY9qAzurCsLow1IFS6ImdsXw3QtSrSpS7hJr280y7+IxPR8G46ksc71Rmy2ceWcwf3t9 qCMcd6KEnOqiQz/bKBSyDn8QUCsFgHmXem+Fbh7Vj3UpyF3RelHpVmvEIQa81fYw7PGFBMR4ILhho w2tBBpCQGu74c257g+zA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dxBkV-00013c-7S; Wed, 27 Sep 2017 12:47:35 +0000 Received: from szxga05-in.huawei.com ([45.249.212.191]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dxBkB-0000lw-Ty for linux-arm-kernel@lists.infradead.org; Wed, 27 Sep 2017 12:47:17 +0000 Received: from 172.30.72.59 (EHLO DGGEMS412-HUB.china.huawei.com) ([172.30.72.59]) by dggrg05-dlp.huawei.com (MOS 4.4.6-GA FastPath queued) with ESMTP id DID15374; Wed, 27 Sep 2017 20:46:43 +0800 (CST) Received: from localhost.localdomain.localdomain (10.175.113.25) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.301.0; Wed, 27 Sep 2017 20:46:35 +0800 From: Xie XiuQi <xiexiuqi@huawei.com> To: <catalin.marinas@arm.com>, <will.deacon@arm.com>, <mingo@redhat.com>, <mark.rutland@arm.com>, <ard.biesheuvel@linaro.org>, <james.morse@arm.com>, <Dave.Martin@arm.com>, <takahiro.akashi@linaro.org>, <tbaicar@codeaurora.org>, <stephen.boyd@linaro.org>, <bp@suse.de>, <julien.thierry@arm.com>, <shiju.jose@huawei.com>, <zjzhang@codeaurora.org> Subject: [PATCH v4 1/4] ACPI, CPER: add arm error info type definition Date: Wed, 27 Sep 2017 20:50:17 +0800 Message-ID: <1506516620-20033-2-git-send-email-xiexiuqi@huawei.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1506516620-20033-1-git-send-email-xiexiuqi@huawei.com> References: <1506516620-20033-1-git-send-email-xiexiuqi@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.175.113.25] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020202.59CB9DB3.00A9, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: c0f37dc488947b123720bd3eeb40bd0b X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170927_054716_294113_16CADF16 X-CRM114-Status: UNSURE ( 6.65 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: wangkefeng.wang@huawei.com, cj.chengjian@huawei.com, xiexiuqi@huawei.com, linux-kernel@vger.kernel.org, gengdongjiu@huawei.com, lijinyue@huawei.com, linux-acpi@vger.kernel.org, hanjun.guo@linaro.org, huawei.libin@huawei.com, guohanjun@huawei.com, zhengqiang10@huawei.com, wangxiongfeng2@huawei.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/include/linux/cper.h b/include/linux/cper.h index 723e952..9106e2b 100644 --- a/include/linux/cper.h +++ b/include/linux/cper.h @@ -275,6 +275,11 @@ enum { #define CPER_ARM_INFO_FLAGS_PROPAGATED BIT(2) #define CPER_ARM_INFO_FLAGS_OVERFLOW BIT(3) +#define CPER_ARM_INFO_TYPE_CACHE 0 +#define CPER_ARM_INFO_TYPE_TLB 1 +#define CPER_ARM_INFO_TYPE_BUS 2 +#define CPER_ARM_INFO_TYPE_UARCH 3 + /* * All tables and structs must be byte-packed to match CPER * specification, since the tables are provided by the system BIOS
Add arm error info type definition according to ACPI6.1 Table 261. ARM Processor Error Information Structure, which is used for error recovery in the following patches. Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com> --- include/linux/cper.h | 5 +++++ 1 file changed, 5 insertions(+)