[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86: Disable MSI IRQs until locking is fixed.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1225119541 0 # Node ID 324b9b1dd71dbbfc7f2af7bee0f4e704e59ba7d5 # Parent 2a022ee37392715647abf75e44823d087d0e1d45 x86: Disable MSI IRQs until locking is fixed. Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> --- xen/arch/x86/irq.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletion(-) diff -r 2a022ee37392 -r 324b9b1dd71d xen/arch/x86/irq.c --- a/xen/arch/x86/irq.c Mon Oct 27 13:31:15 2008 +0000 +++ b/xen/arch/x86/irq.c Mon Oct 27 14:59:01 2008 +0000 @@ -793,6 +793,10 @@ int map_domain_pirq( ASSERT(spin_is_locked(&d->event_lock)); + /* XXX Until pcidev and msi locking is fixed. */ + if ( type == MAP_PIRQ_TYPE_MSI ) + return -EINVAL; + if ( !IS_PRIV(current->domain) ) return -EPERM; @@ -840,7 +844,7 @@ int map_domain_pirq( d->arch.pirq_vector[pirq] = vector; d->arch.vector_pirq[vector] = pirq; -done: + done: spin_unlock_irqrestore(&desc->lock, flags); return ret; } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |