Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp489978lqh; Sat, 4 May 2024 09:03:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUI79mg6yKEB2MFkC1O4E2X6KncZG2VvlX4cCYzHEjB+XDHwklhfwPJAyEwcKrgcXcI9IW40IRhpqFkYZxwtOBjSQK3M5ut+jF2RQjorA== X-Google-Smtp-Source: AGHT+IG4qyZW9sGR5Ie+ROphdNqXJLw60SgFKS0QaOIWI27fQdu7ytqqg5MMj1MLLBmGH62IM/b+ X-Received: by 2002:a2e:6a01:0:b0:2dd:66ea:5fbd with SMTP id f1-20020a2e6a01000000b002dd66ea5fbdmr4541445ljc.44.1714838603761; Sat, 04 May 2024 09:03:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714838603; cv=pass; d=google.com; s=arc-20160816; b=xk5QqZFngZeDrRUQe9/CwQEIV1JF8q7Mc0mFTdkyCu1BKZ3B4X6VP5+ghBho9tGXzH O0eHX9e16mRO8OzkssfkOM6ZzLVBSxC0tuiWJEuwdslmmsnzjpM6MBajH4bCiymcvzm6 7WIxAE2OV9O3h/loEzR+g2/UQsOn1K5KI/q7lx0xeCdoEcNo/h0qh/AQEqebMDEWYll6 ixySO/y+lBn7Ut0kgxzJBYC9sN0m9WMbQOwBy6ehJsQ578AP6p+ROx2j/864cs68R4e0 46tDc/qAja05t5U8lFmZP7znnZ4a6meFmpSoBHsE4RO/GEGBUorBvdXLH1Wuf9SpTlwV y4MA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=GJMQW6q2ySaXcvsMw4wqoxkp6pDnkqkM3Nx1BgnFyKk=; fh=peYqFOo5246xASj60+F4BDKOatC6lUIbVRazBNkzFvc=; b=sgJwmgWeDyBvL4JLE4ZpkZW8MiV/TQUpX2pEeaGEot4+hYu2xPcck5m5ikWRK3zXCE N4pHaNvYoXJFhwBYVPemsFw1GzVE2Yd0AA7pxd6cNrBdmGw+ykgHZ9qt5Mt0yKvrSZmd ZMRxqUEyoAf/XtWticGpA9aMlwnHkLY68JDDgIJEgeW43Z3wJhnLQBdfK4xepvkxk0xa Si5eBeaoBc5XEyYccLcNRk0MQfWd9Yva2WVAe4zAAyZ6hr8l0Fy/IJNcYfJZh/asZ3Cv GI/zDMQkcMVK+E2oxFB5awEdPNePV3yl6ZPwmNtHzRUk++nqJyDncCBKfP2DtwjX/4Bp agWA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Do6M31KX; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-168740-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168740-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id g22-20020aa7c596000000b005729d8d8843si2755716edq.254.2024.05.04.09.03.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 May 2024 09:03:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168740-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Do6M31KX; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-168740-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168740-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 6FB0F1F21987 for ; Sat, 4 May 2024 16:03:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 24A2D502B3; Sat, 4 May 2024 16:03:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Do6M31KX" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 49453225D0; Sat, 4 May 2024 16:03:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714838596; cv=none; b=UDOz/5SheN7Dr+XMdy2Ib7YWlll3t2yvogDmHzSg8THg+c3uD+sP7dICWupOLP3V/Taexm6+fhiAjRaJ/D6kve5LyGPC7o507WG46NzRKZ08bkhynqTso8a0UpAWSL3TjVZhK0ymx95pFbrgwmzp3ft3Isa/Oa9bA01LQKMBytA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714838596; c=relaxed/simple; bh=qQWj9cQTIT/uL819c+QTV1lqwO4CytNsjLuIpXZMtDI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=loC2uBQ/TlNE8bnozS1BgMD0RdI9FpZG3lxBYkcHQX1d2MpKOoNY/z1QUvMMJU4MP4PjMS3mMF5u+GTGY3B0q1tQvoxME5ctERW/AhQwTSDJ3AyBflKKRKWtYmxEF38JW/ZzJsZS7zwtzUZ7WLufuNN+gSnGsAVNYB2JQ7sfOek= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Do6M31KX; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9785FC072AA; Sat, 4 May 2024 16:03:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1714838596; bh=qQWj9cQTIT/uL819c+QTV1lqwO4CytNsjLuIpXZMtDI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Do6M31KXhTQ74JldmKCrmwhafuBv+BHvOjoedUEKv3WO/WlRtb0EZE26MXo2SYtws wDFTIc/W2+ok0gJBT1cA2TAqalVbTceIdHs4PCGcus33wdVbjRixrnjp+QN03DfMac N06v5LH1asuJie237NfQ1vcUMcb3yXmoYIi9MB08= Date: Sat, 4 May 2024 18:03:12 +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 v3] serial: imx: Introduce timeout when waiting on transmitter empty Message-ID: <2024050451-gangly-gloomily-e4eb@gregkh> References: <919647898c337a46604edcabaf13d42d80c0915d.1712837613.git.esben@geanix.com> <87sez060el.fsf@geanix.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87sez060el.fsf@geanix.com> On Thu, May 02, 2024 at 11:14:26AM +0200, Esben Haabendal wrote: > Esben Haabendal writes: > > > 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. > > > > Signed-off-by: Esben Haabendal > > Acked-by: Marc Kleine-Budde > > --- > > > > v2: > > - Fixed commit message typo > > - Remove reference to patch series it originated from. This is a > > stand-alone patch > > > > v3: > > - Moved this version information into the correct patch section > > Anything more needed in order to get this merged? Sorry, but I don't see this in my review queue anymore. If this isn't already accepted, please resend it, sorry about that. greg k-h