Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933439AbaLKAZM (ORCPT ); Wed, 10 Dec 2014 19:25:12 -0500 Received: from mail-la0-f41.google.com ([209.85.215.41]:47507 "EHLO mail-la0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933125AbaLKAZI (ORCPT ); Wed, 10 Dec 2014 19:25:08 -0500 MIME-Version: 1.0 In-Reply-To: References: <20141124205441.GW5050@linux.vnet.ibm.com> <20141124213501.GX5050@linux.vnet.ibm.com> <20141124223407.GB8512@linux.vnet.ibm.com> <20141124225754.GY5050@linux.vnet.ibm.com> <20141124233101.GA2819@linux.vnet.ibm.com> <20141124235058.GZ5050@linux.vnet.ibm.com> <20141125185803.GC3938@pd.tnic> From: Andy Lutomirski Date: Wed, 10 Dec 2014 16:24:46 -0800 Message-ID: Subject: Re: [PATCH v4 2/5] x86, traps: Track entry into and exit from IST context To: Tony Luck Cc: Borislav Petkov , Paul McKenney , X86 ML , Linus Torvalds , "linux-kernel@vger.kernel.org" , Peter Zijlstra , Oleg Nesterov , Andi Kleen , Josh Triplett , =?UTF-8?B?RnLDqWTDqXJpYyBXZWlzYmVja2Vy?= Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 10, 2014 at 4:22 PM, Tony Luck wrote: > On Tue, Nov 25, 2014 at 10:58 AM, Borislav Petkov wrote: >> On Mon, Nov 24, 2014 at 03:52:10PM -0800, Andy Lutomirski wrote: >>> Dunno. Tony and Borislav -- when do you want the IST stack switching >>> stuff? >> >> I'd leave that up to Tony and his testbench. I mean, we can hammer on >> it as much as we can and it can pass all testing locally but the real >> fun starts once it hits upstream and for that it doesn't matter which >> release... IMHO. > > So what was the net result of all the mode/RCU discussions? > > Do I need some extra magic incantations in the final version > of do_machine_check() beyond what was in this patch: > > https://lkml.kernel.org/r/546d169211835aded@agluck-desk.sc.intel.com > > to make everything happy? > I think you need ist_begin_non_atomic() before local_irq_enable() and ist_end_non_atomic() after local_irq_disable(). Otherwise it should be good. --Andy > -Tony -- Andy Lutomirski AMA Capital Management, LLC -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/