Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2868077ybi; Mon, 17 Jun 2019 11:44:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqw4Tf07OMMv16ynakpBvpC8vnGheeliOngXH98LBW/YV0GsOlVwLW/CZEFQq7ifEiJil6B0 X-Received: by 2002:a62:778d:: with SMTP id s135mr44172161pfc.204.1560797092766; Mon, 17 Jun 2019 11:44:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560797092; cv=none; d=google.com; s=arc-20160816; b=Q8+TLZHRQ9TRPPNDduVvF0ZNLpGS+zFKXx+E/PoInA/cOQgLAEUB/EtMHi4XEiz2k7 V8HvMO9/NL3iWThIyUSovBs/PI3SRK/BesvHvqDDFYhcXU3OMxbpeY1DdJ3XoiI4R0x1 oohtpiJ+Uo7KW/pWp4iaPidWsq8sfNzuHAiRvi6hEOz5RMPxdE7g1B5Dy46CNU/nMdYq MnGFWcAhcMPFgychHxwycRd6vHrS8GwKVRWZIiBoZ12cW+cNuJQxEtbgL1wv1XZBh7MA 2zQVwdq2zwyo20NZMiwq47UG2PNjDMQfEeOK2Ozf6O29kM6e8n5xAWL48kB65wWwDDez 25Pw== 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; bh=VGc17WT0xywRP51AfE1X1eLE9uVFPjNy/DZTFJ4eA7A=; b=KXxxJ7DCR7UHGHxOU+kf0L9ltj8zwwZccc+ePO7tnam408Rxu6bd/5HiQy5LRr4Ix4 0kBfzqnchfbh0FHLCNAYVm1dFXO7r3rHw9z4qqQxJd2Mkn0Pm6irst0uP265S7zFkmwq Ut2T5+xkik5HJPhak2zTzT+mq9cTpKGpW1wuA/pwiS6NINhBcBgzwwueSYuvGEWziFm7 JTzOutDj7kCp1lALY4adz634/UUjTeHp2F5ggniK5loggSMe6vwnReF87TZlimWK049t YNnixrozPnYqbztyJ3e7SHcNug/1S/2bIxfPVBwubS7Ehja7RizaOjLye1HelVcxFUPA 0KBQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u62si9811652pgu.334.2019.06.17.11.44.37; Mon, 17 Jun 2019 11:44:52 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728775AbfFQSlv (ORCPT + 99 others); Mon, 17 Jun 2019 14:41:51 -0400 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:34028 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727409AbfFQSln (ORCPT ); Mon, 17 Jun 2019 14:41:43 -0400 Received: from Internal Mail-Server by MTLPINE2 (envelope-from sramani@mellanox.com) with ESMTPS (AES256-SHA encrypted); 17 Jun 2019 21:41:41 +0300 Received: from farm-0002.mtbu.labs.mlnx (farm-0002.mtbu.labs.mlnx [10.15.2.32]) by mtbu-labmailer.labs.mlnx (8.14.4/8.14.4) with ESMTP id x5HIfeLY003389; Mon, 17 Jun 2019 14:41:40 -0400 Received: (from sramani@localhost) by farm-0002.mtbu.labs.mlnx (8.14.7/8.13.8/Submit) id x5HIfd96011255; Mon, 17 Jun 2019 14:41:39 -0400 From: Shravan Kumar Ramani To: Borislav Petkov , Mauro Carvalho Chehab , James Morse Cc: Shravan Kumar Ramani , Liming Sun , linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 0/1] EDAC, mellanox: Add ECC support for BlueField DDR4 Date: Mon, 17 Jun 2019 14:41:15 -0400 Message-Id: X-Mailer: git-send-email 2.1.2 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Changes since v4: Shorten long macro names. Changes since v3: Replace bitfields with shifts and masks. Make use of SZ_ and PAGE_ macros. Read DIMM count from the ACPI table instead of hard-coding the info in the driver. Shravan Kumar Ramani (1): EDAC, mellanox: Add ECC support for BlueField DDR4 MAINTAINERS | 5 + drivers/edac/Kconfig | 7 + drivers/edac/Makefile | 1 + drivers/edac/bluefield_edac.c | 366 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 379 insertions(+) create mode 100644 drivers/edac/bluefield_edac.c -- 2.1.2