From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 017C9CDB47F for ; Thu, 25 Jun 2026 07:18:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=1/rsFirtPNw3Ncw9T6yBQVPTtuy+1DFDQuR4ok/3hMI=; b=0EZSoSiyKMAfDyqGwWZtvQOoCL zwJrhmQC7v6Fd38bTHcZUGTeLaxGvazG/LiPtrqZ+3gmcDiXtghi3PSwxrp+YBZkmSveV8BPamlAm MtSh3OZHZ3TEYCNvsnoPc1sqCruVUfPkKIEJk688bmO09FfnHRYSdgDuhUsIXdTRF8OzwLgdf/bHd rJKpQlQN+Wvw68+wTFHeucNcSKTLVzJ8gCQlroDZDhwjKwKylgy7NanUwVBsZnvIhKWBZN5rqN7ZW 4tJOZb+LnbiaP/7e28q5IwKTx6//qQKihLiSmL8kISNwDyexD6mhVDYc91wi/p8KIjI285cyKBX5k p0fkoZ4w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wceLz-00000008kko-3izV; Thu, 25 Jun 2026 07:18:27 +0000 Received: from mx1.white.stw.pengutronix.de ([185.203.200.13]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wceLx-00000008kkN-1oIX for linux-arm-kernel@lists.infradead.org; Thu, 25 Jun 2026 07:18:27 +0000 Received: from drehscheibe.grey.stw.pengutronix.de (drehscheibe.grey.stw.pengutronix.de [IPv6:2a0a:edc0:0:c01:1d::a2]) (Authenticated sender: relay-from-drehscheibe.grey.stw.pengutronix.de) by mx1.white.stw.pengutronix.de (Postfix) with ESMTPSA id 2961520066B; Thu, 25 Jun 2026 09:18:23 +0200 (CEST) Received: from pty.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::c5]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wceLv-004YMz-0G; Thu, 25 Jun 2026 09:18:23 +0200 Received: from ore by pty.whiteo.stw.pengutronix.de with local (Exim 4.98.2) (envelope-from ) id 1wceLu-0000000DGBy-42LG; Thu, 25 Jun 2026 09:18:22 +0200 Date: Thu, 25 Jun 2026 09:18:22 +0200 From: Oleksij Rempel To: Vincent Jardin Cc: Pengutronix Kernel Team , Andi Shyti , Frank Li , Sascha Hauer , Fabio Estevam , Wolfram Sang , Kaushal Butala , Shawn Guo , Stefan Eichenberger , linux-i2c@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH v2 0/2] i2c: imx: fix SMBus block-read of 0 locking the bus Message-ID: References: <20260525-for-upstream-i2c-lx2160-fix-v1-v1-0-f30ab53dd97c@free.fr> <20260525-for-upstream-i2c-lx2160-fix-v1-v2-0-26a3cc8cd055@free.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20260525-for-upstream-i2c-lx2160-fix-v1-v2-0-26a3cc8cd055@free.fr> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260625_001825_619178_9A74FF3A X-CRM114-Status: GOOD ( 14.25 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, May 25, 2026 at 06:43:14PM +0200, Vincent Jardin wrote: > i2c-imx rejects a SMBus Block Read byte count of 0 (valid per SMBus 3.1 > 6.5.7) and it returns without a NACK+STOP, leaving the target > holding SDA so the bus is stuck until a power cycle occur. > > The same bug is occuring with two independently introduced spots, so the > fix is two patches with their respective Fixes: tags and backport ranges: > > 1/2 atomic/polling path Fixes: 8e8782c71595 v3.16+ > 2/2 IRQ-driven state machine Fixes: 5f5c2d4579ca v6.13+ > > Signed-off-by: Vincent Jardin Acked-by: Oleksij Rempel Thank you! Best Regards, Oleksij - Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |