diff options
author | Gavin Shan <shangw@linux.vnet.ibm.com> | 2013-07-24 06:24:59 +0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-07-24 08:18:49 +0400 |
commit | 4b83bd452f17582c8d1c916568fd28a237a2eb46 (patch) | |
tree | 4dda1bab44791b94d0f76b4c1c516d9149e2ee49 /scripts | |
parent | f5c57710dd62dd06f176934a8b4b8accbf00f9f8 (diff) | |
download | linux-4b83bd452f17582c8d1c916568fd28a237a2eb46.tar.xz |
powerpc/eeh: Don't use pci_dev during BAR restore
While restoring BARs for one specific PCI device, the pci_dev
instance should have been released. So it's not reliable to use
the pci_dev instance on restoring BARs. However, we still need
some information (e.g. PCIe capability position, header type) from
the pci_dev instance. So we have to store those information to
EEH device in advance.
Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions