All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 00/11] hw/isa: Remove dependencies on ISA bus singleton
@ 2021-05-18 21:55 Philippe Mathieu-Daudé
  2021-05-18 21:55 ` [RFC PATCH 01/11] hw/isa: Explode pci_create_simple() calls Philippe Mathieu-Daudé
                   ` (10 more replies)
  0 siblings, 11 replies; 23+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-05-18 21:55 UTC (permalink / raw)
  To: John Snow, qemu-devel
  Cc: Elena Ufimtseva, John G Johnson, Thomas Huth, Jagannathan Raman,
	Mark Cave-Ayland, Markus Armbruster, Stefan Hajnoczi,
	Philippe Mathieu-Daudé

Hi,

This series implements the suggestions from Markus analysis:
https://www.mail-archive.com/qemu-block@nongnu.org/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(-)

-- 
2.26.3




^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2021-05-21  7:10 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-18 21:55 [RFC PATCH 00/11] hw/isa: Remove dependencies on ISA bus singleton Philippe Mathieu-Daudé
2021-05-18 21:55 ` [RFC PATCH 01/11] hw/isa: Explode pci_create_simple() calls Philippe Mathieu-Daudé
2021-05-21  7:09   ` Markus Armbruster
2021-05-18 21:55 ` [RFC PATCH 02/11] hw/ide: Add PCIIDEState::isa_bus link Philippe Mathieu-Daudé
2021-05-18 23:05   ` BALATON Zoltan
2021-05-19 21:49     ` John Snow
2021-05-20  0:46       ` BALATON Zoltan
2021-05-20  8:35         ` Stefan Hajnoczi
2021-05-20  8:56           ` Mark Cave-Ayland
2021-05-20 12:18             ` BALATON Zoltan
2021-05-20  7:41     ` Mark Cave-Ayland
2021-05-20  8:29       ` Mark Cave-Ayland
2021-05-18 21:55 ` [RFC PATCH 03/11] hw/ide/piix: Set the ISA-bus QOM link Philippe Mathieu-Daudé
2021-05-18 21:55 ` [RFC PATCH 04/11] hw/ide/via: " Philippe Mathieu-Daudé
2021-05-18 21:55 ` [RFC PATCH 05/11] hw/isa: Extract isa_bus_get_irq() from isa_get_irq() Philippe Mathieu-Daudé
2021-05-18 21:55 ` [RFC PATCH 06/11] hw/ide: Replace isa_get_irq() by isa_bus_get_irq() Philippe Mathieu-Daudé
2021-05-18 21:55 ` [RFC PATCH 07/11] hw/isa: Simplify isa_get_irq() Philippe Mathieu-Daudé
2021-05-18 21:55 ` [RFC PATCH 08/11] hw/isa: Extract bus part from isa_register_portio_list() Philippe Mathieu-Daudé
2021-05-18 21:55 ` [RFC PATCH 09/11] hw/ide: Let ide_init_ioport() take an ISA bus argument instead of device Philippe Mathieu-Daudé
2021-05-18 21:55 ` [RFC PATCH 10/11] hw/isa: Remove use of global isa bus Philippe Mathieu-Daudé
2021-05-19 16:11   ` Stefan Hajnoczi
2021-05-18 21:55 ` [RFC PATCH 11/11] hw/isa: Rename isabus singleton as 'g_isabus' Philippe Mathieu-Daudé
2021-05-19 16:18   ` Stefan Hajnoczi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.