"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "bb2798d45fc0575f5d08c0bb7baf4d5d5e8cc0c3"
x86/mce: Fix check for processor context when machine check was taken.
Linus pointed out that there was no value is checking whether m->ip was zero - because zero is a legimate value. If we have a reliable (or faked in the VM86 case) "m->cs" we can use it to tell whether we were in user mode or kernelwhen the machine check hit. Reported-by:Linus Torvalds <torvalds@linuxfoundation.org> Cc: <stable@vger.kernel.org> Signed-off-by:
Tony Luck <tony.luck@intel.com>
Loading
Please register or sign in to comment