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

[Xen-devel] [PATCH] x86/ACPI: also print address space for PM1x fields


  • To: "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: "Jan Beulich" <JBeulich@xxxxxxxx>
  • Date: Fri, 28 Feb 2014 16:50:43 +0000
  • Delivery-date: Fri, 28 Feb 2014 16:50:36 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

At least one vendor is in the process of making systems available where
these live in MMIO, not in I/O port space.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

--- a/xen/arch/x86/acpi/boot.c
+++ b/xen/arch/x86/acpi/boot.c
@@ -402,11 +402,15 @@ acpi_fadt_parse_sleep_info(struct acpi_t
        acpi_fadt_copy_address(pm1b_evt, pm1b_event, pm1_event);
 
        printk(KERN_INFO PREFIX
-              "SLEEP INFO: pm1x_cnt[%"PRIx64",%"PRIx64"], "
-              "pm1x_evt[%"PRIx64",%"PRIx64"]\n",
+              "SLEEP INFO: pm1x_cnt[%d:%"PRIx64",%d:%"PRIx64"], "
+              "pm1x_evt[%d:%"PRIx64",%d:%"PRIx64"]\n",
+              acpi_sinfo.pm1a_cnt_blk.space_id,
               acpi_sinfo.pm1a_cnt_blk.address,
+              acpi_sinfo.pm1b_cnt_blk.space_id,
               acpi_sinfo.pm1b_cnt_blk.address,
+              acpi_sinfo.pm1a_evt_blk.space_id,
               acpi_sinfo.pm1a_evt_blk.address,
+              acpi_sinfo.pm1b_evt_blk.space_id,
               acpi_sinfo.pm1b_evt_blk.address);
 
        /* Now FACS... */



Attachment: x86-ACPI-pm1x-space.patch
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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