From patchwork Wed Aug 1 20:33:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Venkata Narendra Kumar Gutta X-Patchwork-Id: 10552945 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 875ED157D for ; Wed, 1 Aug 2018 20:33:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7A5692B926 for ; Wed, 1 Aug 2018 20:33:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6BBAB2B933; Wed, 1 Aug 2018 20:33:51 +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=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C91E02B926 for ; Wed, 1 Aug 2018 20:33:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731482AbeHAWVV (ORCPT ); Wed, 1 Aug 2018 18:21:21 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:54926 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729188AbeHAWVV (ORCPT ); Wed, 1 Aug 2018 18:21:21 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 08FA860714; Wed, 1 Aug 2018 20:33:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1533155628; bh=rf5r2KB9k3dua26fU+anCp3alD1+Z7VKbDjdKEkNm94=; h=From:To:Subject:Date:From; b=Fde3ONo0a7BRe6FOgofTkt8a5WETfYf3caqznoNk4vmVmOrJmLBZBtjyJ7g4GQ0Y+ Nm+fUcDYrrGDmRJwgW4kk6u5h7ExPhRNq7xqw93h7Yin1xJzpQ328jgtT9bFcI56qv /fEMVDI9LZVMa6mkok0IkeHtYESnHFKVogKG5Vuk= Received: from vgutta-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: vnkgutta@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 8B259606DD; Wed, 1 Aug 2018 20:33:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1533155627; bh=rf5r2KB9k3dua26fU+anCp3alD1+Z7VKbDjdKEkNm94=; h=From:To:Subject:Date:From; b=Duoz5+X2f91t+KfE6t923KDYvrNjviPeaAQ4StCuAGYSzRYBEvolDOZnWqorNTWCG Osv3ZUwn+avN/SnfAXPZxISOl+c6nk5Hp93nWCmxkF4OHUiRVqh0vPToZhiZaneuqb l9RP1TGU97cCq0ZbGlwhlS0bBTzHmiN9bOxBDIUE= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 8B259606DD Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=vnkgutta@codeaurora.org From: Venkata Narendra Kumar Gutta To: evgreen@chromium.org, robh@kernel.org, mchehab@kernel.org, linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, andy.gross@linaro.org, david.brown@linaro.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, tsoni@codeaurora.org, ckadabi@codeaurora.org, rishabhb@codeaurora.org, bp@alien8.de Subject: [PATCH v1 0/4] Add EDAC driver for QCOM SoCs Date: Wed, 1 Aug 2018 13:33:31 -0700 Message-Id: <1533155615-27929-1-git-send-email-vnkgutta@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This series implements EDAC driver for QCOM SoCs. As of now, this driver supports EDAC for Last Level Cache Controller (LLCC). LLCC EDAC driver is to detect and report single and double bit errors on Last Level Cache Controller (LLCC) cache. This driver also takes care of dumping registers and also adding config options to enable and disable panic when these errors happen in LLCC. The driver functionality is implemented in: qcom_edac.c : This platform driver registers to edac framework and handles the single and double bit errors in cache by registering interrupt handlers. llcc-slice.c: It invokes the llcc edac driver and passes platform data to it. This patchset depends on the LLCC driver, which is yet to be merged. Link: https://patchwork.kernel.org/patch/10422531/ Link: http://lists-archives.com/linux-kernel/29157082-dt-bindings-documentation-for-qcom-llcc.html Changes since v0: * Added EDAC_QCOM config and updated the driver * Addressed comments related to indentation and other minor ones Channagoud Kadabi (1): drivers: edac: Add EDAC driver support for QCOM SoCs Venkata Narendra Kumar Gutta (3): drivers: soc: Add broadcast base for Last Level Cache Controller (LLCC) drivers: soc: Add support to register LLCC EDAC driver dt-bindigs: Update documentation of qcom,llcc .../devicetree/bindings/arm/msm/qcom,llcc.txt | 15 +- MAINTAINERS | 7 + drivers/edac/Kconfig | 28 ++ drivers/edac/Makefile | 1 + drivers/edac/qcom_edac.c | 507 +++++++++++++++++++++ drivers/soc/qcom/llcc-slice.c | 73 ++- include/linux/soc/qcom/llcc-qcom.h | 6 +- 7 files changed, 610 insertions(+), 27 deletions(-) create mode 100644 drivers/edac/qcom_edac.c