Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2959961ybi; Mon, 10 Jun 2019 01:36:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqxjpPdOsYCY927t03H9DGnA6d5E/IWDWjjonTz5yhh6l4lsdWvpxFZqVQJen1RtWg0tF+eZ X-Received: by 2002:a62:2c8e:: with SMTP id s136mr28876379pfs.3.1560155770447; Mon, 10 Jun 2019 01:36:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560155770; cv=none; d=google.com; s=arc-20160816; b=FiVn3RAZJ00pbm1TDwi9YZ78EOTbXiySBVSSzO7f3DtGE80mojgy8UDzeq/idl9zkT gb8UYlAaIJRrbvAwRkXfp8ERvbB9CR/8VUFL0zJh04t40fdRFYhD0ckMjILEybTviQj9 YlSKBT2oWsUlBfy1nf/C1bpJzhMaOH3M6wmjfwkMD8XXBOFz+K1KnB4RdqmmCI/KSZ99 7zvpFBC8lQtvYNMuP2CMJbbE2yojodYOhqZUxGWdRKV4KFkeO1QtOeCuH+Ovbde33FIX uHQqKNujHnSaT7tP21aPeYVnSNSpe1FvfHG+yAuaGG5xcpDettFIYmAtfdI/veqeJAiL hUmQ== 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=ykr4rzL4VAsv6dmWe3aUa6AdEVp465Gxa0La54MnkBo=; b=I9RJ/rVfqfOYuebxUE3ZavTocoNjjwU5N6hqMjA6icvhG+kObX7FyCKyqptDBRoRY/ M64SVM1OsTsR/x5ibDc72/9y7aSf7Etgf41oALRllAFUi5uWr9XvfPxGu+EqOBc7bkaa OSZ/21jfeunj8ZUbfAnYhymniFWi65XdQtFiBg4I9jTUMS32mykqXuDVrd8sLZP59GTD /m/zOf61PgBK8rMkoarafhMggQxZPwcsv++clNUhssDNXVSOWGcfHOrgFkogV27zolea v81Wabi3lIZ4Pwk17/UscGDKASsr+eRpoV0Ui74W24sLjrbtspz7Cmdc5XckW2XMkAOy 6t/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=BwWnqSas; 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 s10si8934589plp.124.2019.06.10.01.35.55; Mon, 10 Jun 2019 01:36:10 -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=BwWnqSas; 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 S2388080AbfFJIfW (ORCPT + 99 others); Mon, 10 Jun 2019 04:35:22 -0400 Received: from smtp-fw-33001.amazon.com ([207.171.190.10]:33603 "EHLO smtp-fw-33001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387862AbfFJIfW (ORCPT ); Mon, 10 Jun 2019 04:35:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1560155720; x=1591691720; h=from:to:cc:subject:date:message-id:mime-version; bh=ykr4rzL4VAsv6dmWe3aUa6AdEVp465Gxa0La54MnkBo=; b=BwWnqSassoHzeZCbJMjdA2+4mCL2B0Vsu77Oisds8Lruzb7TjJ+rhviv T7qz1Xl2TU785OZdCAVntvH9CqPqXp+cE2TMOZN06maqBcwJKdbQ/0rYm NIGe93CfPQu5fk+YznbkMPT2MFHnxZhP131dxetwdiTZX9UdvuYVFrkZg k=; X-IronPort-AV: E=Sophos;i="5.60,573,1549929600"; d="scan'208";a="804494672" Received: from sea3-co-svc-lb6-vlan2.sea.amazon.com (HELO email-inbound-relay-1a-807d4a99.us-east-1.amazon.com) ([10.47.22.34]) by smtp-border-fw-out-33001.sea14.amazon.com with ESMTP; 10 Jun 2019 08:35:18 +0000 Received: from EX13MTAUEA001.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan2.iad.amazon.com [10.40.159.162]) by email-inbound-relay-1a-807d4a99.us-east-1.amazon.com (Postfix) with ESMTPS id 1B767A2006; Mon, 10 Jun 2019 08:35:13 +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; Mon, 10 Jun 2019 08:35:13 +0000 Received: from udc4a3e82dbc15a031435.hfa15.amazon.com (10.43.160.69) by EX13D01EUB001.ant.amazon.com (10.43.166.194) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Mon, 10 Jun 2019 08:35:04 +0000 From: Talel Shenhar To: , , , , , , , , , , , CC: , , , , , , , Talel Shenhar Subject: [PATCH v4 0/2] Amazon's Annapurna Labs Fabric Interrupt Controller Date: Mon, 10 Jun 2019 11:34:41 +0300 Message-ID: <1560155683-29584-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.160.69] X-ClientProxiedBy: EX13D15UWB004.ant.amazon.com (10.43.161.61) 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 Fabric Interrupt Controller. The Amazon's Annapurna Labs FIC (Fabric Interrupt Controller) has 32 inputs/sources. This FIC may be cascaded into another FIC or connected directly to the main CPU Interrupt Controller (e.g. GIC). Changes since v3: ================= - tightened the verification for supported trigger types - updated dt-binding's example to meet the binding description (interrupt-cells to 2) - added description to interrupt-cells to explain each field - changed pr_err to pr_debug inside al_fic_irq_set_type in order to allow the user to enable printouts for verbose information in case of errors Changes since v2: ================= - updated dt-bindings to use proper format for entry name - removed kernel-doc format style from Copyright - removed unneeded/misplaced selects from Kconfig - changed used mmio operation to relaxed flavor - changed error return value from EPERM to EINVAL int case of attempting to reconfigure the FIC after it has been configured - fixed commenting format - used drivers define instead of subsystem internals - moved al_fic_hw_init function to caller - removed al_fic_wire_get_domain from documentation - removed argument validation from al_fic_wire_init Changes since v1: ================= - removing unused exported APIs - updating cover letter and commit message accordingly Talel Shenhar (2): dt-bindings: interrupt-controller: Amazon's Annapurna Labs FIC irqchip: al-fic: Introduce Amazon's Annapurna Labs Fabric Interrupt Controller Driver .../interrupt-controller/amazon,al-fic.txt | 29 +++ MAINTAINERS | 6 + drivers/irqchip/Kconfig | 8 + drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-al-fic.c | 278 +++++++++++++++++++++ 5 files changed, 322 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/amazon,al-fic.txt create mode 100644 drivers/irqchip/irq-al-fic.c -- 2.7.4