search for: pirq_guest_unbind

Displaying 7 results from an estimated 7 matches for "pirq_guest_unbind".

2008 Sep 23
9
Xen crash on dom0 shutdown
...no shutdown handler (or one that doesn''t do much, because on native this is not causing any problems), the assumption in Xen is violated and the hypervisor crashes. Simply removing the BUG_ON() seems inappropriate, though. But I''m uncertain whether it would be reasonable to call pirq_guest_unbind() instead of the BUG_ON(), and if so, how to properly deal with irq_desc[vector].lock (the immediate idea would be to factor out the locking into a wrapper function, but an alternative would be to use recursive locks, and perhaps there are other possibilities). Thanks for any hints, Jan ________...
2008 Sep 26
2
RE: [Xen-changelog] [xen-unstable] x86: Properly synchronise updates to pirq-to-vector mapping.
...ns(+), 111 deletions(-) diff -r 7750906b06b3 -r 31f09a5e24cf xen/arch/ia64/xen/irq.c --- a/xen/arch/ia64/xen/irq.c Wed Sep 24 10:23:51 2008 +0100 +++ b/xen/arch/ia64/xen/irq.c Wed Sep 24 12:36:55 2008 +0100 @@ -459,20 +459,24 @@ int pirq_guest_bind(struct vcpu *v, int return rc; } -void pirq_guest_unbind(struct domain *d, int irq) +int pirq_guest_unbind(struct domain *d, int irq) { irq_desc_t *desc = &irq_desc[irq]; irq_guest_action_t *action; unsigned long flags; - int i; + int i, rc = 0; spin_lock_irqsave(&desc->...
2006 Apr 19
0
[patch] define and use cpu_test_and_clear() and some type checking fixes
...pirq_guest_unmask(struct domain *d) } } - if ( __test_and_clear_bit(cpu, &cpu_eoi_map) ) + if ( cpu_test_and_clear(cpu, cpu_eoi_map) ) { __set_eoi_ready(desc); spin_unlock(&desc->lock); @@ -493,13 +493,13 @@ int pirq_guest_unbind(struct domain *d, switch ( action->ack_type ) { case ACKTYPE_UNMASK: - if ( test_and_clear_bit(irq, &d->pirq_mask) && + if ( test_and_clear_bit(irq, &d->pirq_mask[0]) && (--action->in_flight == 0) ) des...
2012 Mar 24
0
[xen-4.0-testing test] 12413: regressions - FAIL
...' irq.c:223: error: too few arguments to function ''desc->handler->end'' irq.c: In function ''pirq_guest_eoi'': irq.c:450: error: too few arguments to function ''desc->handler->end'' irq.c: In function ''pirq_guest_unbind'': irq.c:579: error: too few arguments to function ''desc->handler->end'' This patch is a part of xen-unstable 24145:967845cb565b. Signed-off-by: KUWAMURA Shin''ya <kuwa@jp.fujitsu.com> Committed-by: Keir Fraser <keir@xen.or...
2013 May 08
11
[PATCH 1/2] xen, libxc: init msix addr/data with value from qemu via hypercall
...tbl_pt_register(d, info, pt_irq_bind->u.msi.gtable); + rc = msixtbl_pt_register(d, info, pt_irq_bind->u.msi.gtable, + pt_irq_bind->u.msi.entry_nr, pt_irq_bind->u.msi.msi_ad); if ( unlikely(rc) ) pirq_guest_unbind(d, info); } diff --git a/xen/include/public/domctl.h b/xen/include/public/domctl.h index 4c5b2bb..4b160a0 100644 --- a/xen/include/public/domctl.h +++ b/xen/include/public/domctl.h @@ -504,6 +504,8 @@ struct xen_domctl_bind_pt_irq { uint8_t gvec; uint32_t gfla...
2012 Jan 09
39
[PATCH v4 00/25] xen: ARMv7 with virtualization extensions
Hello everyone, this is the fourth version of the patch series that introduces ARMv7 with virtualization extensions support in Xen. The series allows Xen and Dom0 to boot on a Cortex-A15 based Versatile Express simulator. See the following announce email for more informations about what we are trying to achieve, as well as the original git history: See
2011 Dec 06
57
[PATCH RFC 00/25] xen: ARMv7 with virtualization extensions
Hello everyone, this is the very first version of the patch series that introduces ARMv7 with virtualization extensions support in Xen. The series allows Xen and Dom0 to boot on a Cortex-A15 based Versatile Express simulator. See the following announce email for more informations about what we are trying to achieve, as well as the original git history: See