[PATCH v3 00/10] xen: initial domain support

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Stefano Stabellini
Date: Tuesday, October 12, 2010 - 9:41 am

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


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.


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                |  187 +++++++++++++++++++++++++++++++++----
 arch/x86/xen/Kconfig              |    5 +
 arch/x86/xen/enlighten.c          |    2 +
 arch/x86/xen/mmu.c                |   47 +++++++++-
 arch/x86/xen/setup.c              |   46 +++++++++-
 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, 487 insertions(+), 60 deletions(-)


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

git://xenbits.xen.org/people/sstabellini/linux-pvhvm.git 2.6.36-rc6-initial-domain-v3

Cheers,

Stefano Stabellini
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v3 00/10] xen: initial domain support, Stefano Stabellini, (Tue Oct 12, 9:41 am)
[PATCH v3 01/10] xen: introduce XEN_DOM0 as a silent option, Stefano Stabellini, (Tue Oct 12, 9:42 am)
[PATCH v3 02/10] xen: remap GSIs as pirqs when running as ..., Stefano Stabellini, (Tue Oct 12, 9:42 am)
[PATCH v3 03/10] xen: remap MSIs into pirqs when running a ..., Stefano Stabellini, (Tue Oct 12, 9:42 am)
[PATCH v3 04/10] xen: map a dummy page for local apic and ..., Stefano Stabellini, (Tue Oct 12, 9:42 am)
[PATCH v3 05/10] xen: use vcpu_ops to setup cpu masks, Stefano Stabellini, (Tue Oct 12, 9:42 am)
[PATCH v3 06/10] xen: Initialize xenbus for dom0., Stefano Stabellini, (Tue Oct 12, 9:42 am)
[PATCH v3 07/10] xen: add the direct mapping area for ISA ..., Stefano Stabellini, (Tue Oct 12, 9:42 am)
[PATCH v3 08/10] xen: use host E820 map for dom0, Stefano Stabellini, (Tue Oct 12, 9:42 am)
[PATCH v3 09/10] xen: make hvc_xen console work for dom0., Stefano Stabellini, (Tue Oct 12, 9:42 am)
[PATCH v3 10/10] xen: mask the MTRR feature from the cpuid, Stefano Stabellini, (Tue Oct 12, 9:42 am)
Re: [PATCH v3 02/10] xen: remap GSIs as pirqs when running ..., Konrad Rzeszutek Wilk, (Mon Oct 18, 8:41 am)
Re: [PATCH v3 03/10] xen: remap MSIs into pirqs when runni ..., Konrad Rzeszutek Wilk, (Mon Oct 18, 8:46 am)
Re: [PATCH v3 08/10] xen: use host E820 map for dom0, Konrad Rzeszutek Wilk, (Mon Oct 18, 8:54 am)
Re: [PATCH v3 02/10] xen: remap GSIs as pirqs when running ..., Stefano Stabellini, (Tue Oct 19, 3:41 am)
Re: [PATCH v3 03/10] xen: remap MSIs into pirqs when runni ..., Stefano Stabellini, (Tue Oct 19, 3:43 am)
Re: [PATCH v3 08/10] xen: use host E820 map for dom0, Stefano Stabellini, (Tue Oct 19, 3:49 am)
Re: [Xen-devel] Re: [PATCH v3 02/10] xen: remap GSIs as pi ..., Konrad Rzeszutek Wilk, (Tue Oct 19, 8:48 am)
Re: [Xen-devel] Re: [PATCH v3 08/10] xen: use host E820 ma ..., Jeremy Fitzhardinge, (Wed Oct 20, 10:05 am)