Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2460371ybv; Mon, 24 Feb 2020 05:42:47 -0800 (PST) X-Google-Smtp-Source: APXvYqyQTk3b2vfQnhOsRNtHd4V1O1mGb20GJNmWnxn+84oTFlAyh5fJRxU8fDZQK1qXNS5TCOB9 X-Received: by 2002:a05:6830:1447:: with SMTP id w7mr5599643otp.368.1582551767593; Mon, 24 Feb 2020 05:42:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582551767; cv=none; d=google.com; s=arc-20160816; b=Dz4c62fpJ7CxE74POK5EhsFrrLwJvSPNjQONTQDZUNrQmJ46Etdo/9wiiJvR63/xHK 6xffKLmislHnndjgJTScG65sjE3f0mr8dT0pfDOWQi3Biz+aSfUvmsOzgTPlwLaNYNF1 m2Be/Q5Zsmuen8mQYcjn4O+JNacqNO+4pH9T8zIVU0jTayWHdbJ+36si8stKfZQCVAHl HvNqQdpd9e1RNMZ93lzrsqhm1oAqwuHh5cC/mJTZEdeHEIdRdaQc6Gscz98cuI26jbih q/M6UMvgAIKFDAeLBi2Ne1PadVZjkjvaHTJla6ii6gFiVp1u+RK+bdZPeurbi3TaOw3H S/4A== 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:ironport-sdr:dkim-signature; bh=dt2ZsR5KGBnBGqZxTpFYgfWI7bLFKN7JNRHXrQWWar8=; b=fdtyd3TpQ+mFGTU2IHraHOYIWWzH7tqtKC9CVHUptbtVVxSBAS9ti9WDBYXPFBNCRy 0H/LqhJ+wWADspnFZvbkH9XEJKpFKWHOBpAAoRhYyhPtuER0rZCtph41FdSO8CBTNmPJ u3S5SfXDbFyXSQo6ELRTq5ZXuTLxRkzhcqfb1yiKl8UMSAd59anzTTf2fKUEiGZ3JH39 0j5XvyCLJmBUOQODqnJbz7bRnxCyQf9rjgmngqV3UmZ46Q04rt61A8LjRKsNhpNric+M gsVqWaiyHSA2jhXbh2lKauTNCXyCZ74UEofb5Bv8+PdiIwOBe3gYGf4fw9Odu4DRDmea pdEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=FdiHJv9z; 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 q25si6450618otg.128.2020.02.24.05.42.35; Mon, 24 Feb 2020 05:42:47 -0800 (PST) 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=FdiHJv9z; 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 S1727593AbgBXNmG (ORCPT + 99 others); Mon, 24 Feb 2020 08:42:06 -0500 Received: from smtp-fw-9102.amazon.com ([207.171.184.29]:39819 "EHLO smtp-fw-9102.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725535AbgBXNmF (ORCPT ); Mon, 24 Feb 2020 08:42:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1582551726; x=1614087726; h=from:to:cc:subject:date:message-id:mime-version; bh=dt2ZsR5KGBnBGqZxTpFYgfWI7bLFKN7JNRHXrQWWar8=; b=FdiHJv9zU/dI4BWZ9qIHxcVevi8Xu7ISu9fqOiIlhpZd9HWOSULh+lzU uW9WtLymUmg4SEgFwg2gCwVNbI4iNfYwoow9Tc7rPOzJrTLhPV7WPWm3N OzYCmY1wY12sAILJkgX1dhZe5F5m9pO93BrzRiubpGbRWW5ltmG86yNVr 4=; IronPort-SDR: UUgnZmmZaH3T6RjtT44dGzKyOZqtMUA7LJGNJkg87/77Bt1q/cca31zToLy2aOCCXOMLeVK+eO q0TntbULHd3Q== X-IronPort-AV: E=Sophos;i="5.70,480,1574121600"; d="scan'208";a="27088075" Received: from sea32-co-svc-lb4-vlan3.sea.corp.amazon.com (HELO email-inbound-relay-2a-22cc717f.us-west-2.amazon.com) ([10.47.23.38]) by smtp-border-fw-out-9102.sea19.amazon.com with ESMTP; 24 Feb 2020 13:42:04 +0000 Received: from EX13MTAUEA002.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan3.pdx.amazon.com [10.170.41.166]) by email-inbound-relay-2a-22cc717f.us-west-2.amazon.com (Postfix) with ESMTPS id 4464AA255F; Mon, 24 Feb 2020 13:42:02 +0000 (UTC) Received: from EX13D01EUB001.ant.amazon.com (10.43.166.194) by EX13MTAUEA002.ant.amazon.com (10.43.61.77) with Microsoft SMTP Server (TLS) id 15.0.1236.3; Mon, 24 Feb 2020 13:42:01 +0000 Received: from uf25486d27d2d5b.ant.amazon.com (10.43.161.8) by EX13D01EUB001.ant.amazon.com (10.43.166.194) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 24 Feb 2020 13:41:51 +0000 From: Talel Shenhar To: , , , , , , , , , , , , , , CC: , , , , , , Subject: [PATCH v6 0/2] Amazon's Annapurna Labs Memory Controller EDAC Date: Mon, 24 Feb 2020 15:41:30 +0200 Message-ID: <20200224134132.23924-1-talel@amazon.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.161.8] X-ClientProxiedBy: EX13D35UWC002.ant.amazon.com (10.43.162.218) 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 v5: ================= - rebased and retested for tag Linux 5.6-rc2 - added Reviewed-By for dt-binding (Rob Herring ) - added Reviewed-By for driver (James Morse ) Changes since v4: ================= - fixed dt-binding interrupt to have min of 1 - updated dt-binding GPL-2.0 to GPL-2.0-only - changed writel to relaxed flavor - added managed device driver unwind Changes since v3: ================= - removed quotation marks and hyphen from compatible dt-binding - added interrupts and interrupt-names description to dt-binding - added missing include to dt-binding 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 | 52 +++ MAINTAINERS | 7 + drivers/edac/Kconfig | 7 + drivers/edac/Makefile | 1 + drivers/edac/al_mc_edac.c | 355 ++++++++++++++++++ 5 files changed, 422 insertions(+) create mode 100644 Documentation/devicetree/bindings/edac/amazon,al-mc-edac.yaml create mode 100644 drivers/edac/al_mc_edac.c -- 2.17.1