Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6388143ybi; Tue, 4 Jun 2019 23:56:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqyOVEzpVm7NLi1Qt5eY/vT8IhOqFcJgWZasLQJrj52jthdEtbl50CItYLCwxSLcResaCzeI X-Received: by 2002:a17:902:6bcb:: with SMTP id m11mr15684905plt.318.1559717769785; Tue, 04 Jun 2019 23:56:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559717769; cv=none; d=google.com; s=arc-20160816; b=HXP/Z5M3LseXG83x2aPaelGGv8irs3oHwZIxVlFasLLdGeK0DseQOXOkqW5g8wXZ4u eQDl9YhW4ya3dFky1Tqh5w6esQ6vt0O5QrB+vxSPTRj3AEyrXiqmN94reK5vd363ybJG S9tnQuINtBwLLTNB1YdMmp5d0s0VBJxfBKzyDIN6kJjuNyCtiNWUOoHj6r0xyziF15tn JYSC4i5LFw82RXkc76ZAkv8a+BhJDQ7aPySHHULL8Y8edyc6kWsDbQlw/h69Y5foJCnE 0oSeIxcz4wW76v9BJo5WM51gBl2xGa6MHmnMuSciWZrQs446VCVHsNoot/Bf/yqz47cp I/qw== 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=FuBV3uC5Kw67IxIOVRtKTfaR92I/vsHGNbRqB7qOVrU=; b=QBwoJbuhOLJzr/xR6mBveptdSpDhzA1XZBGTrhzo4+/jno8uL1KtkZomAgzX2YrXpZ pf2TR63YYvOfuUuMNo+VEpWK4TAWfuZpSfWbSp9V5z5DZSaGpjaRg8nQn/r5m99m9xtc sCgFdBsHzIEGELf0gF6sQhSYM06ZqDMNBQIA2ph+Nsx5p6G2mt2IRcpoRnIWXZ6vVA7u vNAtVOAMuGHvAEimnVbe8/GIUeDzydG8X/n+Mnozm9Mjsi+AfeRMTka81xMSNydouflw LgLz8QQD+WdFsLlhZ4tucEkQARWmMXDM0a4wlML3nO9G6Pj2jiONBLxNsIRUBreGpS9b Pzpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=U4WxIUI4; 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 b184si666414pfa.227.2019.06.04.23.55.52; Tue, 04 Jun 2019 23:56:09 -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=U4WxIUI4; 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 S1726532AbfFEGyp (ORCPT + 99 others); Wed, 5 Jun 2019 02:54:45 -0400 Received: from smtp-fw-6001.amazon.com ([52.95.48.154]:42573 "EHLO smtp-fw-6001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726086AbfFEGyp (ORCPT ); Wed, 5 Jun 2019 02:54:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1559717684; x=1591253684; h=from:to:cc:subject:date:message-id:mime-version; bh=FuBV3uC5Kw67IxIOVRtKTfaR92I/vsHGNbRqB7qOVrU=; b=U4WxIUI4a2gveI7qalJaa8ZHpC0BshpLVagOxEbcrY094iIZ0rWcU4eg 13qGSSLiDC4+B4Ve24y7A2ribAcrT1EBudtBPFUXw1l++aIBNcd7i8jf1 oUKAIvQZe+6VkftWLYHaMk1RoHPyYGQ+cFTsqiWGOryvrsub6bJ9OAiUN w=; X-IronPort-AV: E=Sophos;i="5.60,550,1549929600"; d="scan'208";a="399432759" Received: from iad6-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-1d-38ae4ad2.us-east-1.amazon.com) ([10.124.125.6]) by smtp-border-fw-out-6001.iad6.amazon.com with ESMTP; 05 Jun 2019 06:54:42 +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-38ae4ad2.us-east-1.amazon.com (Postfix) with ESMTPS id E009EA26C1; Wed, 5 Jun 2019 06:54:38 +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; Wed, 5 Jun 2019 06:54:38 +0000 Received: from udc4a3e82dbc15a031435.hfa15.amazon.com (10.43.160.91) by EX13D01EUB001.ant.amazon.com (10.43.166.194) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 5 Jun 2019 06:54:28 +0000 From: Talel Shenhar To: , , , , , , , , , , , CC: , , , , , , , Talel Shenhar Subject: [PATCH 0/3] Amazon's Annapurna Labs Fabric Interrupt Controller Date: Wed, 5 Jun 2019 09:54:10 +0300 Message-ID: <1559717653-11258-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.91] X-ClientProxiedBy: EX13d09UWC001.ant.amazon.com (10.43.162.60) 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. The output of this interrupt controller can be legacy-wired output or, in case embedded inside PCIe devices, msi-x message. This FIC may be cascaded into another FIC or connected directly to the main CPU Interrupt Controller (e.g. GIC). The FIC is a flexible HW unit that is embedded inside different parts of the Amazon's Annapurna Labs chips. It can be a simple level 2 interrupt controller which is then configured as a wired interrupt controller that aggregates events from different units, or, while embedded inside PCIe device, it can generate MSI-X messages based on the tables configured to that PCIe device or can be configured to generate wired interrupt. Talel Shenhar (3): dt-bindings: interrupt-controller: Amazon's Annapurna Labs FIC irqchip: al-fic: Introduce Amazon's Annapurna Labs Fabric Interrupt Controller Driver irqchip: al-fic: Introducing support for MSI-X .../interrupt-controller/amazon,al-fic.txt | 22 ++ MAINTAINERS | 7 + drivers/irqchip/Kconfig | 11 + drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-al-fic.c | 388 +++++++++++++++++++++ include/linux/irqchip/al-fic.h | 23 ++ 6 files changed, 452 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/amazon,al-fic.txt create mode 100644 drivers/irqchip/irq-al-fic.c create mode 100644 include/linux/irqchip/al-fic.h -- 2.7.4