All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/15] xen/arm: Add support for GICv2 on GICv3
@ 2015-06-26  9:34 Julien Grall
  2015-06-26  9:34 ` [PATCH v2 01/15] xen/arm: Gate GICv3 change with HAS_GICV3 rather than CONFIG_ARM_64 Julien Grall
                   ` (15 more replies)
  0 siblings, 16 replies; 37+ messages in thread
From: Julien Grall @ 2015-06-26  9:34 UTC (permalink / raw)
  To: xen-devel; +Cc: Julien Grall, Chen Baozi, stefano.stabellini, ian.campbell

Hi all,

This patch series adds support for GICv2 on GICv3. This feature is available
only when the GICv3 hardware is compatible with GICv2.

When it's the case, the same interface is provided in order to use a
virtualize GICv2 (i.e GICC and GICV). That will allow us to re-use same
vGIC drivers.

Currently GIC and vGIC drivers are tight because of the domain initialization
splitted between GIC and vGIC. This patch series intends to remove this
dependency in order to make the vGIC driver agnostic of the GIC driver.

It has been tested on the ARMv8 Foundation Model with GICv2 and GICv3 as well
as changing the vGIC version emulated for the guest (only for GICv3 host).

A branch with all the patches can be found here:
    git://xenbits.xen.org/people/julieng/xen-unstable.git branch gicv2-on-gicv3-v2

For all the changes see in each patch.

Sincerely yours,

Cc: Chen Baozi <cbz@baozis.org>

Julien Grall (15):
  xen/arm: Gate GICv3 change with HAS_GICV3 rather than CONFIG_ARM_64...
  xen/arm: gic: Rename the callback make_dt_node in make_hwdom_dt_node
  xen/arm: vGIC: Export vgic_vN ops rather than add an indirection
  xen/arm: vGIC: Check return of the domain_init callback
  xen/arm: gic-v3: Fix the distributor region to 64kB
  xen/arm: gic-v3: Use the domain redistributor information to make the
    DT node
  xen/arm: gic-v3: Rework the print message at initialization
  xen/arm: gic-{v2,hip04}: Remove redundant check in
    {gicv2,hip04gic}_init
  xen/arm: gic-{v2,hip04}: Use SZ_64K rather than our custom value
  xen/arm: gic: Allow the base address to be 0
  xen/arm: gic-{v2,hip04}: Remove hbase from the global state
  xen/arm: gic: Store the necessary HW information per vGIC ...
  xen/arm: Merge gicv_setup with vgic_domain_init
  arm: Allow the user to specify the GIC version
  xen/arm: gic-v3: Add support of vGICv2 when available

 config/arm64.mk                   |   1 +
 docs/man/xl.cfg.pod.5             |  27 ++++++
 tools/libxl/libxl.h               |   5 +
 tools/libxl/libxl_arm.c           |  16 +++-
 tools/libxl/libxl_types.idl       |  11 +++
 tools/libxl/xl_cmdimpl.c          |  12 +++
 xen/arch/arm/Makefile             |   2 +-
 xen/arch/arm/Rules.mk             |   2 +
 xen/arch/arm/domain.c             |  48 +++++-----
 xen/arch/arm/domain_build.c       |   2 +-
 xen/arch/arm/gic-hip04.c          |  90 +++++-------------
 xen/arch/arm/gic-v2.c             |  90 +++++-------------
 xen/arch/arm/gic-v3.c             | 192 +++++++++++++++++---------------------
 xen/arch/arm/gic.c                |  17 ++--
 xen/arch/arm/vgic-v2.c            |  54 ++++++++---
 xen/arch/arm/vgic-v3.c            |  67 ++++++++++---
 xen/arch/arm/vgic.c               |  34 ++++---
 xen/include/asm-arm/domain.h      |   5 +-
 xen/include/asm-arm/gic.h         |  17 ++--
 xen/include/asm-arm/gic_v3_defs.h |   7 ++
 xen/include/asm-arm/vgic.h        |  64 ++++++++++++-
 21 files changed, 448 insertions(+), 315 deletions(-)

-- 
2.4.3

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

end of thread, other threads:[~2015-07-01 10:22 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-26  9:34 [PATCH v2 00/15] xen/arm: Add support for GICv2 on GICv3 Julien Grall
2015-06-26  9:34 ` [PATCH v2 01/15] xen/arm: Gate GICv3 change with HAS_GICV3 rather than CONFIG_ARM_64 Julien Grall
2015-06-30 12:41   ` Ian Campbell
2015-06-26  9:34 ` [PATCH v2 02/15] xen/arm: gic: Rename the callback make_dt_node in make_hwdom_dt_node Julien Grall
2015-06-30 12:43   ` Ian Campbell
2015-06-26  9:34 ` [PATCH v2 03/15] xen/arm: vGIC: Export vgic_vN ops rather than add an indirection Julien Grall
2015-06-30 12:45   ` Ian Campbell
2015-06-30 13:24     ` Julien Grall
2015-06-26  9:34 ` [PATCH v2 04/15] xen/arm: vGIC: Check return of the domain_init callback Julien Grall
2015-06-26  9:34 ` [PATCH v2 05/15] xen/arm: gic-v3: Fix the distributor region to 64kB Julien Grall
2015-06-26  9:34 ` [PATCH v2 06/15] xen/arm: gic-v3: Use the domain redistributor information to make the DT node Julien Grall
2015-06-30 12:46   ` Ian Campbell
2015-06-26  9:34 ` [PATCH v2 07/15] xen/arm: gic-v3: Rework the print message at initialization Julien Grall
2015-06-30 12:49   ` Ian Campbell
2015-06-26  9:34 ` [PATCH v2 08/15] xen/arm: gic-{v2, hip04}: Remove redundant check in {gicv2, hip04gic}_init Julien Grall
2015-06-26  9:34 ` [PATCH v2 09/15] xen/arm: gic-{v2, hip04}: Use SZ_64K rather than our custom value Julien Grall
2015-06-26  9:34 ` [PATCH v2 10/15] xen/arm: gic: Allow the base address to be 0 Julien Grall
2015-06-26  9:34 ` [PATCH v2 11/15] xen/arm: gic-{v2, hip04}: Remove hbase from the global state Julien Grall
2015-06-26  9:34 ` [PATCH v2 12/15] xen/arm: gic: Store the necessary HW information per vGIC Julien Grall
2015-06-30 12:56   ` Ian Campbell
2015-06-30 13:38     ` Julien Grall
2015-06-30 14:00       ` Ian Campbell
2015-06-30 14:11         ` Julien Grall
2015-06-30 14:18           ` Ian Campbell
2015-06-26  9:34 ` [PATCH v2 13/15] xen/arm: Merge gicv_setup with vgic_domain_init Julien Grall
2015-06-30 12:59   ` Ian Campbell
2015-06-30 13:51     ` Julien Grall
2015-06-30 13:56       ` Ian Campbell
2015-06-26  9:34 ` [PATCH v2 14/15] arm: Allow the user to specify the GIC version Julien Grall
2015-06-30 13:06   ` Ian Campbell
2015-06-30 14:23     ` Julien Grall
2015-06-26  9:34 ` [PATCH v2 15/15] xen/arm: gic-v3: Add support of vGICv2 when available Julien Grall
2015-06-30 13:16   ` Ian Campbell
2015-06-30 17:29     ` Julien Grall
2015-07-01  8:12       ` Ian Campbell
2015-07-01 10:21         ` Julien Grall
2015-06-30  8:05 ` [PATCH v2 00/15] xen/arm: Add support for GICv2 on GICv3 Chen Baozi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.