Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp5566153rdb; Sun, 17 Sep 2023 02:27:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHwLVTbHTx/WJ36FuZtjVIDauVI6s79XdgPkZdRuI3fCsuq3UuV/JaEn34Fj4R/phHMmsNd X-Received: by 2002:a05:6358:52c5:b0:13a:a85b:ce00 with SMTP id z5-20020a05635852c500b0013aa85bce00mr7573269rwz.31.1694942828512; Sun, 17 Sep 2023 02:27:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694942828; cv=none; d=google.com; s=arc-20160816; b=oHYO5n4HwWBgRTN2mH+GcRXNnZEKjjwU+u9n1WfuwecLDkbSzoN56I0psGM/l6ZUGy rtE/CQN4SHNCKIrt5GLCJ+cCegICAczUyG08XomCleDNKxmMTHR5zSs/UgzACPcDwiDW +PNijx7kwIlFhZrxUQrx7T6MpUE7qXJr+C9mCkpJqFYiG9eBYbtUn4jGp4MzKWnf38mp YUVE55uQyMapV51EQG8ICPjVs95DWzQLuORUOQz9DwitCtKU0oG1bVep6JReZvD3N8G3 Lp9+gnhaZWT6FAR4h8rV4Fd3A5iRVqlrYx/OQGvN2ZrxLpSs2GHen9R0seIojy9qGmB/ /Iuw== 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 :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :dkim-signature:from; bh=/zPwTVnbIqykq0xrJwLN9r6avPOKHnWBnlaBD7Ntd/o=; fh=jd4yTwyPPiOK8cFaOkbOdicPt9TvD9h5gvMpIYKtNSg=; b=RG767GEd4rEvDnaosSHaagMnyzYTKhjpU2mTPJVcyuDvrB/jNYWMsHlBKnSBbbaghq tayPy3gWyvYIyxYpJtn8Lup9ZXjFzg9YIbBm37uLjJeTFcSKl0hu5lcnuQdzCmx0Wg5y EC2hyMUDSIx3dqev0jYWEMOOyoyJjC+8zobZMgfJvtjKj1+0HYFVYxmCQu4fQocmmk9w f2cVBqsB1ksH8LsGVMdNDM4m6Xyj8UkozfF/SKkd46epiKYaQWrDsRFBzSFMeU/iak7A HbHTDF+llW6HN/DxsAx7NqCShVw0McyZKwrb2+DqSSNi0xGhounfeDwmUk84BdQYYDgA Gy4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=CUQAEeiO; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id q22-20020a056a00151600b0068fba0fa267si6451497pfu.369.2023.09.17.02.27.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Sep 2023 02:27:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=CUQAEeiO; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id D9D908068859; Sat, 16 Sep 2023 12:46:32 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232562AbjIPTmp (ORCPT + 99 others); Sat, 16 Sep 2023 15:42:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232530AbjIPTma (ORCPT ); Sat, 16 Sep 2023 15:42:30 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD929CDE; Sat, 16 Sep 2023 12:42:25 -0700 (PDT) From: John Ogness DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1694893343; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/zPwTVnbIqykq0xrJwLN9r6avPOKHnWBnlaBD7Ntd/o=; b=CUQAEeiOCW0UB0mZHKKbATmxrT7v104AXTk8BgIS3LnhJdkwcK31VIKNUWTyr5NJ5FDSAZ 1rUmkomzu0i8ra8Pr7MuVj6uXx2bx2AvsuHAsgoTtNXk1SlphGsF2Tko1c6bGtCosz+5D3 3LvB5+XWrTyiZslCvN25C026vuzPMwe37ifQkKb5hvuaQ1IXWgjVHVi1QG1ERhp6yVLoCG KEjXv3lRy4sKTNf9zIytvVhfEZiamkJbj8QmGaOgd3j5PMU/plPNL9TqQlN3PM7t/8qtdr r8HTYvNQEPG5ZOF1NNpsGWfBpFE4WC9xOJQFYPlGWWvKaI1nzHahesMl0GR2sw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1694893343; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/zPwTVnbIqykq0xrJwLN9r6avPOKHnWBnlaBD7Ntd/o=; b=/s+j74ZDjoLeO5pQcnU/VyXRmqc0m+3/h/bRCXztbsATbbfdFH/5imwYhMMMSk+geHP+hf BWo+CyCuYQ4k1qBQ== To: Ilpo =?utf-8?Q?J=C3=A4rvinen?= Cc: Greg Kroah-Hartman , Jiri Slaby , linux-serial , Petr Mladek , Thomas Gleixner , LKML , Tobias Klauser , Thierry Reding , Joel Stanley , Andrew Jeffery , linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, Al Cooper , Broadcom internal kernel review list , Tony Lindgren , Andy Shevchenko , Ilpo =?utf-8?Q?J=C3=A4rvinen?= , Florian Fainelli , Andrew Davis , Matthew Howell , Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= , Johan Hovold , Matthias Brugger , AngeloGioacchino Del Regno , Chen-Yu Tsai , linux-mediatek@lists.infradead.org, Lukas Wunner , Matthias Schiffer , Arnd Bergmann , Kumaravel Thiagarajan , Tharun Kumar P , Russell King , "Maciej W. Rozycki" , Hongyu Xie , Jiamei Xie , Rob Herring , delisun , Lino Sanfilippo , Yangtao Li , Vineet Gupta , linux-snps-arc@lists.infradead.org, Richard Genoud , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Arend van Spriel , Christophe Leroy , Baruch Siach , Sherry Sun , Shenwei Wang , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Sergey Organov , Tom Rix , Marek Vasut , Karol Gugala , Mateusz Holenko , Gabriel Somlo , Vladimir Zapolskiy , Jacky Huang , Shan-Chun Hung , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Dmitry Rokosov , Lucas Tanure , linux-amlogic@lists.infradead.org, Taichi Sugaya , Takao Orito , Liviu Dudau , Sudeep Holla , Lorenzo Pieralisi , Andy Gross , Bjorn Andersson , Konrad Dybcio , linux-arm-msm@vger.kernel.org, Pali =?utf-8?Q?Roh=C3=A1r?= , Andrew Morton , Andreas =?utf-8?Q?F=C3=A4rber?= , Manivannan Sadhasivam , linux-actions@lists.infradead.org, Xiongfeng Wang , Yuan Can , Michael Ellerman , Nicholas Piggin , linuxppc-dev@lists.ozlabs.org, linux-unisoc@lists.infradead.org, Kevin Cernekee , Krzysztof Kozlowski , Alim Akhtar , linux-samsung-soc@vger.kernel.org, Lukas Bulwahn , Lech Perczak , Hugo Villeneuve , Andy Shevchenko , Isaac True , Laxman Dewangan , Thierry Reding , Jonathan Hunter , linux-tegra@vger.kernel.org, Biju Das , Geert Uytterhoeven , Palmer Dabbelt , Paul Walmsley , Nick Hu , Ruan Jinjie , Samuel Holland , linux-riscv@lists.infradead.org, Orson Zhai , Baolin Wang , Chunyan Zhang , Patrice Chotard , Maxime Coquelin , Alexandre Torgue , Valentin Caron , Sebastian Andrzej Siewior , linux-stm32@st-md-mailman.stormreply.com, "David S. Miller" , sparclinux@vger.kernel.org, Hammer Hsieh , Peter Korsgaard , Timur Tabi , Mukesh Ojha , Jonathan =?utf-8?Q?Neusch=C3=A4fer?= , Michal Simek Subject: Re: [PATCH tty v1 00/74] serial: wrappers for uart port lock In-Reply-To: <1446dc6-5ab0-629-45c8-3b7d8c76367d@linux.intel.com> References: <20230914183831.587273-1-john.ogness@linutronix.de> <1446dc6-5ab0-629-45c8-3b7d8c76367d@linux.intel.com> Date: Sat, 16 Sep 2023 21:48:14 +0206 Message-ID: <878r95nbvt.fsf@jogness.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,INVALID_DATE_TZ_ABSURD, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sat, 16 Sep 2023 12:46:33 -0700 (PDT) On 2023-09-15, Ilpo J=C3=A4rvinen wrote: > Would this also be useful to enable printing to console while under > port's lock (by postponing the output until the lock is released)? > > E.g., 8250_dw.c has had this commented out since the dawn on time: > /* > * FIXME: this deadlocks if port->lock is already held > * dev_err(p->dev, "Couldn't set LCR to %d\n", value); > */ Yes, this will fix such issues. However, only for consoles that are converted to the new NBCON console type. Good news, the 8250 driver will be the flagship driver that is converted as part of the rework. So this particular issue will be solved then. I will try to remember this so that I can remove the FIXME in the series. Thanks for mentioning it. John