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] [GIT PULL] xen PV on HVM and initial domain

To: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [GIT PULL] xen PV on HVM and initial domain
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Tue, 26 Oct 2010 20:55:33 +0100
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Delivery-date: Tue, 26 Oct 2010 12:57:00 -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
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
I have two patch series that I would like you to pull:

PV on HVM: receive interrupts as xen events [1]
xen: initial domain support [2]

Please pull from the following branch:

git://xenbits.xen.org/people/sstabellini/linux-pvhvm.git for-linus

it contains both series rebased on Konrad's xen-pcifront series [3]
(they depend on it, unfortunately I cannot produce a working series
without it) on Linux 2.6.36 rc8; my two patch series start after git
commit 67ba37293e938208795d6a3562201bdb0cf43393.

The first 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.

The second patch series implements the basic support needed to boot
Linux as initial domain on Xen: the target is not to add full featured
dom0 support in the kernel but to be able to boot Linux on Xen on

I have just added a last minute fix at end to solve a vcpu
initialization problem for pv guests (they would see only a single vcpu
even though they are given more than one [4]).

All together the two series introduce the following changes:

Jeremy Fitzhardinge (5):
      acpi: use indirect call to register gsi in different modes
      xen: add xen hvm acpi_register_gsi variant
      xen: remap GSIs as pirqs when running as initial domain
      xen: map a dummy page for local apic and ioapic in xen_set_fixmap
      xen: make hvc_xen console work for dom0.

Juan Quintela (2):
      xen: Initialize xenbus for dom0.
      xen: add the direct mapping area for ISA bus access

Qing He (1):
      xen: remap MSIs into pirqs when running as initial domain

Stefano Stabellini (10):
      xen: support pirq != irq
      xen: get the maximum number of pirqs from xen
      xen: implement xen_hvm_register_pirq
      xen: support GSI -> pirq remapping in PV on HVM guests
      xen: map MSIs into pirqs
      xen: introduce XEN_DOM0 as a silent option
      xen: use vcpu_ops to setup cpu masks
      xen: mask the MTRR feature from the cpuid
      xen: add a missing #include to arch/x86/pci/xen.c
      xen: initialize cpu masks for pv guests in xen_smp_init

 arch/x86/include/asm/acpi.h       |    3 +
 arch/x86/include/asm/xen/pci.h    |   12 ++
 arch/x86/kernel/acpi/boot.c       |   60 +++++--
 arch/x86/pci/xen.c                |  308 ++++++++++++++++++++++++++++++++++--
 arch/x86/xen/Kconfig              |   10 ++
 arch/x86/xen/enlighten.c          |    2 +
 arch/x86/xen/mmu.c                |   47 ++++++-
 arch/x86/xen/setup.c              |    3 +
 arch/x86/xen/smp.c                |   26 +++
 drivers/char/hvc_xen.c            |   98 ++++++++----
 drivers/xen/events.c              |  195 +++++++++++++++++++++---
 drivers/xen/xenbus/xenbus_probe.c |   29 ++++-
 include/xen/events.h              |    8 +
 include/xen/interface/features.h  |    3 +
 include/xen/interface/physdev.h   |   46 ++++++
 15 files changed, 758 insertions(+), 92 deletions(-)



[1] http://lkml.org/lkml/2010/10/12/246 
[2] http://lkml.org/lkml/2010/10/19/199
[3] http://lkml.org/lkml/2010/10/26/231
[4] http://lkml.org/lkml/2010/10/26/369 

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>