Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp7097718yba; Thu, 2 May 2019 04:17:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqyW+9kWCt+xIi4IGhdvsLzA1gSCy9rC5yErdMSFRTAMiqExdJFbROdX5nDfjmAgXQYPV4Fn X-Received: by 2002:a17:902:7885:: with SMTP id q5mr3182602pll.12.1556795855508; Thu, 02 May 2019 04:17:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556795855; cv=none; d=google.com; s=arc-20160816; b=fP3xKuWLV+VwyjaOv7/43PsUqUYoYKTm+pwjJesNFpgBmS2dDEmenvqHWOJQM+yWrI c5y8Sm5xNWnusZ/DEz1dDUH0sXZwLY6FEGIYaxFIwi+Tp7EcmKIMVb9REQcrVJcNM6Ji C2+VusWrHPFFU9WpKX9FAX47sMH4XgrHQKBq4xtdrd10Inkylta4z2mli4TjU1jCmjaY /bpfcErswPEjx8uBmI+n59EAJ5qT1ESD5/CVlgQnZXgXNtVF87HJl39HvlS73ymaP3h7 AGgf1EDvBaMz0HLVLnBLaLQ4IjSqSpg6zVG9ArKaUuhZiYT8aDWL9pPHqwF9opOiIocP tFaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=R5swJlAITju8XH6qDqL0ICBlF1jL9P7SgWpPio7VZHA=; b=SCFF9gDMUHNz8OEDWY17bk5db24Kl7EidS+NZyhUBcMXLLVUN48DIi7YTJLpTepUNZ q8ivA8+lt86pqQbd/0YbpQRqts4SY86RlPxp5IoqUpMQtqfUkxyyzEndb6Vt5Weo5y6a afCKYR5IjJcXVZTZNUZ0YJ4kByFNJTtshXGAylDbV0Uxwuuzdx53Qvk4uOa4XbaC4VfD V+XBEqLtUJ9NzG5+EFh2qrAuWdcEbatCpxaYfesdwfT11yL1o3FtPZgp62bGclZw/cV+ 998VQA0kAhL5Kld4dJ0vsV8Sq55MG54cuS1PnJSI5efra/gTazsWSntJ6lDRqUl4lex4 uSEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=NYaCI5Lq; 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 f91si6812880plb.20.2019.05.02.04.17.20; Thu, 02 May 2019 04:17:35 -0700 (PDT) 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=@sifive.com header.s=google header.b=NYaCI5Lq; 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 S1726400AbfEBLQ0 (ORCPT + 99 others); Thu, 2 May 2019 07:16:26 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:32950 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726231AbfEBLQZ (ORCPT ); Thu, 2 May 2019 07:16:25 -0400 Received: by mail-pf1-f195.google.com with SMTP id z28so966018pfk.0 for ; Thu, 02 May 2019 04:16:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=from:to:cc:subject:date:message-id; bh=R5swJlAITju8XH6qDqL0ICBlF1jL9P7SgWpPio7VZHA=; b=NYaCI5Lq9sbeex/Hyus53942eETnhAANEybb8Pav+qTxn2QwpygQeTPQ9ijMngIIVi MWZiQ9OR8+52nfEJCJRnWdf87muqgNpsbqZvPlnXLqdiiiXCMSpt5B+lKRIjZk+5FaB4 psDwFfwr0qko0Vnjf/Pd5jZN6gLFz5spWZSgGIUXXzqqqj7XRKCqmJsrRjy1jGh+5Yik PIXix3jtrxsLXwyvzF21dFbVZWnYX66hs5XJMJRZk7AQEAR3pOGPhxtrSvqawt7xInuM pVuPXRpetMck8s8L238K0ZaonxcR4gKcebzDnVn5wDtJC/54sgWBu7Q4m92mcw9zNfF+ RLiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=R5swJlAITju8XH6qDqL0ICBlF1jL9P7SgWpPio7VZHA=; b=bmhY5qPDFIWvBNJb0kMvFCQw9ZdqAPz+EurqZasaHVsaHdpKNPHS0nuHCl+XnVqg5j nPj+e2OD5GkeIitpaAFXxx+6FJrBiNZnJPYRm3SrrsaA7eKAhuOubZY46irXdxkw55SO gV50xI3Ar3POvRgWqyCAgc1JsdujYrjTMYHAU1p+SAHZxgzUfSlGgcBfPNJAcns4ScEj oXFutr3swQs+DKqvgrXUhnCcqnzIN3NcmL6EE6FSBxSsigyfcssaGrYeA4A+8WnsaP5M z98SXjJcdAZk1zQ3DQPCg9LnAcYboCd0PM+ZSvAgLGE71zVTeP2qG/RTbU6yTLucyibE Fk+Q== X-Gm-Message-State: APjAAAWu/nvWL8HpMg8ZIHckCpjn7a6V4Jr4PkM2VIEXp8gMW20MTXjq LRr9AlfNVrlRq9gmflEX/6C/kQ== X-Received: by 2002:a65:6688:: with SMTP id b8mr3331152pgw.81.1556795785150; Thu, 02 May 2019 04:16:25 -0700 (PDT) Received: from buildserver-90.open-silicon.com ([114.143.65.226]) by smtp.googlemail.com with ESMTPSA id t65sm5550010pfa.175.2019.05.02.04.16.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 02 May 2019 04:16:24 -0700 (PDT) From: Yash Shah To: linux-edac@vger.kernel.org, linux-riscv@lists.infradead.org, palmer@sifive.com, bp@alien8.de, james.morse@arm.com Cc: paul.walmsley@sifive.com, linux-kernel@vger.kernel.org, aou@eecs.berkeley.edu, mchehab@kernel.org, sachin.ghadi@sifive.com, davem@davemloft.net, gregkh@linuxfoundation.org, nicolas.ferre@microchip.com, paulmck@linux.ibm.com, Yash Shah Subject: [PATCH] EDAC support for SiFive SoCs Date: Thu, 2 May 2019 16:46:00 +0530 Message-Id: <1556795761-21630-1-git-send-email-yash.shah@sifive.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Adds an EDAC platform driver for SiFive SoCs. This patch was earlier part of the patch series: 'L2 cache controller and EDAC support for SiFive SoCs' https://lkml.org/lkml/2019/4/15/320 In order to merge L2 cache controller driver without any dependency on EDAC, this EDAC patch is re-posted separately with updated MAINTAINERS entry. This patch depends on patch 'RISC-V: sifive_l2_cache: Add L2 cache controller driver for SiFive SoCs' https://lkml.org/lkml/2019/5/2/309 The EDAC driver registers for notifier events from the L2 cache controller driver (arch/riscv/mm/sifive_l2_cache.c) for L2 ECC events The patch is based on Linux 5.1-rc2 and tested on HiFive Unleashed board with additional board related patches needed for testing can be found at dev/yashs/L2_cache_controller branch of: https://github.com/yashshah7/riscv-linux.git Yash Shah (1): edac: sifive: Add EDAC platform driver for SiFive SoCs MAINTAINERS | 6 +++ arch/riscv/Kconfig | 1 + drivers/edac/Kconfig | 6 +++ drivers/edac/Makefile | 1 + drivers/edac/sifive_edac.c | 121 +++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 135 insertions(+) create mode 100644 drivers/edac/sifive_edac.c -- 1.9.1