Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp264269ybn; Thu, 3 Oct 2019 04:53:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqwOBO7RxK6YO4zlfW/1FB7EcRQYXc+BC0r51glWJYRgFEXcn87caJ0Mz3ZhXo0DCjoHn0ho X-Received: by 2002:a17:906:7fda:: with SMTP id r26mr7455214ejs.170.1570103607335; Thu, 03 Oct 2019 04:53:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570103607; cv=none; d=google.com; s=arc-20160816; b=cAPjHKwpfGhFZLfRR4RM0DN4Bdrj6Skd1/veuQbV14MaqhiXoWJrYaJRJee0tPMyJM IyGFIAsv4RUOdBRAKSTUVltH3sVtVz20llr9egM6jvc/kPUy4i49YSGhqjFVEAtrKpWY qAJuCNe/cnsQ7Dr9JwdX2/M9cCOpl9buTyvpfkslQD9l7cobB6U4emuUEYSLM6/d6fBL IdO/3H2UEcPhhli9AaOtqPeMCKscNQEwDqFvhM/LqYr9/5l96+qRpa+oWtNduNcitsPu VHVNy2bmjGpVYHWw8lotZWMKFqAvXa0qYkJbWEn5wt69LZdwZgPdezAzOHitR7X4a/Eo vp5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=QLZXac2aKdPQN+qy4ncbu1UgsJ89NCj4anql7kIwAq8=; b=HAiubkF2dU9vBcnBMflMIFFeK27wRArjK/f+1WVq5yPKnn3WTDJkLlO72sm9kafWIc z/bN7sTK2QYq9ibw4FKOxN2NgW5H5pJXpZ+DeZZlxE6pjEffJz2B/yvGZjU3OWfii556 L2AIAnV8wj/kwTDDpVqMMM7GoZUu2JY0ivhgAm4hDvoyQnoj5ZdLYQ8RUDDySwiAwP/k AzLWDYmMbonS87+WU5Pcx1iXx0VfSr21H/diEUaWM97ug6DydbVLNuXoNoNWY73tGfOC i+oYoeX+CpU/3BUJLD1H8q2Lm86JiPa3FUpM80SzfSXjAOewO6YSycej7i0dlRXqmL2c A3ZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b="g763e/B3"; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d1si1196034edr.446.2019.10.03.04.53.02; Thu, 03 Oct 2019 04:53:27 -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=@amazon.com header.s=amazon201209 header.b="g763e/B3"; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730204AbfJCLtu (ORCPT + 99 others); Thu, 3 Oct 2019 07:49:50 -0400 Received: from smtp-fw-6002.amazon.com ([52.95.49.90]:44345 "EHLO smtp-fw-6002.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726523AbfJCLtt (ORCPT ); Thu, 3 Oct 2019 07:49:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1570103388; x=1601639388; h=from:to:cc:subject:date:message-id:mime-version; bh=QLZXac2aKdPQN+qy4ncbu1UgsJ89NCj4anql7kIwAq8=; b=g763e/B3o3sQlymTin5Sx/W264Pr9vLiWst+PriT+sBwo2a57qxO+NSP gsTEcvprUwaeksp2980ALWFDRMhEwBMsXecQELXCMd2ouzbxBqZJIavkl aDL+eFht/Jgiv9Sh5h10BnxylKEd+qA00I8Xz3ZK3Ja1AHdbJAwrBQ/zE 4=; X-IronPort-AV: E=Sophos;i="5.67,251,1566864000"; d="scan'208";a="425564051" Received: from iad6-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-1d-2c665b5d.us-east-1.amazon.com) ([10.124.125.6]) by smtp-border-fw-out-6002.iad6.amazon.com with ESMTP; 03 Oct 2019 11:49:47 +0000 Received: from EX13MTAUEA001.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan3.iad.amazon.com [10.40.159.166]) by email-inbound-relay-1d-2c665b5d.us-east-1.amazon.com (Postfix) with ESMTPS id 30825A218B; Thu, 3 Oct 2019 11:49:43 +0000 (UTC) Received: from EX13D01EUB001.ant.amazon.com (10.43.166.194) by EX13MTAUEA001.ant.amazon.com (10.43.61.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 3 Oct 2019 11:49:43 +0000 Received: from udc4a3e82dbc15a031435.hfa15.amazon.com (10.43.161.223) by EX13D01EUB001.ant.amazon.com (10.43.166.194) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 3 Oct 2019 11:49:34 +0000 From: Talel Shenhar To: , , , , , , , , , , , CC: , , , , , , , Subject: [PATCH v3 0/2] Amazon's Annapurna Labs Memory Controller EDAC Date: Thu, 3 Oct 2019 14:49:21 +0300 Message-ID: <1570103363-21486-1-git-send-email-talel@amazon.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.161.223] X-ClientProxiedBy: EX13D10UWB003.ant.amazon.com (10.43.161.106) To EX13D01EUB001.ant.amazon.com (10.43.166.194) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series introduces support for Amazon's Annapurna Labs Memory Controller EDAC driver. Changes since v2: ================= - added missing includes - aggregated variables to same line - removed ranks read - added spinlock to mc reporting - made irq handler clearer - freed irq before freeing device memory - changed Kconfig to tristate - added COMPILE_TEST to Kconfig - converted dt binding to new scheme - used devm_platform_ioremap_resource instead of get&ioremap Changes since v1: ================= - updated dt binding node name and added Rob Reviewed-By - removed auto selecting of this driver Talel Shenhar (2): dt-bindings: edac: al-mc-edac: Amazon's Annapurna Labs Memory Controller EDAC EDAC: al-mc-edac: Introduce Amazon's Annapurna Labs Memory Controller EDAC .../bindings/edac/amazon,al-mc-edac.yaml | 40 +++ MAINTAINERS | 7 + drivers/edac/Kconfig | 7 + drivers/edac/Makefile | 1 + drivers/edac/al_mc_edac.c | 358 +++++++++++++++++++++ 5 files changed, 413 insertions(+) create mode 100644 Documentation/devicetree/bindings/edac/amazon,al-mc-edac.yaml create mode 100644 drivers/edac/al_mc_edac.c -- 2.7.4