Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp265457lqh; Thu, 28 Mar 2024 00:55:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXr8mSf97z7povJ8McetSXsaFklGb25x8Rq4Q/uezlYGFrBg6hlMHCdv//GE2qrWjgGRC3Q39AVCUSPB79XDyKLYMV+z6TRDQyNgcBkDw== X-Google-Smtp-Source: AGHT+IEb5XW1U5U9DbVrmuM6fdjyUHA5g4Vu5BFcXU5uJckWtxlxu7qJ+Geuo03x8nVb3XCfaxgj X-Received: by 2002:a05:6214:548a:b0:690:bb1c:9dc4 with SMTP id lg10-20020a056214548a00b00690bb1c9dc4mr2075206qvb.28.1711612540675; Thu, 28 Mar 2024 00:55:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711612540; cv=pass; d=google.com; s=arc-20160816; b=bYtO3G6o1xZW7nULvqtEt6nvPdFpx5miGP+Tvaiepf06iOEevFJPAIXKbAjAtLsTJv ezEo4pHC988b4IwZcMBhGpjYb4zCRBQCuzYLLxIMV+FLW34rB35/cRGsbUAn6kwZtopT 00NxtVDn0mjuxUF6p8eA6wzSoSJ8dh4BsgMoxwyRKnSGbvzMQj7XoPSSvrbxro2+1wEC FJrnO1lgdTmFLmC/wV5KVeBd3OreyOgrETt8YvI8SF/YbZG3lpxftzzvs5iBP8qdTws4 AS6eJJryD12jUfVaBI9KMRwPfyPMO+C1a72jmRdBkE3qj5ni+vKbFYBPz8jzAdhN+ZzG mFUA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from; bh=NTDoAGoMmDnZwGMxJrdNBqKi3FJrHV1+8I++re23sl4=; fh=8bVbTaGXC5IjZqQu57lBgRVQdrqY+i256T5MlFfhbtE=; b=lxxeGAvs0E6ylN+Sr8kNgnEmSEY/UxcwP8weRMUSEhapbKurvFY0aUQaj5G1zHEilz Gr7XRbDo0Y4nw/G61chXWyLp5ZmnR3r69R10wFFbmI/WTy2X26OK83y9417suJ1oXD4p Y8jXKGG4bD7XSsap1Lm3NlWtbVM1kj2ZJPgG7wPakmq/WG6taWvJJ2gfyMDBljPzQ5pD I2uLs+q4kILyl/x5eLozSmpHL0iSxwFOzwTilcn+RAxB5maMJPHBI2LCO3WKtU3V2zc0 rKDXGRupvMWxqtBx9/AFXUgG8ju76fCho9xYo5E8JFgUnx4oR2kiQxMewBzCN88KMpZY f2TA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=etezian.org); spf=pass (google.com: domain of linux-kernel+bounces-122547-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122547-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id x18-20020ad44592000000b00690b03e159esi862509qvu.577.2024.03.28.00.55.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 00:55:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-122547-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=etezian.org); spf=pass (google.com: domain of linux-kernel+bounces-122547-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122547-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 4D9B01C2A5A6 for ; Thu, 28 Mar 2024 07:55:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5534453E17; Thu, 28 Mar 2024 07:55:31 +0000 (UTC) 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