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

* [Qemu-arm] [PATCH v4 1/9] hw/timer: QOM'ify etraxfs_timer
  2016-02-22  3:15 [Qemu-devel] [PATCH v4 0/9] QOM'ify hw/timer/* xiaoqiang zhao
@ 2016-02-22  3:15 ` xiaoqiang zhao
  2016-02-22  3:15 ` [Qemu-arm] [PATCH v4 2/9] hw/timer: QOM'ify grlib_gptimer xiaoqiang zhao
                   ` (6 subsequent siblings)
  7 siblings, 0 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, m.kozlov, afaerber

assign etraxfs_timer_init to etraxfs_timer_info.instance_init
and drop the SysBusDeviceClass::init

Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com>
---
 hw/timer/etraxfs_timer.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/hw/timer/etraxfs_timer.c b/hw/timer/etraxfs_timer.c
index 36d8f46..4f115c7 100644
--- a/hw/timer/etraxfs_timer.c
+++ b/hw/timer/etraxfs_timer.c
@@ -315,9 +315,10 @@ static void etraxfs_timer_reset(void *opaque)
     qemu_irq_lower(t->irq);
 }
 
-static int etraxfs_timer_init(SysBusDevice *dev)
+static void etraxfs_timer_init(Object *obj)
 {
-    ETRAXTimerState *t = ETRAX_TIMER(dev);
+    ETRAXTimerState *t = ETRAX_TIMER(obj);
+    SysBusDevice *dev = SYS_BUS_DEVICE(obj);
 
     t->bh_t0 = qemu_bh_new(timer0_hit, t);
     t->bh_t1 = qemu_bh_new(timer1_hit, t);
@@ -329,24 +330,23 @@ static int etraxfs_timer_init(SysBusDevice *dev)
     sysbus_init_irq(dev, &t->irq);
     sysbus_init_irq(dev, &t->nmi);
 
-    memory_region_init_io(&t->mmio, OBJECT(t), &timer_ops, t,
+    memory_region_init_io(&t->mmio, obj, &timer_ops, t,
                           "etraxfs-timer", 0x5c);
     sysbus_init_mmio(dev, &t->mmio);
-    qemu_register_reset(etraxfs_timer_reset, t);
-    return 0;
 }
 
 static void etraxfs_timer_class_init(ObjectClass *klass, void *data)
 {
-    SysBusDeviceClass *sdc = SYS_BUS_DEVICE_CLASS(klass);
+    DeviceClass *dc = DEVICE_CLASS(klass);
 
-    sdc->init = etraxfs_timer_init;
+    dc->reset = etraxfs_timer_reset;
 }
 
 static const TypeInfo etraxfs_timer_info = {
     .name          = TYPE_ETRAX_FS_TIMER,
     .parent        = TYPE_SYS_BUS_DEVICE,
     .instance_size = sizeof(ETRAXTimerState),
+    .instance_init = etraxfs_timer_init,
     .class_init    = etraxfs_timer_class_init,
 };
 
-- 
2.1.4



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

* [Qemu-arm] [PATCH v4 2/9] hw/timer: QOM'ify grlib_gptimer
  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 ` xiaoqiang zhao
  2016-02-22  3:15 ` [Qemu-devel] [PATCH v4 3/9] hw/timer: QOM'ify lm32_timer xiaoqiang zhao
                   ` (5 subsequent siblings)
  7 siblings, 0 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, m.kozlov, afaerber

* split the old SysBus init function into an instance_init
  and a Device realize function
* use DeviceClass::realize instead of SysBusDeviceClass::init

Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com>
---
 hw/timer/grlib_gptimer.c | 30 ++++++++++++++++++------------
 1 file changed, 18 insertions(+), 12 deletions(-)

diff --git a/hw/timer/grlib_gptimer.c b/hw/timer/grlib_gptimer.c
index dd000f5..02a19c9 100644
--- a/hw/timer/grlib_gptimer.c
+++ b/hw/timer/grlib_gptimer.c
@@ -348,16 +348,29 @@ static void grlib_gptimer_reset(DeviceState *d)
     }
 }
 
