ia64/xen-unstable

changeset 18734:324b9b1dd71d

x86: Disable MSI IRQs until locking is fixed.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Oct 27 14:59:01 2008 +0000 (2008-10-27)
parents 2a022ee37392
children 8d41996e6897
files xen/arch/x86/irq.c
line diff
     1.1 --- a/xen/arch/x86/irq.c	Mon Oct 27 13:31:15 2008 +0000
     1.2 +++ b/xen/arch/x86/irq.c	Mon Oct 27 14:59:01 2008 +0000
     1.3 @@ -793,6 +793,10 @@ int map_domain_pirq(
     1.4  
     1.5      ASSERT(spin_is_locked(&d->event_lock));
     1.6  
     1.7 +    /* XXX Until pcidev and msi locking is fixed. */
     1.8 +    if ( type == MAP_PIRQ_TYPE_MSI )
     1.9 +        return -EINVAL;
    1.10 +
    1.11      if ( !IS_PRIV(current->domain) )
    1.12          return -EPERM;
    1.13  
    1.14 @@ -840,7 +844,7 @@ int map_domain_pirq(
    1.15      d->arch.pirq_vector[pirq] = vector;
    1.16      d->arch.vector_pirq[vector] = pirq;
    1.17  
    1.18 -done:
    1.19 + done:
    1.20      spin_unlock_irqrestore(&desc->lock, flags);
    1.21      return ret;
    1.22  }