[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Why did Changeset 12028 remove the handling of ESR?


  • To: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acb84k+AjQXyc6wdR0+RHtiF5zNqGgABrzCk
  • Thread-topic: [Xen-devel] Why did Changeset 12028 remove the handling of ESR?

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.