From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753349AbaHLHDE (ORCPT ); Tue, 12 Aug 2014 03:03:04 -0400 Received: from szxga03-in.huawei.com ([119.145.14.66]:64755 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751769AbaHLHC7 (ORCPT ); Tue, 12 Aug 2014 03:02:59 -0400 From: Yijing Wang To: Bjorn Helgaas CC: , Xinwei Hu , Wuyun , , Marc Zyngier , , Russell King , , , "Arnd Bergmann" , Thomas Gleixner , "H. Peter Anvin" , Konrad Rzeszutek Wilk , , Joerg Roedel , , , "Benjamin Herrenschmidt" , , , Sebastian Ott , "Tony Luck" , , "David S. Miller" , , Chris Metcalf , Yijing Wang Subject: [RFC PATCH 00/20] Use msi_chip to configure MSI/MSI-X in all platforms Date: Tue, 12 Aug 2014 15:25:53 +0800 Message-ID: <1407828373-24322-1-git-send-email-wangyijing@huawei.com> X-Mailer: git-send-email 1.7.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.100.166] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020208.53E9BC13.007A,ss=1,re=0.000,fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2011-05-27 18:58:46 X-Mirapoint-Loop-Id: a20ddb492f2079514eef48072e0ca02b Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series is mainly to use msi_chip instead of currently weak arch functions across all platforms. Also clean up current MSI code and make drivers support MSI easier. Yijing Wang (20): x86/xen/MSI: Eliminate arch_msix_mask_irq() and arch_msi_mask_irq() MSI: Clean up struct msi_chip argument PCI/MSI: Remove useless bus->msi assignment MSI: Remove the redundant irq_set_chip_data() MSI: Refactor struct msi_chip to become more common PCI/MSI: Introduce arch_get_match_msi_chip() to find the match msi_chip x86/MSI: Use msi_chip instead of arch func to configure MSI/MSI-X x86/xen/MSI: Use msi_chip instead of arch func to configure MSI/MSI-X irq_remapping/MSI: Use msi_chip instead of arch func to configure MSI/MSI-X x86/MSI: Remove unused MSI weak arch functions MIPS/Octeon/MSI: Use msi_chip instead of arch func to configure MSI/MSI-X MIPS/Xlp/MSI: Use msi_chip instead of arch func to configure MSI/MSI-X MIPS/xlr/MSI: Use msi_chip instead of arch func to configure MSI/MSI-X Powerpc/MSI: Use msi_chip instead of arch func to configure MSI/MSI-X s390/MSI: Use msi_chip instead of arch func to configure MSI/MSI-X arm/iop13xx/MSI: Use msi_chip instead of arch func to configure MSI/MSI-X IA64/MSI: Use msi_chip instead of arch func to configure MSI/MSI-X Sparc/MSI: Use msi_chip instead of arch func to configure MSI/MSI-X tile/MSI: Use msi_chip instead of arch func to configure MSI/MSI-X PCI/MSI: Clean up unused MSI arch functions arch/arm/mach-iop13xx/include/mach/pci.h | 2 + arch/arm/mach-iop13xx/iq81340mc.c | 1 + arch/arm/mach-iop13xx/iq81340sc.c | 1 + arch/arm/mach-iop13xx/msi.c | 14 +++- arch/arm/mach-iop13xx/pci.c | 6 ++ arch/ia64/kernel/msi_ia64.c | 18 +++- arch/mips/pci/msi-octeon.c | 45 ++++------ arch/mips/pci/msi-xlp.c | 15 +++- arch/mips/pci/pci-xlr.c | 19 +++- arch/powerpc/kernel/msi.c | 23 ++++-- arch/s390/pci/pci.c | 16 +++- arch/sparc/kernel/pci.c | 18 +++- arch/tile/kernel/pci_gx.c | 20 +++- arch/x86/include/asm/pci.h | 4 +- arch/x86/include/asm/x86_init.h | 3 - arch/x86/kernel/apic/io_apic.c | 35 +++++++- arch/x86/kernel/x86_init.c | 34 ------- arch/x86/pci/xen.c | 139 ++++++++++++++++-------------- drivers/iommu/irq_remapping.c | 13 ++- drivers/irqchip/irq-armada-370-xp.c | 12 +-- drivers/pci/host/pci-tegra.c | 9 ++- drivers/pci/host/pcie-designware.c | 6 +- drivers/pci/host/pcie-rcar.c | 9 ++- drivers/pci/msi.c | 118 ++++++++++++-------------- drivers/pci/probe.c | 1 - include/linux/msi.h | 13 ++-- 26 files changed, 338 insertions(+), 256 deletions(-)