qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/5] Make rt_clock usage configurable for ARM devices
@ 2012-03-05  9:08 Paolo Bonzini
  2012-03-05  9:08 ` [Qemu-devel] [PATCH v2 1/5] rtc: add -rtc clock=rt Paolo Bonzini
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Paolo Bonzini @ 2012-03-05  9:08 UTC (permalink / raw)
  To: qemu-devel; +Cc: peter.maydell

Direct usage of rt_clock should be discouraged. For RTC devices the user
cannot choose to follow the host clock with respect to NTP adjustment
and daylight savings changes.   For other devices it does not provide
determinism together with -icount or qtest, and it also keeps ticking
while the machine is paused.

This series uses rtc_clock uniformly in device models that provide RTC
functionality, and vm_clock in the omap_lpg whose ticking should be tied
to the VM running state.  For consistency I'm also switching the pl031
to rtc_clock; so far it used the vm_clock.

v1->v2: switch omap_lpg to vm_clock

Paolo Bonzini (5):
  rtc: add -rtc clock=rt
  omap: switch omap_lpg to vm_clock
  arm: switch real-time clocks to rtc_clock
  pl031: rearm alarm timer upon load
  pl031: switch clock base to rtc_clock

 hw/omap1.c      |   10 +++---
 hw/pl031.c      |   75 ++++++++++++++++++++++++++++++++++++-------------------
 hw/pxa2xx.c     |   28 ++++++++++----------
 hw/strongarm.c  |   10 +++---
 hw/twl92230.c   |    9 +++---
 qemu-options.hx |    7 +++--
 vl.c            |    2 +
 7 files changed, 84 insertions(+), 57 deletions(-)

-- 
1.7.7.6

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

end of thread, other threads:[~2012-03-27 17:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-05  9:08 [Qemu-devel] [PATCH v2 0/5] Make rt_clock usage configurable for ARM devices Paolo Bonzini
2012-03-05  9:08 ` [Qemu-devel] [PATCH v2 1/5] rtc: add -rtc clock=rt Paolo Bonzini
2012-03-05  9:08 ` [Qemu-devel] [PATCH v2 2/5] omap: switch omap_lpg to vm_clock Paolo Bonzini
2012-03-05  9:08 ` [Qemu-devel] [PATCH v2 3/5] arm: switch real-time clocks to rtc_clock Paolo Bonzini
2012-03-05  9:08 ` [Qemu-devel] [PATCH v2 4/5] pl031: rearm alarm timer upon load Paolo Bonzini
2012-03-05  9:08 ` [Qemu-devel] [PATCH v2 5/5] pl031: switch clock base to rtc_clock Paolo Bonzini
2012-03-05 14:05 ` [Qemu-devel] [PATCH v2 0/5] Make rt_clock usage configurable for ARM devices Peter Maydell
2012-03-13 10:46   ` Paolo Bonzini
2012-03-27 17:07   ` Paolo Bonzini
2012-03-27 17:24     ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).