All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH]kvm/ia64: Qemu: Set pmcntrl to SCI_EN by default when initalize acpi.
@ 2008-09-17  8:20 ` Zhang, Xiantao
  0 siblings, 0 replies; 4+ messages in thread
From: Zhang, Xiantao @ 2008-09-17  8:20 UTC (permalink / raw)
  To: kvm-ia64

[-- Attachment #1: Type: text/plain, Size: 919 bytes --]

From 80c85020dbb421053270b029c0bc4ca2a995f2e5 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang <xiantao.zhang@intel.com>
Date: Wed, 17 Sep 2008 15:10:37 +0800
Subject: [PATCH] kvm/ia64: Qemu: Set pmcntrl to SCI_EN by default when
initalize acpi.

Fix windows boot issue with acpi enabled.
Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
---
 qemu/hw/acpi.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/qemu/hw/acpi.c b/qemu/hw/acpi.c
index 03e44bc..492d295 100644
--- a/qemu/hw/acpi.c
+++ b/qemu/hw/acpi.c
@@ -504,6 +504,7 @@ i2c_bus *piix4_pm_init(PCIBus *bus, int devfn,
uint32_t smb_io_base,
     pci_conf[0x40] = 0x41; /* PM io base read only bit */
     pci_conf[0x41] = 0x1f;
     pm_write_config(s, 0x80, 0x01, 1); /*Set default pm_io_base
0x1f40*/
+    s->pmcntrl = SCI_EN;
 #endif
 
     register_ioport_write(0xb2, 2, 1, pm_smi_writeb, s);
-- 
1.5.1

[-- Attachment #2: 0001-kvm-ia64-Qemu-Set-pmcntrl-to-SCI_EN-by-default-whe.patch --]
[-- Type: application/octet-stream, Size: 892 bytes --]

From 80c85020dbb421053270b029c0bc4ca2a995f2e5 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang <xiantao.zhang@intel.com>
Date: Wed, 17 Sep 2008 15:10:37 +0800
Subject: [PATCH] kvm/ia64: Qemu: Set pmcntrl to SCI_EN by default when initalize acpi.

Fix windows boot issue with acpi enabled.
Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
---
 qemu/hw/acpi.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/qemu/hw/acpi.c b/qemu/hw/acpi.c
index 03e44bc..492d295 100644
--- a/qemu/hw/acpi.c
+++ b/qemu/hw/acpi.c
@@ -504,6 +504,7 @@ i2c_bus *piix4_pm_init(PCIBus *bus, int devfn, uint32_t smb_io_base,
     pci_conf[0x40] = 0x41; /* PM io base read only bit */
     pci_conf[0x41] = 0x1f;
     pm_write_config(s, 0x80, 0x01, 1); /*Set default pm_io_base 0x1f40*/
+    s->pmcntrl = SCI_EN;
 #endif
 
     register_ioport_write(0xb2, 2, 1, pm_smi_writeb, s);
-- 
1.5.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-09-23  9:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-17  8:20 [PATCH]kvm/ia64: Qemu: Set pmcntrl to SCI_EN by default when initalize acpi Zhang, Xiantao
2008-09-17  8:20 ` Zhang, Xiantao
2008-09-23  9:26 ` [PATCH]kvm/ia64: Qemu: Set pmcntrl to SCI_EN by default when Avi Kivity
2008-09-23  9:26   ` [PATCH]kvm/ia64: Qemu: Set pmcntrl to SCI_EN by default when initalize acpi Avi Kivity

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.