search for: create_irq

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

2011 Nov 08
2
[PATCH] x86/IRQ: create_irq() should call assign_irq_vector()
...tor_map_param(char *s); -static int __assign_irq_vector(int irq, struct irq_desc *, const cpumask_t *); /* opt_noirqbalance: If true, software IRQ balancing/affinity is disabled. */ bool_t __read_mostly opt_noirqbalance = 0; @@ -153,7 +152,6 @@ int __init bind_irq_vector(int irq, int */ int create_irq(void) { - unsigned long flags; int irq, ret; struct irq_desc *desc; @@ -169,11 +167,7 @@ int create_irq(void) ret = init_one_irq_desc(desc); if (!ret) - { - spin_lock_irqsave(&vector_lock, flags); - ret = __assign_irq_vector(irq, desc, TARGET_CPUS);...
2011 Sep 27
7
MSI error when reloading iwlagn module
Hi, With a fairly current kernel + xen, I''m seeing this if I rmmod iwlagn and try to reload it: [51230.646678] Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree: [51230.646685] Copyright(c) 2003-2011 Intel Corporation [51230.646760] xen: registering gsi 17 triggering 0 polarity 1 [51230.646773] xen_map_pirq_gsi: returning irq 17 for gsi 17 [51230.646777] xen: --> pirq=17
2011 Sep 05
0
[PATCH] x86: remove unnecessary indirection from irq_complete_move()''s sole parameter
..._to_iommu[irq]; struct irq_desc *desc = irq_to_desc(irq); - irq_complete_move(&desc); + irq_complete_move(desc); /* mask it */ spin_lock_irqsave(&iommu->register_lock, flags); --- a/xen/include/asm-x86/irq.h +++ b/xen/include/asm-x86/irq.h @@ -148,7 +148,7 @@ int create_irq(void); void destroy_irq(unsigned int irq); struct irq_desc; -extern void irq_complete_move(struct irq_desc **descp); +extern void irq_complete_move(struct irq_desc *); extern struct irq_desc *irq_desc; _______________________________________________ Xen-devel mailing list Xen-devel@li...
2013 May 31
7
[PATCH v2] AMD/intremap: Prevent use of per-device vector maps until irq logic is fixed
...issue by failing the hypercall, but is not acceptable IMO. One logical way to fix the issue would be to reassign one of the irqs to a different vector, but that requires waiting for another interrupt, and trashes the PCI device''s used_vector table. The best solution I can see is to have create_irq() know about which PCI device the irq belongs to, but I cant find a nice way of making this information available. George: This patch should go into xen-4.3 (as well as being backported) as it is specifically to work around a regression caused by XSA-36 Changes since v1: * Correct stupid mistake...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...t status reg %x\n", - fault_status); + pr_err("DRHD: handling fault status reg %x\n", fault_status); /* TBD: ignore advanced fault log currently */ if (!(fault_status & DMA_FSTS_PPF)) @@ -1373,7 +1354,7 @@ int dmar_set_interrupt(struct intel_iommu *iommu) irq = create_irq(); if (!irq) { - printk(KERN_ERR "IOMMU: no free vectors\n"); + pr_err("IOMMU: no free vectors\n"); return -EINVAL; } @@ -1390,7 +1371,7 @@ int dmar_set_interrupt(struct intel_iommu *iommu) ret = request_irq(irq, dmar_fault, 0, iommu->name, iommu); if (ret) -...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...t status reg %x\n", - fault_status); + pr_err("DRHD: handling fault status reg %x\n", fault_status); /* TBD: ignore advanced fault log currently */ if (!(fault_status & DMA_FSTS_PPF)) @@ -1373,7 +1354,7 @@ int dmar_set_interrupt(struct intel_iommu *iommu) irq = create_irq(); if (!irq) { - printk(KERN_ERR "IOMMU: no free vectors\n"); + pr_err("IOMMU: no free vectors\n"); return -EINVAL; } @@ -1390,7 +1371,7 @@ int dmar_set_interrupt(struct intel_iommu *iommu) ret = request_irq(irq, dmar_fault, 0, iommu->name, iommu); if (ret) -...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...t status reg %x\n", - fault_status); + pr_err("DRHD: handling fault status reg %x\n", fault_status); /* TBD: ignore advanced fault log currently */ if (!(fault_status & DMA_FSTS_PPF)) @@ -1373,7 +1354,7 @@ int dmar_set_interrupt(struct intel_iommu *iommu) irq = create_irq(); if (!irq) { - printk(KERN_ERR "IOMMU: no free vectors\n"); + pr_err("IOMMU: no free vectors\n"); return -EINVAL; } @@ -1390,7 +1371,7 @@ int dmar_set_interrupt(struct intel_iommu *iommu) ret = request_irq(irq, dmar_fault, 0, iommu->name, iommu); if (ret) -...