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] Fix a bug when ACPI registers in System_Memory

To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] Fix a bug when ACPI registers in System_Memory
From: "Chen, Huacai" <huacai.chen@xxxxxxxxx>
Date: Wed, 19 Mar 2008 15:33:49 +0800
Delivery-date: Wed, 19 Mar 2008 00:34:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C40588CB.1E09A%keir.fraser@xxxxxxxxxxxxx>
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: <42DFA526FC41B1429CE7279EF83C6BDCF600DF@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <C40588CB.1E09A%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AciInEdr3OVZpgFvQwe3b7g/hoBDvgAbBMCWACKbdmA=
Thread-topic: [Xen-devel] [PATCH] Fix a bug when ACPI registers in System_Memory

Hi, Keir,

 

This is a new version of the patch, it works on changeset 17243. None of the header files under xen/include/acpi has changed this time, and all ported functions are from Linux 2.6.24.2.

 

Best regards,

Huacai Chen

 

 


From: Keir Fraser [mailto:keir.fraser@xxxxxxxxxxxxx]
Sent: 2008
318 22:57
To: Chen, Huacai; xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] [PATCH] Fix a bug when ACPI registers in System_Memory

 

I’ve done a more comprehensive update of the Xen ACPI header files (upgraded to Linux 2.6.24). Please re-work your patch against changeset 17231 in xen-unstable staging tree. Avoid changing any header files under xen/include/acpi/ unless you have good reason. Where you take new files from Linux, please use Linux 2.6.24 or newer.

 Thanks,
 Keir

On 18/3/08 02:03, "Chen, Huacai" <huacai.chen@xxxxxxxxx> wrote:

Hi, all,
 
Some ACPI registers may be in System_Memory but not System_IO space, For these machines S3 fails since current Xen use I/O instructions (e.g. inb(), outb(), etc.) to access ACPI registers. The patch attached fix the bug by adding GAS (generic address structure) support ported from Linux, which should also benefit later ACPI activity within Xen.
 
Best regards,
Huacai Chen
 
Signed-off-by: Huacai Chen <huacai.chen@xxxxxxxxx>


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

 

Attachment: fix_regs_in_sys_mem.patch
Description: fix_regs_in_sys_mem.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>