Displaying 2 results from an estimated 2 matches for "opt_irq_vector_map_perdev".
2013 May 31
7
[PATCH v2] AMD/intremap: Prevent use of per-device vector maps until irq logic is fixed
...rq.c
--- a/xen/arch/x86/irq.c
+++ b/xen/arch/x86/irq.c
@@ -399,7 +399,8 @@ static vmask_t *irq_get_used_vector_mask
{
vmask_t *ret = NULL;
- if ( opt_irq_vector_map == OPT_IRQ_VECTOR_MAP_GLOBAL )
+ if ( opt_irq_vector_map == OPT_IRQ_VECTOR_MAP_GLOBAL ||
+ opt_irq_vector_map == OPT_IRQ_VECTOR_MAP_PERDEV_GLOBAL )
{
struct irq_desc *desc = irq_to_desc(irq);
diff -r 84e4d183fa8b -r 6671fc79717a xen/drivers/passthrough/amd/pci_amd_iommu.c
--- a/xen/drivers/passthrough/amd/pci_amd_iommu.c
+++ b/xen/drivers/passthrough/amd/pci_amd_iommu.c
@@ -238,6 +238,21 @@ int __init amd_iov_detect(vo...
2011 Sep 20
0
[PATCH 4/4] x86: split MSI IRQ chip
...q(
if ( desc->handler != &no_irq_type )
dprintk(XENLOG_G_ERR, "dom%d: irq %d in use\n",
d->domain_id, irq);
- desc->handler = &pci_msi_type;
+ setup_msi_handler(desc, msi_desc);
if ( opt_irq_vector_map == OPT_IRQ_VECTOR_MAP_PERDEV
&& !desc->chip_data->used_vectors )
@@ -1738,7 +1738,7 @@ int map_domain_pirq(
}
set_domain_irq_pirq(d, irq, info);
- setup_msi_irq(msi_desc, irq);
+ setup_msi_irq(desc);
spin_unlock_irqrestore(&desc->lock, flags);
}...