search for: local_irq_is_en

Displaying 8 results from an estimated 8 matches for "local_irq_is_en".

2007 Feb 14
4
[PATCH 3/12] Provide basic Xen PM infrastructure
...if diff -r 13e258a58044 xen/arch/x86/smp.c --- a/xen/arch/x86/smp.c Wed Feb 14 11:13:40 2007 +0800 +++ b/xen/arch/x86/smp.c Wed Feb 14 14:59:49 2007 +0800 @@ -276,8 +276,9 @@ int on_selected_cpus( { struct call_data_struct data; unsigned int nr_cpus = cpus_weight(selected); - - ASSERT(local_irq_is_enabled()); + unsigned int self = cpu_isset(smp_processor_id(), selected); + + ASSERT(!self || local_irq_is_enabled()); if ( nr_cpus == 0 ) return 0; diff -r 13e258a58044 xen/arch/x86/x86_32/Makefile --- a/xen/arch/x86/x86_32/Makefile Wed Feb 14 11:13:40 2007 +0800 +++ b/xen/arch...
2013 May 07
1
[PATCH V2] xen/arm: implement smp_call_function
...amp;cpu_online_map, - cpumask_of(smp_processor_id())); - on_selected_cpus(&allbutself, func, info, wait); -} - -void on_selected_cpus( - const cpumask_t *selected, - void (*func) (void *info), - void *info, - int wait) -{ - unsigned int nr_cpus; - - ASSERT(local_irq_is_enabled()); - - spin_lock(&call_lock); - - cpumask_copy(&call_data.selected, selected); - - nr_cpus = cpumask_weight(&call_data.selected); - if ( nr_cpus == 0 ) - goto out; - - call_data.func = func; - call_data.info = info; - call_data.wait = wait; - - send_...
2006 Mar 14
7
[PATCH] ia64 build fixes
...Sun Mar 12 10:03:33 2006 +0100 +++ b/xen/include/asm-ia64/xensystem.h Mon Mar 13 09:36:02 2006 -0700 @@ -75,5 +75,7 @@ extern struct task_struct *vmx_ia64_swit // FIXME SMP... see system.h, does this need to be different? #define switch_to(prev,next,last) __switch_to(prev, next, last) +#define local_irq_is_enabled() (!irqs_disabled()) + #endif // __ASSEMBLY__ #endif // _ASM_IA64_XENSYSTEM_H _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2008 Sep 26
2
RE: [Xen-changelog] [xen-unstable] x86: Properly synchronise updates to pirq-to-vector mapping.
...9;s pending-EOI stack. */ static void flush_ready_eoi(void *unused) { @@ -342,11 +371,13 @@ static void __pirq_guest_eoi(struct doma cpumask_t cpu_eoi_map; int vector; - vector = domain_irq_to_vector(d, irq); - desc = &irq_desc[vector]; + ASSERT(local_irq_is_enabled()); + desc = domain_spin_lock_irq_desc(d, irq, NULL); + if ( desc == NULL ) + return; + action = (irq_guest_action_t *)desc->action; - - spin_lock_irq(&desc->lock); + vector = desc - irq_desc; ASSERT(!test_bit(irq, d->pirq_mask) || (action...
2013 Feb 22
48
[PATCH v3 00/46] initial arm v8 (64-bit) support
This round implements all of the review comments from V2 and all patches are now acked. Unless there are any objections I intend to apply later this morning. Ian.
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
2013 Jan 23
132
[PATCH 00/45] initial arm v8 (64-bit) support
First off, Apologies for the massive patch series... This series boots a 32-bit dom0 kernel to a command prompt on an ARMv8 (AArch64) model. The kernel is the same one as I am currently using with the 32 bit hypervisor I haven''t yet tried starting a guest or anything super advanced like that ;-). Also there is not real support for 64-bit domains at all, although in one or two places I