Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp193519rdb; Thu, 22 Feb 2024 00:07:49 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXYZYfETYi3VXyGfkfN0Dh+HqCCHVP8zPdRfCKuxV2WJq0H2XyTTLBpOeHvPpgNav9943l5gnihpYWs3CGaF5CcWhLtk6ck3ny2dtKBxg== X-Google-Smtp-Source: AGHT+IEtaVQoHS3QsH5+X6V941zLjtxTNQ4abcJ4Gv7AVAGX7V6VO8NJ1g4tmwXosvXrIrMkkcO2 X-Received: by 2002:a17:906:b18e:b0:a3e:8972:4404 with SMTP id w14-20020a170906b18e00b00a3e89724404mr7361152ejy.9.1708589269547; Thu, 22 Feb 2024 00:07:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708589269; cv=pass; d=google.com; s=arc-20160816; b=EFYPAwDqDQrBr8kWQ/Q322LCOUaph/32BLZvhTOvZtJF56Ym1tWO8ZuKLD0YL//q8V Yeb8eTiE7iSWSbHlC58l0AkFaulHrOJj+WBlOI4ZXouS7+sZ4EwGr5zOSMeZ7DP1EknS gIhz54qa9e77ZBtSvzxqqCgnpgpmHpop00AHbxZBgDHaoYlhXnAVNGa5IV37J2fWDuVf 6NAeHvao0lkeFweEouJw5WEeeliJVprFaYzUbkh6b07aEvOyZiNlKcdMzUPqkHnJQp+X bN//cSqklpz8HP2pr16dOTa4WMVcHlYv+XewPuE7xn+jyj8n3zX4oPfNlpkTPUHqH8QK 4l/g== 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=QL5xT9/jYZaLY0gNRestMnTY/ze839aLxh2Y3nXkWDg=; fh=aQoVPd4ihpArCU/jSMF5nty5F2IWc6XB8nPLu7teGJ8=; b=GrPmEbUdHRYC1+lrmbwx8fuREalhjrU7x1t4c54LCSFXaU4J32caopo5v7cmM8GGTD QEswF39bptuK36r4gVAWbsUizVaYBIAWIcra+vTg1mwLtvPnALEEu0FozgfrpxLw9U2g UcJCc50Ko0RvkYbIKMzTpHcW3n78pOKU72/xobMheThp/reyPmeiMJK94os8RoXaUCs0 rYoq/v/OJje8IeN3AO24t2ohXBkY5dvIKnoqLLr59LPvElDuu4ZTN0blTMCc6eC6WCPD yoocOHFP3xfo1KA26h+xmDTOuxU+X4eK6xkFUxi+WA6PB11yH+oE4IGNG7abi+EduL7I zNuQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=di7usoBB; arc=pass (i=1 spf=pass spfdomain=sang-engineering.com dkim=pass dkdomain=sang-engineering.com); spf=pass (google.com: domain of linux-kernel+bounces-76060-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76060-linux.lists.archive=gmail.com@vger.kernel.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 kl24-20020a170907995800b00a3d1df335f8si5276702ejc.354.2024.02.22.00.07.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 00:07:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-76060-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=@sang-engineering.com header.s=k1 header.b=di7usoBB; arc=pass (i=1 spf=pass spfdomain=sang-engineering.com dkim=pass dkdomain=sang-engineering.com); spf=pass (google.com: domain of linux-kernel+bounces-76060-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76060-linux.lists.archive=gmail.com@vger.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 4D8BD1F21BE1 for ; Thu, 22 Feb 2024 08:07:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 747051CD22; Thu, 22 Feb 2024 08:05:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b="di7usoBB" Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) (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 6ED131B808 for ; Thu, 22 Feb 2024 08:05:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.117.254.33 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708589126; cv=none; b=GYD0TQli0NmQmdyUjhCt17/StX/SkfjskYss2G0TMoCZGKp8yaxPckuQUboEjz0PxxyurhDbiWNojQJvGttqXi63CgjzfK2icSoA4a7hRt530w37hhrKFNxRlhcAVeGgqRoKgNmnybqHCHy7Y3cnY1blT5DuxVSJ0WQVnmdTVbk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708589126; c=relaxed/simple; bh=QL5xT9/jYZaLY0gNRestMnTY/ze839aLxh2Y3nXkWDg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=P3IF6vB7klkYH/vcA/P8adLbbvDy0zzAdtB7JLsqlIuHJI2x2lX3IpZez2WsBV6icMN6kWdV32LEaO5olm4NQyuXW/PGAObceo6CgW+zmUntUo22lP1tj/c8KowkgSGNxZGm99bJPDoptR4k7n7H7STHB4z0XmVma05gm9FLE7g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com; spf=pass smtp.mailfrom=sang-engineering.com; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b=di7usoBB; arc=none smtp.client-ip=194.117.254.33 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sang-engineering.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=date:from:to:cc:subject:message-id :references:mime-version:content-type:in-reply-to; s=k1; bh=QL5x T9/jYZaLY0gNRestMnTY/ze839aLxh2Y3nXkWDg=; b=di7usoBBJBsxQs1NMKek tTJGWTrHfCkJN2PrZc+9jx7baqG2iebwjHqdY7F6zOF7YXw+Nr7/zyW7uNYR1ybl Cvc2bYWgx1HxswowvBtLDgfFIx91golS0DqYGlnAzDZnO06XN4sdUos7g/LVQmZN i4sC9pBVmFxPaxixJ990TspFn3vg2UTcvRkfgBW+1zjBCAwb9mApaS+M7JPfV2an tahTxGwoL0PZMe+dRBiB5eLsPP9TsyU5vYn5ekHXEDlMeH/3mD2dBblnmCgVFCdk oV5UsAwetD1Rio5pCn5D95BiJxeZvGiZtuAULfYkCqIRpa+KJVjpMOrW0p94+2U7 sw== Received: (qmail 3884259 invoked from network); 22 Feb 2024 09:05:16 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 22 Feb 2024 09:05:16 +0100 X-UD-Smtp-Session: l3s3148p1@R3FP5/MR+qAujnsZ Date: Thu, 22 Feb 2024 09:05:15 +0100 From: Wolfram Sang To: Oleksij Rempel Cc: Andi Shyti , linux-i2c@vger.kernel.org, Corey Minyard , Andrew Manley , Pengutronix Kernel Team , Shawn Guo , Sascha Hauer , Fabio Estevam , NXP Linux Team , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] i2c: imx: when being a target, mark the last read as processed Message-ID: Mail-Followup-To: Wolfram Sang , Oleksij Rempel , Andi Shyti , linux-i2c@vger.kernel.org, Corey Minyard , Andrew Manley , Pengutronix Kernel Team , Shawn Guo , Sascha Hauer , Fabio Estevam , NXP Linux Team , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20240221193013.14233-2-wsa+renesas@sang-engineering.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="jkgNTKjjcVM+jmPc" Content-Disposition: inline In-Reply-To: --jkgNTKjjcVM+jmPc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 22, 2024 at 08:56:00AM +0100, Oleksij Rempel wrote: > > > > When being a target, NAK from the controller means that all bytes h= ave > > > > been transferred. So, the last byte needs also to be marked as > > > > 'processed'. Otherwise index registers of backends may not increase. > > > >=20 > > > > Signed-off-by: Corey Minyard > > > > Tested-by: Andrew Manley > > > > Reviewed-by: Andrew Manley > > > > Reviewed-by: Oleksij Rempel > > > > [wsa: fixed comment and commit message to properly describe the cas= e] > > > > Signed-off-by: Wolfram Sang > > >=20 > > > is this a fix? > >=20 > > In deed, it is: > >=20 > > Fixes: f7414cd6923f ("i2c: imx: support slave mode for imx I2C driver") >=20 > Looks good :) > Are any action needed on my side? Nope. All tags are still valid, I'd say, because I didn't change any code. Thanks! --jkgNTKjjcVM+jmPc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmXXADsACgkQFA3kzBSg KbbwkA/+LRNQhXhak4TaZVdgCFqaF4XuPEa1bzs9BwnBYsZG6iOWxmpOFVIS3PTw /CkmYJqtfS7d8ZqePNBXVRZnOH65xX9is66PCtGt4ozPRw8D5QELzBJnsc4Em9ra WeUofTGNtYr/0FBG+fypE8y7yf7XY3hQqeqhEq9s2+I5ONxybHu0TFxMKNgAXDjK Ayc61UaPEOTiT+12Kg1HBWxxzX9FnqUP87JWY8x7o7tf0xN/zXuLs1wDIuH9gWZf GSgs82aqU5mC4vz6TgZOiscwQxwYfqP8k3Ztj+53B9LzV3IeLeqiw1YGfWtM/wSU GYUQUZdO8w79Fld5KePO/XJUU9v8mn8Ye3LF9dmtVpID3i6ByhCPIl/GX+NxGOfL J7XFIgyGPOCq2WuEv9Gg7+OoiBLBv81CaYjPzVRAz73H59cgBDAvy/TFAAO7WYRz wBmfC0Z8QbbnmD1sISc69HQBkdl1ymL4X/MQEn9j9/GfCGTKVH9ak/z/XFDzxJCB aXejjwyHMKII+gm+jn3y8uGKthh0RRG7Fyzv0rZvLoqr7Qqmlq46TRz02vo97kiY 9F5YEZnNZokTJOF/xzSlgYtIMlLQTFuBBCuJ76m2ojXzHgvR3MCNPBQCtreHTfCg B8mt1L3KFYmVwyHeAd7ARxs32a3NmMUxGv7zVy9SHh9E0x0GCq4= =XJvn -----END PGP SIGNATURE----- --jkgNTKjjcVM+jmPc--