From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756169AbbLQMCL (ORCPT ); Thu, 17 Dec 2015 07:02:11 -0500 Received: from szxga03-in.huawei.com ([119.145.14.66]:57081 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755108AbbLQMCD (ORCPT ); Thu, 17 Dec 2015 07:02:03 -0500 From: MaJun To: , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH v10 0/4] irqchip:support mbigen interrupt controller Date: Thu, 17 Dec 2015 19:56:33 +0800 Message-ID: <1450353397-47668-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.235.245] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020206.5672A304.00C6,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 3b5f6837161578c5be5fa4c3b238bde7 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ma Jun This patch set adds the driver of mbigen and binding document for Hisilicon Mbigen chips. Compared with previous version, this version changed much. Because during the time between V3 and V4 of my patch, there are two related patches were committed by Mr.Marc Zyngier and Mr. Mark Rutland. First, Mr. Marc Zyngier changed MSI frame and added supporting for platform MSI. https://lkml.org/lkml/2015/7/28/552 Second, Mr.Mark Rutland changed Generic PCI MSI + IOMMU topology bindings https://lkml.org/lkml/2015/7/23/558 After V5 patch posted, Mr.Marc Zyngier posted a new patch set "Adding core support for wire-MSI bridges" https://lkml.org/lkml/2015/10/15/545 So, mbigen patch since v6 is based on this new patch. Changes in v10: --- Changed some dts file accroidng to Mark's comment. --- Fixed some wrong variable type problem. --- Validate the input value in translate function. Changes in v9: --- Fixed typo problem (dts) --- Removed superfluous data structures --- Changed clear register offset Changes in v8: --- Fixed some tiny bugs. Changes in v7: --- Fixed the build test error when applied patch v6 3/4 Changes in v6: --- Re-based mbigen driver on kernel 4.3.0-rc5 and Marc's new patch --- Change the mbigen chip node definition(dts). --- Change the interrupt cells definition(dts). Changes in v5: --- Split mbigen driver patch into 2 smaller patches. --- Change mbigen chip and mbigen device initialzing sequence. --- Initializing mbigen device instead of mbigen chip as interrupt controller --- Remove mbigen node from driver to make this driver more easily read. --- Change the mbigen chip node definition(dts). --- Change the interrupt cells definition(dts). Changes in v4: --- Re-based mbigen driver on kernel 4.2.0-rc2 and Marc's patch --- Changed the binding document based on Mark's patch. Ma Jun (4): dt-binding:Documents of the mbigen bindings irqchip: add platform device driver for mbigen device irqchip:create irq domain for each mbigen device irqchip:implement the mbigen irq chip operation functions Documentation/devicetree/bindings/arm/mbigen.txt | 74 ++++++ drivers/irqchip/Kconfig | 8 + drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-mbigen.c | 297 ++++++++++++++++++++++ 4 files changed, 380 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/arm/mbigen.txt create mode 100644 drivers/irqchip/irq-mbigen.c