|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Device Reset on Nvidia GPUs
On 11/25/2013 03:17 PM, Konrad Rzeszutek Wilk wrote: On Fri, Nov 15, 2013 at 02:52:56PM +0000, Gordan Bobic wrote:On Fri, 15 Nov 2013 09:40:04 -0500, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> wrote:On Fri, Nov 15, 2013 at 02:29:39PM +0000, Gordan Bobic wrote:On Fri, 15 Nov 2013 14:27:21 +0000, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> wrote:On Fri, 15 Nov 2013, Gordan Bobic wrote:I've noticed that nouveau driver has a sysfs reset implemented (although I'm not sure whether it is just a stub or whether it does anything). Now, I fully understand that this is not actually necessary, based purely on empirical evidence: My ATI cards reliably crash the host when the domU the are passed to is rebooted, and the xen-pciback driver does have the sysfs reset implemented for ATI cards. OTOH, my (modified) Nvidia cards handle domU reboots perfectly and the xen-pciback driver has no sysfs reset implementation for those. So I'm kind of torn between: 1) It's not broken so don't even think about trying to fix it. 2) Since FOSS reset implementation seems to exist, it might be handy to port it into the xen-pciback feature list (caveat: this may impact 1), which would be embarrasing). Thoughts?libxl is capable of using the sysfs reset node, so thereshouldn't beany needed for porting the reset code to pcibackNot quite - when the device is owned by xen-pciback, there is no reset node. When it is owned by nouveau, the reset node in sysfs is there. I'm saying that the nouveau module seems to expose a reset node under sysfs, but seemingly only for the current console device: # lspci -nn -qq | grep NVIDIA | grep VGA07:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK104GL [GRID K2] [10de:11bf] (rev a1) 0e:00.0 VGA compatible controller [0300]: NVIDIA Corporation G92 [GeForce 8800 GT] [10de:0611] (rev a2) # find . -name reset | grep 07:00.0 # find . -name reset | grep 0e:00.0 ./devices/pci0000:00/0000:00:03.0/0000:0b:00.0/0000:0c:00.0/0000:0e:00.0/reset Gordan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |