|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] x86: allow IRQs to work without APIC agai
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1253604506 -3600
# Node ID be747c582738035889d5f3f9d40051818e1af50e
# Parent 8de13ae0a4ee227623df87f69a5f53ea094372d8
x86: allow IRQs to work without APIC again
Non-IO-APIC IRQs must get 1:1 mapped between domain PIRQ and Xen IRQ.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
xen/arch/x86/domain.c | 4 ++++
1 files changed, 4 insertions(+)
diff -r 8de13ae0a4ee -r be747c582738 xen/arch/x86/domain.c
--- a/xen/arch/x86/domain.c Tue Sep 22 08:27:10 2009 +0100
+++ b/xen/arch/x86/domain.c Tue Sep 22 08:28:26 2009 +0100
@@ -487,6 +487,10 @@ int arch_domain_create(struct domain *d,
memset(d->arch.irq_pirq, 0,
nr_irqs * sizeof(*d->arch.irq_pirq));
+ for ( i = 1; platform_legacy_irq(i); ++i )
+ if ( !IO_APIC_IRQ(i) )
+ d->arch.irq_pirq[i] = d->arch.pirq_irq[i] = i;
+
if ( (rc = iommu_domain_init(d)) != 0 )
goto fail;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] x86: allow IRQs to work without APIC again,
Xen patchbot-unstable <=
|
|
|
|
|