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

From: Konrad Rzeszutek Wilk
Date: Thu Jul 07 2011 - 15:10:07 EST


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:
git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git stable/pci.cleanups.v1

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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/