From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Gordeev Subject: [PATCH 0/3] Add pci_enable_msi_partial() to conserve MSI-related resources Date: Tue, 10 Jun 2014 15:10:29 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WuLo0-0003K9-GJ for xen-devel@lists.xenproject.org; Tue, 10 Jun 2014 13:09:36 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: linux-kernel@vger.kernel.org Cc: linux-mips@linux-mips.org, linux-s390@vger.kernel.org, linux-pci@vger.kernel.org, x86@kernel.org, linux-doc@vger.kernel.org, linux-ide@vger.kernel.org, iommu@lists.linux-foundation.org, Alexander Gordeev , xen-devel@lists.xenproject.org, linuxppc-dev@lists.ozlabs.org List-Id: xen-devel@lists.xenproject.org Add new pci_enable_msi_partial() interface and use it to conserve on othewise wasted interrupt resources. AHCI driver is the first user which would conserve on 10 out of 16 unused MSI vectors on some Intel chipsets. Cc: linux-doc@vger.kernel.org Cc: linux-mips@linux-mips.org Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-s390@vger.kernel.org Cc: x86@kernel.org Cc: xen-devel@lists.xenproject.org Cc: iommu@lists.linux-foundation.org Cc: linux-ide@vger.kernel.org Cc: linux-pci@vger.kernel.org Alexander Gordeev (3): PCI/MSI: Add pci_enable_msi_partial() PCI/MSI/x86: Support pci_enable_msi_partial() AHCI: Use pci_enable_msi_partial() to conserve on 10/16 MSIs Documentation/PCI/MSI-HOWTO.txt | 36 ++++++++++++++-- arch/mips/pci/msi-octeon.c | 2 +- arch/powerpc/kernel/msi.c | 4 +- arch/s390/pci/pci.c | 2 +- arch/x86/include/asm/pci.h | 3 +- arch/x86/include/asm/x86_init.h | 3 +- arch/x86/kernel/apic/io_apic.c | 2 +- arch/x86/kernel/x86_init.c | 4 +- arch/x86/pci/xen.c | 9 +++- drivers/ata/ahci.c | 4 +- drivers/iommu/irq_remapping.c | 10 ++-- drivers/pci/msi.c | 83 ++++++++++++++++++++++++++++++++++----- include/linux/msi.h | 5 +- include/linux/pci.h | 3 + 14 files changed, 134 insertions(+), 36 deletions(-) -- 1.7.7.6