Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757281AbbLAXZA (ORCPT ); Tue, 1 Dec 2015 18:25:00 -0500 Received: from mx2.suse.de ([195.135.220.15]:43745 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755689AbbLAXY6 (ORCPT ); Tue, 1 Dec 2015 18:24:58 -0500 Date: Wed, 2 Dec 2015 00:24:49 +0100 (CET) From: Jiri Kosina X-X-Sender: jkosina@pobox.suse.cz To: Petr Mladek cc: kbuild test robot , kbuild-all@01.org, Andrew Morton , Peter Zijlstra , Steven Rostedt , Russell King , Daniel Thompson , Ingo Molnar , Thomas Gleixner , linux-kernel@vger.kernel.org, x86@kernel.org, linux-arm-kernel@lists.infradead.org, adi-buildroot-devel@lists.sourceforge.net, linux-cris-kernel@axis.com, linux-mips@linux-mips.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, David Howells , Koichi Yasutake , linux-am33-list@redhat.com Subject: Re: [PATCH v2 1/5] printk/nmi: Generic solution for safe printk in NMI In-Reply-To: <20151127153804.GC2648@pathway.suse.cz> Message-ID: References: <1448622572-16900-2-git-send-email-pmladek@suse.com> <201511271919.aEZuZKNe%fengguang.wu@intel.com> <20151127153804.GC2648@pathway.suse.cz> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 961 Lines: 26 On Fri, 27 Nov 2015, Petr Mladek wrote: > MN10300 has its own implementation for entering and exiting NMI > handlers. It does not call nmi_enter() and nmi_exit(). Please, find > below an updated patch that adds printk_nmi_enter() and > printk_nmi_exit() to the custom entry points. Then we could add HAVE_NMI > to arch/mn10300/Kconfig and avoid the above warning. Hmm, so what exactly would go wrong if MN10300 (whatever that architecture is) would call nmi_enter() and nmi_exit() at the places where it's starting and finishing NMI handler? >From a cursory look, it seems like most (if not all) of the things called from nmi_{enter,exit}() would be nops there anyway. Thanks, -- Jiri Kosina SUSE Labs -- 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/