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