summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh
diff options
context:
space:
mode:
authorGavin Shan <shangw@linux.vnet.ibm.com>2013-06-27 13:46:48 +0800
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-07-01 11:10:33 +1000
commit9bf41be6737327b7c06cd3f210a0cb599f4aa790 (patch)
tree5b1975aad28df78f6d0dbf58e37f67cc94e808fa /drivers/macintosh
parenteeb6361fdd3df59c1741522b3d8102f0f5efdd88 (diff)
downloadblackbird-obmc-linux-9bf41be6737327b7c06cd3f210a0cb599f4aa790.tar.gz
blackbird-obmc-linux-9bf41be6737327b7c06cd3f210a0cb599f4aa790.zip
powerpc/powernv: Use dev-node in PCI config accessors
Currently, we're using the combo (PCI bus + devfn) in the PCI config accessors and PCI config accessors in EEH depends on them. However, it's not safe to refer the PCI bus which might have been removed during hotplug. So we're using device node in the PCI config accessors and the corresponding backends just reuse them. The patch also fix one potential risk: We possiblly have frozen PE during the early PCI probe time, but we haven't setup the PE mapping yet. So the errors should be counted to PE#0. Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/macintosh')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud