[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH for-4.5 v11 0/7] xen/arm: Add GICv3 support



From: Vijaya Kumar K <Vijaya.Kumar@xxxxxxxxxxxxxxxxxx>

Add GICv3 support for arm64 platform.
From v6 version, this patch series is split into v6a and v6.
All the GICv2 and VGIC code refactoring patches of v6a are merged.

The v8 version of GICv3 patches are posted here.

Tested with ARM64 simulator with multicore core
and booted Dom0 kernel.

Major changes in v11:
  - use vgic_rank_irq
  - rename vgicv3_..() to vgic_v3_..()

Major changes in v10:
  - Made irq rank calculation generic
  - Fixed issue of rank calculation for 64 bit reg size
  - Implemented callback for reading irq priority and
    getting vcpu target for vgic-v3

Major changes in v9:
  - Rebased on top of Stephano's patches in staging branch
  - Added 2 more fixes for generic GICv2 code to make it
    generic for GICV3
  - Fixed alignment
  - Removed unsed PIDR2 macros

Major changes in v8:
  - Introduced assembler aliases for GIC system registers
    to be able to compile with Linaro toolchain
  - Few PIDRn macros definitions are moved to vgic-v3.c
  - Introduced 2 more patches. Patch 1 for introducing
    sizes.h file and Patch 2 for {READ,WRITE}_SYSREG macro changes

Major changes in v7:
  - Introduced vgic callback to handle sysreg emulation
  - Coding style fixes
  - undef64_exception instead of undef_exception for sysreg error

Vijaya Kumar K (7):
  xen/arm: Calculate irq rank from irq number
  xen/arm: Add vgic callback to read irq priority
  xen/arm: Add support for GIC v3
  xen/arm: Add virtual GICv3 support
  xen/arm: Update Dom0 GIC dt node with GICv3 information
  xen/arm: add SGI handling for GICv3
  xen/arm: check for GICv3 platform support

 xen/arch/arm/Makefile             |    2 +
 xen/arch/arm/domain_build.c       |   47 +-
 xen/arch/arm/gic-v2.c             |   51 ++
 xen/arch/arm/gic-v3.c             | 1285 +++++++++++++++++++++++++++++++++++++
 xen/arch/arm/gic.c                |    6 +
 xen/arch/arm/setup.c              |    5 +-
 xen/arch/arm/traps.c              |   15 +
 xen/arch/arm/vgic-v2.c            |   35 +-
 xen/arch/arm/vgic-v3.c            | 1007 +++++++++++++++++++++++++++++
 xen/arch/arm/vgic.c               |   38 +-
 xen/include/asm-arm/cpufeature.h  |    1 +
 xen/include/asm-arm/domain.h      |    8 +
 xen/include/asm-arm/gic.h         |   24 +
 xen/include/asm-arm/gic_v3_defs.h |  161 +++++
 xen/include/asm-arm/processor.h   |   17 +-
 xen/include/asm-arm/sysregs.h     |   56 ++
 xen/include/asm-arm/vgic.h        |   23 +-
 17 files changed, 2711 insertions(+), 70 deletions(-)
 create mode 100644 xen/arch/arm/gic-v3.c
 create mode 100644 xen/arch/arm/vgic-v3.c
 create mode 100644 xen/include/asm-arm/gic_v3_defs.h

-- 
1.7.9.5


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.