-static int grlib_gptimer_init(SysBusDevice *dev)
+static void grlib_gptimer_init(Object *obj)
 {
-    GPTimerUnit  *unit = GRLIB_GPTIMER(dev);
-    unsigned int  i;
+    GPTimerUnit  *unit = GRLIB_GPTIMER(obj);
+    SysBusDevice *dev = SYS_BUS_DEVICE(obj);
 
     assert(unit->nr_timers > 0);
     assert(unit->nr_timers <= GPTIMER_MAX_TIMERS);
 
     unit->timers = g_malloc0(sizeof unit->timers[0] * unit->nr_timers);
 
+    memory_region_init_io(&unit->iomem, obj, &grlib_gptimer_ops,
+                          unit, "gptimer",
+                          UNIT_REG_SIZE + GPTIMER_REG_SIZE * unit->nr_timers);
+
+    sysbus_init_mmio(dev, &unit->iomem);
+}
+
+static void grlib_gptimer_realize(DeviceState *dev, Error *errp)
+{
+    GPTimerUnit  *unit = GRLIB_GPTIMER(dev);
+    SysBusDevice *dev = SYS_BUS_DEVICE(dev);
+    unsigned int  i;
+
     for (i = 0; i < unit->nr_timers; i++) {
         GPTimer *timer = &unit->timers[i];
 
@@ -371,13 +384,6 @@ static int grlib_gptimer_init(SysBusDevice *dev)
 
         ptimer_set_freq(timer->ptimer, unit->freq_hz);
     }
-
-    memory_region_init_io(&unit->iomem, OBJECT(unit), &grlib_gptimer_ops,
-                          unit, "gptimer",
-                          UNIT_REG_SIZE + GPTIMER_REG_SIZE * unit->nr_timers);
-
-    sysbus_init_mmio(dev, &unit->iomem);
-    return 0;
 }
 
 static Property grlib_gptimer_properties[] = {
@@ -390,9 +396,8 @@ static Property grlib_gptimer_properties[] = {
 static void grlib_gptimer_class_init(ObjectClass *klass, void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);
-    SysBusDeviceClass *k = SYS_BUS_DEVICE_CLASS(klass);
 
-    k->init = grlib_gptimer_init;
+    dc->realize = grlib_gptimer_realize;
     dc->reset = grlib_gptimer_reset;
     dc->props = grlib_gptimer_properties;
 }
@@ -401,6 +406,7 @@ static const TypeInfo grlib_gptimer_info = {
     .name          = TYPE_GRLIB_GPTIMER,
     .parent        = TYPE_SYS_BUS_DEVICE,
     .instance_size = sizeof(GPTimerUnit),
+    .instance_init = grlib_gptimer_init,
     .class_init    = grlib_gptimer_class_init,
 };
 
-- 
2.1.4



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

* [Qemu-devel] [PATCH v4 3/9] hw/timer: QOM'ify lm32_timer
  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 ` xiaoqiang zhao
  2016-03-17 14:59   ` michael
  2016-02-22  3:15 ` [Qemu-devel] [PATCH v4 4/9] hw/timer: QOM'ify m48txx_sysbus (pass 1) xiaoqiang zhao
                   ` (4 subsequent siblings)
  7 siblings, 1 reply; 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

* split the old SysBus init function into an instance_init
  and a Device realize function
* use DeviceClass::realize instead of SysBusDeviceClass::init

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com>
---
 hw/timer/lm32_timer.c | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/hw/timer/lm32_timer.c b/hw/timer/lm32_timer.c
index 3198355..e45a65b 100644
--- a/hw/timer/lm32_timer.c
+++ b/hw/timer/lm32_timer.c
@@ -176,21 +176,26 @@ static void timer_reset(DeviceState *d)
     ptimer_stop(s->ptimer);
 }
 
