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 29D12CD128A for ; Mon, 8 Apr 2024 08:57:35 +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=LVTMHVHZgW21+NqtlNG/zHhCfKi0PLzKTavX0eNdAZ8=; b=kyMmaKH5TosxXM 6hoUdlU2IoiKiuPt/4X1qHXZzyk4XHP7QKxyF0vjsDT6M3Wj4sIceveVLGR6l74tjH9sqC/tOgC4U 7dkFVqWOqZ4wi22hDPLJZ6/P7KinW+woCRRPm4pPepB0OVFYL903tc6dJ5mEsD2AzUIqdk88ewG9j WNDEOwuZJWgmuc6edJKUi8YZn5UQbiuIXOFzZjRfpqRX5Jlts3aO/SexdIzPn8Z18pqsw2fB/xZ/4 IsVrFhSbkfViZL+wZJQ+9btkx+Xtfj6lXOqepfPzOymUO1Q9na6y+Wel5Z6IfGInwNYC9vA8vlppc CMKHrLqAxgU/WK3OpWRQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rtkof-0000000EzYO-1HJ3; Mon, 08 Apr 2024 08:57:25 +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 1rtkoc-0000000EzXx-3Urz for linux-arm-kernel@lists.infradead.org; Mon, 08 Apr 2024 08:57:24 +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=8DlgyS2RFXSZ+8hHtM+5mTRKoe9iS0/P7ZZC+brmRb0=; b=EfCgZy5Xp4rB7Au+0+X/V2/3oh UFx+5H8hHnSzQk5OBFc9V/xl6frSjzSbaMGYNmbbN+I+/u6VtKDl9jEcgDaBCVZPXVaUHImlmnhxf ff5bWNVw2gWty5tdonPd47Q9lu+zKN2ypUf78CVkC4dirV7AdO3G0GMOG4ypOMAubuX6hn1VU6v94 w1V7uqb/tqS71n2733Jt0AvbnOrt2N543HVvFOZb/by2VckDhUVnIYZnl6fEzAHdacEK214PQpVOr JtPESUbECJXxSw8d2w/saWeUY5r1Og7XFnlFbKMUC/f6nE/8EGLfUmlH8t7KW+mwHaLIRlPgdCPRx VrpMFeuA==; Received: from sslproxy06.your-server.de ([78.46.172.3]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rtkob-0007Yw-6j; Mon, 08 Apr 2024 10:57:21 +0200 Received: from [185.17.218.86] (helo=localhost) by sslproxy06.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rtkoa-000MKe-Fg; Mon, 08 Apr 2024 10:57:20 +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-amused-cascade-0801f31c674a-mkl@pengutronix.de> (Marc Kleine-Budde's message of "Fri, 5 Apr 2024 19:33:50 +0200") References: <76cf9ce9cbf9dcdf78bc00ce7a919db1776ebce1.1712309058.git.esben@geanix.com> <20240405-impurity-emerald-f67dc37adf9b-mkl@pengutronix.de> <874jcf67xm.fsf@geanix.com> <20240405-amused-cascade-0801f31c674a-mkl@pengutronix.de> Date: Mon, 08 Apr 2024 10:57:20 +0200 Message-ID: <87plv0kz9r.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/27239/Mon Apr 8 10:26:06 2024) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240408_015722_970145_CFD83CE2 X-CRM114-Status: GOOD ( 16.34 ) 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 19:22:29, Esben Haabendal wrote: >> 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. > > Ok, then send it as patch 1/1. Sure. Sorry about that. /Esben _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel