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 7FC44CD128A for ; Thu, 11 Apr 2024 12:07:14 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=HZEyGPxPk4RZX38S280R8VFWFgA7rcvhn8uCX4ntOlU=; b=32C69owwmdV9vu uFJR9Yp0hI92gywRATOMUuuLP+7He6N9cVrTCmzjR0WkT/ii+JQyKoEf527r/0Vn/KCRcp3rYvvUV +Vr4VtA6CaVgWju4G4bUHEcBOlfiItEDlS8z3em+Rx791+OfgdT52d0Tc6ZlKFDAe8g2vX8uRAgeW dkqLTsl19JIuL3AwvubL7f0jRkKgp+qu43gVFN3+gp0q3cMAwPSsSSBBLvc81vM+o4BxRNmaPiVV8 f/bHMaapP5QJSGPzBBQ6uXyLGygvR+5+Bi4J2doKLW9NkhPTDupUqm5S+WGKbH15QcBlaoS6akdB0 7xR460j+dGtfmng/uR7g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rutCk-0000000BsAm-25ps; Thu, 11 Apr 2024 12:06:58 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rutCh-0000000BsA7-2AbD for linux-arm-kernel@lists.infradead.org; Thu, 11 Apr 2024 12:06:56 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id A6536CE1DAC; Thu, 11 Apr 2024 12:06:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 56B66C433F1; Thu, 11 Apr 2024 12:06:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712837212; bh=jFxW61R4XvNpf6y0HK808cnVABYyTYDvgVwNDWHbSes=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ePtHMzYfrvBhjxvYsuscTYaPtgAjEVuz2SwBegGLm75FJFOmRvQdd7gne8yFXzmRN ql68WT5o937J2cMlVxV7kmJQA42Gx9zZ2Da4egqAzuaO6rSnrvhko5IbT6wZez5/++ SS7tVSigdOYeQew6JyRxf5rEvrohzMuhwcEGyzR8= Date: Thu, 11 Apr 2024 14:06:50 +0200 From: Greg Kroah-Hartman To: Esben Haabendal Cc: Marc Kleine-Budde , Sergey Organov , 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 v2] serial: imx: Introduce timeout when waiting on transmitter empty Message-ID: <2024041122-transfer-diffuser-781a@gregkh> References: <76cf9ce9cbf9dcdf78bc00ce7a919db1776ebce1.1712309058.git.esben@geanix.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240411_050655_760417_2BEB3FC7 X-CRM114-Status: GOOD ( 12.35 ) 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 On Wed, Apr 10, 2024 at 09:18:32AM +0200, Esben Haabendal wrote: > By waiting at most 1 second for USR2_TXDC to be set, we avoid a potential > 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. > > v2: > - Fixed commit message typo > - Remove reference to patch series it originated from. This is a > stand-alone patch The "v2:" stuff needs to go below the --- line, so it doesn't show up in the kernel changelog. The kernel documentation should describe this, right? Please fix up and send a v3. thanks, greg k-h _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel