diff options
author | Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> | 2014-06-11 14:18:21 +0530 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-06-11 19:15:15 +1000 |
commit | 74845bc2fa9c0e6b218821cd4e1eb7a552d3e503 (patch) | |
tree | ea880beba8879b6c97dbea43bbfe530b56f48e40 /include/linux/dqblk_qtree.h | |
parent | e6654d5b4259317be82b06cf9218f82abec8c8e7 (diff) |
powerpc/book3s: Fix guest MC delivery mechanism to avoid soft lockups in guest.
Currently we forward MCEs to guest which have been recovered by guest.
And for unhandled errors we do not deliver the MCE to guest. It looks like
with no support of FWNMI in qemu, guest just panics whenever we deliver the
recovered MCEs to guest. Also, the existig code used to return to host for
unhandled errors which was casuing guest to hang with soft lockups inside
guest and makes it difficult to recover guest instance.
This patch now forwards all fatal MCEs to guest causing guest to crash/panic.
And, for recovered errors we just go back to normal functioning of guest
instead of returning to host. This fixes soft lockup issues in guest.
This patch also fixes an issue where guest MCE events were not logged to
host console.
Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include/linux/dqblk_qtree.h')
0 files changed, 0 insertions, 0 deletions