[Qemu-devel] [PATCH 0/6] convert some omap/palm devices from using old_mmio

Peter Maydell posted 6 patches 6 years, 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1505580378-9044-1-git-send-email-peter.maydell@linaro.org
Test checkpatch passed
Test docker passed
Test s390x passed
hw/arm/omap2.c            | 49 +++++++++++++++++++++++++++++++++++------------
hw/arm/palm.c             | 30 ++++++++++-------------------
hw/gpio/omap_gpio.c       | 26 ++++++++++++-------------
hw/i2c/omap_i2c.c         | 44 ++++++++++++++++++++++++++++++------------
hw/timer/omap_gptimer.c   | 49 +++++++++++++++++++++++++++++++++++------------
hw/timer/omap_synctimer.c | 35 +++++++++++++++++++--------------
6 files changed, 149 insertions(+), 84 deletions(-)
[Qemu-devel] [PATCH 0/6] convert some omap/palm devices from using old_mmio
Posted by Peter Maydell 6 years, 7 months ago
This patchset converts a handful of old devices from the old_mmio
fields in MemoryRegionOps. We don't have very many devices still
using old_mmio, so it would be nice to get rid of the remainder
and drop the field entirely at some point.

(You could argue that really we should mark some of these old
boards as obsolete and eventually delete them. I don't actually
have a test image for the palm stuff at all...)

thanks
-- PMM

Peter Maydell (6):
  hw/arm/palm.c: Don't use old_mmio for static_ops
  hw/gpio/omap_gpio.c: Don't use old_mmio
  hw/timer/omap_synctimer.c: Don't use old_mmio
  hw/timer/omap_gptimer: Don't use old_mmio
  hw/i2c/omap_i2c.c: Don't use old_mmio
  hw/arm/omap2.c: Don't use old_mmio

 hw/arm/omap2.c            | 49 +++++++++++++++++++++++++++++++++++------------
 hw/arm/palm.c             | 30 ++++++++++-------------------
 hw/gpio/omap_gpio.c       | 26 ++++++++++++-------------
 hw/i2c/omap_i2c.c         | 44 ++++++++++++++++++++++++++++++------------
 hw/timer/omap_gptimer.c   | 49 +++++++++++++++++++++++++++++++++++------------
 hw/timer/omap_synctimer.c | 35 +++++++++++++++++++--------------
 6 files changed, 149 insertions(+), 84 deletions(-)

-- 
2.7.4


Re: [Qemu-devel] [PATCH 0/6] convert some omap/palm devices from using old_mmio
Posted by Mark Cave-Ayland 6 years, 7 months ago
On 16/09/17 17:46, Peter Maydell wrote:

> This patchset converts a handful of old devices from the old_mmio
> fields in MemoryRegionOps. We don't have very many devices still
> using old_mmio, so it would be nice to get rid of the remainder
> and drop the field entirely at some point.

That reminds me - the macio IDE controller still uses old_mmio
accessors. I'm currently working around that area so I'll see if I can
slip a conversion into my next patchset.


ATB,

Mark.