On Wed, Aug 07, 2013 at 03:08:55PM +0530, Mahesh J Salgaonkar wrote: > From: Mahesh Salgaonkar <mah...@linux.vnet.ibm.com> > > If we get a machine check exception due to SLB or TLB errors, then flush > SLBs/TLBs and reload SLBs to recover. We do this in real mode before turning > on MMU. Otherwise we would run into nested machine checks. > > If we get a machine check when we are in guest, then just flush the > SLBs and continue. This patch handles errors for power7. The next > patch will handle errors for power8
I don't see anywhere in this patch or the next where we check whether we are in fact running in hypervisor mode. It is possible for us to get machine check interrupts to the 0x200 vector when running under a hypervisor, for example if the hypervisor doesn't support the FWNMI facility (e.g. KVM) or if it does but we haven't done the ibm,nmi-register call yet. If we're not in hypervisor mode we should probably not do any of this new stuff, but just handle it like we always have. Paul. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev