qemu-arm.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v4 0/9] QOM'ify hw/timer/*
@ 2016-02-22  3:15 xiaoqiang zhao
  2016-02-22  3:15 ` [Qemu-arm] [PATCH v4 1/9] hw/timer: QOM'ify etraxfs_timer xiaoqiang zhao
                   ` (7 more replies)
  0 siblings, 8 replies; 17+ messages in thread
From: xiaoqiang zhao @ 2016-02-22  3:15 UTC (permalink / raw)
  To: qemu-devel
  Cc: peter.maydell, gxt, i.mitsyanko, mark.cave-ayland, michael,
	qemu-arm, edgar.iglesias, m.kozlov, afaerber

This patch series QOM'ify timer code under hw/timer directory.
Main idea is to split the initfn's work, some to TypeInfo.instance_init
and some is placed in DeviceClass::realize.
Drop the use of SysBusDeviceClass::init if possible.

Some patches in v3:
      hw/timer: QOM'ify arm_timer (pass 1)
      hw/timer: QOM'ify arm_timer (pass 2)
      hw/timer: QOM'ify exynos4210_mct
      hw/timer: QOM'ify exynos4210_pwm
      hw/timer: QOM'ify exynos4210_rtc
      hw/timer: QOM'ify pl031
      hw/timer: QOM'ify pxa2xx_timer
have been taken by Peter Maydell <peter.maydell@linaro.org>, others
still need some comments from the relevant maintainers.

changes in v4: 
* correct some misused "Reviewed-by" tags
* fix 'make check' fail case in the "/arm/device/introspect/concrete"
  test in tusb6010.c 

changes in v3: 
* remove unnecessary OBJECT cast
* refine some commit message
* use DeviceClass::vmsd instead of vmstate_register to register
  the VMState if possible

changes in v2: 
fix a stupid typo (timmer->timer)

xiaoqiang zhao (9):
  hw/timer: QOM'ify etraxfs_timer
  hw/timer: QOM'ify grlib_gptimer
  hw/timer: QOM'ify lm32_timer
  hw/timer: QOM'ify m48txx_sysbus (pass 1)
  hw/timer: QOM'ify m48txx_sysbus (pass 2)
  hw/timer: QOM'ify milkymist_sysctl
  hw/timer: QOM'ify puv3_ost
  hw/timer: QOM'ify slavio_timer
  hw/timer: QOM'ify tusb6010

 hw/timer/etraxfs_timer.c    | 14 +++++++-------
 hw/timer/grlib_gptimer.c    | 30 ++++++++++++++++++------------
 hw/timer/lm32_timer.c       | 19 ++++++++++++-------
 hw/timer/m48t59.c           | 39 ++++++++++++++++++++-------------------
 hw/timer/milkymist-sysctl.c | 21 +++++++++++++--------
 hw/timer/puv3_ost.c         | 18 +++++-------------
 hw/timer/slavio_timer.c     | 12 +++++-------
 hw/timer/tusb6010.c         | 23 ++++++++++++++++-------
 8 files changed, 96 insertions(+), 80 deletions(-)

-- 
2.1.4



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

end of thread, other threads:[~2016-03-18  3:16 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-22  3:15 [Qemu-devel] [PATCH v4 0/9] QOM'ify hw/timer/* xiaoqiang zhao
2016-02-22  3:15 ` [Qemu-arm] [PATCH v4 1/9] hw/timer: QOM'ify etraxfs_timer xiaoqiang zhao
2016-02-22  3:15 ` [Qemu-arm] [PATCH v4 2/9] hw/timer: QOM'ify grlib_gptimer xiaoqiang zhao
2016-02-22  3:15 ` [Qemu-devel] [PATCH v4 3/9] hw/timer: QOM'ify lm32_timer xiaoqiang zhao
2016-03-17 14:59   ` michael
2016-03-17 15:00     ` [Qemu-arm] " Peter Maydell
2016-03-17 15:02       ` [Qemu-devel] " michael
2016-02-22  3:15 ` [Qemu-devel] [PATCH v4 4/9] hw/timer: QOM'ify m48txx_sysbus (pass 1) xiaoqiang zhao
2016-02-22  3:15 ` [Qemu-devel] [PATCH v4 6/9] hw/timer: QOM'ify milkymist_sysctl xiaoqiang zhao
2016-03-17 15:00   ` michael
2016-03-17 15:03   ` michael
2016-03-18  3:14     ` [Qemu-arm] " xiaoqiang zhao
2016-02-22  3:15 ` [Qemu-devel] [PATCH v4 7/9] hw/timer: QOM'ify puv3_ost xiaoqiang zhao
2016-02-22  3:15 ` [Qemu-devel] [PATCH v4 8/9] hw/timer: QOM'ify slavio_timer xiaoqiang zhao
2016-02-22  3:15 ` [Qemu-devel] [PATCH v4 9/9] hw/timer: QOM'ify tusb6010 xiaoqiang zhao
2016-02-22  9:18   ` Peter Maydell
2016-02-22  9:20     ` [Qemu-arm] " hitmoon

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).