Skip to content

Memory API batch 4: more conversions

Avi Kivity kvm qemu-devel 2 versions – Applied

Status from this message: Applied all. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest24 patches 2 repliesApplied
  2. v124 patches 24 repliesSuperseded

Changes in v2 from the cover letter

fix wrong return value in versatile_pci don't drop calls to omap_badwidth_*() functions

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/24apb_pci: convert to memory APIhw/apb_pci.c+37 -470 replies
2/24apic: convert to memory APIhw/apic.c+10 -150 replies
3/24arm_gic: convert to memory APIhw/arm_gic.c hw/armv7m_nvic.c hw/mpcore.c +1 more+44 -560 replies
4/24arm_sysctl: convert to memory APIhw/arm_sysctl.c+10 -170 replies
5/24arm_timer: convert to memory APIhw/arm_timer.c+20 -350 replies
6/24armv7m: convert to memory APIhw/armv7m.c+10 -140 replies
7/24gt64xxx.c: convert to memory APIhw/gt64xxx.c+15 -210 replies
8/24tusb6010: move declarations to new file tusb6010.hhw/devices.h hw/nseries.c hw/tusb6010.c +1 more+27 -80 replies
9/24omap_gpmc/nseries/tusb6010: convert to memory APIhw/omap.h hw/omap_gpmc.c hw/tusb6010.c +1 more+56 -440 replies
10/24onenand: convert to memory APIhw/onenand.c+37 -320 replies
11/24pcie_host: convert to memory APIhw/pcie_host.c hw/pcie_host.h+31 -790 replies
12/24ppc405_uc: convert to memory APIhw/ppc405_uc.c+51 -650 replies
13/24ppc4xx_sdram: convert to memory APIhw/ppc405.h hw/ppc405_boards.c hw/ppc405_uc.c +3 more+69 -290 replies
14/24stellaris_enet: convert to memory APIhw/stellaris_enet.c+12 -170 replies
15/24sysbus: add a variant of sysbus_init_mmio_cb with an unmap callbackhw/sysbus.c hw/sysbus.h+18 -00 replies
16/24sh_pci: convert to memory APIhw/sh_pci.c+42 -210 replies
17/24arm11mpcore: use sysbus_init_mmio_cb2hw/arm11mpcore.c+6 -10 replies
18/24versatile_pci: convert to memory APIhw/versatile_pci.c+43 -490 replies
19/24ppce500_pci: convert to sysbus_init_mmio_cb2()hw/ppce500_pci.c+11 -10 replies
20/24sysbus: remove sysbus_init_mmio_cb()hw/sysbus.c hw/sysbus.h+0 -140 replies
21/24isa: add isa_address_space()hw/isa-bus.c hw/isa.h+7 -00 replies
22/24pci: add pci_address_space()hw/pci.c hw/pci.h+6 -00 replies
23/24vga: drop get_system_memory() from vga devices and derivativeshw/cirrus_vga.c hw/mips_jazz.c hw/pc.c +8 more+37 -340 replies
24/24440fx: fix PAM, PCI holeshw/pc.c hw/pc.h hw/pc_piix.c +1 more+115 -460 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 00/24] Memory API batch 4: more conversions

This patchset converts a few more devices (and boards) to the memory API. Nothing is really interesting except for the last patch, which brings proper PAM support (and better SMRAM emulation). It should also fix the regressions that were reported in some non-default pc configurations.

v2:
fix wrong return value in versatile_pci don't drop calls to omap_badwidth_*() functions

Avi Kivity (24):
apb_pci: convert to memory API
apic: convert to memory API
arm_gic: convert to memory API
arm_sysctl: convert to memory API
arm_timer: convert to memory API
armv7m: convert to memory API
gt64xxx.c: convert to memory API
tusb6010: move declarations to new file tusb6010.h omap_gpmc/nseries/tusb6010: convert to memory API
onenand: convert to memory API
pcie_host: convert to memory API
ppc405_uc: convert to memory API
ppc4xx_sdram: convert to memory API
stellaris_enet: convert to memory API
sysbus: add a variant of sysbus_init_mmio_cb with an unmap callback
sh_pci: convert to memory API
arm11mpcore: use sysbus_init_mmio_cb2
versatile_pci: convert to memory API
ppce500_pci: convert to sysbus_init_mmio_cb2()
sysbus: remove sysbus_init_mmio_cb()
isa: add isa_address_space()
pci: add pci_address_space()
vga: drop get_system_memory() from vga devices and derivatives 440fx: fix PAM, PCI holes

 hw/apb_pci.c        |   84 +++++++++++++++-------------------
 hw/apic.c           |   25 ++++------
 hw/arm11mpcore.c    |    7 ++-
 hw/arm_gic.c        |   22 +++------
 hw/arm_sysctl.c     |   27 ++++-------
 hw/arm_timer.c      |   55 ++++++++--------------
 hw/armv7m.c         |   24 ++++------
 hw/armv7m_nvic.c    |    3 +-
 hw/cirrus_vga.c     |   12 ++--
 hw/devices.h        |    7 ---
 hw/gt64xxx.c        |   36 ++++++--------
 hw/isa-bus.c        |    6 ++
 hw/isa.h            |    1 +
 hw/mips_jazz.c      |    3 +-
 hw/mpcore.c         |   37 +++++++--------
 hw/nseries.c        |    1 +
 hw/omap.h           |    3 +-
 hw/omap_gpmc.c      |   60 ++++++++++++++----------
 hw/onenand.c        |   69 +++++++++++++++-------------
 hw/pc.c             |   14 ++++--
 hw/pc.h             |   18 +++++--
 hw/pc_piix.c        |   23 +++++++--
 hw/pci.c            |    5 ++
 hw/pci.h            |    1 +
 hw/pcie_host.c      |   98 ++++++++++-----------------------------
 hw/pcie_host.h      |   12 ++--
 hw/piix_pci.c       |  114 ++++++++++++++++++++++++++++++++-------------
 hw/ppc405.h         |    9 ++-
 hw/ppc405_boards.c  |   18 +++++--
 hw/ppc405_uc.c      |  128 +++++++++++++++++++++++---------------------------
 hw/ppc440.c         |    7 ++-
 hw/ppc4xx.h         |    2 +
 hw/ppc4xx_devs.c    |   50 ++++++++++++++------
 hw/ppce500_pci.c    |   12 ++++-
 hw/qxl.c            |    2 +-
 hw/realview_gic.c   |   38 +++++++--------
 hw/sh_pci.c         |   63 +++++++++++++++++--------
 hw/stellaris_enet.c |   29 +++++-------
 hw/sysbus.c         |    9 ++-
 hw/sysbus.h         |    5 +-
 hw/tusb6010.c       |   32 ++++++-------
 hw/tusb6010.h       |   28 +++++++++++
 hw/versatile_pci.c  |   92 +++++++++++++++++-------------------
 hw/vga-isa-mm.c     |   15 +++---
 hw/vga-isa.c        |    5 +-
 hw/vga-pci.c        |    4 +-
 hw/vga.c            |    9 ++--
 hw/vga_int.h        |    4 +-
 hw/vmware_vga.c     |    9 ++--
 49 files changed, 703 insertions(+), 634 deletions(-)
 create mode 100644 hw/tusb6010.h
Signature · 1 line
1.7.5.3