From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 8.mo550.mail-out.ovh.net (8.mo550.mail-out.ovh.net [178.33.110.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 BE83151C28 for ; Thu, 28 Mar 2024 07:55:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.33.110.239 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711612530; cv=none; b=Cj9IABXUuKk55IsLw41tyhXUd42G7uMc/+n0HcnmHb8wqsj+BZQ4QfCHHSa+cvGw9XDQxlVYroSBB2+wio5+nMHeJDgsdykh9RRqRRLV6yqQuJl8RWZTE0ZptqKZgoNFz6OmrgyuAsE9RWnYQRKbg1afQed4sYrYsqoRYLa7cQE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711612530; c=relaxed/simple; bh=FoK+TTnkZBEIxAuqwtZNUFYhYqEUw8/IIA5uwrrKnQc=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=eLnc/PikTn08GUZ++hv/NFtg7azQXLPamIBjTcFp2dfeyixOKbA2PnZ2lgJ/poHxxo4hOXvmKEYIznOmPYxSOIpYdkNtqAubJ7QPRkooBiObjgFuT6G34tyxxd42Mv8pOZs0JbFUnOYq7rt3SqLSilxz+BxoO/be13ZvycyZS+0= 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=178.33.110.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 director10.ghost.mail-out.ovh.net (unknown [10.109.140.55]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id 4V4wMy16r1z1MtY for ; Thu, 28 Mar 2024 07:36:46 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-ldk78 (unknown [10.110.96.65]) by director10.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 92A881FEE9; Thu, 28 Mar 2024 07:36:43 +0000 (UTC) Received: from etezian.org ([37.59.142.99]) by ghost-submission-6684bf9d7b-ldk78 with ESMTPSA id irrGGgseBWbkIwAANZbBaA (envelope-from ); Thu, 28 Mar 2024 07:36:43 +0000 Authentication-Results:garm.ovh; auth=pass (GARM-99G00369bef739-e97a-4666-95b7-831df257c96e, 6D693167F0AB1D8A9C15294DA3267AC24BED3ACC) smtp.auth=andi@etezian.org X-OVh-ClientIp:89.217.109.169 From: Andi Shyti To: konrad.dybcio@linaro.org, andersson@kernel.org, vkoul@kernel.org, wsa@kernel.org, linux-arm-msm@vger.kernel.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, Mukesh Kumar Savaliya Cc: quic_vdadhani@quicinc.com, Dmitry Baryshkov In-Reply-To: <20240313052639.1747078-1-quic_msavaliy@quicinc.com> References: <20240313052639.1747078-1-quic_msavaliy@quicinc.com> Subject: Re: [PATCH v4] i2c: i2c-qcom-geni: Parse Error correctly in i2c GSI mode Message-Id: <171161140136.2698925.4294566764047886777.b4-ty@kernel.org> Date: Thu, 28 Mar 2024 08:36:41 +0100 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: 2165386998096661243 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledruddukedguddtlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevjghfuffkffggtgfgofesthejredtredtjeenucfhrhhomheptehnughiucfuhhihthhiuceorghnughirdhshhihthhisehkvghrnhgvlhdrohhrgheqnecuggftrfgrthhtvghrnhepffetheduffdvhfdugfffudfgjeejudehheegfeeguefhieeugffhgfeuffdvgfefnecuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucfkphepuddvjedrtddrtddruddpkeelrddvudejrddutdelrdduieelpdefjedrheelrddugedvrdelleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomheprghnughisegvthgviihirghnrdhorhhgpdhnsggprhgtphhtthhopedupdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdfovfetjfhoshhtpehmohehhedtpdhmohguvgepshhmthhpohhuth Hi On Wed, 13 Mar 2024 10:56:39 +0530, Mukesh Kumar Savaliya wrote: > I2C driver currently reports "DMA txn failed" error even though it's > NACK OR BUS_PROTO OR ARB_LOST. Detect NACK error when no device ACKs > on the bus instead of generic transfer failure which doesn't give any > specific clue. > > Make Changes inside i2c driver callback handler function > i2c_gpi_cb_result() to parse these errors and make sure GSI driver > stores the error status during error 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: i2c-qcom-geni: Parse Error correctly in i2c GSI mode commit: 394b3e3ead0d9fdcc1ef53bb893fdbe7bf1db3ac