All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] vgic emulation and GICD_ITARGETSR
@ 2014-06-04 14:33 Stefano Stabellini
  2014-06-04 14:35 ` [PATCH v3 1/2] xen/arm: observe itarget setting in vgic_enable_irqs and vgic_disable_irqs Stefano Stabellini
  2014-06-04 14:35 ` [PATCH v3 2/2] xen/arm: support irq delivery to vcpu > 0 Stefano Stabellini
  0 siblings, 2 replies; 4+ messages in thread
From: Stefano Stabellini @ 2014-06-04 14:33 UTC (permalink / raw)
  To: xen-devel; +Cc: Julien Grall, Ian Campbell, Stefano Stabellini

Hi all,
this small patch series improves vgic emulation in relation to
GICD_ITARGETSR and implements irq delivery to vcpus other than vcpu0.

vgic_enable_irqs and vgic_disable_irqs currently ignore the itarget
settings and just enable/disable irqs on the current vcpu. Fix their
behaviour to enable/disable irqs on the vcpu set by itarget, that is
always vcpu0 for irq >= 32.

Introduce a new vgic function called vgic_get_target_vcpu to retrieve
the right target vcpu (looking at itargets) and use it from do_IRQ.


Stefano Stabellini (2):
      xen/arm: observe itarget setting in vgic_enable_irqs and vgic_disable_irqs
      xen/arm: support irq delivery to vcpu > 0

 xen/arch/arm/gic.c        |    3 +--
 xen/arch/arm/irq.c        |    7 +++----
 xen/arch/arm/vgic.c       |   44 ++++++++++++++++++++++++++++++++++++--------
 xen/include/asm-arm/gic.h |    2 ++
 4 files changed, 42 insertions(+), 14 deletions(-)

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

end of thread, other threads:[~2014-06-04 14:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-04 14:33 [PATCH v3 0/2] vgic emulation and GICD_ITARGETSR Stefano Stabellini
2014-06-04 14:35 ` [PATCH v3 1/2] xen/arm: observe itarget setting in vgic_enable_irqs and vgic_disable_irqs Stefano Stabellini
2014-06-04 14:35 ` [PATCH v3 2/2] xen/arm: support irq delivery to vcpu > 0 Stefano Stabellini
2014-06-04 14:46   ` Julien Grall

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.