Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1471534ybl; Thu, 5 Dec 2019 01:53:42 -0800 (PST) X-Google-Smtp-Source: APXvYqz8ERD4FpzZtGmwt3awnvFx7EnjTtcC5WpaclTRRx/kX4w4h7PsRSik1trAL0b7NQ3Z1Ve/ X-Received: by 2002:aca:f514:: with SMTP id t20mr6551698oih.24.1575539622414; Thu, 05 Dec 2019 01:53:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575539622; cv=none; d=google.com; s=arc-20160816; b=K0lYuZtrUYJv/GU/6+fq7nhUpuFJ4nE+5nP3j47AnmS489EQUFc6OWHt5NPUxBYNPG SczNfmLMo6zkVMGA9fE91bvWkK03wYPkvfLz0C3tf7nJJOfjGHcVag+VL8rIq3cqBVq+ 5q7LYARKUl2JwXxrnMEIU6rhIcFKPaXPJH0RQHTVXGblEE7Ys7vDfJWOqalsWtNk8mjq xtPGbqRIZUrIOjw4M9dfTXlXmpl8UpaeSmsJa6+eqSu0+0eKMgpsRgPVPPCXdX/qxdmI HUjSbh8QU7st0GqOHY5MQrzDFDJcdQfHfacPYKpnF5ly8GOMpKN2UDE33qBbUI/4vfy+ iwCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:feedback-id:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dmarc-filter :dkim-signature:dkim-signature; bh=GhjaiskDWrqpzhWnCqTnNijQpIfYiau/vZ/fRB9+tv8=; b=qU+hDDEPWFlRspociAfYvZRjO/4yUdG9K/zFGDX9n9k30y6F+ul2IVobRgryHCLR2+ TDAIRiTVDWKeW6WPuDHiA7oBXV39tSF7a6nHABO/hjsZPHl9tDTMgv2r47iK/CkdJDBH fkywKbV7no25ZKQZn7yPsdwBSxBM7FHhbKmHIbpQGmSrq+LBKkgraHDQr6sKfUWiWHoX TxBP+EsxyyTm+ve21tRiqRqgQSuFp0IxdTBSrvnufI2pesnOAi26pUTYwZBbhasPOZNf cRSmNqZ8zlbzsLHEkCk0XYSb131+LZ8cpYVfDx20vclvOTmLy6yWa/lLzROlYEmXax/V PLFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=zsmsymrwgfyinv5wlfyidntwsjeeldzt header.b=EYD9xJTC; dkim=pass header.i=@amazonses.com header.s=gdwg2y3kokkkj5a55z2ilkup5wp5hhxx header.b="WxAIW5/z"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p131si4673783oib.65.2019.12.05.01.53.29; Thu, 05 Dec 2019 01:53:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=zsmsymrwgfyinv5wlfyidntwsjeeldzt header.b=EYD9xJTC; dkim=pass header.i=@amazonses.com header.s=gdwg2y3kokkkj5a55z2ilkup5wp5hhxx header.b="WxAIW5/z"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729087AbfLEJw7 (ORCPT + 99 others); Thu, 5 Dec 2019 04:52:59 -0500 Received: from a27-186.smtp-out.us-west-2.amazonses.com ([54.240.27.186]:60124 "EHLO a27-186.smtp-out.us-west-2.amazonses.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726096AbfLEJw6 (ORCPT ); Thu, 5 Dec 2019 04:52:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=zsmsymrwgfyinv5wlfyidntwsjeeldzt; d=codeaurora.org; t=1575539577; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Transfer-Encoding; bh=CO0cVItG7+3d1ni5t/elfx3WOfPpM1c5YYqLbJ16tG0=; b=EYD9xJTC06/x58IwDfcMbilMSII7LE0tGNL4+siE1ZconNxhWPNI3ZePYf/ndDVI bubwCST1hHSv/myYUO1Ys8ZMYDUKKIsKuAvVMrpOJmlTkifaXvrjWZAi9n5wY6j3dH5 SDU2m3sEe0eDsRktOJ1e74BtRc/GPuUlreEWKi0s= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=gdwg2y3kokkkj5a55z2ilkup5wp5hhxx; d=amazonses.com; t=1575539577; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Transfer-Encoding:Feedback-ID; bh=CO0cVItG7+3d1ni5t/elfx3WOfPpM1c5YYqLbJ16tG0=; b=WxAIW5/zbEtyE1dUXeTGRFOU/kOkgOWCHu8wTSFCoaSsWVf8Y16mh49Jm9Z7wEuL 8rYjq7rlrowxM6PNrltfpYC57TD+a5MU+CBMPJhIUlP/j13sYkaWjH5MIycW2eC4YoR c9T74gTkJGKc7rOkSuU/DSL6Ve7ECBaqurjFG12U= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.0 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 0BA2AC447AE Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=saiprakash.ranjan@codeaurora.org From: Sai Prakash Ranjan To: Andy Gross , Bjorn Andersson , Mark Rutland , Rob Herring , devicetree@vger.kernel.org, Borislav Petkov , Mauro Carvalho Chehab , Tony Luck , James Morse , Robert Richter , linux-edac@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Stephen Boyd , Evan Green , tsoni@codeaurora.org, psodagud@codeaurora.org, Sai Prakash Ranjan Subject: [PATCH 0/2] Add EDAC support for Kryo CPU core caches Date: Thu, 5 Dec 2019 09:52:57 +0000 Message-ID: <0101016ed57a1246-ffd8974e-2d90-4333-939f-6e0d1aeb158c-000000@us-west-2.amazonses.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SES-Outgoing: 2019.12.05-54.240.27.186 Feedback-ID: 1.us-west-2.CZuq2qbDmUIuT3qdvXlRHZZCpfZqZ4GtG9v3VKgRyF0=:AmazonSES Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series implements EDAC support for error reporting on Kryo{3,4}XX CPU caches L1,L2, L3-SCU. All the cores(big.LITTLE) in Kryo{3,4}XX CPUs implement RAS extensions and use interrupt based ECC mechanism to report errors. This series has been tested on SC7180, SDM845, SM8150 SoCs with Kryo{3,4}XX CPU cores based on ARM Cortex-A55, Cortex-A75 and Cortex-A76. This implementation is platform specific in contrast to the patch posted last time for generic error reporting on arm cortex implementations with RAS extensions by Kyle Yan. - https://patchwork.kernel.org/patch/10161955/ Downstream implementation of this can be found at: - https://source.codeaurora.org/quic/la/kernel/msm-4.14/tree/drivers/edac/kryo_arm64_edac.c?h=msm-4.14 Sai Prakash Ranjan (2): dt-bindings: edac: Add DT bindings for Kryo EDAC drivers: edac: Add EDAC support for Kryo CPU caches .../bindings/edac/qcom-kryo-edac.yaml | 67 ++ MAINTAINERS | 7 + drivers/edac/Kconfig | 20 + drivers/edac/Makefile | 1 + drivers/edac/qcom_kryo_edac.c | 679 ++++++++++++++++++ 5 files changed, 774 insertions(+) create mode 100644 Documentation/devicetree/bindings/edac/qcom-kryo-edac.yaml create mode 100644 drivers/edac/qcom_kryo_edac.c -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation