Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp352552lqg; Thu, 11 Apr 2024 05:18:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX7caECTMRiJ7sK4+WVaEc8p71x9Cl8XVtqh/JLZb1dm/YMXyZtKRGaKUZzf7xzA6idoNAljJdsb5W+0fm27df3ay9oek9s5NIdnqcRIw== X-Google-Smtp-Source: AGHT+IEPn/SNaVclcwYGg8agalTWmSF+eMbJHtSzDK+NZ9YmIaXmpSlsItyLFZVQu6zM0TdqtGhe X-Received: by 2002:a05:6a20:551a:b0:1a3:ae12:e610 with SMTP id ko26-20020a056a20551a00b001a3ae12e610mr5138680pzb.35.1712837884998; Thu, 11 Apr 2024 05:18:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712837884; cv=pass; d=google.com; s=arc-20160816; b=Dh8hFhdLB/JsUzv68TxO8W9Ut0r6LdW0wwky0Qz4cd3lNTBR5tBgHKTac69JUe8zeQ Bp713ag0P176kqjnnXKcUf5zeYZD2k2hDxfOaxbSutGTRn7HNoo1dqJSS5IBvzW/H4Zp +3TJLdeGmafTOVufd0c62qdVxYjXwv8ItkqHP5BDeUcZcbIxp1tru4LikvTxCZLWesx5 8UYnW5H15jydSyUunoVx9D6kYg5HfQiPbD+NYAOqxp3k9w1tThpcWlwlRrxJWkFilbcs IWSlK/NCGDMrz6D/zBv/9QbV8cd/54JRUe78+W1aF0z1kdAg8onvunOTU5db6T1IcueH q2ag== 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=OE3I6JyUewhnlg2YHO1bzHY3/RE+HnSLKRyqYsOMR38=; fh=peYqFOo5246xASj60+F4BDKOatC6lUIbVRazBNkzFvc=; b=sUa8GAwwITv6tdwkh1366ejDBigSVuJOTDpekS9MlPOTIqLlT4+IbKsbngpBN53Zbj 50g3W76enn8ppnN2GJJpcAwoqZoFdCFvljrSvL0G2G8yzC+5GfK14P7rbgyWQk59zSiw mt9BQFDs9ka0GQ2/1R4w8oWHvUtHX9fe0HEctlsIKB9sWOoElUv77hJDqZRNZv1zkDwY WpAw3k0ruMG81A/gVy/YuM937/4L2gY/wofOdsG7ILD0xQwgsJzGdSy9bSARn7N6arAA V4W6Dlz+o0UnrMeaCnFMqSzfJbgHmAgmeIcrile9MzQZzyj9yIs0r3Jm6d1A01Q46J12 B07Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ePtHMzYf; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-140406-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140406-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id b10-20020a63eb4a000000b005e838a61e38si1202812pgk.140.2024.04.11.05.18.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 05:18:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-140406-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ePtHMzYf; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-140406-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140406-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 20541B26689 for ; Thu, 11 Apr 2024 12:06:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4DE4D14A4F8; Thu, 11 Apr 2024 12:06:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="ePtHMzYf" 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 590D5145FEE; Thu, 11 Apr 2024 12:06:52 +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=1712837213; cv=none; b=odGk6cbMtmD01+05F8W52wb/jr+ntfJ5FAQPZH3LJ+aQQsV9rVOcMyhpNztExLWo+w89bqk0BCM8wwyM3gDVyTGriUFMoBmCAQImjxRNd8pGTkGWQcoVJPy9iH/dVh+CRuvFaNhK1K0yaBZSmXe5r4wW2YXLV5yU0vUdN9BsBV4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712837213; c=relaxed/simple; bh=jFxW61R4XvNpf6y0HK808cnVABYyTYDvgVwNDWHbSes=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=T58E/fnbeSNJwwV/8pFfNN+noCxvP7JSd84aXQZ0xLnunof+WrM4fh7ogMKcF57q1KZmvD1PQICjdzRWjMoQ8npBfiI6KH2mRG0EjTyenSxBhnx5L9W4YFcQzI9vv9QD2ahHe1M3HpONdZeONrwWBJxZvtlCOExTI2caywYQS8w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ePtHMzYf; arc=none smtp.client-ip=10.30.226.201 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> 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: 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