public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] PV on HVM: receive interrupts as xen events
@ 2010-08-30 11:20 Stefano Stabellini
  2010-08-30 11:21 ` [PATCH 1/7] xen: support pirq != irq stefano.stabellini
                   ` (7 more replies)
  0 siblings, 8 replies; 14+ messages in thread
From: Stefano Stabellini @ 2010-08-30 11:20 UTC (permalink / raw)
  To: linux-kernel
  Cc: xen-devel, Jeremy Fitzhardinge, Konrad Rzeszutek Wilk,
	Stefano Stabellini

Hi all,
this patch series introduces some performance improvements for xen PV on
HVM guests: interacting with the emulated APIC is slow because it causes
traps in the hypervisor while receiving xen events using the vector callback
mechanism allow us to skip all that. For this reason we remap interrupts
and MSIs into xen pirqs so that from that point on we can receive them
as xen events instead.
This series is based on Konrad's pcifront series (not upstream yet):

http://lkml.org/lkml/2010/8/4/374

and requires a patch to xen and a patch to qemu-xen (just sent to
xen-devel).


The list of patches with diffstat follows:

Jeremy Fitzhardinge (2):
 xen: add xen hvm acpi_register_gsi variant
 acpi: use indirect call to register gsi in different modes

Stefano Stabellini (5):
 xen: xen: map MSIs into pirqs
 xen: support GSI -> pirq remapping in PV on HVM guests
 xen: implement xen_hvm_register_pirq
 xen: get the maximum number of pirqs from xen
 xen: support pirq != irq


 arch/x86/include/asm/acpi.h      |    3 +
 arch/x86/include/asm/xen/pci.h   |   10 +++
 arch/x86/kernel/acpi/boot.c      |   60 ++++++++++++++------
 arch/x86/pci/xen.c               |  114 ++++++++++++++++++++++++++++++++++++++
 drivers/pci/xen-pcifront.c       |    2 +-
 drivers/xen/events.c             |  106 +++++++++++++++++++++++++++++++----
 include/xen/events.h             |    3 +
 include/xen/interface/features.h |    3 +
 include/xen/interface/physdev.h  |   36 ++++++++++++
 9 files changed, 308 insertions(+), 29 deletions(-)


A git tree with this series and Konrad's pcifront series on top of Linux
2.6.36-rc1 is available here:

git://xenbits.xen.org/people/sstabellini/linux-pvhvm.git 2.6.36-rc1-pvhvm-pirq-v3

Cheers,

Stefano Stabellini

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2010-10-07 10:41 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-30 11:20 [PATCH 0/7] PV on HVM: receive interrupts as xen events Stefano Stabellini
2010-08-30 11:21 ` [PATCH 1/7] xen: support pirq != irq stefano.stabellini
2010-08-30 11:21 ` [PATCH 2/7] xen: get the maximum number of pirqs from xen stefano.stabellini
2010-08-30 11:21 ` [PATCH 3/7] xen: implement xen_hvm_register_pirq stefano.stabellini
2010-08-30 11:21 ` [PATCH 4/7] acpi: use indirect call to register gsi in different modes stefano.stabellini
2010-10-06 17:00   ` Stefano Stabellini
2010-10-06 17:31     ` H. Peter Anvin
2010-10-06 18:48       ` Thomas Gleixner
2010-10-07 10:41         ` Stefano Stabellini
2010-08-30 11:21 ` [PATCH 5/7] xen: add xen hvm acpi_register_gsi variant stefano.stabellini
2010-08-30 11:21 ` [PATCH 6/7] xen: support GSI -> pirq remapping in PV on HVM guests stefano.stabellini
2010-08-30 11:21 ` [PATCH 7/7] xen: map MSIs into pirqs stefano.stabellini
2010-09-02 19:04 ` [PATCH 0/7] PV on HVM: receive interrupts as xen events Jeremy Fitzhardinge
2010-09-03 13:51   ` Stefano Stabellini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox