From: Gavin Shan Date: Thu, 24 Apr 2014 08:00:16 +0000 (+1000) Subject: powerpc/eeh: Use cached capability for log dump X-Git-Tag: omap-for-v3.16/fixes-against-rc1~60^2~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a18dfc6ee2ea00bba767f6968f1a107fdd8e687;p=pandora-kernel.git powerpc/eeh: Use cached capability for log dump When calling into eeh_gather_pci_data() on pSeries platform, we possiblly don't have pci_dev instance yet, but eeh_dev is always ready. So we use cached capability from eeh_dev instead of pci_dev for log dump there. In order to keep things unified, we also cache PCI capability positions to eeh_dev for PowerNV as well. Signed-off-by: Gavin Shan Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed