[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v3 00/16] xen/arm: Add GICv3 support
From: Vijaya Kumar K <Vijaya.Kumar@xxxxxxxxxxxxxxxxxx> Made changes to existing gic and vgic drivers to make it generic and added support for GIC v3 hw version Tested with ARM64 simulator with multicore core and booted Dom0 kernel. Major changes in v3: - Moved io.h from xen/arch/arm to xen/include/asm-arm and renamed as mmio.h - Made all the io handlers as domain specific and removed check handlers. Instead address and size are passed - Cleaned up sgi handling functions in V2 gic driver and made generic - Removed unused parameters in do_sgi call - VGIC driver is chosen based on GIC driver initialized - Implemented SGI handling for GICv3 to boot multicore - Missing coding style fixes - Rebased to remotes/origin/no_maintenance_interrupts-v6 branch of Stephano's unstable tree Major Changes in v2: - Added per domain io handler - Use device api to initialize gic driver - Avoid use of void pointer to access common data - Moved vgic address information data from domain.h - Coding style Vijaya Kumar K (16): xen/arm: move io.h as mmio.h to include folder xen/arm: make mmio handlers domain specific xen/arm: make sgi handling generic xen/arm: remove unused parameter in do_sgi call xen/arm: move gic definitions to seperate file xen/arm: move gic lock out of gic data structure xen/arm: segregate and split GIC low level functionality arm/xen: move GIC context data structure to gic driver xen/arm: use device api to detect GIC version xen/arm: move vgic rank data to gic header file xen/arm: move vgic defines to vgic header file xen/arm: split vgic driver into generic and vgic-v2 driver 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/arch/arm/Makefile | 4 +- xen/arch/arm/domain.c | 5 + xen/arch/arm/domain_build.c | 9 +- xen/arch/arm/gic-v2.c | 545 ++++++++++++++++++ xen/arch/arm/gic-v3.c | 1000 +++++++++++++++++++++++++++++++++ xen/arch/arm/gic.c | 459 ++++----------- xen/arch/arm/io.c | 45 +- xen/arch/arm/io.h | 57 -- xen/arch/arm/irq.c | 1 + xen/arch/arm/time.c | 1 + xen/arch/arm/traps.c | 11 +- xen/arch/arm/vgic-v2.c | 540 ++++++++++++++++++ xen/arch/arm/vgic-v3.c | 914 ++++++++++++++++++++++++++++++ xen/arch/arm/vgic.c | 572 ++----------------- xen/arch/arm/vpsci.c | 1 + xen/arch/arm/vtimer.c | 1 + xen/arch/arm/vuart.c | 19 +- xen/include/asm-arm/arm64/processor.h | 14 + xen/include/asm-arm/device.h | 3 +- xen/include/asm-arm/domain.h | 23 +- xen/include/asm-arm/gic.h | 229 ++++---- xen/include/asm-arm/gic_v2_defs.h | 138 +++++ xen/include/asm-arm/gic_v3_defs.h | 214 +++++++ xen/include/asm-arm/mmio.h | 64 +++ xen/include/asm-arm/sysregs.h | 2 +- xen/include/asm-arm/vgic.h | 110 ++++ 26 files changed, 3887 insertions(+), 1094 deletions(-) create mode 100644 xen/arch/arm/gic-v2.c create mode 100644 xen/arch/arm/gic-v3.c delete mode 100644 xen/arch/arm/io.h create mode 100644 xen/arch/arm/vgic-v2.c create mode 100644 xen/arch/arm/vgic-v3.c create mode 100644 xen/include/asm-arm/gic_v2_defs.h create mode 100644 xen/include/asm-arm/gic_v3_defs.h create mode 100644 xen/include/asm-arm/mmio.h create mode 100644 xen/include/asm-arm/vgic.h -- 1.7.9.5 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |