diff options
author | Gavin Shan <shangw@linux.vnet.ibm.com> | 2012-02-28 00:03:56 +0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-03-09 04:10:09 +0400 |
commit | c8c29b38fbb9448f2a25484348dd5aec9a2a9671 (patch) | |
tree | 614537c3f2b1e3e8202d8aff0d300c58489cc257 /arch/powerpc/platforms/pseries/eeh_driver.c | |
parent | 8fb8f709025c13ae72968a66a1ade24431a342b2 (diff) | |
download | linux-c8c29b38fbb9448f2a25484348dd5aec9a2a9671.tar.xz |
powerpc/eeh: pseries platform EEH PE address retrieval
There're 2 types of addresses used for EEH operations. The first
one would be BDF (Bus/Device/Function) address which is retrieved
from the reg property of the corresponding FDT node. Another one
is PE address that should be enquired from firmware through RTAS
call on pSeries platform. When issuing EEH operation, the PE address
has precedence over BDF address.
The patch implements retrieving PE address according to the given
BDF address on pSeries platform. Also, the struct eeh_early_enable_info
has been removed since the information can be figured out from
dn->pdn->phb->buid directly and that simplifies the code.
Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/pseries/eeh_driver.c')
0 files changed, 0 insertions, 0 deletions