Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp1720677lqg; Mon, 4 Mar 2024 01:24:10 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXABOLL1msBbR5sYua/tjghKhN7+U6Ebw1Hd1wmEzPGbK75kC2/v1lCd90Q/fil3yk0C/KU0I+ES7SqfqjOKMr/vR4srXK6aitVCkG1MQ== X-Google-Smtp-Source: AGHT+IH2AORYpwL42hrTN9JKt9G9cF46morjaiPNjuukkFmK3omCzBPYC02N7Ay9pbAdaNlcJyxt X-Received: by 2002:a17:903:2347:b0:1dc:cf17:8a6b with SMTP id c7-20020a170903234700b001dccf178a6bmr11170719plh.43.1709544250194; Mon, 04 Mar 2024 01:24:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709544250; cv=pass; d=google.com; s=arc-20160816; b=BiCPXYucPz6hporz/8YdbGhPbtjMoH9h/rcBgS+EL2OeJwpCEru9uQjbz0atcw6PW5 L+0fINdSrAaCWKLe3cgsQPaBZCs6gY7U1Vrv1BmrWomdBc/Q5l+mHTQaGjRPkpeORU3Q qXDqDj3sz+eQemR1YRc7nUyEHonQjJGXHxEcE72+eYH9d499Pl03fm6n0MtChFwScuBc PFu8xFQB6D+UtSc/d0iz6MTUKKOWOOfpHP7Vmt4USojKParLLfec8FCPXcMVcj7NFtAr uXQMXRRXo4QD6BYwyfo2En7FsOvDudTcOtngBHuWep/yQpJwqnQzquHqFg0LV74UZojL K/0g== 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:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=Fjyke14FhJVuxn1qjXkhnPeP7VsIKBGI3TtDfBX5g7s=; fh=WFBbuB0+4EoISoNLKdVxh9iPtkL4XbOGRzOjhABSLNU=; b=y8+JYaiPpgYmaYBTKHToKGon8+M5P+C90bKda6o6dScKDPuo1I4BlD0oJhIWfxhP38 0rZiI5Oas8y9DBFIi4MWvKXwUS96fuFQWLxOxcfnG5+TemV9JI8b3bZHlv0SevMN9iCE QGwjCI4vpavFmUSCHLbCkOZlGK3O6/+K9i3kAhTavFS7ulDMCpdS72aZFbWoK0ae9jIK 8EqTqXYp5bE3+qrTuwCwn6UMrtigEnmIawZFy3o97xbOrttg+4e81f9rrZC9CLGgT43w wPA/QOjdJ0pA9nZAv5NhfzW2f01Da3s7gGLn8pvV4PAQCCR7gy/OFE+nqsXrTRNNYJWZ JNZw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LDzdg1Z8; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-90306-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-90306-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id p10-20020a170903248a00b001dbe8935e1dsi7796129plw.514.2024.03.04.01.24.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 01:24:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-90306-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LDzdg1Z8; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-90306-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-90306-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id DC5DE28131A for ; Mon, 4 Mar 2024 09:24:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 623AE241E3; Mon, 4 Mar 2024 09:23:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="LDzdg1Z8" 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 77B7B2374B; Mon, 4 Mar 2024 09:23:27 +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=1709544207; cv=none; b=hxTbHPerVspfAZW43lHRax3HrG4ouw6h+zUAdqYxfuziSKwIqqYe4mqDgqabgxv0yrDBrjWs0a/R1ZBGJFyAVuCKva54QPxTmrS4EFK35jdUmM3faHut6jiPTd5N9aoeq0WsKNtsLo/y+5d2KcvW5Ira0Qf6NyNQk639Xkxvp8k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709544207; c=relaxed/simple; bh=Fjyke14FhJVuxn1qjXkhnPeP7VsIKBGI3TtDfBX5g7s=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=n0IUki6sJpXG1mpcwT26g10Scamjj6CmdDVmTSWm4H9Pc566S11xDy6vwK9cE8pKtjEh7xxtceVfEA7nGCJ6thuOtWXi7KNjoft4jYcP8glz0wKsC/Ylj9Uyt47Dgu3fRPxIXxZecsqb8cmMZRRlPYXen9Ivf+zGBEy1Kudv0Ds= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=LDzdg1Z8; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5AD21C433C7; Mon, 4 Mar 2024 09:23:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709544207; bh=Fjyke14FhJVuxn1qjXkhnPeP7VsIKBGI3TtDfBX5g7s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LDzdg1Z8PXwnwGjYQ4nm55CeEZ0UJ8Jj3hScHoRe7rhX1gUNkstTGpGvhRTgJtxbu OaHYE9XjY1a2dWg8jYFitJjCALv4shw7qUlRbYEJco5MxsLYQvYemONynN4uZlysFQ kXzz07BmAA78ss3V82Ov7u4eb5tOd0aOqu7RIsQstDPjjotYciNQnfYpaqRFIctkXU Xb2V9fSrqPinyYpc731SSf/m9t40BhCEZweynNeTi84EVcpo4LtJT2z9yx6k1CfEMv UUWjIy3iM4XemV/RBLLfJxTyU1R9XLfB62vK8vkfwVCtu59azNVXUo+pxliAXyODLE FLdHMQ4EzoZsQ== Date: Mon, 4 Mar 2024 10:23:23 +0100 From: Wolfram Sang To: =?utf-8?B?VGjDqW8=?= Lebrun Cc: Linus Walleij , Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Bogendoerfer , linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, Gregory Clement , Vladimir Kondratiev , Thomas Petazzoni , Tawfik Bayouk Subject: Re: [PATCH v2 07/11] i2c: nomadik: replace jiffies by ktime for FIFO flushing timeout Message-ID: Mail-Followup-To: Wolfram Sang , =?utf-8?B?VGjDqW8=?= Lebrun , Linus Walleij , Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Bogendoerfer , linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, Gregory Clement , Vladimir Kondratiev , Thomas Petazzoni , Tawfik Bayouk References: <20240229-mbly-i2c-v2-0-b32ed18c098c@bootlin.com> <20240229-mbly-i2c-v2-7-b32ed18c098c@bootlin.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7C433FooVKfPFjO0" Content-Disposition: inline In-Reply-To: <20240229-mbly-i2c-v2-7-b32ed18c098c@bootlin.com> --7C433FooVKfPFjO0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 29, 2024 at 07:10:55PM +0100, Th=C3=A9o Lebrun wrote: > The FIFO flush function uses a jiffies amount to detect timeouts as the > flushing is async. Replace with ktime to get more accurate precision > and support short timeouts. >=20 > Reviewed-by: Linus Walleij > Signed-off-by: Th=C3=A9o Lebrun Reviewed-by: Wolfram Sang --7C433FooVKfPFjO0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmXlkwsACgkQFA3kzBSg KbZlmQ/7BeOpHXFkVAV8V35Hfz9OhDx1QR4Sbzc1KklBr+gm5IbuVyYn6GgB5HVY 6Xs/IIPgOk4V7xk079tFAfFCJ7X+I3vPVLh3l7ZXKSVpGKfoU4rmuBNnHL+eG4uL +YIpuSlM05j1ne+TnkvY8fdFFFDFkpE+w0ZSlLMTiEkU9BOJSTkF7VX3vHqXDO2d E+SzqxObu4EuQonD5OSVMUsP/KTdWUciUejZSY4C5G1GjObV0hfNsG9CffYDAKH0 HAVqfiH28XQ3ZDpqZ44n91eL0CtU5MIj4F/UESfrlny8F9Pi8pf48bHSCNBnFFyk wLsEgar+GHwlGL1QiIuLafN99CPAh2vNXDI29+UzziyMo4nkd1Zr5ap5HdLrIx/g mT87ioofGWlDkuGWaLjRMOPK/lxdrdiSKw3ctQ7Te1KSLzh5WY4VjvY0jWsnvOGa TlkHIuZYWiSyb6p7nSUBKZKkAv2GQbcagC+4B6JRS1vb8dxjv6xyz2+6WzNsVmyb QoH00jNGkpHczE4QOj35d0JMuZq3GeBnxJo2brOMXgcsHEUabQv+SAIGreIa2Haj zVaOmRb6ymLb9SgS5bp11kqbwjnJ/rPunzxoq29UteqSy+oECRt+EXUyuauEuf4r 2m/tvl/MqTDN1qhuR3Yb3f4reiA2lTNSNOu7yUGF84Aa18fb0VU= =XC4v -----END PGP SIGNATURE----- --7C433FooVKfPFjO0--