diff options
author | Gavin Shan <[email protected]> | 2014-02-12 15:24:54 +0800 |
---|---|---|
committer | Benjamin Herrenschmidt <[email protected]> | 2014-02-17 11:19:38 +1100 |
commit | 5b2e198e50f6ba57081586b853163ea1bb95f1a8 (patch) | |
tree | 6c9e5a60e96ac81a9ebe7157609b4c9970d389d6 /net/lapb/lapb_out.c | |
parent | 24b659a13866b935eca72748ce725279bd3c4466 (diff) |
powerpc/powernv: Rework EEH reset
When doing reset in order to recover the affected PE, we issue
hot reset on PE primary bus if it's not root bus. Otherwise, we
issue hot or fundamental reset on root port or PHB accordingly.
For the later case, we didn't cover the situation where PE only
includes root port and it potentially causes kernel crash upon
EEH error to the PE.
The patch reworks the logic of EEH reset to improve the code
readability and also avoid the kernel crash.
Cc: [email protected]
Reported-by: Thadeu Lima de Souza Cascardo <[email protected]>
Signed-off-by: Gavin Shan <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions