Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1514229pxb; Fri, 6 Nov 2020 11:35:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJyQxD65sHAIn/Rmu8qLllHHTm7Sl3rKMar0TGp9wuOulhPADfwf76mpUmsWUcj0aDbrk7z5 X-Received: by 2002:aa7:da81:: with SMTP id q1mr3664066eds.14.1604691346024; Fri, 06 Nov 2020 11:35:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604691346; cv=none; d=google.com; s=arc-20160816; b=QBZHiGcX7hL/2KbEIJVOO0mxUcnXxp+zo8A7eA+7h7Jmdf75qIqH7yiwJxTYJRBAJh UaMxWBJUX2MwT96P4HGlUEYJYCjZaAwayn0QQGEHDlgTlhPY+EQzp0DWLJVXeh/PxWtQ wwOHCPHYD4plBJMXcAGVGqXeItUpucXOgu/aQPTjkLXbA9CTCbKFrS4SBRhqIyGfl/nx iUtJaUEFJdvPz/DAFEAjHbVLSgjsueVfhmI25w5jteP8OGYyWZipBxteUuBdpC9DziLU wg4t5Wm5xo+OnBaDID/DWR2jc1Q3vWZE0N8Q7YyQMIPZfiLwWgURdO3MnXDDRZ0PjoSz EBTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=q4xvI8N/KfeFOcu1iAH0QCgrM7xl7IGhBgdM6SaeLus=; b=Hi3k/dJdNJJh02SHb5xtSdxLATIEf5lWhUmpBxygQw2Jbp4NrXet6fWn57AjJKo1Fm qbUdAs2+aQFG/hn8OydH8FFn0t68vI4w/jJ22W6hLMmutW800IfMCGkdNd2Y1kOoKcll lDwbsn2Pb6TmiKR2IVOBgBO3h+bj/IX7nA3giNQzCBPmwr1q6r3Pq2R+ar5D0fDTf2Ql plDMj7B1RzFJqPq8AN1cP4TaBYGtCz2n+WUVRkNRQT+5/mV9Hd05QMXGutxnxXH9FFtI NExIs13tJ+97KZiCprjVigur5yaRTIsOHMTEAh19t2atRNJsjaJ8eg4p6mwkbwT3tsE1 Yujg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p5si1667870ejy.384.2020.11.06.11.35.22; Fri, 06 Nov 2020 11:35:46 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728249AbgKFTdz (ORCPT + 99 others); Fri, 6 Nov 2020 14:33:55 -0500 Received: from foss.arm.com ([217.140.110.172]:43978 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728140AbgKFTdy (ORCPT ); Fri, 6 Nov 2020 14:33:54 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D42FD1509; Fri, 6 Nov 2020 11:33:53 -0800 (PST) Received: from [172.16.1.113] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 070BB3F802; Fri, 6 Nov 2020 11:33:51 -0800 (PST) Subject: Re: [RFC PATCH 0/4] EDAC/ghes: Add EDAC device for recording the CPU error count To: Shiju Jose Cc: linux-edac@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, bp@alien8.de, tony.luck@intel.com, rjw@rjwysocki.net, lenb@kernel.org, rrichter@marvell.com, linuxarm@huawei.com, jonathan.cameron@huawei.com References: <20201105174233.1146-1-shiju.jose@huawei.com> From: James Morse Message-ID: <87b00978-8d5d-1917-b801-e6a36f704fb3@arm.com> Date: Fri, 6 Nov 2020 19:33:46 +0000 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20201105174233.1146-1-shiju.jose@huawei.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Shiju, On 05/11/2020 17:42, Shiju Jose wrote: > For the firmware-first error handling on ARM64 hardware platforms, > CPU cache corrected error count is not recorded. > Create an CPU EDAC device and device blocks for the CPU caches > for this purpose. The EDAC device blocks are created based on the > CPU caches information represented in the ACPI PPTT. Using the PPTT won't work on x86 systems. Can we use the core-code's common data to learn about caches: struct cpu_cacheinfo and struct cacheinfo ? Thanks, James