Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1274313ybi; Fri, 14 Jun 2019 11:36:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqywbgt0DohECBRr3Fnm76H2oRZng7YN5lnuiCnpXD/KBFIr4p50Y29ze4+AMCJL/i3s57sC X-Received: by 2002:a17:90a:f498:: with SMTP id bx24mr12725671pjb.91.1560537398173; Fri, 14 Jun 2019 11:36:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560537398; cv=none; d=google.com; s=arc-20160816; b=axEHIXznoBzpj+rteqQcPsGoAtEcvYgEsoTjAzjxpPgxmJzx7MikHwxz/O5STDvi+k MVhtaSosq61DoYwM27H+fKXuPy0SCLYiMszJhEHZ+XlIVGiHsCcnE0m2eUnVhqH++BVs YY6OIdXUapAHXO7F2pp7ZVKgDOctZyuioclfdNLlAjAnzrvmgAziqfIFQuv+PKiKveok aG2fd4wWbOf51XMKXI279QLrgKhMTd5bA/nTi1kRKT60R3pbmtZEHsAg5mkiOINU5TlM 8amEi7lsSyEssE29TwGXzaBUf5XNHYFrpMb+b9MNoOo6i10H7FgZYNt5IO/07slhusai yckA== 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=11CHrcLWQER12W3J87IgWqJe8vd38Du4LxUD5n4RhYI=; b=g/Ods0uPoZRCLEBnqEbQYfq29XtRBHPNao+PZgJVTC9AG/FqmF3zaOZkXqQUhJ8QZE dXcO5tIJguaNAyhkj3iSPI4ESzOGNxB9eEqzbDZe7ObON87dthwRRVFn2PmWK4/QLx8B t5q5OpYxseO5H2SAW19voXXWx2CjDSzar+Yk4nAlDJADww1KQRs67RvNVkeJcKXsOjR/ D/TkLeVcGkmj2cVlH5zbel71pgDAVq5++ksFFuVvopObVkAW8ockIYqCwtkqcmNx+VjC mEjoZMskI/hQAwAMVI0T3j7JFBHW2Z79OYAZs/1AXNxbaLcyGeq0ZJqRuLtO0zwDGHC3 cCKQ== 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 r200si3264028pfc.281.2019.06.14.11.36.22; Fri, 14 Jun 2019 11:36:38 -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 S1726255AbfFNSgP (ORCPT + 99 others); Fri, 14 Jun 2019 14:36:15 -0400 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:44165 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726140AbfFNSgP (ORCPT ); Fri, 14 Jun 2019 14:36:15 -0400 Received: from Internal Mail-Server by MTLPINE2 (envelope-from sramani@mellanox.com) with ESMTPS (AES256-SHA encrypted); 14 Jun 2019 21:36:13 +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 x5EIaA94028582; Fri, 14 Jun 2019 14:36:10 -0400 Received: (from sramani@localhost) by farm-0002.mtbu.labs.mlnx (8.14.7/8.13.8/Submit) id x5EIa8NC017811; Fri, 14 Jun 2019 14:36:08 -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 v4 0/1] EDAC, mellanox: Add ECC support for BlueField DDR4 Date: Fri, 14 Jun 2019 14:35:52 -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 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 | 404 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 417 insertions(+) create mode 100644 drivers/edac/bluefield_edac.c -- 2.1.2