From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: testing of Xen PCIbackend support for slot and bus reset Date: Tue, 28 Oct 2014 10:04:36 -0400 Message-ID: <20141028140436.GD21290@laptop.dumpdata.com> References: <53F00AF3.7040605@triad.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Martin =?iso-8859-1?Q?=D6hrling?= Cc: Richie , xen-devel List-Id: xen-devel@lists.xenproject.org On Tue, Oct 28, 2014 at 11:58:41AM +0100, Martin =D6hrling wrote: > Any progress in testing the branch? > = > I can see one thing that could explain if the function isn't called. The > reset file is only created if it doesn't exist. I know it's unlikely for a > gpu, but have you verified that your driver didn't export a "reset"-file > without these patches? As far as I can tell, the drivers reset function > will be used instead of pcistub_reset_pci_dev() in the presence of a > "reset"-file. Use the 'do_flr' SysFS instead of the 'reset'. Once an PCI device is 'owned' by PCIback the 'reset' is no longer routed to the GPU driver. And the 'reset' does not do a bus-reset (whcih is what you need for most GPUs). > = > /Martin > = > 2014-08-17 3:52 GMT+02:00 Richie : > = > > @Konrad > > > > I'm interesting in testing your latest iteration of bus reset support. > > Actually I cloned your devel/xen-pciback.slot_and_bus.v2.1 > > > > branch and tested that but did not seem to reset the vga card. I did > > capture dmesg output which was nice and clean regarding resetting the > > device but don't have it handy. > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xen.org > > http://lists.xen.org/xen-devel > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel