|
|
Log in / Subscribe / Register

Amazon's Annapurna Labs Fabric Interrupt Controller

From:  Talel Shenhar <talel-AT-amazon.com>
To:  <nicolas.ferre-AT-microchip.com>, <jason-AT-lakedaemon.net>, <marc.zyngier-AT-arm.com>, <mark.rutland-AT-arm.com>, <mchehab+samsung-AT-kernel.org>, <robh+dt-AT-kernel.org>, <davem-AT-davemloft.net>, <shawn.lin-AT-rock-chips.com>, <tglx-AT-linutronix.de>, <devicetree-AT-vger.kernel.org>, <gregkh-AT-linuxfoundation.org>, <linux-kernel-AT-vger.kernel.org>
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>
Cc:  <dwmw-AT-amazon.co.uk>, <benh-AT-kernel.crashing.org>, <jonnyc-AT-amazon.com>, <hhhawa-AT-amazon.com>, <ronenk-AT-amazon.com>, <hanochu-AT-amazon.com>, <barakw-AT-amazon.com>, Talel Shenhar <talel-AT-amazon.com>
Archive-link:  Article

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



Copyright © 2019, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds