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][VT] Clear the pending interrupt on shared page w

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH][VT] Clear the pending interrupt on shared page when PIC initialized
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Mon, 12 Sep 2005 18:47:48 +0100
Cc: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 12 Sep 2005 17:40:57 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <e0f4bacda56d2daafafbd9a97d9c6e97@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: <FFEFE1749526634699CD3AC2EDB7627A3E5535@pdsmsx406> <e0f4bacda56d2daafafbd9a97d9c6e97@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 12 Sep 2005, at 18:36, Keir Fraser wrote:

This patch works for following scenerio:
1) The BIOS set the irq base to 0x20, and then interrupt is injected
through shared page.
2) The OS disable interurpt , and reset the PIC with ICW1~ICW4. In this process, it changes the irq base for PIC from 0x20 to 0x30 through ICW2.

Okay, thanks for the clarification and I see why the PIT bart is needed now. But, in the PIC code, wouldn't hanging the reset off of cpu_reset_interrupt() make more sense?

I should add that I think in the end the PIC emulation belongs in Xen, or the PIT should be moved out to the qemu device model (but only after all that code is moved out of domain0 user space). The current architectural split across Xen/dom0 is pretty gross.

 -- Keir


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