From: Alex Williamson Subject: Re: [Xen-staging] [xen-unstable] x86 ACPI sleep: Fix a bug when ACPI registers in System_Memory Date: Wed, 19 Mar 2008 06:52:19 -0600 Message-ID: <1205931139.27908.107.camel@bling> References: <200803191034.m2JAYNXa026269@latara.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200803191034.m2JAYNXa026269@latara.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: huacai.chen@intel.com Cc: xen-devel , Keir Fraser List-Id: xen-devel@lists.xenproject.org On Wed, 2008-03-19 at 10:34 +0000, Xen staging patchbot-unstable wrote: > # HG changeset patch > # User Keir Fraser > # Date 1205922793 0 > # Node ID 26a7a2d154e1a0f51da1fd44337091f3bcf39bf9 > # Parent 70f9a2110421cc6f4ce066eb80d4c639a28643bd > x86 ACPI sleep: Fix a bug when ACPI registers in System_Memory > > 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. acpi_sinfo is an x86 specific structure, let's not leak it out into common code. Perhaps we could start using acpi_gbl_FADT for this like upstream Linux does. BTW, there are cross compilers available for ia64, see the wiki. Thanks, Alex -- Alex Williamson HP Open Source & Linux Org.