Hi Bjorn,
Did you have chance to look at this one?
Regards,
Tadeusz
On 01/03/12 17:18, tadeusz.st...@intel.com wrote:
From: Tadeusz Struk tadeusz.st...@intel.com
Date: Mon, 14 Feb 2011 14:38:18 +
Subject: [PATCH] Fixed warning
This patch fixes the following warning.
# virsh start
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
reset function to the pci_driver struct.
Signed-off-by: Tadeusz Struk tadeusz.st...@intel.com
---
drivers/pci/quirks.c |4
include/linux/pci.h |1 +
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 6476547..13d224b 100644
---
drivers/pci/pci.h|1 +
drivers/pci/quirks.c | 33 +++--
include/linux/pci.h |1 +
3 files changed, 29 insertions(+), 6 deletions(-)
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h
index 1009a5e..4d10479 100644
--- a/drivers/pci/pci.h
+++
Hi,
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. Unfortunately
this
() function. Unfortunately
this function only works for devices defined in a static table in the
drivers/pci/quirks.c file. This patch changes it so that specific reset
functions can be added and deleted dynamically.
Signed-off-by: Tadeusz Struk tadeusz.st...@intel.com
---
drivers/pci/pci.h| 14
On 02/03/12 16:29, Bjorn Helgaas wrote:
Where do you plan to add calls to pci_dev_specific_reset_add()? In
drivers?
Yes, I'm working on a driver for a device with SRIOV capability.
I'll call it from there.
Did you consider adding a reset function pointer to struct
pci_driver? That might be
From b4cf24d5987475862de799c78773f13f25ed2af8 Mon Sep 17 00:00:00 2001
From: Tadeusz Struk tadeusz.st...@intel.com
Date: Tue, 17 Jan 2012 16:45:46 +
Subject: [PATCH] Added functionality that allows dynamically add and remove
device specific reset functions
I have a use case where I need
From 268c5427305d59c1f6f6c1ce8047f6e32a7edcac Mon Sep 17 00:00:00 2001
From: Tadeusz Struk tadeusz.st...@intel.com
Date: Mon, 14 Feb 2011 14:38:18 +
Subject: [PATCH] Fixed warning
This patch fixes the following warning.
# virsh start fedora16-64
kernel: [ 133.324565] pci-stub :02:01.1