Re: [PATCH 0/4] Support registering specific reset handler

2015-03-09 Thread Gavin Shan
On Fri, Mar 06, 2015 at 12:38:59PM -0600, Bjorn Helgaas wrote: >On Fri, Feb 20, 2015 at 04:53:08PM +1100, Gavin Shan wrote: >> On Thu, Feb 19, 2015 at 04:57:47PM -0200, casca...@linux.vnet.ibm.com wrote: >> >On Tue, Feb 17, 2015 at 09:36:47AM +1100, Gavin Shan wrote: >> >> On Mon, Feb 16, 2015 at 1

Re: [PATCH 0/4] Support registering specific reset handler

2015-03-06 Thread Bjorn Helgaas
On Fri, Feb 20, 2015 at 04:53:08PM +1100, Gavin Shan wrote: > On Thu, Feb 19, 2015 at 04:57:47PM -0200, casca...@linux.vnet.ibm.com wrote: > >On Tue, Feb 17, 2015 at 09:36:47AM +1100, Gavin Shan wrote: > >> On Mon, Feb 16, 2015 at 11:14:27AM -0200, casca...@linux.vnet.ibm.com > >> wrote: > >> >On

Re: [PATCH 0/4] Support registering specific reset handler

2015-02-19 Thread Gavin Shan
On Thu, Feb 19, 2015 at 04:57:47PM -0200, casca...@linux.vnet.ibm.com wrote: >On Tue, Feb 17, 2015 at 09:36:47AM +1100, Gavin Shan wrote: >> On Mon, Feb 16, 2015 at 11:14:27AM -0200, casca...@linux.vnet.ibm.com wrote: >> >On Fri, Feb 13, 2015 at 03:54:55PM +1100, Gavin Shan wrote: >> >> VFIO PCI in

Re: [PATCH 0/4] Support registering specific reset handler

2015-02-19 Thread cascardo
On Tue, Feb 17, 2015 at 09:36:47AM +1100, Gavin Shan wrote: > On Mon, Feb 16, 2015 at 11:14:27AM -0200, casca...@linux.vnet.ibm.com wrote: > >On Fri, Feb 13, 2015 at 03:54:55PM +1100, Gavin Shan wrote: > >> VFIO PCI infrastructure depends on pci_reset_function() to do reset on > >> PCI devices so t

Re: [PATCH 0/4] Support registering specific reset handler

2015-02-16 Thread Gavin Shan
On Mon, Feb 16, 2015 at 11:14:27AM -0200, casca...@linux.vnet.ibm.com wrote: >On Fri, Feb 13, 2015 at 03:54:55PM +1100, Gavin Shan wrote: >> VFIO PCI infrastructure depends on pci_reset_function() to do reset on >> PCI devices so that they would be in clean state when host or guest grabs >> them. U

Re: [PATCH 0/4] Support registering specific reset handler

2015-02-16 Thread cascardo
On Fri, Feb 13, 2015 at 03:54:55PM +1100, Gavin Shan wrote: > VFIO PCI infrastructure depends on pci_reset_function() to do reset on > PCI devices so that they would be in clean state when host or guest grabs > them. Unfortunately, the function doesn't work (or not well) on some PCI > devices that

[PATCH 0/4] Support registering specific reset handler

2015-02-12 Thread Gavin Shan
VFIO PCI infrastructure depends on pci_reset_function() to do reset on PCI devices so that they would be in clean state when host or guest grabs them. Unfortunately, the function doesn't work (or not well) on some PCI devices that require EEH PE reset. The patchset extends the quirk for PCI device