Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp282659pxb; Fri, 15 Jan 2021 03:13:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJycz5jmfbJFc+115JjdM3Idw+Q1OCpMxjnUx43Tcyoh2DrshHsG57ftbxA5yfnfr4IAOHuy X-Received: by 2002:a05:6402:3186:: with SMTP id di6mr8716601edb.16.1610709222105; Fri, 15 Jan 2021 03:13:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610709222; cv=none; d=google.com; s=arc-20160816; b=RcOyHxBPrvKpfMl5N5087AjRYWGX3wIHtPzf+3l9zfMnB1V+r9RLDsCTAHh0HV5GiU 0gLtlk4PIUXBiXT2o21u/LxRnsKbpSpyde467oZvWaQVxOqavvZLUyXYHW5xpPQrwv+l utaAsZcyCyrpLLKKcy5XHhOOjD5dlyszGI9HOUWqO0TnOTobucsf3vZCDcpGE0fQQj69 F4KKIei5S8GG3ac+IbBy0bKImlkXvvi9QFNmEHfiE4r6zQiRKU6/w/HkMS7DQGjmn74z OZvwj8VRML5q5FAqe0vbFgZeI0Rm45Dgj64U5FG0R8/SaZ3cAwBUCT4HpQ8vUeNYobYw YFJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=ne63MCbyLFhxKN4rxsY9D9PIFgaWydsbchoXpIgpSlQ=; b=VEYxr7j4MBwTKSxrW6PG3WgnKBDIk5RN9Hr8C7KZLw5wjL2NGetXSMQ+r68eMJ8h8M J8lgXW1/6ZnHrohOeuCnw8h+i/+TakProf5MweD6kxZR3HwzwFU/3v0jcWplq4kM+rxt MYMhQYxq4IHJJXKOTyCl1Hj6nnd1neRcqcLRLmcBJ+23Dgiyjbc1zVM1OP0ZXysRD4qF mx7xrZ+Z0F+K8Ac9BUDDksRd3Sp2bcCK67zZnBc9QG2tTxt9jpZvuPz9aNEbjz0UUivc 1Vh/mzfItptFvIhHiZ7dw3bsaKDwURhybWOJqP8sTGKffy1Rj0uuzhpVZIgx/3ycvO0C y8eA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g8si3849650ejm.620.2021.01.15.03.13.17; Fri, 15 Jan 2021 03:13:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727196AbhAOLHP (ORCPT + 99 others); Fri, 15 Jan 2021 06:07:15 -0500 Received: from frasgout.his.huawei.com ([185.176.79.56]:2355 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727128AbhAOLHO (ORCPT ); Fri, 15 Jan 2021 06:07:14 -0500 Received: from fraeml743-chm.china.huawei.com (unknown [172.18.147.201]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4DHJDV0Qyhz67bNM; Fri, 15 Jan 2021 19:02:34 +0800 (CST) Received: from lhreml712-chm.china.huawei.com (10.201.108.63) by fraeml743-chm.china.huawei.com (10.206.15.224) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Fri, 15 Jan 2021 12:06:31 +0100 Received: from lhreml715-chm.china.huawei.com (10.201.108.66) by lhreml712-chm.china.huawei.com (10.201.108.63) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Fri, 15 Jan 2021 11:06:31 +0000 Received: from lhreml715-chm.china.huawei.com ([10.201.108.66]) by lhreml715-chm.china.huawei.com ([10.201.108.66]) with mapi id 15.01.2106.002; Fri, 15 Jan 2021 11:06:30 +0000 From: Shiju Jose To: Borislav Petkov CC: "linux-edac@vger.kernel.org" , "linux-acpi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "james.morse@arm.com" , "mchehab+huawei@kernel.org" , "tony.luck@intel.com" , "rjw@rjwysocki.net" , "lenb@kernel.org" , "rrichter@marvell.com" , Jonathan Cameron , tanxiaofei , "linuxarm@openeuler.org" Subject: RE: [RFC PATCH 1/2] EDAC/ghes: Add EDAC device for the CPU caches Thread-Topic: [RFC PATCH 1/2] EDAC/ghes: Add EDAC device for the CPU caches Thread-Index: AQHWzYfjlbqCwiJRuEue7sP+GeTJvaoRjUKAgBcV6jA= Date: Fri, 15 Jan 2021 11:06:30 +0000 Message-ID: References: <20201208172959.1249-1-shiju.jose@huawei.com> <20201208172959.1249-2-shiju.jose@huawei.com> <20201231164409.GC4504@zn.tnic> In-Reply-To: <20201231164409.GC4504@zn.tnic> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.47.87.250] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgQm9yaXMsDQoNClRoYW5rcyBmb3IgdGhlIGZlZWRiYWNrLg0KQXBvbG9naWVzIGZvciB0aGUg ZGVsYXkuDQoNCj4tLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPkZyb206IEJvcmlzbGF2IFBl dGtvdiBbbWFpbHRvOmJwQGFsaWVuOC5kZV0NCj5TZW50OiAzMSBEZWNlbWJlciAyMDIwIDE2OjQ0 DQo+VG86IFNoaWp1IEpvc2UgPHNoaWp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