]> Git Repo - qemu.git/commitdiff
Revert "acpi: mark PMTIMER as unlocked"
authorGerd Hoffmann <[email protected]>
Fri, 15 Apr 2016 06:43:29 +0000 (08:43 +0200)
committerPeter Maydell <[email protected]>
Mon, 2 May 2016 16:19:13 +0000 (17:19 +0100)
This reverts commit 7070e085d490c396f9237c8f10bf8b6e69cd0066.

Commit message claims locking is not needed, but that appears
to not be true, seabios ehci driver runs into timekeeping problems
with this, see
https://bugzilla.redhat.com/show_bug.cgi?id=1322713

Signed-off-by: Gerd Hoffmann <[email protected]>
Message-id: 1460702609[email protected]
Signed-off-by: Peter Maydell <[email protected]>
hw/acpi/core.c

index 7925a1a45b03382862b32c4031418218c6efd0be..6a2f45214106d3454bd3b23e029c0614ef20ea9d 100644 (file)
@@ -536,7 +536,6 @@ void acpi_pm_tmr_init(ACPIREGS *ar, acpi_update_sci_fn update_sci,
     ar->tmr.timer = timer_new_ns(QEMU_CLOCK_VIRTUAL, acpi_pm_tmr_timer, ar);
     memory_region_init_io(&ar->tmr.io, memory_region_owner(parent),
                           &acpi_pm_tmr_ops, ar, "acpi-tmr", 4);
-    memory_region_clear_global_locking(&ar->tmr.io);
     memory_region_add_subregion(parent, 8, &ar->tmr.io);
 }
 
This page took 0.027475 seconds and 4 git commands to generate.