[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 8/9] acpi: mark PMTIMER as unlocked
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PATCH 8/9] acpi: mark PMTIMER as unlocked |
Date: |
Thu, 18 Jun 2015 18:47:25 +0200 |
Accessing QEMU_CLOCK_VIRTUAL is thread-safe.
Signed-off-by: Paolo Bonzini <address@hidden>
---
hw/acpi/core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/acpi/core.c b/hw/acpi/core.c
index 0f201d8..fe6215a 100644
--- a/hw/acpi/core.c
+++ b/hw/acpi/core.c
@@ -528,6 +528,7 @@ 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);
}
--
1.8.3.1
- [Qemu-devel] [PATCH for-2.4 0/9] KVM: Do I/O outside BQL whenever possible, Paolo Bonzini, 2015/06/18
- [Qemu-devel] [PATCH 2/9] main-loop: introduce qemu_mutex_iothread_locked, Paolo Bonzini, 2015/06/18
- [Qemu-devel] [PATCH 1/9] main-loop: use qemu_mutex_lock_iothread consistently, Paolo Bonzini, 2015/06/18
- [Qemu-devel] [PATCH 3/9] memory: Add global-locking property to memory regions, Paolo Bonzini, 2015/06/18
- [Qemu-devel] [PATCH 4/9] exec: pull qemu_flush_coalesced_mmio_buffer() into address_space_rw/ld*/st*, Paolo Bonzini, 2015/06/18
- [Qemu-devel] [PATCH 5/9] memory: let address_space_rw/ld*/st* run outside the BQL, Paolo Bonzini, 2015/06/18
- [Qemu-devel] [PATCH 6/9] kvm: First step to push iothread lock out of inner run loop, Paolo Bonzini, 2015/06/18
- [Qemu-devel] [PATCH 7/9] kvm: Switch to unlocked PIO, Paolo Bonzini, 2015/06/18
- [Qemu-devel] [PATCH 8/9] acpi: mark PMTIMER as unlocked,
Paolo Bonzini <=
- [Qemu-devel] [PATCH 9/9] kvm: Switch to unlocked MMIO, Paolo Bonzini, 2015/06/18