Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix deadlock in ECC error shutdown path
There is a scenario wherein if a PNOR ECC UE occurs when attempting to service a page fault, the kernel will deadlock when it attempts to kill the task that triggered the fault. This is due to the kill routine being called while holding the VMM spinlock and then collecting a backtrace, which also performs a nested acquire of the same spinlock. This fix inhibits invoking the backtrace if the kill routine holds the VMM spinlock. Change-Id: I75bf1f248740a08fd485379d88e146096edf65a9 CQ: SW461429 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75264 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Ilya Smirnov <ismirno@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Matthew Raybuck <matthew.raybuck@ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
- Loading branch information