Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753568AbbGFHJu (ORCPT ); Mon, 6 Jul 2015 03:09:50 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:14114 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751009AbbGFHJi (ORCPT ); Mon, 6 Jul 2015 03:09:38 -0400 From: Ma Jun To: , , , , , , , , , , , , , , , , , , , , Subject: [PATCH v3 0/3] IRQ/Gic-V3:Support Mbigen interrupt controller Date: Mon, 6 Jul 2015 15:09:05 +0800 Message-ID: <1436166548-34920-1-git-send-email-majun258@huawei.com> X-Mailer: git-send-email 1.9.5.msysgit.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.177.236.124] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1875 Lines: 49 This patch set is applied to supprot the mbigen device. Mbigen means Message Based Interrupt Generator. Its a kind of interrupt controller collects the interrupts from external devices and generate msi interrupt. Mbigen is applied to reduce the number of wire connected interrupts. As the peripherals increasing, the interrupts lines needed is increasing much, especially on the Arm64 server soc. Therefore, the interrupt pin in gic is not enought for so many perpherals. Mbigen is designed to fix this problem. Mbigen chip locates in ITS or outside of ITS. The working flow of Mbigen shows as below: external devices ------> MBIGEN ------->ITS The devices connect to Mbigen chip through wire connecting way. Mbigen detects and collectes the interrupts from the these devices. Then, Mbigen generats the MBI interrupts by writting the ITS Translator register. Ma Jun (3): Add mbigen driver to support mbigen interrupt controller Change arm-gic-its to support the Mbigen interrupt dt-binding:Documents the mbigen bindings Documentation/devicetree/bindings/arm/mbigen.txt | 65 +++ drivers/irqchip/Kconfig | 8 + drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-gic-v3-its.c | 60 ++- drivers/irqchip/irq-mbigen.c | 486 ++++++++++++++++++++++ include/linux/mbi.h | 15 + 6 files changed, 615 insertions(+), 20 deletions(-) create mode 100644 Documentation/devicetree/bindings/arm/mbigen.txt create mode 100644 drivers/irqchip/irq-mbigen.c create mode 100644 include/linux/mbi.h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/