Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp352832lqg; Thu, 11 Apr 2024 05:18:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVF0GtwApa+zpC2qmN50YUgprmwFmaxMGPkBF0h+6+3zuI9ub+dm3493x0udkOlcgNwSr1q7nsS87i+K5ir3B/B1SygeNcCc0dpsLfJwg== X-Google-Smtp-Source: AGHT+IFDTYdQD2s5yZ+U0zwWaCJUoYkuqJ4CeA/Btc3RbpW0W78M/Ufo3H0sUvHUw8MMwIiHglUr X-Received: by 2002:a17:906:f44:b0:a47:5182:3b83 with SMTP id h4-20020a1709060f4400b00a4751823b83mr2858042ejj.61.1712837918330; Thu, 11 Apr 2024 05:18:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712837918; cv=pass; d=google.com; s=arc-20160816; b=YaidbepPENUGpIPzFkqQkA8jt2Xw4lW4P+xWDaUMbPzprRopKJ4tTOtWEdyr1Ey9LL XL4ahbqfBz2SQiiFDlwf0C3ZesxF7tphh0oALbgSM+H+GmfDw1eAnyObrw3pnLKA2TVu EqWNeSeutJdxosJJ2ftGj+vS3sEaIAv712bT1KlUEP/r9lyfKdqmLOmDn6y6V6d8+y1K hKG6PB71WJ7ttFaSTFbCv9WVYdC61HZFYYKAeMtQ2Sxu7bmr0tCLErwFUFiWugoYcDvx ZMBkV7Pe5hdzcE0aOZEQGl1yvcizeRwH2uabv+Nw6jmhfJQhp1BuTeZypaENyW16dMZo kUQQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:message-id:date:references:in-reply-to:subject:cc:to :from:dkim-signature; bh=aHsQbmA+wnCbMY5ngUe0xXk3sGyXlVb12AhxDVR+FNs=; fh=/SFrgfQ2EwEayxxg552mb1xWQFbzwbvqcy2mReN0+JI=; b=h4fkqNM46CPWcHRyM/1D3ITZMBV9X00MLNSd8Ih7QxLqBSQMm+eWOQ88OywFRTzt9b b5n+B2VuLo7FoodarmLvQtDz3ab6BOTOHqZEJ+jtjgnQSfqcIbXxDP8k/4sqf8vqgT52 8sSidMkcV+OpoyLRCoImaS0EGNQEHGLe0TBNDYI7JFNhtLMYYZoZmXB54aA53YwExI26 c7dYS/37aIVhM7Lca18tMZBN6+QUEvHHGh/vSvaeVRBGy9oNzjQr9qKMsrZ+6oLDEndE rz3W3asWdfo3x36hjDalhVSdH+ewhV+wwHJODTYU3IMWhSmUxlF6TsbzzjKfiOVdNUb9 Epeg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=Iw7uPJ72; arc=pass (i=1 spf=pass spfdomain=geanix.com dkim=pass dkdomain=geanix.com dmarc=pass fromdomain=geanix.com); spf=pass (google.com: domain of linux-kernel+bounces-140424-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140424-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=geanix.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id c12-20020a170906154c00b00a51d7203458si727114ejd.778.2024.04.11.05.18.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 05:18:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-140424-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=@geanix.com header.s=default2211 header.b=Iw7uPJ72; arc=pass (i=1 spf=pass spfdomain=geanix.com dkim=pass dkdomain=geanix.com dmarc=pass fromdomain=geanix.com); spf=pass (google.com: domain of linux-kernel+bounces-140424-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140424-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=geanix.com 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 154931F21E10 for ; Thu, 11 Apr 2024 12:18:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6E5AB14A61E; Thu, 11 Apr 2024 12:18:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=geanix.com header.i=@geanix.com header.b="Iw7uPJ72" Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) (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 2DB1D13FD66; Thu, 11 Apr 2024 12:18:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=188.40.30.78 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712837901; cv=none; b=q/qhL5q7tG8PDfHTl1JWjV5cCIruMmpSmSrSKdOtgZ+mrM6+hBtBoR68bfaXZTzBzpTK1kGLcSzBvMEIOKJvmutfNYHb5dvSQAIRLCbjaLANt0hUvYVP9IC7cGBpUApE2RKjYR0iqeb15/VLi1KvMgGvhkGKe7gRfUq1V0o5wWw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712837901; c=relaxed/simple; bh=Ue+kPqa5ovpPl3Sfsh1uMsxDRpeY+X+tUrHJcKDmYWw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=rAAMgcz9A8/jTnKhoMVzfFLxeDygqZe9B1aXNf2H7vg2k8bj9rSEMPOL/LTP6PqiquDODmKwda0FX0E+UzlruYxpC2cXr0DxU0VHwfwb/RJmICmFpl81WV9dQs6znL9jO/5AUAg3Kmts6Lr+6J3OqzqmwJUA/iNsgeAmRn9mXwM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=geanix.com; spf=pass smtp.mailfrom=geanix.com; dkim=pass (2048-bit key) header.d=geanix.com header.i=@geanix.com header.b=Iw7uPJ72; arc=none smtp.client-ip=188.40.30.78 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=geanix.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=geanix.com 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=aHsQbmA+wnCbMY5ngUe0xXk3sGyXlVb12AhxDVR+FNs=; b=Iw7uPJ72Z/zjJvP+Avqb/nFiC7 O0qAVLkHcUbujC1EGyQRHk2ga5/TAsRgQIeIvOUrVGCOPq5CgjX5JagbiHsepkSFeYhtsENtKJrGZ hd2/asM7+6oLI+ZHMJcZdVH594rDd2IAXnLRT4Px63y3C2HmvLi7HSW7cMRB5NlSqV42bAevlgHWz t3U2bacRtL55ityZH9qAlvh8rQGyHAB/9D2zp73cZc12SuHKZoIgMtCW43NySVOjZZC9i90qO17// +rfDDr+LxuGYIoM66b4av1/SE5sQVZCYFXTwMF9EkKIJb/FhUKdPrNqeq3F5a71DbEIDBRHjnCmhB 0O3SOhLQ==; Received: from sslproxy04.your-server.de ([78.46.152.42]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rutNX-000NqQ-UZ; Thu, 11 Apr 2024 14:18:07 +0200 Received: from [185.17.218.86] (helo=localhost) by sslproxy04.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rutNX-0002kv-1e; Thu, 11 Apr 2024 14:18:07 +0200 From: Esben Haabendal To: Greg Kroah-Hartman Cc: 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 In-Reply-To: <2024041122-transfer-diffuser-781a@gregkh> (Greg Kroah-Hartman's message of "Thu, 11 Apr 2024 14:06:50 +0200") References: <76cf9ce9cbf9dcdf78bc00ce7a919db1776ebce1.1712309058.git.esben@geanix.com> <2024041122-transfer-diffuser-781a@gregkh> Date: Thu, 11 Apr 2024 14:18:07 +0200 Message-ID: <87il0o6qkg.fsf@geanix.com> User-Agent: Gnus/5.13 (Gnus v5.13) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-Authenticated-Sender: esben@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.10/27242/Thu Apr 11 10:25:12 2024) Greg Kroah-Hartman writes: > 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? Right. It is described in Documentation/process/submitting-patches.rst. Sorry about that. > Please fix up and send a v3. On its way. /Esben