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] [VTD][PATCH] Fix ISA IRQ alias issue

To: "Han, Weidong" <weidong.han@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [VTD][PATCH] Fix ISA IRQ alias issue
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Sat, 17 Nov 2007 01:45:30 +0000
Cc: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, "Kay, Allen M" <allen.m.kay@xxxxxxxxx>
Delivery-date: Fri, 16 Nov 2007 17:46:28 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <08DF4D958216244799FC84F3514D70F0BB252F@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcgnUUmx53ANIyRaTUCfcxNsPbdldABJhXnxAA+DFLAAAYc9rw==
Thread-topic: [Xen-devel] [VTD][PATCH] Fix ISA IRQ alias issue
User-agent: Microsoft-Entourage/11.3.6.070618
So what if a PCI-ISA IRQ is delivered via, and EOIed via, the IO-APIC?

 -- Keir

On 17/11/07 01:37, "Han, Weidong" <weidong.han@xxxxxxxxx> wrote:

> This patch doesn't change EOI of PCI-ISA IRQs via IO-APIC, it just uses
> a separate function to handle EOI of PCI-ISA IRQs via the PIC. Without
> this patch, assigning multiple devices to guest which uses PIC maybe
> results in disabling the IRQ.
> 
> -- Weidong
> 
> Keir Fraser wrote:
>> A concerning amount of code churn and I'm not clear it works for EOI
>> of PCI-ISA IRQs via the IO-APIC. This probably isn't for 3.2.0.
>> 
>>  -- Keir
>> 
>> On 15/11/07 06:32, "Han, Weidong" <weidong.han@xxxxxxxxx> wrote:
>> 
>>> When assign multiple devices to guest which uses PIC, ISA IRQ alias
>>> may occur. This patch splits ISA IRQ and GSI eoi function. In ISA
>>> IRQ eoi function, searches all assigned mirqs and does eoi for the
>>> corresponding mirqs which match the eoi ISA IRQ. Therefore fix ISA
>>> IRQ alias issue.
>>> 
>>> 
>>> Signed-off-by: Weidong Han <weidong.han@xxxxxxxxx>
>>> _______________________________________________
>>> Xen-devel mailing list
>>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>>> http://lists.xensource.com/xen-devel
>> 
>> 
>> 
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-devel



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