From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: [PATCH RFC] pci: expose function reset capability in sysfs Date: Mon, 27 Jul 2009 14:03:23 -0700 Message-ID: <20090727210323.GA20588@kroah.com> References: <20090726171139.GA22202@redhat.com> <20090727150146.GA19079@kroah.com> <20090727155238.GA29853@redhat.com> <20090727161423.GC30241@kroah.com> <20090727203748.GA30817@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: jbarnes@virtuousgeek.org, linux-pci@vger.kernel.org, kvm@vger.kernel.org To: "Michael S. Tsirkin" Return-path: Content-Disposition: inline In-Reply-To: <20090727203748.GA30817@redhat.com> Sender: linux-pci-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Mon, Jul 27, 2009 at 11:37:48PM +0300, Michael S. Tsirkin wrote: > On Mon, Jul 27, 2009 at 09:14:23AM -0700, Greg KH wrote: > > Fine with me. You forgot the documentation though :) > > This enough? > > pci: expose function reset capability in sysfs > > Some devices allow an individual function to be reset without affecting > other functions in the same device: that's what pci_reset_function does. > For devices that have this support, expose reset attribite in sysfs. > > This is useful e.g. for virtualization, where a qemu userspace > process wants to reset the device when the guest is reset, > to emulate machine reboot as closely as possible. > > Signed-off-by: Michael S. Tsirkin Looks good to me: Acked-by: Greg Kroah-Hartman