Re: [PATCH] PCI: Device specific reset function

2012-03-14 Thread Tadeusz Struk
On 13/03/12 02:42, Alex Williamson wrote: > On Mon, 2012-03-12 at 16:55 +, Tadeusz Struk wrote: >> I have a use case where I need to cleanup resource allocated for Virtual >> Functions after a guest OS that used it crashed. This cleanup needs to >> be done before the VF is being FLRed. The only

Re: [PATCH] PCI: Device specific reset function

2012-03-12 Thread Alex Williamson
On Mon, 2012-03-12 at 16:55 +, Tadeusz Struk wrote: > I have a use case where I need to cleanup resource allocated for Virtual > Functions after a guest OS that used it crashed. This cleanup needs to > be done before the VF is being FLRed. The only possible way to do this > seems to be by using

[PATCH] PCI: Device specific reset function

2012-03-12 Thread Tadeusz Struk
I have a use case where I need to cleanup resource allocated for Virtual Functions after a guest OS that used it crashed. This cleanup needs to be done before the VF is being FLRed. The only possible way to do this seems to be by using pci_dev_specific_reset() function. This patch adds specific res