From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8ADF3C67861 for ; Fri, 5 Apr 2024 17:22:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:References :In-Reply-To:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=oImpqYhgAs2KHF5Ov1W4W4Y33k1lG9IOFijGwZypdKc=; b=1y9QFK9nHYbUBI 7wyqqyvxpV4ZJ+WvRqt0mfIl1pcmSlew9cEJGGeB71s+d7hpA/IFRF3rKPCicj6O8gseFgQEQDFZh RLBAVgGFmAMzTDXUfVlnicdB5IsbmAMOTDQz1Q0anb+2vrYiOqw9EUkJPPFZRwVEigsRlp1jl2XEW 0mwGcnIJrwbD+suJKRibHFm6CTN9OZhJsvFAFINd6x1vo/4TXvnHz8uGfAMjOthe7MxS1Xc+mvLs0 Bmr7IeiXWzA21jdmF0ZX4STi4ianUcwAc3TjUHn2FJdpKbqWAOTEiCkf5hYx93/6nnZ/GJYZmOCal ot3jAa2USa2J7mFEgkgQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsnGw-00000008DH2-1DKa; Fri, 05 Apr 2024 17:22:38 +0000 Received: from www530.your-server.de ([188.40.30.78]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsnGt-00000008DGC-1EUS for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 17:22:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=geanix.com; s=default2211; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID; bh=z5kw8S1d0O+kbtMV3WpOV18jW8JeNQUYGvp6yd2nOjE=; b=r7ruMBWK2t4byQ/tWq+mVPyoR3 DUadbdRQCqVVj02I++Pispo9rh03jOwYaZmSz5rpKgnkQp++P2EvgchTKPOVazI02mnplXXlN0q62 fQgWpbiKKFccVCs/YA3/cVOpfF+QwA6mvkfB8fmZYNxpn5lMUQFeI1QPq9kgNgzQBNdcgJhN6kz9U KRedOntEW1LC2o10ieVX85YCmiCLnPAvEaYo17nXB5QQIqIrMI4rDyY+/T5GE/3o37F/r9jr1s6Wa 1txLZ8T76Io0+sZnB8OK6hqyiZs0OqW14b0HBSWsyC8Xmskv2yYrvncCzp04mgCASN1h0FOMgrpFG nbA4AjNg==; Received: from sslproxy03.your-server.de ([88.198.220.132]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rsnGo-000JAo-QN; Fri, 05 Apr 2024 19:22:30 +0200 Received: from [185.17.218.86] (helo=localhost) by sslproxy03.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rsnGo-000CO6-0S; Fri, 05 Apr 2024 19:22:30 +0200 From: Esben Haabendal To: Marc Kleine-Budde Cc: Greg Kroah-Hartman , Jiri Slaby , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 1/2] serial: imx: Introduce timeout when waiting on transmitter empty In-Reply-To: <20240405-impurity-emerald-f67dc37adf9b-mkl@pengutronix.de> (Marc Kleine-Budde's message of "Fri, 5 Apr 2024 11:49:50 +0200") References: <76cf9ce9cbf9dcdf78bc00ce7a919db1776ebce1.1712309058.git.esben@geanix.com> <20240405-impurity-emerald-f67dc37adf9b-mkl@pengutronix.de> Date: Fri, 05 Apr 2024 19:22:29 +0200 Message-ID: <874jcf67xm.fsf@geanix.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 X-Authenticated-Sender: esben@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.10/27236/Fri Apr 5 10:26:04 2024) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_102235_757603_71A6D4A2 X-CRM114-Status: GOOD ( 13.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Marc Kleine-Budde writes: > On 05.04.2024 11:25:13, Esben Haabendal wrote: >> By waiting at most 1 second for USR2_TXDC to be set, we avoid a potentital >> deadlock. >> >> In case of the timeout, there is not much we can do, so we simply ignore >> the transmitter state and optimistically try to continue. >> >> Signed-off-by: Esben Haabendal >> Acked-by: Marc Kleine-Budde > > Where's the cover letter and patch 2/2? Have a look at b4 [1], it's a > great tool to help you with sending git patch series. It is left out on purpose. This patch is a stand-alone patch as it is. The other part of the series you are talking about is not going to mainline for now. It needs still quite some work, and will only go in after all the other printk stuff. I hope we can merge this patch as it to mainline now, instead of piling up more than necessary in the rt tree. /Esben _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel