|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 1/5] Use per-domain irq-to-vector array when mapping
Use per-domain irq-to-vector array when mapping GSIs
Using the per-domain array enables single MSI vectors to be mapped.
Signed-off-by: Espen Skoglund <espen.skoglund@xxxxxxxxxxxxx>
diff -r f3870189c530 xen/arch/x86/physdev.c
--- a/xen/arch/x86/physdev.c Thu Feb 05 14:20:45 2009 +0000
+++ b/xen/arch/x86/physdev.c Thu Feb 05 14:29:01 2009 +0000
@@ -62,7 +62,7 @@ static int physdev_map_pirq(struct physd
ret = -EINVAL;
goto free_domain;
}
- vector = IO_APIC_VECTOR(map->index);
+ vector = domain_irq_to_vector(current->domain, map->index);
if ( !vector )
{
dprintk(XENLOG_G_ERR, "dom%d: map irq with no vector %d\n",
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH] [RFC] MSI and interrupt mapping, Espen Skoglund
- Re: [Xen-devel] [PATCH] [RFC] MSI and interrupt mapping, Keir Fraser
- Re: [Xen-devel] [PATCH] [RFC] MSI and interrupt mapping, Espen Skoglund
- Re: [Xen-devel] [PATCH] [RFC] MSI and interrupt mapping, Keir Fraser
- [Xen-devel] [PATCH 0/5] Mapping MSI vectors and other interrupt cleanups, Espen Skoglund
- [Xen-devel] [PATCH 1/5] Use per-domain irq-to-vector array when mapping GSIs,
Espen Skoglund <=
- [Xen-devel] [PATCH 2/5] Cleanup IOMMU interrupt setup, Espen Skoglund
- [Xen-devel] [PATCH 3/5] setup_irq/request_irq/free_irq fixups, Espen Skoglund
- Re: [Xen-devel] [PATCH 3/5] setup_irq/request_irq/free_irq fixups, Keir Fraser
- Re: [Xen-devel] [PATCH 3/5] setup_irq/request_irq/free_irq fixups, Espen Skoglund
- Re: [Xen-devel] [PATCH 3/5] setup_irq/request_irq/free_irq fixups, Keir Fraser
- Re: [Xen-devel] [PATCH 3/5] setup_irq/request_irq/free_irq fixups, Espen Skoglund
- Re: [Xen-devel] [PATCH 3/5] setup_irq/request_irq/free_irq fixups, Keir Fraser
- Re: [Xen-devel] [PATCH 3/5] setup_irq/request_irq/free_irq fixups, Espen Skoglund
- Re: [Xen-devel] [PATCH 3/5] setup_irq/request_irq/free_irq fixups, Espen Skoglund
- Re: [Xen-devel] [PATCH 3/5] setup_irq/request_irq/free_irq fixups, Keir Fraser
|
|
|
|
|