[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+8MBbK_xeN5HWnSvbDYwzZ+E0pSpbDte30RH2deo0r1OzYBGA@mail.gmail.com>
Date: Thu, 17 May 2012 17:14:51 -0700
From: Tony Luck <tony.luck@...el.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [git pull] machine check recovery fix
On Thu, May 17, 2012 at 3:45 PM, Linus Torvalds
<torvalds@...ux-foundation.org> wrote:
> Also, the whole "nonrestartable state flag" means - if I understood
> things correctly - that you really cannot do the "iret" even from the
> NMI handler.
Not quite ... we can "iret" ... but not back to the instruction that was
executing when the machine check occurred. We need to go some
place else .... hence we send a signal that will either kill the process,
or take them to their signal handler. [Their signal handler might try
to return, and fall into nowhere ... but that's a user programming error.
If bad things happen to the process and it gets the wrong answer, that
is their own fault].
It's the "PCC" bit (processor context corrupt) that says that we can't
iret at all. We
-Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists