Skip to contentSkip to conversation

x86 ACPI sleep: Fix a bug when ACPI registers in System_Memory

Xen-staging Alex Williamson 1 participant 1 message Mar 19, 2008 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 7 lines · Xen staging patchbot-unstable

# 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

Quoted 5 lines

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

Signature · 1 line
Alex Williamson                             HP Open Source & Linux Org.