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

[Xen-changelog] [qemu-upstream-unstable] piix4: disable io on reset



commit ae00a27feab0ca12d2a802cfae9ee65ba3d43602
Author:     Michael S. Tsirkin <mst@xxxxxxxxxx>
AuthorDate: Wed Sep 11 13:33:31 2013 +0300
Commit:     Michael Roth <mdroth@xxxxxxxxxxxxxxxxxx>
CommitDate: Mon Sep 30 22:48:18 2013 -0500

    piix4: disable io on reset
    
    io base register at 0x40 is cleared on reset,
    but io is not disabled until some other event
    happens to call pm_io_space_update.
    
    Invoke pm_io_space_update directly to make this
    consistent.
    
    Cc: qemu-stable@xxxxxxxxxx
    Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx>
    (cherry picked from commit c046e8c4a26c902ca1b4f5bdf668a2da6bc75f54)
    
    Signed-off-by: Michael Roth <mdroth@xxxxxxxxxxxxxxxxxx>
---
 hw/acpi/piix4.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/hw/acpi/piix4.c b/hw/acpi/piix4.c
index c885690..3aaf18c 100644
--- a/hw/acpi/piix4.c
+++ b/hw/acpi/piix4.c
@@ -380,6 +380,7 @@ static void piix4_reset(void *opaque)
         /* Mark SMM as already inited (until KVM supports SMM). */
         pci_conf[0x5B] = 0x02;
     }
+    pm_io_space_update(s);
     piix4_update_hotplug(s);
 }
 
--
generated by git-patchbot for /home/xen/git/qemu-upstream-unstable.git

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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