From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=55762 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKREC-0005SV-2r for qemu-devel@nongnu.org; Mon, 22 Nov 2010 02:54:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PKREA-0006wv-Rf for qemu-devel@nongnu.org; Mon, 22 Nov 2010 02:54:19 -0500 Received: from mx1.redhat.com ([209.132.183.28]:15130) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PKREA-0006wo-Kp for qemu-devel@nongnu.org; Mon, 22 Nov 2010 02:54:18 -0500 Date: Mon, 22 Nov 2010 09:54:02 +0200 From: "Michael S. Tsirkin" Message-ID: <20101122075402.GA6892@redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: [Qemu-devel] Re: [PATCH v2 0/6] qdev reset refactoring and pci bus reset List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Isaku Yamahata Cc: skandasa@cisco.com, etmartin@cisco.com, wexu2@cisco.com, qemu-devel@nongnu.org, kraxel@redhat.com, pbonzini@redhat.com On Fri, Nov 19, 2010 at 06:55:57PM +0900, Isaku Yamahata wrote: > Here is v2. I updated the comments, and dropped the pci qdev reset patch. > > Patch description: > The goal of this patch series is to implement secondary bus reset > emulation in pci-to-pci bridge. > At first, this patch series refactors qdev reset, > and then cleans up pci bus reset. Lastly implements pci bridge control > secondary bus reset bit. > > This patch series is for pci bus reset, which is ported > from the following repo. > git://repo.or.cz/qemu/aliguori.git qdev-refactor I've put the series on my pci branch, tweaking patches 5 and 6 in the process. Out of time to compile-tested only for now. We do need to fix up secondary bus reset, so it's a needed bugfix. Gerd, Anthony - any comments esp. on the qdev part? > Changes v1 -> v2: > - update comment > > Anthony Liguori (2): > qbus: add functions to walk both devices and busses > qdev: reset qdev along with qdev tree > > Isaku Yamahata (4): > qdev: introduce reset call back for qbus level > qdev: introduce a helper function which triggers reset from a given > device > pci: make use of qdev reset frame work to pci bus reset. > pci bridge: implement secondary bus reset > > hw/pci.c | 33 ++++++++++++++++++-- > hw/pci.h | 3 ++ > hw/pci_bridge.c | 12 +++++++- > hw/qdev.c | 87 +++++++++++++++++++++++++++++++++++++++++++++++++------ > hw/qdev.h | 18 +++++++++++ > vl.c | 1 + > 6 files changed, 140 insertions(+), 14 deletions(-)