Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3538415imw; Mon, 11 Jul 2022 10:29:06 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vZO9zKbrLVk8ndhf+SfUCw7Jtbm4AM1/m4Mb94oYt6NwFTOoHeoWw+G6wpSqdj8Sk5poWb X-Received: by 2002:a05:6402:5cb:b0:434:eb48:754f with SMTP id n11-20020a05640205cb00b00434eb48754fmr26602773edx.421.1657560546168; Mon, 11 Jul 2022 10:29:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657560546; cv=none; d=google.com; s=arc-20160816; b=YtsIiDp9n7oyGhlCKo4SJz7j5fK5Rz5m70g6FnUYev7gEL+gSLlbYY7tPuU6Dyf7Ae seSZCTe85aXIa1HLsatzvi1xQ+/8ki26iWhDzMn7Jjd4oYQt6Rb96LJXVcWVJ/hBqcwF us6JauxeQb6cEQvpuLnQ0WsSb0TCftPtTUhCjoQt58w+TF/1h1O2B9qTlcl2+iQowGiW WA5yZ1fUkRmQUVv79/WeTWjA07u819RUm+styWAK5ixbGNuqaihGHOgQU1ZOj3T77mfX irmMTwB2QQUE1AKzdS0BTrcQAPnsCbbXZkvA5zEdyErp07YMiPdsCyMfe4G0Rf2aDCCH gvcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=wpRE0QbEIYKAoXMFu/bw7m0RFIq9ylWCbGi8JqpyL2I=; b=tvZpsZU0yeACJs19akmv6eRryFXHvwYmiqxiC3dI3yLiB+eoNpNWHFAnYBAIY5QOtS gLtunSlW0dI7jcFVuIGFTdaUHVqgZsbQa6UKBaobE2MPK/Mq8d2qSRs7zQWjcywrqXYh znogPjdGqSPUWeGYJy4ewamyYBoIgjN4bfG9Qctd2OrPk492RQfMVcuUTDtUTVNjIsY2 EypmeXuZl+Lgl2jRALFX1IrRxSmk65dFPrM2Bf98Aq5/sDjM8FVAtDUt5FuYZDLnDTjv V+h2n36NdeWW0UeFOzpmtwX69XSFlf2cKq77wl0U5JNsMpmX1U3c/tnOWlN77acC/DqM Q94A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d11-20020a170906040b00b00726efe5b919si9100183eja.806.2022.07.11.10.28.40; Mon, 11 Jul 2022 10:29:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229986AbiGKQhe (ORCPT + 99 others); Mon, 11 Jul 2022 12:37:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229542AbiGKQhd (ORCPT ); Mon, 11 Jul 2022 12:37:33 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7FAFA2CCA3; Mon, 11 Jul 2022 09:37:32 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0639761278; Mon, 11 Jul 2022 16:37:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 676A6C34115; Mon, 11 Jul 2022 16:37:30 +0000 (UTC) Date: Mon, 11 Jul 2022 12:37:28 -0400 From: Steven Rostedt To: John Ogness Cc: Schspa Shi , pmladek@suse.com, sergey.senozhatsky@gmail.com, linux-rt-users@vger.kernel.org, linux-kernel@vger.kernel.org, bigeasy@linutronix.de, tglx@linutronix.de, "Luis Claudio R. Goncalves" Subject: Re: [PATCH 5.10-rt] printk: fix suppressed message print when reboot/panic Message-ID: <20220711123728.79bc0f93@gandalf.local.home> In-Reply-To: <20220711123128.1278e203@gandalf.local.home> References: <20220321053815.71316-1-schspa@gmail.com> <87a6dj3b5c.fsf@jogness.linutronix.de> <20220711123128.1278e203@gandalf.local.home> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I guess the lclaudio@uudg.org is no longer valid. I need to update my address book :-/ On Mon, 11 Jul 2022 12:31:28 -0400 Steven Rostedt wrote: > Luis, > > Care to add this patch into the 5.10-rt stable? > > Thanks, > > -- Steve > > On Mon, 21 Mar 2022 10:36:55 +0106 > John Ogness wrote: > > > On 2022-03-21, Schspa Shi wrote: > > > Update printk_seq for suppressed message. > > > > > > Affects 5.9-rt and 5.10-rt > > > > > > When message is suppressed, printk_seq should be updated, otherwise > > > this message will be printed when reboot. This problem was introduced > > > in commit 3edc0c85d154 ("printk: Rebase on top of new ring buffer"). > > > > > > Signed-off-by: Schspa Shi > > > > Reviewed-by: John Ogness > > > > Nice catch. Thanks. > > > > 5.15-rt also has this issue, although the fix is slightly different. For > > 5.15-rt, writing to con->printk_seq (via latched_seq_write()) requires > > the console locked. Would you like to post a patch for 5.15-rt as well, > > or would you like me to do it? > > > > 5.16 and beyond does not have this issue. > > > > John Ogness >