-static int lm32_timer_init(SysBusDevice *dev)
+static void lm32_timer_init(Object *obj)
 {
-    LM32TimerState *s = LM32_TIMER(dev);
+    LM32TimerState *s = LM32_TIMER(obj);
+    SysBusDevice *dev = SYS_BUS_DEVICE(obj);
 
     sysbus_init_irq(dev, &s->irq);
 
     s->bh = qemu_bh_new(timer_hit, s);
     s->ptimer = ptimer_init(s->bh);
-    ptimer_set_freq(s->ptimer, s->freq_hz);
 
-    memory_region_init_io(&s->iomem, OBJECT(s), &timer_ops, s,
+    memory_region_init_io(&s->iomem, obj, &timer_ops, s,
                           "timer", R_MAX * 4);
     sysbus_init_mmio(dev, &s->iomem);
+}
 
-    return 0;
+static void lm32_timer_realize(DeviceState *dev, Error **errp)
+{
+    LM32TimerState *s = LM32_TIMER(dev);
+
+    ptimer_set_freq(s->ptimer, s->freq_hz);
 }
 
 static const VMStateDescription vmstate_lm32_timer = {
@@ -213,9 +218,8 @@ static Property lm32_timer_properties[] = {
 static void lm32_timer_class_init(ObjectClass *klass, void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);
-    SysBusDeviceClass *k = SYS_BUS_DEVICE_CLASS(klass);
 
-    k->init = lm32_timer_init;
+    dc->realize = lm32_timer_realize;
     dc->reset = timer_reset;
     dc->vmsd = &vmstate_lm32_timer;
     dc->props = lm32_timer_properties;
@@ -225,6 +229,7 @@ static const TypeInfo lm32_timer_info = {
     .name          = TYPE_LM32_TIMER,
     .parent        = TYPE_SYS_BUS_DEVICE,
     .instance_size = sizeof(LM32TimerState),
+    .instance_init = lm32_timer_init,
     .class_init    = lm32_timer_class_init,
 };
 
-- 
2.1.4



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

* [Qemu-devel] [PATCH v4 4/9] hw/timer: QOM'ify m48txx_sysbus (pass 1)
  2016-02-22  3:15 [Qemu-devel] [PATCH v4 0/9] QOM'ify hw/timer/* xiaoqiang zhao
                   ` (2 preceding siblings ...)
  2016-02-22  3:15 ` [Qemu-devel] [PATCH v4 3/9] hw/timer: QOM'ify lm32_timer xiaoqiang zhao
@ 2016-02-22  3:15 ` xiaoqiang zhao
  2016-02-22  3:15 ` [Qemu-devel] [PATCH v4 6/9] hw/timer: QOM'ify milkymist_sysctl xiaoqiang zhao
                   ` (3 subsequent siblings)
  7 siblings, 0 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

* split the old SysBus init function into an instance_init
  and a Device realize function
* use DeviceClass::realize instead of SysBusDeviceClass::init

Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com>
---
 hw/timer/m48t59.c | 35 ++++++++++++++++++-----------------
 1 file changed, 18 insertions(+), 17 deletions(-)

diff --git a/hw/timer/m48t59.c b/hw/timer/m48t59.c
index bbcfeb2..3c683aa 100644
--- a/hw/timer/m48t59.c
+++ b/hw/timer/m48t59.c
@@ -763,30 +763,31 @@ static void m48t59_isa_realize(DeviceState *dev, Error **errp)
     }
 }
 
-static int m48t59_init1(SysBusDevice *dev)
+static void m48t59_init1(Object *obj)
 {
-    M48txxSysBusDeviceClass *u = M48TXX_SYS_BUS_GET_CLASS(dev);
-    M48txxSysBusState *d = M48TXX_SYS_BUS(dev);
-    Object *o = OBJECT(dev);
+    M48txxSysBusDeviceClass *u = M48TXX_SYS_BUS_GET_CLASS(obj);
+    M48txxSysBusState *d = M48TXX_SYS_BUS(obj);
+    SysBusDevice *dev = SYS_BUS_DEVICE(obj);
     M48t59State *s = &d->state;
-    Error *err = NULL;
 
     s->model = u->info.model;
     s->size = u->info.size;
     sysbus_init_irq(dev, &s->IRQ);
 
-    memory_region_init_io(&s->iomem, o, &nvram_ops, s, "m48t59.nvram",
+    memory_region_init_io(&s->iomem, obj, &nvram_ops, s, "m48t59.nvram",
                           s->size);
-    memory_region_init_io(&d->io, o, &m48t59_io_ops, s, "m48t59", 4);
-    sysbus_init_mmio(dev, &s->iomem);
-    sysbus_init_mmio(dev, &d->io);
-    m48t59_realize_common(s, &err);
-    if (err != NULL) {
-        error_free(err);
-        return -1;
-    }
+    memory_region_init_io(&d->io, obj, &m48t59_io_ops, s, "m48t59", 4);
+}
 
-    return 0;
+static void m48t59_realize(DeviceState *dev, Error **errp)
+{
+    M48txxSysBusState *d = M48TXX_SYS_BUS(dev);
+    M48t59State *s = &d->state;
+    SysBusDevice *sbd = SYS_BUS_DEVICE(dev);
+
+    sysbus_init_mmio(sbd, &s->iomem);
+    sysbus_init_mmio(sbd, &d->io);
+    m48t59_realize_common(s, errp);
 }
 
 static uint32_t m48txx_isa_read(Nvram *obj, uint32_t addr)
@@ -860,10 +861,9 @@ static Property m48t59_sysbus_properties[] = {
 static void m48txx_sysbus_class_init(ObjectClass *klass, void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);
-    SysBusDeviceClass *k = SYS_BUS_DEVICE_CLASS(klass);
     NvramClass *nc = NVRAM_CLASS(klass);
 
-    k->init = m48t59_init1;
+    dc->realize = m48t59_realize;
     dc->reset = m48t59_reset_sysbus;
     dc->props = m48t59_sysbus_properties;
     nc->read = m48txx_sysbus_read;
@@ -889,6 +889,7 @@ static const TypeInfo m48txx_sysbus_type_info = {
     .name = TYPE_M48TXX_SYS_BUS,
     .parent = TYPE_SYS_BUS_DEVICE,
     .instance_size = sizeof(M48txxSysBusState),
+    .instance_init = m48t59_init1,
     .abstract = true,
     .class_init = m48txx_sysbus_class_init,
     .interfaces = (InterfaceInfo[]) {
-- 
2.1.4



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

* [Qemu-devel] [PATCH v4 6/9] hw/timer: QOM'ify milkymist_sysctl
  2016-02-22  3:15 [Qemu-devel] [PATCH v4 0/9] QOM'ify hw/timer/* xiaoqiang zhao
                   ` (3 preceding siblings ...)
  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 ` xiaoqiang zhao
  2016-03-17 15:00   ` michael
  2016-03-17 15:03   ` michael
  2016-02-22  3:15 ` [Qemu-devel] [PATCH v4 7/9] hw/timer: QOM'ify puv3_ost xiaoqiang zhao
                   ` (2 subsequent siblings)
  7 siblings, 2 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

* split the old SysBus init function into an instance_init
  and a Device realize function
* use DeviceClass::realize instead of SysBusDeviceClass::init

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com>
---
 hw/timer/milkymist-sysctl.c | 21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

diff --git a/hw/timer/milkymist-sysctl.c b/hw/timer/milkymist-sysctl.c
index 5f29480..30a4bc4 100644
--- a/hw/timer/milkymist-sysctl.c
+++ b/hw/timer/milkymist-sysctl.c
@@ -270,9 +270,10 @@ static void milkymist_sysctl_reset(DeviceState *d)
     s->regs[R_GPIO_IN] = s->strappings;
 }
 
-static int milkymist_sysctl_init(SysBusDevice *dev)
+static void milkymist_sysctl_init(Object *obj)
 {
-    MilkymistSysctlState *s = MILKYMIST_SYSCTL(dev);
+    MilkymistSysctlState *s = MILKYMIST_SYSCTL(obj);
+    SysBusDevice *dev = SYS_BUS_DEVICE(obj);
 
     sysbus_init_irq(dev, &s->gpio_irq);
     sysbus_init_irq(dev, &s->timer0_irq);
@@ -282,14 +283,18 @@ static int milkymist_sysctl_init(SysBusDevice *dev)
     s->bh1 = qemu_bh_new(timer1_hit, s);
     s->ptimer0 = ptimer_init(s->bh0);
     s->ptimer1 = ptimer_init(s->bh1);
-    ptimer_set_freq(s->ptimer0, s->freq_hz);
-    ptimer_set_freq(s->ptimer1, s->freq_hz);
 
-    memory_region_init_io(&s->regs_region, OBJECT(s), &sysctl_mmio_ops, s,
+    memory_region_init_io(&s->regs_region, obj, &sysctl_mmio_ops, s,
             "milkymist-sysctl", R_MAX * 4);
     sysbus_init_mmio(dev, &s->regs_region);
+}
 
-    return 0;
+static void milkymist_sysctl_realize(DeviceState *dev, Error **errp)
+{
+    MilkymistSysctlState *s = MILKYMIST_SYSCTL(dev);
+
+    ptimer_set_freq(s->ptimer0, s->freq_hz);
+    ptimer_set_freq(s->ptimer1, s->freq_hz);
 }
 
 static const VMStateDescription vmstate_milkymist_sysctl = {
@@ -319,9 +324,8 @@ static Property milkymist_sysctl_properties[] = {
 static void milkymist_sysctl_class_init(ObjectClass *klass, void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);
-    SysBusDeviceClass *k = SYS_BUS_DEVICE_CLASS(klass);
 
-    k->init = milkymist_sysctl_init;
+    dc->realize = milkymist_sysctl_realize;
     dc->reset = milkymist_sysctl_reset;
     dc->vmsd = &vmstate_milkymist_sysctl;
     dc->props = milkymist_sysctl_properties;
@@ -331,6 +335,7 @@ static const TypeInfo milkymist_sysctl_info = {
     .name          = TYPE_MILKYMIST_SYSCTL,
     .parent        = TYPE_SYS_BUS_DEVICE,
     .instance_size = sizeof(MilkymistSysctlState),
+    .instance_init = milkymist_sysctl_init,
     .class_init    = milkymist_sysctl_class_init,
 };
 
-- 
2.1.4



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

* [Qemu-devel] [PATCH v4 7/9] hw/timer: QOM'ify puv3_ost
  2016-02-22  3:15 [Qemu-devel] [PATCH v4 0/9] QOM'ify hw/timer/* xiaoqiang zhao
                   ` (4 preceding siblings ...)
  2016-02-22  3:15 ` [Qemu-devel] [PATCH v4 6/9] hw/timer: QOM'ify milkymist_sysctl xiaoqiang zhao
@ 2016-02-22  3:15 ` 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
  7 siblings, 0 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

assign puv3_ost_init to puv3_ost_info.instance_init
and drop the SysBusDeviceClass::init

Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com>
---
 hw/timer/puv3_ost.c | 18 +++++-------------
 1 file changed, 5 insertions(+), 13 deletions(-)

diff --git a/hw/timer/puv3_ost.c b/hw/timer/puv3_ost.c
index 93650b7..72c87ba 100644
--- a/hw/timer/puv3_ost.c
+++ b/hw/timer/puv3_ost.c
@@ -113,9 +113,10 @@ static void puv3_ost_tick(void *opaque)
     }
 }
 
-static int puv3_ost_init(SysBusDevice *dev)
+static void puv3_ost_init(Object *obj)
 {
-    PUV3OSTState *s = PUV3_OST(dev);
+    PUV3OSTState *s = PUV3_OST(obj);
+    SysBusDevice *dev = SYS_BUS_DEVICE(obj);
 
     s->reg_OIER = 0;
     s->reg_OSSR = 0;
@@ -128,25 +129,16 @@ static int puv3_ost_init(SysBusDevice *dev)
     s->ptimer = ptimer_init(s->bh);
     ptimer_set_freq(s->ptimer, 50 * 1000 * 1000);
 
-    memory_region_init_io(&s->iomem, OBJECT(s), &puv3_ost_ops, s, "puv3_ost",
+    memory_region_init_io(&s->iomem, obj, &puv3_ost_ops, s, "puv3_ost",
             PUV3_REGS_OFFSET);
     sysbus_init_mmio(dev, &s->iomem);
-
-    return 0;
-}
-
-static void puv3_ost_class_init(ObjectClass *klass, void *data)
-{
-    SysBusDeviceClass *sdc = SYS_BUS_DEVICE_CLASS(klass);
-
-    sdc->init = puv3_ost_init;
 }
 
 static const TypeInfo puv3_ost_info = {
     .name = TYPE_PUV3_OST,
     .parent = TYPE_SYS_BUS_DEVICE,
     .instance_size = sizeof(PUV3OSTState),
-    .class_init = puv3_ost_class_init,
+    .instance_init = puv3_ost_init,
 };
 
 static void puv3_ost_register_type(void)
-- 
2.1.4



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

* [Qemu-devel] [PATCH v4 8/9] hw/timer: QOM'ify slavio_timer
  2016-02-22  3:15 [Qemu-devel] [PATCH v4 0/9] QOM'ify hw/timer/* xiaoqiang zhao
                   ` (5 preceding siblings ...)
  2016-02-22  3:15 ` [Qemu-devel] [PATCH v4 7/9] hw/timer: QOM'ify puv3_ost xiaoqiang zhao
@ 2016-02-22  3:15 ` xiaoqiang zhao
  2016-02-22  3:15 ` [Qemu-devel] [PATCH v4 9/9] hw/timer: QOM'ify tusb6010 xiaoqiang zhao
  7 siblings, 0 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

rename slavio_timer_init1 to slavio_timer_init and assign
it to slavio_timer_info.instance_init, then we drop the
SysBusDeviceClass::init

Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com>
---
 hw/timer/slavio_timer.c | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/hw/timer/slavio_timer.c b/hw/timer/slavio_timer.c
index fb3e08b..b2c9364 100644
--- a/hw/timer/slavio_timer.c
+++ b/hw/timer/slavio_timer.c
@@ -373,9 +373,10 @@ static void slavio_timer_reset(DeviceState *d)
     s->cputimer_mode = 0;
 }
 
-static int slavio_timer_init1(SysBusDevice *dev)
+static void slavio_timer_init(Object *obj)
 {
-    SLAVIO_TIMERState *s = SLAVIO_TIMER(dev);
+    SLAVIO_TIMERState *s = SLAVIO_TIMER(obj);
+    SysBusDevice *dev = SYS_BUS_DEVICE(obj);
     QEMUBH *bh;
     unsigned int i;
     TimerContext *tc;
@@ -394,14 +395,12 @@ static int slavio_timer_init1(SysBusDevice *dev)
 
         size = i == 0 ? SYS_TIMER_SIZE : CPU_TIMER_SIZE;
         snprintf(timer_name, sizeof(timer_name), "timer-%i", i);
-        memory_region_init_io(&tc->iomem, OBJECT(s), &slavio_timer_mem_ops, tc,
+        memory_region_init_io(&tc->iomem, obj, &slavio_timer_mem_ops, tc,
                               timer_name, size);
         sysbus_init_mmio(dev, &tc->iomem);
 
         sysbus_init_irq(dev, &s->cputimer[i].irq);
     }
-
-    return 0;
 }
 
 static Property slavio_timer_properties[] = {
@@ -412,9 +411,7 @@ static Property slavio_timer_properties[] = {
 static void slavio_timer_class_init(ObjectClass *klass, void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);
-    SysBusDeviceClass *k = SYS_BUS_DEVICE_CLASS(klass);
 
-    k->init = slavio_timer_init1;
     dc->reset = slavio_timer_reset;
     dc->vmsd = &vmstate_slavio_timer;
     dc->props = slavio_timer_properties;
@@ -424,6 +421,7 @@ static const TypeInfo slavio_timer_info = {
     .name          = TYPE_SLAVIO_TIMER,
     .parent        = TYPE_SYS_BUS_DEVICE,
     .instance_size = sizeof(SLAVIO_TIMERState),
+    .instance_init = slavio_timer_init,
     .class_init    = slavio_timer_class_init,
 };
 
-- 
2.1.4



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

* [Qemu-devel] [PATCH v4 9/9] hw/timer: QOM'ify tusb6010
  2016-02-22  3:15 [Qemu-devel] [PATCH v4 0/9] QOM'ify hw/timer/* xiaoqiang zhao
                   ` (6 preceding siblings ...)
  2016-02-22  3:15 ` [Qemu-devel] [PATCH v4 8/9] hw/timer: QOM'ify slavio_timer xiaoqiang zhao
@ 2016-02-22  3:15 ` xiaoqiang zhao
  2016-02-22  9:18   ` Peter Maydell
  7 siblings, 1 reply; 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

Move majority of old SysBus init's work the into instance_init.

Note:
musb_init must be called in SysBus's init, otherwise it will
break "make check" with error message as follows:

qom/object.c:1576:object_get_canonical_path_component: assertion failed: (obj->parent != NULL)

Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com>
---
 hw/timer/tusb6010.c | 23 ++++++++++++++++-------
 1 file changed, 16 insertions(+), 7 deletions(-)

diff --git a/hw/timer/tusb6010.c b/hw/timer/tusb6010.c
index 9f6af90..2d6bdd3 100644
--- a/hw/timer/tusb6010.c
+++ b/hw/timer/tusb6010.c
@@ -776,21 +776,29 @@ static void tusb6010_reset(DeviceState *dev)
     musb_reset(s->musb);
 }
 
-static int tusb6010_init(SysBusDevice *sbd)
+static void tusb6010_init(Object *obj)
 {
-    DeviceState *dev = DEVICE(sbd);
-    TUSBState *s = TUSB(dev);
+    DeviceState *dev = DEVICE(obj);
+    TUSBState *s = TUSB(obj);
+    SysBusDevice *sbd = SYS_BUS_DEVICE(obj);
 
     s->otg_timer = timer_new_ns(QEMU_CLOCK_VIRTUAL, tusb_otg_tick, s);
     s->pwr_timer = timer_new_ns(QEMU_CLOCK_VIRTUAL, tusb_power_tick, s);
-    memory_region_init_io(&s->iomem[1], OBJECT(s), &tusb_async_ops, s,
+    memory_region_init_io(&s->iomem[1], obj, &tusb_async_ops, s,
                           "tusb-async", UINT32_MAX);
     sysbus_init_mmio(sbd, &s->iomem[0]);
     sysbus_init_mmio(sbd, &s->iomem[1]);
     sysbus_init_irq(sbd, &s->irq);
     qdev_init_gpio_in(dev, tusb6010_irq, musb_irq_max + 1);
-    s->musb = musb_init(dev, 1);
-    return 0;
+}
+
+static int tusb6010_bus_init(SysBusDevice *sbd)
+{
+   TUSBState *s = TUSB(sbd);
+   DeviceState *dev = DEVICE(sbd);
+
+   s->musb = musb_init(dev, 1);
+   return 0;
 }
 
 static void tusb6010_class_init(ObjectClass *klass, void *data)
@@ -798,7 +806,7 @@ static void tusb6010_class_init(ObjectClass *klass, void *data)
     DeviceClass *dc = DEVICE_CLASS(klass);
     SysBusDeviceClass *k = SYS_BUS_DEVICE_CLASS(klass);
 
-    k->init = tusb6010_init;
+    k->init = tusb6010_bus_init;
     dc->reset = tusb6010_reset;
 }
 
@@ -806,6 +814,7 @@ static const TypeInfo tusb6010_info = {
     .name          = TYPE_TUSB6010,
     .parent        = TYPE_SYS_BUS_DEVICE,
     .instance_size = sizeof(TUSBState),
+    .instance_init = tusb6010_init,
     .class_init    = tusb6010_class_init,
 };
 
-- 
2.1.4



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

* Re: [Qemu-devel] [PATCH v4 9/9] hw/timer: QOM'ify tusb6010
  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
  0 siblings, 1 reply; 17+ messages in thread
From: Peter Maydell @ 2016-02-22  9:18 UTC (permalink / raw)
  To: xiaoqiang zhao
  Cc: Guan Xuetao, Igor Mitsyanko, Mark Cave-Ayland, QEMU Developers,
	Michael Walle, qemu-arm, Edgar E. Iglesias, Maksim Kozlov,
	Andreas Färber

On 22 February 2016 at 03:15, xiaoqiang zhao <zxq_yx_007@163.com> wrote:
> Move majority of old SysBus init's work the into instance_init.
>
> Note:
> musb_init must be called in SysBus's init, otherwise it will
> break "make check" with error message as follows:
>
> qom/object.c:1576:object_get_canonical_path_component: assertion failed: (obj->parent != NULL)
>
> Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com>
> ---
>  hw/timer/tusb6010.c | 23 ++++++++++++++++-------
>  1 file changed, 16 insertions(+), 7 deletions(-)

Devices should either be instance_init + realize, or
sysbus-init. This patch would make this device be a mix
of both. You should just drop this patch until musb has
been properly QOMified.

thanks
-- PMM

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

* Re: [Qemu-arm] [PATCH v4 9/9] hw/timer: QOM'ify tusb6010
  2016-02-22  9:18   ` Peter Maydell
@ 2016-02-22  9:20     ` hitmoon
  0 siblings, 0 replies; 17+ messages in thread
From: hitmoon @ 2016-02-22  9:20 UTC (permalink / raw)
  To: Peter Maydell
  Cc: Guan Xuetao, Igor Mitsyanko, Mark Cave-Ayland, QEMU Developers,
	Michael Walle, qemu-arm, Maksim Kozlov, Andreas Färber


在 2016年02月22日 17:18, Peter Maydell 写道:
> On 22 February 2016 at 03:15, xiaoqiang zhao <zxq_yx_007@163.com> wrote:
>> Move majority of old SysBus init's work the into instance_init.
>>
>> Note:
>> musb_init must be called in SysBus's init, otherwise it will
>> break "make check" with error message as follows:
>>
>> qom/object.c:1576:object_get_canonical_path_component: assertion failed: (obj->parent != NULL)
>>
>> Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com>
>> ---
>>   hw/timer/tusb6010.c | 23 ++++++++++++++++-------
>>   1 file changed, 16 insertions(+), 7 deletions(-)
> Devices should either be instance_init + realize, or
> sysbus-init. This patch would make this device be a mix
> of both. You should just drop this patch until musb has
> been properly QOMified.
>
> thanks
> -- PMM
Ok.


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

* Re: [Qemu-devel] [PATCH v4 3/9] hw/timer: QOM'ify lm32_timer
  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
  0 siblings, 1 reply; 17+ messages in thread
From: michael @ 2016-03-17 14:59 UTC (permalink / raw)
  To: xiaoqiang zhao
  Cc: peter.maydell, gxt, i.mitsyanko, mark.cave-ayland, qemu-devel,
	qemu-arm, edgar.iglesias, m.kozlov, afaerber

[I had some problems with my mailserver and the v5 version didn't make 
it through. I know there is a v5 version of this patch series and I've 
tested with the v5 version]


Am 2016-02-22 04:15, schrieb xiaoqiang zhao:
> * split the old SysBus init function into an instance_init
>   and a Device realize function
> * use DeviceClass::realize instead of SysBusDeviceClass::init
> 
> Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
> Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com>

Signed-off-by: Michael Walle <michael@walle.cc>

-michael

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

* Re: [Qemu-devel] [PATCH v4 6/9] hw/timer: QOM'ify milkymist_sysctl
  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
  1 sibling, 0 replies; 17+ messages in thread
From: michael @ 2016-03-17 15:00 UTC (permalink / raw)
  To: xiaoqiang zhao
  Cc: peter.maydell, gxt, i.mitsyanko, mark.cave-ayland, qemu-devel,
	qemu-arm, edgar.iglesias, m.kozlov, afaerber

[I had some problems with my mailserver and the v5 version didn't make 
it through. I know there is a v5 version of this patch series and I've 
tested with the v5 version]

Am 2016-02-22 04:15, schrieb xiaoqiang zhao:
> * split the old SysBus init function into an instance_init
>   and a Device realize function
> * use DeviceClass::realize instead of SysBusDeviceClass::init
> 
> Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
> Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com>

Signed-off-by: Michael Walle <michael@walle.cc>

-michael

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

* Re: [Qemu-arm] [PATCH v4 3/9] hw/timer: QOM'ify lm32_timer
  2016-03-17 14:59   ` michael
@ 2016-03-17 15:00     ` Peter Maydell
  2016-03-17 15:02       ` [Qemu-devel] " michael
  0 siblings, 1 reply; 17+ messages in thread
From: Peter Maydell @ 2016-03-17 15:00 UTC (permalink / raw)
  To: Michael Walle
  Cc: Guan Xuetao, xiaoqiang zhao, Mark Cave-Ayland, QEMU Developers,
	Igor Mitsyanko, qemu-arm, Maksim Kozlov, Andreas Färber

On 17 March 2016 at 14:59,  <michael@walle.cc> wrote:
> [I had some problems with my mailserver and the v5 version didn't make it
> through. I know there is a v5 version of this patch series and I've tested
> with the v5 version]
>
>
> Am 2016-02-22 04:15, schrieb xiaoqiang zhao:
>>
>> * split the old SysBus init function into an instance_init
>>   and a Device realize function
>> * use DeviceClass::realize instead of SysBusDeviceClass::init
>>
>> Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
>> Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com>
>
>
> Signed-off-by: Michael Walle <michael@walle.cc>

Signed-off-by: doesn't make much sense in this situation -- did
you want Acked-by, Reviewed-by, Tested-by, or some combination
of those ?

thanks
-- PMM

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

* Re: [Qemu-devel] [PATCH v4 3/9] hw/timer: QOM'ify lm32_timer
  2016-03-17 15:00     ` [Qemu-arm] " Peter Maydell
@ 2016-03-17 15:02       ` michael
  0 siblings, 0 replies; 17+ messages in thread
From: michael @ 2016-03-17 15:02 UTC (permalink / raw)
  To: Peter Maydell
  Cc: Guan Xuetao, xiaoqiang zhao, Mark Cave-Ayland, QEMU Developers,
	Igor Mitsyanko, qemu-arm, Edgar E. Iglesias, Maksim Kozlov,
	Andreas Färber

Am 2016-03-17 16:00, schrieb Peter Maydell:
> On 17 March 2016 at 14:59,  <michael@walle.cc> wrote:
>> [I had some problems with my mailserver and the v5 version didn't make 
>> it
>> through. I know there is a v5 version of this patch series and I've 
>> tested
>> with the v5 version]
>> 
>> 
>> Am 2016-02-22 04:15, schrieb xiaoqiang zhao:
>>> 
>>> * split the old SysBus init function into an instance_init
>>>   and a Device realize function
>>> * use DeviceClass::realize instead of SysBusDeviceClass::init
>>> 
>>> Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
>>> Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com>
>> 
>> 
>> Signed-off-by: Michael Walle <michael@walle.cc>
> 
> Signed-off-by: doesn't make much sense in this situation -- did
> you want Acked-by, Reviewed-by, Tested-by, or some combination
> of those ?

ahh sorry, need more sleep :(

Acked-by: Michael Walle <michael@walle.cc>
Tested-by: Michael Walle <michael@walle.cc>

-michael

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

* Re: [Qemu-devel] [PATCH v4 6/9] hw/timer: QOM'ify milkymist_sysctl
  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
  1 sibling, 1 reply; 17+ messages in thread
From: michael @ 2016-03-17 15:03 UTC (permalink / raw)
  To: xiaoqiang zhao
  Cc: peter.maydell, gxt, i.mitsyanko, mark.cave-ayland, qemu-devel,
	qemu-arm, edgar.iglesias, m.kozlov, afaerber

[I had some problems with my mailserver and the v5 version didn't make 
it through. I know there is a v5 version of this patch series and I've 
tested with the v5 version]

Am 2016-02-22 04:15, schrieb xiaoqiang zhao:
> * split the old SysBus init function into an instance_init
>   and a Device realize function
> * use DeviceClass::realize instead of SysBusDeviceClass::init
> 
> Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
> Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com>

Acked-by: Michael Walle <michael@walle.cc>
Tested-by: Michael Walle <michael@walle.cc>

-michael

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

* Re: [Qemu-arm] [Qemu-devel] [PATCH v4 6/9] hw/timer: QOM'ify milkymist_sysctl
  2016-03-17 15:03   ` michael
@ 2016-03-18  3:14     ` xiaoqiang zhao
  0 siblings, 0 replies; 17+ messages in thread
From: xiaoqiang zhao @ 2016-03-18  3:14 UTC (permalink / raw)
  To: michael
  Cc: peter.maydell, m.kozlov, i.mitsyanko, mark.cave-ayland,
	qemu-devel, qemu-arm, gxt, afaerber



在 2016年03月17日 23:03, michael@walle.cc 写道:
> [I had some problems with my mailserver and the v5 version didn't make 
> it through. I know there is a v5 version of this patch series and I've 
> tested with the v5 version]
>
> Am 2016-02-22 04:15, schrieb xiaoqiang zhao:
>> * split the old SysBus init function into an instance_init
>>   and a Device realize function
>> * use DeviceClass::realize instead of SysBusDeviceClass::init
>>
>> Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
>> Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com>
>
> Acked-by: Michael Walle <michael@walle.cc>
> Tested-by: Michael Walle <michael@walle.cc>
>
> -michael
>
Thanks, michael !


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