All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v8a 0/6] GIC and VGIC code refactoring
@ 2014-07-03  8:34 vijay.kilari
  2014-07-03  8:34 ` [PATCH v8a 1/6] xen/arm: move and rename is_vcpu_running function to sched.h vijay.kilari
                   ` (5 more replies)
  0 siblings, 6 replies; 19+ messages in thread
From: vijay.kilari @ 2014-07-03  8:34 UTC (permalink / raw)
  To: Ian.Campbell, julien.grall, stefano.stabellini,
	stefano.stabellini, tim, xen-devel
  Cc: Prasun.Kapoor, Vijaya Kumar K, vijay.kilari

From: Vijaya Kumar K <Vijaya.Kumar@caviumnetworks.com>

Made changes to existing gic and vgic drivers to make it
generic and added support for GIC v3 hw version.

The complete GICv3 patch series
"[PATCH v5 00/21] xen/arm: Add GICv3 support" is split
into two patch series version v6a and v6.

The first 8 patches of v6a/v7a series are mergeed. Hence
posting remaining 6 patches here.

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

Major changes in v8a:
 - is_vcpu_online() is modified to take only vcpu as
    parameter and validity checks on vcpu is done in
    caller.
 - set vcpu_mask to 0 for SGI_TARGET_{OTHERS,SELF} modes
     made vgic-v2 mmio handler static

Major changes in v7a:
 - Made changes to send_SGI() to pass NULL as cpu_mask for
   sgi modes which does not require cpu mask
 - Renamed update_cpu_lr_mask() clear_cpu_lr_mask()
 - used writeb_relaxed() to access ITARGETR & IPRIORITYR
   registers

Major changes in v6a:
 - Changed send_SGI parameters ordering
 - coding styles and missing comments
 - New patch (17) to check for idle domain before saving GIC context
 - Introduced new callback in vgic handler for handling SGI

Major changes in v5:
 - Introduced new patch for checking platform capability for gicv3
 - Introduced more patches for vgic clean up and code movement
 - Added synchronization barriers and clean up in GICv3 driver
 - Rebase on top of master branch +
   remotes/origin/no_maintenance_interrupts-v8 patch set
 - Code base available in github
   git clone https://github.com/vijaykilari/Xen-GICv3.git
 - Fixed comments and coding style

Major changes in v4:
 - Changed io handlers to take mmio address and size as
   parameters
 - ioremap is used instead of fixmap to map GICv2 address
   space. Removed /4 in GICv2 register definitions
 - vGIC driver now uses register size to calculate IRQ rank
 - GICv2 LR register definitions are declared locally in GICv2 driver
 - GICR & GICD common register handling in vgic-v3 driver are segregated
   in one common function
 - irq_hw_controller definition is managed in GICv2 and GICv3 drivers
 - Made irq_ops const
 - GIC DT node is updated in respective drivers
 - Comments and coding style fixes
 - Rebased on remotes/origin/no_maintenance_interrupts-v8 + Julien's
   patch set




Vijaya Kumar K (6):
  xen/arm: move and rename is_vcpu_running function to sched.h
  xen/arm: move pending_irq structure to vgic header file
  xen/arm: calculate vgic irq rank based on register size
  xen/arm: Remove REG macro in vgic driver
  xen/arm: split vgic driver into generic and vgic-v2 driver
  xen/arm: Restrict saving of gic register for idle domain

 xen/arch/arm/Makefile           |    2 +-
 xen/arch/arm/gic.c              |    3 +
 xen/arch/arm/vgic-v2.c          |  507 +++++++++++++++++++++++++++++++++++++
 xen/arch/arm/vgic.c             |  522 +++++----------------------------------
 xen/include/asm-arm/domain.h    |   59 +----
 xen/include/asm-arm/gic.h       |    5 +-
 xen/include/asm-arm/processor.h |    8 +
 xen/include/asm-arm/vgic.h      |   82 +++++-
 xen/include/xen/sched.h         |    5 +
 9 files changed, 675 insertions(+), 518 deletions(-)
 create mode 100644 xen/arch/arm/vgic-v2.c

-- 
1.7.9.5

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

end of thread, other threads:[~2014-07-04 10:20 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-03  8:34 [PATCH v8a 0/6] GIC and VGIC code refactoring vijay.kilari
2014-07-03  8:34 ` [PATCH v8a 1/6] xen/arm: move and rename is_vcpu_running function to sched.h vijay.kilari
2014-07-03  9:12   ` Jan Beulich
2014-07-03  9:23     ` Ian Campbell
2014-07-03 12:49   ` Julien Grall
2014-07-03 13:24     ` Jan Beulich
2014-07-03  8:34 ` [PATCH v8a 2/6] xen/arm: move pending_irq structure to vgic header file vijay.kilari
2014-07-03  8:34 ` [PATCH v8a 3/6] xen/arm: calculate vgic irq rank based on register size vijay.kilari
2014-07-03  8:34 ` [PATCH v8a 4/6] xen/arm: Remove REG macro in vgic driver vijay.kilari
2014-07-03  8:34 ` [PATCH v8a 5/6] xen/arm: split vgic driver into generic and vgic-v2 driver vijay.kilari
2014-07-03 12:57   ` Julien Grall
2014-07-03 13:02     ` Ian Campbell
2014-07-03 13:25       ` Julien Grall
2014-07-03 14:02         ` Ian Campbell
2014-07-03 14:21           ` Julien Grall
2014-07-03 15:18             ` Ian Campbell
2014-07-04  7:01               ` Vijay Kilari
2014-07-04 10:20                 ` Julien Grall
2014-07-03  8:34 ` [PATCH v8a 6/6] xen/arm: Restrict saving of gic register for idle domain vijay.kilari

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.