Skip to content

hw/arm/pxa2xx: SysBus/QDev fixes

Philippe Mathieu-Daudé qemu-arm qemu-devel 3 versions – Applied

Status from this message: Applied to target-arm.next, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest9 patches 5 repliesApplied
  2. v29 patches 6 repliesSuperseded
  3. v18 patches 1 replySuperseded

Changes in v3 from the cover letter

- Fixed i2c_init_bus() call in pxa2xx_i2c_init() (new patch)

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/9hw/sd/pxa2xx: Realize sysbus device before accessing ithw/sd/pxa2xx_mmci.c+1 -10 replies
2/9hw/sd/pxa2xx: Do not open-code sysbus_create_simple()hw/sd/pxa2xx_mmci.c+1 -60 replies
3/9hw/pcmcia/pxa2xx: Realize sysbus device before accessing ithw/pcmcia/pxa2xx.c+2 -50 replies
4/9hw/pcmcia/pxa2xx: Do not open-code sysbus_create_simple()hw/pcmcia/pxa2xx.c+1 -30 replies
5/9hw/pcmcia/pxa2xx: Inline pxa2xx_pcmcia_init()hw/arm/pxa2xx.c hw/pcmcia/pxa2xx.c include/hw/arm/pxa.h+8 -160 replies
6/9hw/intc/pxa2xx: Convert to Resettable interfacehw/arm/pxa2xx_pic.c+12 -50 replies
7/9hw/intc/pxa2xx: Pass CPU reference using QOM link propertyhw/arm/pxa2xx_pic.c+10 -11 reply
8/9hw/intc/pxa2xx: Factor pxa2xx_pic_realize() out of pxa2xx_pic_init()hw/arm/pxa2xx_pic.c+10 -61 reply
9/9hw/arm/pxa2xx: Realize PXA2XX_I2C device before accessing ithw/arm/pxa2xx.c+3 -21 reply

Reviews trailers per patch

8 of 9 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchThomas HuthRichard Henderson
SeriesR-b
1/9R-b
2/9R-b
3/9R-b
4/9R-b
5/9R-b
6/9
7/9R-b
8/9R-b
9/9R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/9] hw/arm/pxa2xx: SysBus/QDev fixes

Missing review: 6-9

Hi,

Extracted from a bigger series which enforce QDev state machine (qdev instance must be realized before external API is used on it).

While here, pxa2xx i2c/intc devices received some qdev fondness.

Since v3:
- Added Thomas R-b tags

Since v2:
- Fixed i2c_init_bus() call in pxa2xx_i2c_init() (new patch)

Philippe Mathieu-Daudé (9):
hw/sd/pxa2xx: Realize sysbus device before accessing it hw/sd/pxa2xx: Do not open-code sysbus_create_simple() hw/pcmcia/pxa2xx: Realize sysbus device before accessing it hw/pcmcia/pxa2xx: Do not open-code sysbus_create_simple() hw/pcmcia/pxa2xx: Inline pxa2xx_pcmcia_init() hw/intc/pxa2xx: Convert to Resettable interface hw/intc/pxa2xx: Pass CPU reference using QOM link property hw/intc/pxa2xx: Factor pxa2xx_pic_realize() out of pxa2xx_pic_init() hw/arm/pxa2xx: Realize PXA2XX_I2C device before accessing it

 include/hw/arm/pxa.h |  2 --
 hw/arm/pxa2xx.c      | 17 +++++++++++------
 hw/arm/pxa2xx_pic.c  | 38 +++++++++++++++++++++++++++++---------
 hw/pcmcia/pxa2xx.c   | 15 ---------------
 hw/sd/pxa2xx_mmci.c  |  7 +------
 5 files changed, 41 insertions(+), 38 deletions(-)
Signature · 1 line
2.41.0