summaryrefslogtreecommitdiffstats
path: root/arch/unicore32
diff options
context:
space:
mode:
authorGavin Shan <shangw@linux.vnet.ibm.com>2012-09-07 22:44:21 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-09-10 09:35:44 +1000
commitd7bb88629dd64242fbbd7dd34ecad073afdbafad (patch)
treeb1411f72e6657e2ff31a8fbfae799dc3f78b86bc /arch/unicore32
parentdbbceee12f2160ef1ac848316212f97bf5bc4c16 (diff)
downloadblackbird-op-linux-d7bb88629dd64242fbbd7dd34ecad073afdbafad.tar.gz
blackbird-op-linux-d7bb88629dd64242fbbd7dd34ecad073afdbafad.zip
powerpc/eeh: Probe mode support
While EEH module is installed, PCI devices is checked one by one to see if it supports eeh. On different platforms, the PCI devices are referred through different ways when the EEH module is loaded. For example, on pSeries platform, that is done by OF node. However, we would do that by real PCI devices (struct pci_dev) on PowerNV platform in future. So we needs some mechanism to differentiate those cases by classifying them to probe modes, either from OF nodes or real PCI devices. The patch implements the support to eeh probe mode. Also, the EEH on pSeries has set it into EEH_PROBE_MODE_DEVTREE. That means the probe will be done based on OF nodes on pSeries platform. In addition, On pSeries platform, it's done by OF nodes. The patch moves the the probe function from EEH core to platform dependent backend and some cleanup applied. Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/unicore32')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud