From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 798ABC4CED1 for ; Thu, 3 Oct 2019 11:33:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 507A92086A for ; Thu, 3 Oct 2019 11:33:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=amazon.com header.i=@amazon.com header.b="Y76U1LgW" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730164AbfJCLdX (ORCPT ); Thu, 3 Oct 2019 07:33:23 -0400 Received: from smtp-fw-6001.amazon.com ([52.95.48.154]:43767 "EHLO smtp-fw-6001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729989AbfJCLdW (ORCPT ); Thu, 3 Oct 2019 07:33:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1570102401; x=1601638401; h=from:to:cc:subject:date:message-id:mime-version; bh=4i6VHJPb8Q8LVbG7y75cI3zauRIqKGmEQC2l3cOofEA=; b=Y76U1LgWiWtEE/fbmj2ouyaXv3oEFBn5AYvSa+bc3hhFdgRqsoviKhOP X44UjuBKuFm0YFQ78DgHixxboITg+MLdobmEUIYDQqwClX86POiXA1oL1 GuDzicKcd0cJMvkbJkmZPEGBEsomxBl+Qz01pcMrNjdN1w3sNFbIdFkB9 I=; X-IronPort-AV: E=Sophos;i="5.67,251,1566864000"; d="scan'208";a="419556202" Received: from iad6-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-2c-2225282c.us-west-2.amazon.com) ([10.124.125.6]) by smtp-border-fw-out-6001.iad6.amazon.com with ESMTP; 03 Oct 2019 11:33:19 +0000 Received: from EX13MTAUEA001.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan3.pdx.amazon.com [10.170.41.166]) by email-inbound-relay-2c-2225282c.us-west-2.amazon.com (Postfix) with ESMTPS id 6573AA06D2; Thu, 3 Oct 2019 11:33:18 +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:33:17 +0000 Received: from udc4a3e82dbc15a031435.hfa15.amazon.com (10.43.161.7) by EX13D01EUB001.ant.amazon.com (10.43.166.194) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 3 Oct 2019 11:33:08 +0000 From: Talel Shenhar To: , , , , , , , , , , , , , CC: , , , , , , , Subject: [PATCH v4 0/2] Amazon's Annapurna Labs POS Driver Date: Thu, 3 Oct 2019 14:32:39 +0300 Message-ID: <1570102361-11696-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.7] X-ClientProxiedBy: EX13D06UWA004.ant.amazon.com (10.43.160.164) To EX13D01EUB001.ant.amazon.com (10.43.166.194) Sender: linux-edac-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-edac@vger.kernel.org The Amazon's Annapurna Labs SoCs includes Point Of Serialization error logging unit that reports an error in case of write error (e.g. attempt to write to a read only register). This patch series introduces the support for this unit. Changes since v3: ================= - ported to be edac device - converted dt-bindings to new scheme - added unit address to dt example Changes since v2: ================= - squashed left shifting fix to the driver Changes since v1: ================= - move MODULE_ to the end of the file - simplified resource remapping devm_platform_ioremap_resource() - use platform_get_irq() instead of irq_of_parse_and_map() - removed the use of _relaxed accessor in favor to the regular ones - removed driver selected based on arch - added casting to u64 before left shifting (reported by kbuild test robot) Talel Shenhar (2): dt-bindings: soc: al-pos: Amazon's Annapurna Labs POS soc: amazon: al-pos-edac: Introduce Amazon's Annapurna Labs POS EDAC driver .../bindings/edac/amazon,al-pos-edac.yaml | 39 +++++ MAINTAINERS | 7 + drivers/edac/Kconfig | 6 + drivers/edac/Makefile | 1 + drivers/edac/al_pos_edac.c | 173 +++++++++++++++++++++ 5 files changed, 226 insertions(+) create mode 100644 Documentation/devicetree/bindings/edac/amazon,al-pos-edac.yaml create mode 100644 drivers/edac/al_pos_edac.c -- 2.7.4