diff options
author | Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> | 2014-06-11 14:18:02 +0530 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-06-11 19:15:13 +1000 |
commit | e75ad93afcd34a7ed472d64fb2944560ad9cad4e (patch) | |
tree | a5fe95a4867a0e8047872b6b792cf317477a56d1 /arch/mips/rb532 | |
parent | 2749a2f26a7c7eb4c7e3901695c8977cdb6b826d (diff) |
powerpc/book3s: Add stack overflow check in machine check handler.
Currently machine check handler does not check for stack overflow for
nested machine check. If we hit another MCE while inside the machine check
handler repeatedly from same address then we get into risk of stack
overflow which can cause huge memory corruption. This patch limits the
nested MCE level to 4 and panic when we cross level 4.
Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/mips/rb532')
0 files changed, 0 insertions, 0 deletions