RFC hw/isa: Remove dependencies on ISA bus singleton
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest11 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | hw/isa: Explode pci_create_simple() callshw/ hw/ hw/ +1 more | +9 | 1 reply | |
| 2/11 | hw/ide: Add PCIIDEState::isa_bus linkhw/ hw/ include/ | +20 | 8 replies | |
| 3/11 | hw/ide/piix: Set the ISA-bus QOM linkhw/ hw/ hw/ | +14 | 0 replies | |
| 4/11 | hw/ide/via: Set the ISA-bus QOM linkhw/ hw/ hw/ | +13 | 0 replies | |
| 5/11 | hw/isa: Extract isa_bus_get_irq() from isa_get_irq()hw/ include/ | +8 | 0 replies | |
| 6/11 | hw/ide: Replace isa_get_irq() by isa_bus_get_irq()hw/ hw/ | +3 | 0 replies | |
| 7/11 | hw/isa: Simplify isa_get_irq()hw/ | +5 | 0 replies | |
| 8/11 | hw/isa: Extract bus part from isa_register_portio_list()hw/ include/ | +17 | 0 replies | |
| 9/11 | hw/ide: Let ide_init_ioport() take an ISA bus argument instead of devicehw/ hw/ hw/ +1 more | +12 | 0 replies | |
| 10/11 | hw/isa: Remove use of global isa bushw/ | +17 | 1 reply | |
| 11/11 | hw/isa: Rename isabus singleton as 'g_isabus'hw/ | +5 | 1 reply |
Reviews trailers per patch
1 of 11 patches has a Reviewed-by or Acked-by.
| Patch | Stefan Hajnoczi |
|---|---|
| 1/11 | |
| 2/11 | |
| 3/11 | |
| 4/11 | |
| 5/11 | |
| 6/11 | |
| 7/11 | |
| 8/11 | |
| 9/11 | |
| 10/11 | R-b |
| 11/11 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC PATCH 00/11] hw/isa: Remove dependencies on ISA bus singleton
Hi,
This series implements the suggestions from Markus analysis:
https://www.mail-archive.com/[email protected]/msg84090.html
on the ISA bus.
There is still work to do (remove global get_system_io?) but this is enough to convert a crash to an error message, and the changes are simple, so posting now as RFC.
TBC...
Philippe Mathieu-Daudé (11):
hw/isa: Explode pci_create_simple() calls
hw/ide: Add PCIIDEState::isa_bus link
hw/ide/piix: Set the ISA-bus QOM link
hw/ide/via: Set the ISA-bus QOM link
hw/isa: Extract isa_bus_get_irq() from isa_get_irq() hw/ide: Replace isa_get_irq() by isa_bus_get_irq() hw/isa: Simplify isa_get_irq()
hw/isa: Extract bus part from isa_register_portio_list() hw/ide: Let ide_init_ioport() take an ISA bus argument instead of
device
hw/isa: Remove use of global isa bus
hw/isa: Rename isabus singleton as 'g_isabus'
include/hw/ide/internal.h | 3 +- include/hw/ide/pci.h | 1 + include/hw/isa/isa.h | 5 ++++ hw/i386/pc_piix.c | 7 +++-- hw/ide/ioport.c | 11 +++---- hw/ide/isa.c | 3 +- hw/ide/piix.c | 22 +++++++++++--- hw/ide/via.c | 18 ++++++++++-- hw/isa/isa-bus.c | 61 +++++++++++++++++++++++++++++---------- hw/isa/piix4.c | 13 ++++++--- hw/mips/fuloong2e.c | 7 ++++- hw/ppc/pegasos2.c | 7 ++++- 12 files changed, 122 insertions(+), 36 deletions(-)
Signature · 1 line
2.26.3