qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/4] qdev: switch reset to post-order, clean up PCI reset
@ 2013-12-06 16:54 Paolo Bonzini
  2013-12-06 16:54 ` [Qemu-devel] [PATCH 1/4] pci: do not export pci_bus_reset Paolo Bonzini
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Paolo Bonzini @ 2013-12-06 16:54 UTC (permalink / raw)
  To: qemu-devel; +Cc: mst

PCI is handling resetting of its devices before the bus is reset,
but this is only necessary because qdev is broken and usually does
pre-order reset.  Post-order is a much better definition.  Drop
the unnecessary flexibility that lets bus decide the reset order,
convert to post-order, and make PCI use common code for reset.

Paolo Bonzini (4):
  pci: do not export pci_bus_reset
  pci: clean up resetting of IRQs
  qdev: allow both pre- and post-order vists in qdev walking functions
  qdev: switch reset to post-order

 hw/core/qdev.c         |   47 ++++++++++++++++++++++++++++++++++-------------
 hw/pci/pci.c           |   42 ++++++++++++++++++++----------------------
 hw/pci/pci_bridge.c    |    2 +-
 include/hw/pci/pci.h   |    1 -
 include/hw/qdev-core.h |   15 ++++++++++-----
 5 files changed, 65 insertions(+), 42 deletions(-)

^ permalink raw reply	[flat|nested] 15+ messages in thread
* [Qemu-devel] [PATCH 0/4] qdev: switch reset to post-order, clean up PCI reset
@ 2013-10-03 13:46 Paolo Bonzini
  2013-10-03 13:46 ` [Qemu-devel] [PATCH 2/4] pci: clean up resetting of IRQs Paolo Bonzini
  0 siblings, 1 reply; 15+ messages in thread
From: Paolo Bonzini @ 2013-10-03 13:46 UTC (permalink / raw)
  To: qemu-devel; +Cc: mst

PCI is handling resetting of its devices before the bus is reset,
but this is only necessary because qdev is broken and usually does
pre-order reset.  Post-order is a much better definition.  Drop
the unnecessary flexibility that lets bus decide the reset order,
convert to post-order, and make PCI use common code for reset.

Paolo Bonzini (4):
  pci: do not export pci_bus_reset
  pci: clean up resetting of IRQs
  qdev: allow both pre- and post-order vists in qdev walking functions
  qdev: switch reset to post-order

 hw/core/qdev.c         |   47 ++++++++++++++++++++++++++++++++++-------------
 hw/pci/pci.c           |   42 ++++++++++++++++++++----------------------
 hw/pci/pci_bridge.c    |    2 +-
 include/hw/pci/pci.h   |    1 -
 include/hw/qdev-core.h |   15 ++++++++++-----
 5 files changed, 65 insertions(+), 42 deletions(-)

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

end of thread, other threads:[~2013-12-19 23:46 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-06 16:54 [Qemu-devel] [PATCH 0/4] qdev: switch reset to post-order, clean up PCI reset Paolo Bonzini
2013-12-06 16:54 ` [Qemu-devel] [PATCH 1/4] pci: do not export pci_bus_reset Paolo Bonzini
2013-12-06 16:54 ` [Qemu-devel] [PATCH 2/4] pci: clean up resetting of IRQs Paolo Bonzini
2013-12-06 16:54 ` [Qemu-devel] [PATCH 3/4] qdev: allow both pre- and post-order vists in qdev walking functions Paolo Bonzini
2013-12-06 23:27   ` Bandan Das
2013-12-09  9:50     ` Paolo Bonzini
2013-12-09 17:56       ` Bandan Das
2013-12-09 18:04         ` Paolo Bonzini
2013-12-09 18:15           ` Bandan Das
2013-12-09 18:05         ` Paolo Bonzini
2013-12-06 16:54 ` [Qemu-devel] [PATCH 4/4] qdev: switch reset to post-order Paolo Bonzini
2013-12-19 18:23   ` Michael S. Tsirkin
2013-12-19 19:15 ` [Qemu-devel] [PATCH 0/4] qdev: switch reset to post-order, clean up PCI reset Michael S. Tsirkin
2013-12-19 23:45   ` Paolo Bonzini
  -- strict thread matches above, loose matches on Subject: below --
2013-10-03 13:46 Paolo Bonzini
2013-10-03 13:46 ` [Qemu-devel] [PATCH 2/4] pci: clean up resetting of IRQs Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).