[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Re: [FIXED] probs with 3ware Controller



Xen IRQ/PCI code is based on Linux 2.4, which doesn't support MSI.

Even if we did, I believe those large IRQ numbers aren't really
IRQs. MSI devices don't have an IRQ because they send a trap vector
directly to the CPU.

This leads me to realise that guest OSes never really need to see real
IRQ numbers, so at some point I'll probably refactor that code. At
least for MSI devices, we can lie about the IRQ number.

 -- Keir


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Keir Fraser wrote:
> | Aha, lazy programming bit me. So the bug was nothing to do with BIOS
> | table parsing -- it was because the controllers's IRQ was greater than
> | 63. :-)
> |
> | Xen should now correctly virtualise IRQs all the way up to 127.
> 
> Hi!
> 
> I don't know if it's something that can cause trouble in the future so
> I'm posting it so that someone more fit to judge can decide:
> 
> puma:/home/nuno# cat /proc/interrupts
> ~           CPU0       CPU1
> ~  0:     419664     363307    IO-APIC-edge  timer
> ~  1:        945        699    IO-APIC-edge  i8042
> ~  7:          0          0    IO-APIC-edge  parport0
> ~  8:          4          0    IO-APIC-edge  rtc
> ~  9:          0          0   IO-APIC-level  acpi
> ~ 12:       9433       8376    IO-APIC-edge  i8042
> ~ 14:      38328      31705    IO-APIC-edge  ide0
> ~ 15:         27         24    IO-APIC-edge  ide1
> 169:      29959      23244   IO-APIC-level  uhci_hcd, uhci_hcd,
> radeon@PCI:1:0:0
> 177:          3          5   IO-APIC-level  uhci_hcd, bttv0, bt878
> 185:          0          0   IO-APIC-level  libata, uhci_hcd
> 193:          3          0   IO-APIC-level  ehci_hcd
> 201:        338          0   IO-APIC-level  Intel ICH5
> 209:          0          0   IO-APIC-level  ivtv: iTVC15/16 mpg2 encoder
> chip
> 217:       2609       2142   IO-APIC-level  SysKonnect SK-98xx, ohci1394
> NMI:        220        209
> LOC:     782792     782703
> ERR:          0
> MIS:          0
> 
> This is a "real" box (not xenolinux) and, as you can see, I have irq
> lines up  to 217!
> 
> This is with MSI/MSI-X enabled in kernel 2.6.x... With MSI disabled the
> irq lines stay under 24.
> 
> 127 is too low or this MSI stuff doesn't matter in a xen environment?
> 
> Regards,
> Nuno Silva
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.5 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQFBKrcjOPig54MP17wRAhstAJ9I6nUvYu66qJSXxR72xn+TGG2JOwCgkgAz
> 6N3E3TuUtEo8od/bVJuz+sQ=
> =FuGT
> -----END PGP SIGNATURE-----
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/xen-devel



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.