From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161490AbaKNRTP (ORCPT ); Fri, 14 Nov 2014 12:19:15 -0500 Received: from mail-la0-f51.google.com ([209.85.215.51]:63053 "EHLO mail-la0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161454AbaKNRTN (ORCPT ); Fri, 14 Nov 2014 12:19:13 -0500 MIME-Version: 1.0 In-Reply-To: <20141114103406.GA7475@pd.tnic> References: <20141112220058.GA5295@redhat.com> <3908561D78D1C84285E8C5FCA982C28F3292BAB4@ORSMSX114.amr.corp.intel.com> <3908561D78D1C84285E8C5FCA982C28F3292BD44@ORSMSX114.amr.corp.intel.com> <20141114103406.GA7475@pd.tnic> From: Andy Lutomirski Date: Fri, 14 Nov 2014 09:18:51 -0800 Message-ID: Subject: Re: [RFC PATCH] x86, entry: Switch stacks on a paranoid entry from userspace To: Borislav Petkov Cc: Andi Kleen , "linux-kernel@vger.kernel.org" , X86 ML , Peter Zijlstra , "Luck, Tony" , Oleg Nesterov 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 Nov 14, 2014 2:34 AM, "Borislav Petkov" wrote: > > On Wed, Nov 12, 2014 at 07:03:21PM -0800, Andy Lutomirski wrote: > > printk seems to work just fine in do_machine_check. > > That must be pure luck. Has anything changed which I missed to make > printk NMI-safe? Heh. Probably not. Now I wonder whether that might have caused the scheduling in idle cpu thing. Grr. Do you or Tony have any pointers for how to test this myself? I don't know enough about the acpi error injection thing, which I assume is that Tony is using. --Andy > > -- > Regards/Gruss, > Boris. > > Sent from a fat crate under my desk. Formatting is fine. > --