WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: Nuno Silva <nuno.silva@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [FIXED] probs with 3ware Controller
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 24 Aug 2004 08:52:31 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 24 Aug 2004 08:56:28 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Tue, 24 Aug 2004 04:33:55 BST." <412AB723.8050006@xxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
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