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] Why did Changeset 12028 remove the handling of ESR?

To: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Why did Changeset 12028 remove the handling of ESR?
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 31 Oct 2006 12:35:29 +0000
Delivery-date: Thu, 02 Nov 2006 13:35:26 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <666CC8FCE3247C4DA876BA979059781A5C2729@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: Acb84k+AjQXyc6wdR0+RHtiF5zNqGgABrzCk
Thread-topic: [Xen-devel] Why did Changeset 12028 remove the handling of ESR?
User-agent: Microsoft-Entourage/11.2.5.060620
On 31/10/06 11:47, "Cui, Dexuan" <dexuan.cui@xxxxxxxxx> wrote:

> I found you did some clean-up in Changeset 12028.
> I noticed you removed the handling of ESR(Error status register). This
> includes:
> 1) remove the handling of reading/writing APIC_ESR;
> 2) removing vlapic_check_vector(); when writing the entries in Local APIC's
> LVT, no calling vlapic_check_vector();
> 3) In cpu_get_apic_interrupt(), no checking whether the want-to-deliver vector
> number < 0x10;
> Could you explain the reason?
> When installing x64 windows, we found without the handling of ESR, the
> installation process would hang.
> I think we might as well restore the handling of ESR?

I removed it because it was broken. The guest would always read err_status
as zero as it was never written to APIC_ESR in the vlapic register page. And
it did not seem worth fixing since I can hardly believe that an OS would
rely on defined ESR behaviour during boot (especially when there are various
errata relating to its behaviour). Surely there must be a deeper underlying
problem here?

 -- Keir



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

<Prev in Thread] Current Thread [Next in Thread>