WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH v4 00/10] xen: initial domain support

To: "linux-kernel@xxxxxxxxxxxxxxx" <linux-kernel@xxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH v4 00/10] xen: initial domain support
From: Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Date: Tue, 19 Oct 2010 12:16:31 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Jeremy Fitzhardinge <Jeremy.Fitzhardinge@xxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Tue, 19 Oct 2010 04:17:51 -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)
Hi all,
this 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 native.
We tried to minimize the impact to generic x86 code and interfaces and
since v2 of the series we were able to eliminate all the modifications
to non-Xen specific code.


New changes in v4:
- add few printk's to inform the user about abnormal situations;

- initialize irq to -1 in xen_create_msi_irq.


New changes in v3:
- compile all the initial domain functions in arch/x86/pci/xen.c only if
CONFIG_XEN_DOM0 is defined;

- compile the msi functions in drivers/xen/events.c only if
CONFIG_PCI_MSI is defined;

- move the xen_setup_pirqs declaration to
arch/x86/include/asm/xen/pci.h.


New changes in v2:
- remove the last three patches that added Xen mtrr support;

- add a new patch to mask the cpu mtrr feature from the cpuid on Xen.



This series depends on two other patch series not yet applied but
already sent to the list for comments a little while back:

Konrad's "Xen PCI frontend driver" series
http://lkml.org/lkml/2010/10/12/207

my "PV on HVM: receive interrupts as xen events" series
http://lkml.org/lkml/2010/10/12/246



The list of patches with a diffstat follows:
Ian Campbell (1):
      xen: use host E820 map for dom0

Jeremy Fitzhardinge (3):
      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 (3):
      xen: introduce XEN_DOM0 as a silent option
      xen: use vcpu_ops to setup cpu masks
      xen: mask the MTRR feature from the cpuid

 arch/x86/include/asm/xen/pci.h    |    7 ++
 arch/x86/pci/xen.c                |  190 +++++++++++++++++++++++++++++++++----
 arch/x86/xen/Kconfig              |    5 +
 arch/x86/xen/enlighten.c          |    2 +
 arch/x86/xen/mmu.c                |   47 +++++++++-
 arch/x86/xen/setup.c              |   51 +++++++++-
 arch/x86/xen/smp.c                |    8 ++-
 drivers/char/hvc_xen.c            |   98 +++++++++++++-------
 drivers/xen/events.c              |   75 ++++++++++++++-
 drivers/xen/xenbus/xenbus_probe.c |   29 ++++++-
 include/xen/events.h              |    5 +
 include/xen/interface/memory.h    |   28 ++++++
 include/xen/interface/physdev.h   |   10 ++
 13 files changed, 495 insertions(+), 60 deletions(-)

A git tree with this and the other two series on top of Linux 2.6.36-rc7
is available here:

git://xenbits.xen.org/people/sstabellini/linux-pvhvm.git 
2.6.36-rc7-initial-domain-v4

Cheers,

Stefano Stabellini

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel