Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2881593ybd; Mon, 24 Jun 2019 14:36:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqymOxgHanDeOVwmAZkyFZ4USkIqHsg7PGMOf3D2H22hZ+sc3YghqW47iM11HaMxVeAaO3nc X-Received: by 2002:a63:6986:: with SMTP id e128mr19937781pgc.220.1561412171451; Mon, 24 Jun 2019 14:36:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561412171; cv=none; d=google.com; s=arc-20160816; b=oISYzsebRM5+cq+h5JWF2uZ6dMcJpbDCnlmDHi+cQ6dF38EeFd0UL215BZrLhJuGrj uuSUvigKVyr+EQHe5OXPBDK/3VxMvNUekIrdicn53hDsIV0MhZVCqflHV79OUrLGE/Xh /eylMn9hBC0VtzhUwl3Opk6fTlm/nW/RGF+sgb+9DIsLcAWg69lwgg6qvm0wVFbJDmSX zQYyuNm+GX6y331O7gcvSjSoLHrzQ6K4hqKFkC0I6bPOEebxcY4zwSV4F+KV6984DCA5 Li2N1lin/FzTIpimchiJZiN2kpVArxiDUzY51MtQGHfjpZWbhzAo8eLhwMBHOxvZhAtT xsTA== 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=s12h5+tZao0CXWobiM/N0qvJ0HUJ2O7xPKlWM6/65AY=; b=RCljwKPyquq1KyBKQGQ/Lzq1bMd+rP+VI5LCJg51qYy0TAt5FuT81Pg9phlkXMz8NK Uqe1pZxijKV6eK0yzfC/Kph9usW0Ku3XlTwhXVau8JW+J5T9J8gPUvLl1n8EQ2pP9Qis eOuJrH9VgcWKPYi1mv26Sw6DqRLaALB+fxyD8lALXK3/4RY7UY1EWEdc9jX5jw1ej/7I fUlkjw6dz56rKFEpjI1QpFqiZ8BMl7O1osC6dK1j/4XQfOgfKxoxQyQLpEy7hkCnVFAy 8zoWFBnoNEm3SONcJ7RImDo79vu6nModr6QmYMhn6BfyNcV0sBdH8n0Md6HQ1ocDy77t jqTQ== 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 h2si11872253plh.380.2019.06.24.14.35.55; Mon, 24 Jun 2019 14:36:11 -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 S1729296AbfFXSmt (ORCPT + 99 others); Mon, 24 Jun 2019 14:42:49 -0400 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:36563 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727664AbfFXSmt (ORCPT ); Mon, 24 Jun 2019 14:42:49 -0400 Received: from Internal Mail-Server by MTLPINE2 (envelope-from sramani@mellanox.com) with ESMTPS (AES256-SHA encrypted); 24 Jun 2019 21:42:47 +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 x5OIgjKM016895; Mon, 24 Jun 2019 14:42:45 -0400 Received: (from sramani@localhost) by farm-0002.mtbu.labs.mlnx (8.14.7/8.13.8/Submit) id x5OIgieg000879; Mon, 24 Jun 2019 14:42:44 -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 v6 0/1] EDAC, mellanox: Add ECC support for BlueField DDR4 Date: Mon, 24 Jun 2019 14:42:11 -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 Chnages since v5: Use shifts/masks for SMC response fields. Add limit check for dimm_per_mc read from firmware. Make use of offset_in_page() call. 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 | 381 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 394 insertions(+) create mode 100644 drivers/edac/bluefield_edac.c -- 2.1.2