From: Konrad Rzeszutek Wilk Date: Thu, 12 Jan 2012 17:06:47 +0000 (-0500) Subject: xen/pciback: Support pci_reset_function, aka FLR or D3 support. X-Git-Tag: v3.4-rc1~114^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11608318037f07fe08d64ebcd3f65691cfd77076;p=pandora-kernel.git xen/pciback: Support pci_reset_function, aka FLR or D3 support. We use the __pci_reset_function_locked to perform the action. Also on attaching ("bind") and detaching ("unbind") we save and restore the configuration states. When the device is disconnected from a guest we use the "pci_reset_function" to also reset the device before being passed to another guest. Signed-off-by: Konrad Rzeszutek Wilk Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed