From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753049AbaEUWsl (ORCPT ); Wed, 21 May 2014 18:48:41 -0400 Received: from mail.skyhub.de ([78.46.96.112]:45134 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752501AbaEUWsk (ORCPT ); Wed, 21 May 2014 18:48:40 -0400 Date: Thu, 22 May 2014 00:48:16 +0200 From: Borislav Petkov To: Andy Lutomirski Cc: "Luck, Tony" , Jiri Kosina , Thomas Gleixner , Linus Torvalds , Steven Rostedt , Andi Kleen , "linux-kernel@vger.kernel.org" , "H. Peter Anvin" , Ingo Molnar Subject: Re: [RFC] x86_64: A real proposal for iret-less return to kernel Message-ID: <20140521224816.GP25130@pd.tnic> References: <20140521214845.GG25130@pd.tnic> <3908561D78D1C84285E8C5FCA982C28F328116D8@ORSMSX114.amr.corp.intel.com> <3908561D78D1C84285E8C5FCA982C28F3281189E@ORSMSX114.amr.corp.intel.com> <3908561D78D1C84285E8C5FCA982C28F3281198D@ORSMSX114.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 21, 2014 at 03:39:11PM -0700, Andy Lutomirski wrote: > But if we get a new MCE in here, it will be an MCE from kernel context > and it's fatal. So, yes, we'll clobber the stack, but we'll never > return (unless tolerant is set to something insane), so who cares? Ok, but we still have to do the work before returning to the process. So if not mce_notify_process() how else are you suggesting we do this? -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. --