summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorGavin Shan <shangw@linux.vnet.ibm.com>2014-02-12 15:24:54 +0800
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-02-17 11:19:38 +1100
commit5b2e198e50f6ba57081586b853163ea1bb95f1a8 (patch)
tree6c9e5a60e96ac81a9ebe7157609b4c9970d389d6 /arch/powerpc/kernel
parent24b659a13866b935eca72748ce725279bd3c4466 (diff)
downloadlinux-5b2e198e50f6ba57081586b853163ea1bb95f1a8.tar.bz2
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: stable@vger.kernel.org Reported-by: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com> Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel')
0 files changed, 0 insertions, 0 deletions