From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2BDBDC43462 for ; Thu, 1 Apr 2021 18:23:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E8C8860FF1 for ; Thu, 1 Apr 2021 18:22:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237244AbhDASW6 (ORCPT ); Thu, 1 Apr 2021 14:22:58 -0400 Received: from mx2.suse.de ([195.135.220.15]:42006 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237281AbhDASDi (ORCPT ); Thu, 1 Apr 2021 14:03:38 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1617287871; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=KUzII4YvGLqilZiM11SRwbCxM2ziLU4pNsp1rKZit3M=; b=IVs2lvNi1WuQDQ6JJSAOu52XX1BZhMEocezAZMyYx7CgaaU+qToeGnAPctRsC9di1Xq64n 4KE3AoMmPmsdoJoHuXtUIdsXPc+yPJ4wK9YDbqK2DM+Or3GxFHnjfilD0HhKy0AfoxIQwi hgf+CN1BV4AGbQRWBlnbumyw6Kp2pXw= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 11748B217; Thu, 1 Apr 2021 14:37:51 +0000 (UTC) Date: Thu, 1 Apr 2021 16:37:50 +0200 From: Petr Mladek To: John Ogness Cc: Sergey Senozhatsky , Sergey Senozhatsky , Steven Rostedt , Thomas Gleixner , linux-kernel@vger.kernel.org, Russell King , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Ingo Molnar , Marc Zyngier , Valentin Schneider , Andrew Morton , Mike Rapoport , Geert Uytterhoeven , Anshuman Khandual , Leonardo Bras , Peter Zijlstra , Andy Lutomirski , Will Deacon , Frederic Weisbecker , "Paul E. McKenney" , Masahiro Yamada , Nathan Chancellor , Alexei Starovoitov , Kees Cook , Nick Terrell , David Howells , Johannes Weiner , linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH printk v2 3/5] printk: remove NMI tracking Message-ID: References: <20210330153512.1182-1-john.ogness@linutronix.de> <20210330153512.1182-4-john.ogness@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210330153512.1182-4-john.ogness@linutronix.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 2021-03-30 17:35:10, John Ogness wrote: > All NMI contexts are handled the same as the safe context: store the > message and defer printing. There is no need to have special NMI > context tracking for this. Using in_nmi() is enough. > > Signed-off-by: John Ogness This is another great win! Reviewed-by: Petr Mladek Best Regards, Petr From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E6C48C433B4 for ; Thu, 1 Apr 2021 14:38:22 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 17AD36121E for ; Thu, 1 Apr 2021 14:38:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 17AD36121E Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4FB5QN3Fsvz3bsH for ; Fri, 2 Apr 2021 01:38:20 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=suse.com header.i=@suse.com header.a=rsa-sha256 header.s=susede1 header.b=IVs2lvNi; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=suse.com (client-ip=195.135.220.15; helo=mx2.suse.de; envelope-from=pmladek@suse.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=suse.com header.i=@suse.com header.a=rsa-sha256 header.s=susede1 header.b=IVs2lvNi; dkim-atps=neutral Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4FB5Pv42xxz3047 for ; Fri, 2 Apr 2021 01:37:54 +1100 (AEDT) X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1617287871; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=KUzII4YvGLqilZiM11SRwbCxM2ziLU4pNsp1rKZit3M=; b=IVs2lvNi1WuQDQ6JJSAOu52XX1BZhMEocezAZMyYx7CgaaU+qToeGnAPctRsC9di1Xq64n 4KE3AoMmPmsdoJoHuXtUIdsXPc+yPJ4wK9YDbqK2DM+Or3GxFHnjfilD0HhKy0AfoxIQwi hgf+CN1BV4AGbQRWBlnbumyw6Kp2pXw= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 11748B217; Thu, 1 Apr 2021 14:37:51 +0000 (UTC) Date: Thu, 1 Apr 2021 16:37:50 +0200 From: Petr Mladek To: John Ogness Subject: Re: [PATCH printk v2 3/5] printk: remove NMI tracking Message-ID: References: <20210330153512.1182-1-john.ogness@linutronix.de> <20210330153512.1182-4-john.ogness@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210330153512.1182-4-john.ogness@linutronix.de> X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sergey Senozhatsky , Peter Zijlstra , Alexei Starovoitov , David Howells , Paul Mackerras , Will Deacon , Leonardo Bras , Marc Zyngier , Masahiro Yamada , Russell King , Ingo Molnar , Geert Uytterhoeven , Valentin Schneider , Kees Cook , "Paul E. McKenney" , Anshuman Khandual , Frederic Weisbecker , Johannes Weiner , Steven Rostedt , Nathan Chancellor , Nick Terrell , Andy Lutomirski , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Sergey Senozhatsky , Andrew Morton , linuxppc-dev@lists.ozlabs.org, Mike Rapoport Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Tue 2021-03-30 17:35:10, John Ogness wrote: > All NMI contexts are handled the same as the safe context: store the > message and defer printing. There is no need to have special NMI > context tracking for this. Using in_nmi() is enough. > > Signed-off-by: John Ogness This is another great win! Reviewed-by: Petr Mladek Best Regards, Petr From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EB360C433ED for ; Thu, 1 Apr 2021 14:39:22 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7AD3861358 for ; Thu, 1 Apr 2021 14:39:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7AD3861358 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=PxgPIiRTU6ivh+zOi5+rx+lf2dhb50m+Zgkg0kFDnD8=; b=O9HYpqLzd2P8jk/Entz61yi7I mwKi0lKtMjsTYN+uX/4RRItjWfKOm5HT5USsNxwdmuPOfwin0p4pIqFvZMYU7p1wMTbqZzKy18NN3 3DF5MPuw96PbnDT8yFzN+Dg1utE75ViLyhnzq3p1VOp5igRWvNjXo5OPhyLiPndrPP8P3faOFVUoW ZQxv2Cb+d7/EUdYSsKuMZ52Y22m7z79lJDIVtA7+sJmo9fjv4v0r7n1D5Sq4/BEAJpuUrjt8o0n/v x4ssOo4NmL8oIILKKRcsJmMc3LTM3pPrzRWhlJxNM72DvklhOnQfgUdFNZ14v7K1uiH1xLCbht/sE tLrN0K36g==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lRySI-009rDe-Oa; Thu, 01 Apr 2021 14:37:55 +0000 Received: from mx2.suse.de ([195.135.220.15]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lRySF-009rDI-UH for linux-arm-kernel@lists.infradead.org; Thu, 01 Apr 2021 14:37:53 +0000 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1617287871; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=KUzII4YvGLqilZiM11SRwbCxM2ziLU4pNsp1rKZit3M=; b=IVs2lvNi1WuQDQ6JJSAOu52XX1BZhMEocezAZMyYx7CgaaU+qToeGnAPctRsC9di1Xq64n 4KE3AoMmPmsdoJoHuXtUIdsXPc+yPJ4wK9YDbqK2DM+Or3GxFHnjfilD0HhKy0AfoxIQwi hgf+CN1BV4AGbQRWBlnbumyw6Kp2pXw= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 11748B217; Thu, 1 Apr 2021 14:37:51 +0000 (UTC) Date: Thu, 1 Apr 2021 16:37:50 +0200 From: Petr Mladek To: John Ogness Cc: Sergey Senozhatsky , Sergey Senozhatsky , Steven Rostedt , Thomas Gleixner , linux-kernel@vger.kernel.org, Russell King , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Ingo Molnar , Marc Zyngier , Valentin Schneider , Andrew Morton , Mike Rapoport , Geert Uytterhoeven , Anshuman Khandual , Leonardo Bras , Peter Zijlstra , Andy Lutomirski , Will Deacon , Frederic Weisbecker , "Paul E. McKenney" , Masahiro Yamada , Nathan Chancellor , Alexei Starovoitov , Kees Cook , Nick Terrell , David Howells , Johannes Weiner , linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH printk v2 3/5] printk: remove NMI tracking Message-ID: References: <20210330153512.1182-1-john.ogness@linutronix.de> <20210330153512.1182-4-john.ogness@linutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210330153512.1182-4-john.ogness@linutronix.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210401_153752_139809_78315ED2 X-CRM114-Status: GOOD ( 11.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue 2021-03-30 17:35:10, John Ogness wrote: > All NMI contexts are handled the same as the safe context: store the > message and defer printing. There is no need to have special NMI > context tracking for this. Using in_nmi() is enough. > > Signed-off-by: John Ogness This is another great win! Reviewed-by: Petr Mladek Best Regards, Petr _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel