Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp930694rdf; Wed, 22 Nov 2023 00:16:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IHnJ4cZl9LMLWfBn4Yz1riBogBJr/8jWXAIAheYn2mZofYizgdCTJsff4cdMx0CobbKX5L+ X-Received: by 2002:a05:6808:638e:b0:3af:8ed3:d7a3 with SMTP id ec14-20020a056808638e00b003af8ed3d7a3mr1718913oib.54.1700641006614; Wed, 22 Nov 2023 00:16:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700641006; cv=none; d=google.com; s=arc-20160816; b=ZVd7qwKuWpQBk0h7DmNsJfSCfHh5a5nWcCxSu7KxIvJW9xIC1qIoL310Js2L2DcIOr mwKRPrOwnm4Qp/6MqINKVtWzdGWn7jXBJ3aol/CMEuglCkiszBmwbrSPMzswzDU15/Ux UzSX5bsmO57N13jwE5GahTim4GmA/M+RhlzYl8y4388UPB5JqV00QVqzP9dI3bgTTZd+ HBUOX+/a/XuHrF28Ant7bovIxFiy+ibnRAYAAgzxLRY1U3GFFE38p5jcDISujp7ZBsIZ gmAnoKPDOwQhRwkuma5uwtHUmVwQE/CKWTvGJac5w12j6ZGuJgDcur3++8O+PhuQ2TM3 c54w== 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=RhVFb62tg9jbGr7MF4swVKYDnlqUv4G9x/KqUbimevo=; fh=zXMHlSRyhZgSiSOYiHZv+WPFjyASzXDy5hFhdXImaMQ=; b=SsAWY02A0EFsC4TyFKhGHAj0OJm6sP7wWdNldGdI+BnXBqWZLx+brJVN3NYH9mU9xZ ChjOF7YVZidnpNkG7n5rR8wQsQjMMvTqH6nje3xZvEGr7moyEhfpJKxtFCmBFiNsMSW0 eGFjVtxfrR57fZgF30fE3XcukQNc392wXaNfhaCOzHqFsGWG6VNEEBH5ShT+hP3A0uDt 7IMmupc54WYSuNDlCd7CygpocqNZc0Q+x+ONGZ0WQP4oANyrko6LQEFIlE4TeYOH48vu xVX7mFo/JsPLiKczx2QzwXUx/XhiCavudgWsH5WPMzRoc1Vyj6I2OVgBIr2gqye7EqCf ILjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@atomide.com header.s=25mailst header.b=Ui2Yfvh7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id h6-20020a056a00170600b006c8d6276334si12609489pfc.140.2023.11.22.00.16.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 00:16:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=fail header.i=@atomide.com header.s=25mailst header.b=Ui2Yfvh7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id AB0598079DCC; Wed, 22 Nov 2023 00:16:43 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234757AbjKVIQg (ORCPT + 99 others); Wed, 22 Nov 2023 03:16:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231339AbjKVIQf (ORCPT ); Wed, 22 Nov 2023 03:16:35 -0500 Received: from mail5.25mail.st (mail5.25mail.st [74.50.62.9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1F5D1BB; Wed, 22 Nov 2023 00:16:29 -0800 (PST) Received: from localhost (91-158-86-216.elisa-laajakaista.fi [91.158.86.216]) by mail5.25mail.st (Postfix) with ESMTPSA id 7327760859; Wed, 22 Nov 2023 08:15:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=atomide.com; s=25mailst; t=1700640989; bh=iwEe8AChNtrIiZ7XKdpROYcuo5U7nwfBFHt7j6A3wdA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ui2Yfvh7LyuXcYTSk07DZ43XbcDuV7/Iqan6N4V5EXikxAZ4zYYzZBJtnZshDqu/x FYVLFo7fdIgEGlL8b/SxEvWGKW+HFnSbenPQhJXryaviKCLW9Xh+EdyHs/hHxMvTWk /pMiUO+4TmdVIN/0Qt7TtehHI0vwNOEtli1+zfTiHW5f/IDcKLoalZuJWNVOikUg94 YcyHJKLTt2a+pKjgKOYbH68caZ4qFT8AoGSuZxi3jbdrvK9nX+81KCmN/Pl2aU1yEx 4UAaGn6e0c9vwsjWCbmLw2gbSMjyzpijBR0RIrpxwk0da/mWnUbH8ZKIUP0bpW2bFE KamNaZBtG5lcQ== Date: Wed, 22 Nov 2023 10:15:54 +0200 From: Tony Lindgren To: Greg Kroah-Hartman , Jiri Slaby , Petr Mladek , Steven Rostedt , John Ogness , Sergey Senozhatsky Cc: "David S . Miller" , Andy Shevchenko , Dhruva Gole , Ilpo =?utf-8?B?SsOkcnZpbmVu?= , Johan Hovold , Sebastian Andrzej Siewior , Vignesh Raghavendra , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: Re: [PATCH v3 3/3] serial: core: Move console character device handling from printk Message-ID: <20231122081554.GG5169@atomide.com> References: <20231121113203.61341-1-tony@atomide.com> <20231121113203.61341-4-tony@atomide.com> <20231122070353.GF5169@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231122070353.GF5169@atomide.com> X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 22 Nov 2023 00:16:43 -0800 (PST) * Tony Lindgren [231122 09:04]: > * Tony Lindgren [700101 02:00]: > > - __add_preferred_console(buf, idx, options, brl_options, true); > > return 1; > > Looks like this can't be dropped yet. We need to keep it for the > brl_options. I'll change it to return early if brl_options is NULL. Looks like we can drop the parsing from printk :) In console_setup() we can call console_opt_save() after _braille_console_setup(), and then save also the brl_options for the port. Regards, Tony