Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp2228044rwl; Fri, 6 Jan 2023 03:45:17 -0800 (PST) X-Google-Smtp-Source: AMrXdXtKAuuuToitH+s8n8K9+kMHroYvWDQaHbCJ0hxzN7+9K1th4Wtb6bFvEHIGdn4NRJE1ge0I X-Received: by 2002:a17:906:3f97:b0:83f:41a2:a68b with SMTP id b23-20020a1709063f9700b0083f41a2a68bmr46443929ejj.30.1673005517321; Fri, 06 Jan 2023 03:45:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673005517; cv=none; d=google.com; s=arc-20160816; b=YhI7B2uHiCw2CH0opcGUm7ZefCrWwdO1jFKJQ4ToQbaOkANlHJW0gRW5Q+v99Wzklc h2Y6tKD+/+y9nNCwE5AU6GWR0B3781eYUog6ytXP9b1xE9RIYlPxAi4b3kI+5VhcXGqf CJN7Q4SQvh31QF8gYiF54zuuxIkIC0jMJ3Nre4+7rKdOvBPVtGk1nyAbI7GUpN/j8q+Y b2Kh8JR2tIn4XLaIBw07R7WG9Z66LPg96PCqECFoLRcSIR/rssRi5h87q1QeFw48wFxK LPMQymIc9MQtyWovRKCknBigfyLb+ddE4MMP6/1gvDWOBibOhVTPjDPQ+4rExAwXk6ME Mtgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=YiV5SWV15+9OzyG0Y8H/4VK8eyQ6JV6OIY3FhAWQtVI=; b=0rGyX4GYD1Y9PPMg1xvhkK+cCY2D4RqywmNIeacKbbYuDLNPHe59z+Jec6MSEH8ZD5 O8IyhBl2C8zIkc6lCqOaCSDwZuSvIBobvTtkvIs1T3OPIC/lXohvE88Gjhs4wMS5DGyl nh7bk3AHMwOJv+Cy9Pd5MWuQGaTOCOGkOh9v/87mojkfnal1uwT0zl+pfPj2K4cdvgVi JyRMLGokHQ9lc2mSmi1/fAayY93iiK9xtLQQ0p4TQENgSwJhah0Z/G0LquN3KaEJhP5m dbFwz8TlK0Ja2XbvPAQnuVQfGJI6PAZGBLy4G0WVs41KhJgBCB52b8LYimlD6gzQBJn9 97GA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=IrEkYmNP; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gb12-20020a170907960c00b0084c3ce2f3dbsi1389882ejc.633.2023.01.06.03.45.04; Fri, 06 Jan 2023 03:45:17 -0800 (PST) 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; dkim=pass header.i=@suse.com header.s=susede1 header.b=IrEkYmNP; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231436AbjAFLWF (ORCPT + 54 others); Fri, 6 Jan 2023 06:22:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229555AbjAFLWB (ORCPT ); Fri, 6 Jan 2023 06:22:01 -0500 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBA6B687B0 for ; Fri, 6 Jan 2023 03:22:00 -0800 (PST) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 6983B24ADE; Fri, 6 Jan 2023 11:21:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1673004119; 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=YiV5SWV15+9OzyG0Y8H/4VK8eyQ6JV6OIY3FhAWQtVI=; b=IrEkYmNPjsAXgbfuU+KwM1v3dEwdnOTABq3BJCz5jcA9EHzXuVVOQzreYeQh8OCtFkN3Vg JfaNsH9bpUEda0oJQRGAy2cuTPj2jff+jB0HcxbpLyMo8x7HstwG9nU84e32GkC3+atKni UnF49JvOMK8MIEfPHSkNn/wVRAbTXnM= Received: from suse.cz (unknown [10.100.208.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 493592C143; Fri, 6 Jan 2023 11:21:59 +0000 (UTC) Date: Fri, 6 Jan 2023 12:21:58 +0100 From: Petr Mladek To: John Ogness Cc: Sergey Senozhatsky , Steven Rostedt , Thomas Gleixner , linux-kernel@vger.kernel.org, Greg Kroah-Hartman Subject: Re: [PATCH printk v4 0/8] printk: cleanup buffer handling Message-ID: References: <20230105103735.880956-1-john.ogness@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230105103735.880956-1-john.ogness@linutronix.de> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS 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 On Thu 2023-01-05 11:43:27, John Ogness wrote: > Hi, > > This is v4 of a series to cleanup console buffer handling and > prepare for code sharing with the upcoming threaded/atomic > consoles. v3 is here [0]. > > The main purpose of the series is to introduce two new lockless > functions to handle reading and formatting of printk messages. These > functions can then be used from any context, which is important for > the upcoming threaded/atomic consoles. The series also helps to > cleanup some of the internal printk interfaces and cleanly separate > formatting code from outputting code. > > John Ogness (6): > printk: move size limit macros into internal.h > printk: introduce struct printk_buffers > printk: introduce printk_get_next_message() and printk_message > printk: introduce console_prepend_dropped() for dropped messages This patch would need a followup fix to prevent the compiler warning. > printk: use printk_buffers for devkmsg This one would need respin to fix the problem with suppressed messages. > printk: adjust string limit macros > > Thomas Gleixner (2): > console: Use BIT() macros for @flags values > console: Document struct console The rest looks ready for linux-next. I see three ways how to move forward: 1. Respin the entire patchset. 2. Respin only 7th patch + send the follow up fix seperately 3. Push first 6 patches and handle the rest separately. What would be more convenient for you, please? Honestly, I do not have any real preference. Best Regards, Petr