This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] [PATCH] cleanup patches for arch/x86/pci/xen.c (Xen PCI) for

To: linux-kernel@xxxxxxxxxxxxxxx, Jeremy Fitzhardinge <jeremy@xxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>, Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Subject: [Xen-devel] [PATCH] cleanup patches for arch/x86/pci/xen.c (Xen PCI) for 3.1 (v1)
From: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Date: Thu, 7 Jul 2011 15:08:16 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 07 Jul 2011 12:17:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Proposing these ten patches for 3.1. The goal of these patches is to clean
up the Xen PCI glue code in xen.c and squash some common code together.

The patches are also available at:

I've tested them on PV, PV + PCI, PVonHVM, and PV initial domain without
encountering any regressions.

 arch/x86/include/asm/xen/pci.h |    5 +-
 arch/x86/pci/xen.c             |  371 +++++++++++++++++-----------------------
 drivers/xen/events.c           |    7 +-
 include/xen/events.h           |    2 -
 4 files changed, 165 insertions(+), 220 deletions(-)

Konrad Rzeszutek Wilk (10):
      xen/pci: Shuffle code around.
      xen/pci: Update comments and fix empty spaces.
      xen/pci: Provide #ifdef CONFIG_ACPI to easy code squashing.
      xen/pci: In xen_register_pirq bind the GSI to the IRQ after the hypercall.
      xen/pci: Use the xen_register_pirq for HVM and initial domain users
      xen/pci: Squash pci_xen_initial_domain and xen_setup_pirqs together.
      xen/pci: Move the allocation of IRQs when there are no IOAPIC's to the end
      xen/pci: Retire unnecessary #ifdef CONFIG_ACPI
      xen/pci: Remove 'xen_allocate_pirq_gsi'.
      xen/pci: Use 'acpi_gsi_to_irq' value unconditionally.

Xen-devel mailing list