Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760232Ab2FHMar (ORCPT ); Fri, 8 Jun 2012 08:30:47 -0400 Received: from mail.skyhub.de ([78.46.96.112]:53621 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754479Ab2FHMaq (ORCPT ); Fri, 8 Jun 2012 08:30:46 -0400 Date: Fri, 8 Jun 2012 14:30:44 +0200 From: Borislav Petkov To: ShuoX Liu Cc: "linux-kernel@vger.kernel.org" , Yanmin Zhang , "Luck, Tony" , Andrew Morton , "andi@firstfloor.org" , Ingo Molnar Subject: Re: [PATCH v7 1/2] printk: add interface for disabling recursion check Message-ID: <20120608123044.GA10978@x1.osrc.amd.com> Mail-Followup-To: Borislav Petkov , ShuoX Liu , "linux-kernel@vger.kernel.org" , Yanmin Zhang , "Luck, Tony" , Andrew Morton , "andi@firstfloor.org" , Ingo Molnar References: <1338856360.14538.220.camel@ymzhang.sh.intel.com> <20120605081448.GA7097@liondog.tnic> <4FCDD72A.9030701@intel.com> <4FCDD78A.3070106@intel.com> <20120605151542.GA10669@x1.osrc.amd.com> <1338942965.14538.233.camel@ymzhang.sh.intel.com> <4FCF155B.3090705@intel.com> <4FCF160D.8010404@intel.com> <20120606152238.GA3874@x1.osrc.amd.com> <4FD01896.1010506@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4FD01896.1010506@intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 880 Lines: 23 On Thu, Jun 07, 2012 at 10:57:26AM +0800, ShuoX Liu wrote: > From: ShuoX Liu > > With some special scenario, such as Machine Check Exception happened > in printk, we want to bypass printk recursion check to printk some > important information. So we add these interfaces of printk. > > 1) printk_recursion_check_disable() for disabling recursion check > 2) printk_recursion_check_enable() for enabling recursion check > > Signed-off-by: Yanmin Zhang > Signed-off-by: ShuoX Liu Acked-by: Borislav Petkov -- Regards/Gruss, Boris. -- 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/