diff options
author | Sam Bobroff <sbobroff@linux.ibm.com> | 2018-11-29 04:16:38 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-02-05 01:55:42 +0100 |
commit | 188fdea69fa91dcd674a3d40f060a5891d4bc45a (patch) | |
tree | 28ed66d5fe98301096cc7c5b24784f9df151a1bd /arch/powerpc/kernel/eeh_driver.c | |
parent | powerpc/eeh: Cleanup eeh_pe_clear_frozen_state() (diff) | |
download | linux-188fdea69fa91dcd674a3d40f060a5891d4bc45a.tar.xz linux-188fdea69fa91dcd674a3d40f060a5891d4bc45a.zip |
powerpc/eeh: remove sw_state from eeh_unfreeze_pe()
eeh_unfreeze_pe() performs two operations: unfreezing a PE (which may
cause firmware to unfreeze child PEs as well) and de-isolating the PE
and it's children.
To simplify this and support future work, separate out the
de-isolation and perform it at the call sites (when necessary).
There should be no change in behaviour.
Signed-off-by: Sam Bobroff <sbobroff@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/eeh_driver.c')
-rw-r--r-- | arch/powerpc/kernel/eeh_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/eeh_driver.c b/arch/powerpc/kernel/eeh_driver.c index 3456d9c2d4da..5303429ac0e3 100644 --- a/arch/powerpc/kernel/eeh_driver.c +++ b/arch/powerpc/kernel/eeh_driver.c @@ -598,7 +598,7 @@ static int eeh_clear_pe_frozen_state(struct eeh_pe *root) eeh_for_each_pe(root, pe) { for (i = 0; i < 3; i++) - if (!eeh_unfreeze_pe(pe, false)) + if (!eeh_unfreeze_pe(pe)) break; if (i >= 3) return -EIO; |