From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 20.mo583.mail-out.ovh.net (20.mo583.mail-out.ovh.net [91.121.55.239]) (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 694504411 for ; Fri, 21 Jun 2024 00:37:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.121.55.239 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718930236; cv=none; b=DIGy3lN41bpGEKHUAY23x51tKlyB+wLsaQMNyfANhHEZYi2TI3h97QHldi5oonrbhzYslGx/ERygrmoUingLqicvO0nlawVtpNODGBMld7YjztTL2JmLDkWKzSl10M5S1P+Yu9FHYcU+6aWueggzcu5zhZOjkvmu/8yPrdBvlFI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718930236; c=relaxed/simple; bh=20Bno1n30DsBD2LYX6UR5S9jh4So2fbTQRi6hmhPU14=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=csTRwpjJ6x7seQcNHEGdOtMDh6wbdlsgDtLReHh2FuL4RRuBGNwrsT9VCoM3YXDcHrtFyphTzD6Qs52bWDxd3kFYHKLZjgOkwGUDRbytxN2jQyKL/lkZQKPhNXV+fw7/nqTJ2xQXAyyrr7UoKzALMFqbQwboptKTyNTbGQiptJw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=etezian.org; arc=none smtp.client-ip=91.121.55.239 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=etezian.org Received: from director1.ghost.mail-out.ovh.net (unknown [10.109.140.28]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 4W4xKJ13d3z1Rjf for ; Thu, 20 Jun 2024 23:19:48 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-bvkjt (unknown [10.110.96.185]) by director1.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 541F31FD4C; Thu, 20 Jun 2024 23:19:47 +0000 (UTC) Received: from etezian.org ([37.59.142.110]) by ghost-submission-6684bf9d7b-bvkjt with ESMTPSA id O1+2EhO5dGb3AgAA/KbBAQ (envelope-from ); Thu, 20 Jun 2024 23:19:47 +0000 Authentication-Results:garm.ovh; auth=pass (GARM-110S0040f310b2f-be15-42b6-bcff-984cf221b99d, C57D3D2E0A03F635C8A27B63C027BBD507C09C29) smtp.auth=andi@etezian.org X-OVh-ClientIp:89.217.109.169 From: Andi Shyti To: Markus Elfring , Peter Korsgaard , Andrew Lunn , Thomas Gleixner , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Grygorii Tertychnyi Cc: Grygorii Tertychnyi , bsp-development.geo@leica-geosystems.com, stable@vger.kernel.org In-Reply-To: <20240520153932.116731-1-grygorii.tertychnyi@leica-geosystems.com> References: <20240520153932.116731-1-grygorii.tertychnyi@leica-geosystems.com> Subject: Re: [PATCH v2] i2c: ocores: set IACK bit after core is enabled Message-Id: <171892558671.2178094.6404949110171049934.b4-ty@kernel.org> Date: Fri, 21 Jun 2024 01:19:46 +0200 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="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13.0 X-Ovh-Tracer-Id: 13336284400655993449 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrfeeffedgvddvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvvegjfhfukfffgggtgffosehtjeertdertdejnecuhfhrohhmpeetnhguihcuufhhhihtihcuoegrnhguihdrshhhhihtiheskhgvrhhnvghlrdhorhhgqeenucggtffrrghtthgvrhhnpeffteehudffvdfhudfgffdugfejjeduheehgeefgeeuhfeiuefghffgueffvdfgfeenucffohhmrghinhepkhgvrhhnvghlrdhorhhgnecukfhppeduvdejrddtrddtrddupdekledrvddujedruddtledrudeiledpfeejrdehledrudegvddruddutdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomheprghnughisegvthgviihirghnrdhorhhgpdhnsggprhgtphhtthhopedupdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdfovfetjfhoshhtpehmohehkeefpdhmohguvgepshhmthhpohhuth Hi On Mon, 20 May 2024 17:39:32 +0200, Grygorii Tertychnyi wrote: > Setting IACK bit when core is disabled does not clear the "Interrupt Flag" > bit in the status register, and the interrupt remains pending. > > Sometimes it causes failure for the very first message transfer, that is > usually a device probe. > > Hence, set IACK bit after core is enabled to clear pending interrupt. > > [...] Applied to i2c/i2c-host-next on git://git.kernel.org/pub/scm/linux/kernel/git/local tree Thank you, Andi Patches applied =============== [1/1] i2c: ocores: set IACK bit after core is enabled commit: 5a72477273066b5b357801ab2d315ef14949d402