summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-09-05 22:35:20 +0200
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-09-06 15:22:02 +0200
commit80ba77dfbce85f2d1be54847de3c866de1b18a9a (patch)
treeaa754a14121008b0c0be0bed02e2cb2367d05eae /arch/x86
parentxen: Use correct masking in xen_swiotlb_alloc_coherent. (diff)
downloadlinux-80ba77dfbce85f2d1be54847de3c866de1b18a9a.tar.xz
linux-80ba77dfbce85f2d1be54847de3c866de1b18a9a.zip
xen/pciback: Fix proper FLR steps.
When we do FLR and save PCI config we did it in the wrong order. The end result was that if a PCI device was unbind from its driver, then binded to xen-pciback, and then back to its driver we would get: > lspci -s 04:00.0 04:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection 13:42:12 # 4 :~/ > echo "0000:04:00.0" > /sys/bus/pci/drivers/pciback/unbind > modprobe e1000e e1000e: Intel(R) PRO/1000 Network Driver - 2.0.0-k e1000e: Copyright(c) 1999 - 2012 Intel Corporation. e1000e 0000:04:00.0: Disabling ASPM L0s L1 e1000e 0000:04:00.0: enabling device (0000 -> 0002) xen: registering gsi 48 triggering 0 polarity 1 Already setup the GSI :48 e1000e 0000:04:00.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode e1000e: probe of 0000:04:00.0 failed with error -2 This fixes it by first saving the PCI configuration space, then doing the FLR. Reported-by: Ren, Yongjie <yongjie.ren@intel.com> Reported-and-Tested-by: Tobias Geiger <tobias.geiger@vido.info> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> CC: stable@vger.kernel.org
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions