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][IPF][PATCH]Make shutdown work on IPF

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, "Keir Fraser" <keir@xxxxxxxxxxxxx>
Subject: RE: [Xen-devel][IPF][PATCH]Make shutdown work on IPF
From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Date: Mon, 13 Nov 2006 16:36:21 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 13 Nov 2006 00:36:38 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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: AccEq5NbAs9SSUeJQDuiSqUDGM6psAAC3ihqAJC5+XAAAPQ16AAAFJWg
Thread-topic: [Xen-devel][IPF][PATCH]Make shutdown work on IPF
Keir Fraser write on 2006年11月13日 16:29:
> On 13/11/06 8:18 am, "Xu, Anthony" <anthony.xu@xxxxxxxxx> wrote:
> 
>> We can see that this BAR is at offset 0x40, so it is a
>> device-specific BAR rather than normal PCI BAR, It should be ACPI
>> driver(which is in Guest BIOS)'s responsibility to program this BAR
>> rather than PCI enumeration. 
> 
> Does this BAR not get set up properly in current qemu? 

Yes, this BAR get setup properly in current qemu by pci_bios_init,
But this BAR is passed to Guest OS thru ACPI afdt table,
this BAR is hardcoded to 0xc010 in ACPI afdt table.

So if pci_bios_init doesn't allocate 0xc010 to this BAR,
Shutdown can't work.


>It looks to me
> like the existing code sets up this region as a standard PCI BAR?
Yes, the existing code sets up this region as a standard PCI BAR


Anthony

> Maybe I need to go read the PIIX spec.
> 
>  -- Keir
> 
> 
> 
> _______________________________________________
> 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

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