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] [PATCH][HVM] fix PCI interrupt routing via ACPI

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH][HVM] fix PCI interrupt routing via ACPI
From: "Dave Lively" <dave.lively@xxxxxxxxx>
Date: Mon, 16 Oct 2006 10:51:13 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, "Wang, Winston L" <winston.l.wang@xxxxxxxxx>
Delivery-date: Mon, 16 Oct 2006 07:52:20 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=KjKOXWe/4xSNTz+dJf5Ys3OYIqhL2CJ2O3RQwDmVxXW2SuaaVAa3gGNf1+n5KlReNuaht/PHasvKwczAuTspA39ryeyqO5ZdhjCISJnRBPzGS3/AixKlwLa1AY98OfyX/drFS4bn1OWk4v9NvRK9gmVmAW5JCmlwLoy9iZTgDps=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C156519D.286F%Keir.Fraser@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <33C3AAF1C7AF99469FD89F86616C52450111F4BD@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <C156519D.286F%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
I like the simplification.

What about PIC mode support?  OSes expecting just a PIC may
rely on being able to choose the 4 PCI IRQs.  But I don't know
this for sure.  In fact, I remember Win2003 with the ACPI PIC HAL
was successfully working around this problem (by leaving the PCI
IRQ assignments unchanged), though it complained in the event
log.  I'm not sure whether we can rely on this or not ...

Also, I worry in general about deviating too much from emulation
of existing chipsets (at least for anything required at guest OS
install time).  Surprising a guest with (perfectly legitimate) combinations
of hardware it hasn't seen before can be dangerous.

Dave



On 10/14/06, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> wrote:

Or, could we simply:
 1. throw away the PCI-ISA bridge device (from qemu and from the ACPI DSDT)
 2. throw away the legacy '$PIR' routing table in rombios.c
 3. initialise the IRQ field of each PCI device config space to sane unique values
 4. Make ACPI PRTP static and match the values chosen in (3).
 5. Also throw away all the LNK stuff from ACPI DSDT

If we're allowed to do this (programmable PCI-ISA bridge isn't part of MP or ACPI specs, for example) then this seems to involve throwing away a load of tedious code and thus removing an IRQ-mapping bottleneck. No drawbacks, unless I'm ignorant of some PC architectural detail (quite possible)?

 -- Keir

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel