Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp1031173rdg; Fri, 11 Aug 2023 07:42:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFqKIV7mjQc2YptR89hWihJlQBn5Oje7NHcFFZypiCjHaLuEKM3wKRvysC29woLv74ffpth X-Received: by 2002:a17:906:291:b0:99b:efd3:3dcc with SMTP id 17-20020a170906029100b0099befd33dccmr2021474ejf.62.1691764937972; Fri, 11 Aug 2023 07:42:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691764937; cv=none; d=google.com; s=arc-20160816; b=eVcfkZKrpa+k7pLT9Ll1eB5s3KV8KAjz+CYUvY7rKYNt9xHbnlapsOmnKqyRzwEt+Z wosP+WUEzkFCKd7KFO265DoGtVAHVyd/10D6DtiTOLFa5AydwNV7pS3nXk4JmjMiAlcH yWst1dz2T6fvtSgRF+cQYYOHCvBQDVP8JR7FMiBhIAB7x93sNmwsEK6g6Cnu0/ygg/O5 6lbF2f7OtHRlys107k5pmwaOxT42KUgS35mRJXH5ZrdFkMN288faNEsUEOBAhos+opef QaP3W8i/XQsaqc4lKb2Sga3czikKSkOqfUlaJHW902GNiaWzKIlKhHSz2B1vl2ewbG7q eGeA== 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=CIn4C/snRwmsrZzRBrMmnOMriB49c4u4rK0tB8B/js4=; fh=ls8ltNtDhnoM3BvuddfC4PilBKET911nME6qbqrUGBk=; b=kzkgN9GKr+Z75V2XknEWrL15l/HcC+ReEllJHUgDMWMUMUg2G5y8RIWp/fVG/RAtol qpwADESC1nFYWeNE5cncR+QsEv5dFmX4fk/rd3Zrl0wKYktZaXNh80eoJck3uxegPIC9 Dbwpk46kdZSiyEoSvvW5cKR9RoZateryakWihBsj393XgaRDilLNlIxKPZ9QEwUoqOSu FfnBUxB1WN1nNY69EKimeAOYbRvIxGYG30AO04+iIIW2pf74tezLq48Nfvbm4vi+jZWq YRpXyue879Cx3zlihn6IizlcGptTSdmCFqZZClzw5heG6HYcv9WO0ItdPBSirGvBalKV Cp7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=mHTvaOiO; 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 g6-20020a1709061c8600b0099ca4f61a8dsi3510105ejh.680.2023.08.11.07.41.52; Fri, 11 Aug 2023 07:42:17 -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; dkim=pass header.i=@suse.com header.s=susede1 header.b=mHTvaOiO; 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 S234857AbjHKN47 (ORCPT + 99 others); Fri, 11 Aug 2023 09:56:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235707AbjHKN4x (ORCPT ); Fri, 11 Aug 2023 09:56:53 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DFD11994 for ; Fri, 11 Aug 2023 06:56:52 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 519FD21868; Fri, 11 Aug 2023 13:56:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1691762211; 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=CIn4C/snRwmsrZzRBrMmnOMriB49c4u4rK0tB8B/js4=; b=mHTvaOiOD157XYAc+TmvHXwBeZAbq+BtvHvjS4t5hMZwPgmPdQViRHiWtW4h0Q0y/Th0nO RLuQo7lpkhEUtR8o4ygXLXPw6kjQdr+UncE3grsmFgY98Ezk6rdw4+G6Xa9gguuqb6bWKV GwuPODSv474PoqDNEOwfQhP4aROMFAY= Received: from suse.cz (unknown [10.100.201.202]) (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 14A662C142; Fri, 11 Aug 2023 13:56:51 +0000 (UTC) Date: Fri, 11 Aug 2023 15:56:50 +0200 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 v2 0/8] wire up nbcon consoles Message-ID: References: <20230728000233.50887-1-john.ogness@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230728000233.50887-1-john.ogness@linutronix.de> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 Fri 2023-07-28 02:08:25, John Ogness wrote: > Hi, > > This is v2 of a series to introduce the new non-BKL (nbcon) > consoles. This series is only a subset of the original > v1 [0]. In particular, this series represents patches 5-10 of > the v1 series. For information about the motivation of the > atomic consoles, please read the cover letter of v1. > > This series focuses on wiring up the printk subsystem to > be able to use the nbcon consoles and implement their ownership > interfaces and rules. This series does _not_ include threaded > printing, atomic printing regions, or nbcon drivers. Those > features will be added in separate follow-up series. > > > include/linux/console.h | 132 +++++ > kernel/printk/Makefile | 2 +- > kernel/printk/internal.h | 29 ++ > kernel/printk/printk.c | 156 ++++-- > kernel/printk/printk_nbcon.c | 955 +++++++++++++++++++++++++++++++++++ Nit: Is there still any chance to rename this to kernel/printk/nbcon.c ? I am sorry that I did not suggested this earlier. I think that we should have omitted the "printk_" prefix even for the "ringbuffer.*" files. I think that it came from "printk_safe.c". But it made some sense. "printk_safe_*" was also an API. But in general, "printk_" prefix is superfluous in "printk" directory. Best Regards, Petr