Skip to content

RFC ISA bus improvements

Hervé Poussineau qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6isa: rename isa_bus_new to isa_bus_bridge_inithw/isa-bus.c hw/isa.h hw/mips_jazz.c +7 more+10 -100 replies
2/6isa: rework ISA bus internals, and add ISA bus ops structurehw/isa-bus.c hw/isa.h+63 -120 replies
3/6isa: add isa_address_space() methodhw/isa-bus.c hw/isa.h+26 -00 replies
4/6vga: use isa_address_space() methodhw/cirrus_vga.c hw/vga-isa.c hw/vga.c+6 -60 replies
5/6isa: improve bus implementation of PIIX3 bridgehw/pc_piix.c hw/piix_pci.c+23 -20 replies
6/6isa: improve bus implementation of ebus bridgehw/sun4u.c+32 -71 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [Qemu-devel] [RFC 0/6] ISA bus improvements

Following patches aim to change ISA bus to a first-citizen class in Qemu.

They add ISA bus ops (like for scsi and usb buses), and use them to remove the infamous isa_mem_base variable, which can't be changed after startup.

Last two patches convert two ISA bridges to the new API. ISA bridges used in MIPS/Malta and MIPS/fulong2e are not converted (yet).

Once all callers are converted, most of the work will be done to support architectures with multiple ISA buses

Hervé Poussineau (6):
isa: rename isa_bus_new to isa_bus_bridge_init
isa: rework ISA bus internals, and add ISA bus ops structure
isa: add isa_address_space() method
vga: use isa_address_space() method
isa: improve bus implementation of PIIX3 bridge
isa: improve bus implementation of ebus bridge

 hw/cirrus_vga.c |    4 +-
 hw/isa-bus.c    |   86 ++++++++++++++++++++++++++++++++++++++++++++++--------
 hw/isa.h        |   19 +++++++++++-
 hw/mips_jazz.c  |    2 +-
 hw/mips_r4k.c   |    2 +-
 hw/pc_piix.c    |    4 +-
 hw/piix4.c      |    2 +-
 hw/piix_pci.c   |   23 ++++++++++++++-
 hw/ppc_prep.c   |    2 +-
 hw/sun4u.c      |   39 ++++++++++++++++++++----
 hw/vga-isa.c    |    4 +-
 hw/vga.c        |    4 +-
 hw/vt82c686.c   |    2 +-
 13 files changed, 158 insertions(+), 35 deletions(-)
Signature · 1 line
1.7.5.4