From: Isaku Yamahata <yamahata@valinux.co.jp>
To: qemu-devel@nongnu.org
Cc: gleb@redhat.com, glommer@redhat.com, blauwirbel@gmail.com,
yamahata@valinux.co.jp, alex.williamson@redhat.com,
avi@redhat.com, pbonzini@redhat.com
Subject: [Qemu-devel] [PATCH 0/6 v3] introduce qbus reset callback and pci bus reset clean up
Date: Thu, 2 Sep 2010 18:25:03 +0900 [thread overview]
Message-ID: <cover.1283417726.git.yamahata@valinux.co.jp> (raw)
I recreated the patch series based on your qbus walker of
git://repo.or.cz/qemu/aliguori.git
Anthony, can you please review the first three patches and merge them
if okay?
BTW what's the merge plan of the repo? Any chance to merge the walker part
first?
Patch description:
Introduce bus reset callback at qbus layer and clean up pci bus reset
by utilizing it. At last implement pci secondary bus reset which is
my motivation.
But I suppose scsi bus and ide bus also can take advantage of
this patch series.
Changes v2 -> v3:
- rebased to Anthony's qdev clean up tree.
- utilize qbus walker.
Changes v1 -> v2:
- addressed personal feed back from Gerd.
- reset signal are triggered by bus and propagated down into device.
- Only 5/8 is modified. Other patches remains same.
Isaku Yamahata (6):
qdev: Make qbus_walk_children() call busfn for root bus.
qdev: introduce reset call back for qbus level.
qdev: introduce a helper function which triggers reset from a given
device.
pci: make pci reset use qdev reset frame work.
pci: teach pci devices that have reset callback how to reset common
registers.
pci bridge: implement secondary bus reset.
hw/e1000.c | 1 +
hw/lsi53c895a.c | 2 +
hw/pci.c | 45 +++++++++++++++++++++++++++++++++----
hw/pci.h | 2 +
hw/pcnet.c | 1 +
hw/qdev-core.h | 6 +++++
hw/qdev.c | 66 ++++++++++++++++++++++++++++++++++++------------------
hw/rtl8139.c | 2 +
hw/virtio-pci.c | 1 +
9 files changed, 99 insertions(+), 27 deletions(-)
next reply other threads:[~2010-09-02 9:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-02 9:25 Isaku Yamahata [this message]
2010-09-02 9:25 ` [Qemu-devel] [PATCH 1/6] qdev: Make qbus_walk_children() call busfn for root bus Isaku Yamahata
2010-09-23 17:11 ` Markus Armbruster
2010-09-02 9:25 ` [Qemu-devel] [PATCH 2/6] qdev: introduce reset call back for qbus level Isaku Yamahata
2010-09-02 9:25 ` [Qemu-devel] [PATCH 3/6] qdev: introduce a helper function which triggers reset from a given device Isaku Yamahata
2010-09-02 9:25 ` [Qemu-devel] [PATCH 4/6] pci: make pci reset use qdev reset frame work Isaku Yamahata
2010-09-02 9:25 ` [Qemu-devel] [PATCH 5/6] pci: teach pci devices that have reset callback how to reset common registers Isaku Yamahata
2010-09-02 9:25 ` [Qemu-devel] [PATCH 6/6] pci bridge: implement secondary bus reset Isaku Yamahata
2010-09-02 13:27 ` [Qemu-devel] Re: [PATCH 0/6 v3] introduce qbus reset callback and pci bus reset clean up Anthony Liguori
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1283417726.git.yamahata@valinux.co.jp \
--to=yamahata@valinux.co.jp \
--cc=alex.williamson@redhat.com \
--cc=avi@redhat.com \
--cc=blauwirbel@gmail.com \
--cc=gleb@redhat.com \
--cc=glommer@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).