Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp885142lqc; Fri, 8 Mar 2024 15:03:44 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUwIYtvHFJC2VsEG5u4iQ7tkNZRchsnFGojd+b/VVs6MmV6AU0l+3zkuUbbuy1cs36EbiSuV5J+NThUNVZfmk4wsqO2G/bV7TiFC1e2pQ== X-Google-Smtp-Source: AGHT+IGy4JdzsdQQyPCvV7niKMQtUghxAug2LXuqH1kWKb7WB0efFNvF1skPAo5zhgEOZ2KgaxWw X-Received: by 2002:a05:6a00:3c87:b0:6e4:aca:ce0d with SMTP id lm7-20020a056a003c8700b006e40acace0dmr471845pfb.31.1709939024574; Fri, 08 Mar 2024 15:03:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709939024; cv=pass; d=google.com; s=arc-20160816; b=zAHAEaRigKC3Td0weCrij69fyCTs2JcekFJwR/XIOTnpp9wZ7SK3h4n/fleb7M0UNr r2YsTNQZwUg8IQrWBAER75tnNHhiLBU5cF8htp8lw3kM8SRky2t/jIgY7Vc0yUXz/wLr PHj9S3SpjVCKvz/78IEDZ4O6nYoS80XzQmM7Ime5nZ/vmiCGQ0+Kh549M6RSOzKvdKEi Shh/bFKF+BtQW+3K2bv5o19BHn3c5uJsrktqrnR+Kd6uKhfxTcl5P2/RWsq69VGlQcCj Q1j3KPDM7P0xa0xKgT2lkgZkcW7ybf8CZtLNnn+tolxo3BdZrG1fBkz2tY6zsjPTwN6I u1nQ== 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=b1gTLkD723bbLsd+HKiQ6vQv8V+DtCQBH/WlPH4Gk0I=; fh=VDpVcJzBQst3GKX+KGNg2ZKY1F+OKnx7Pb53RAZyp2w=; b=BqL3Lq+3/8tiwFeaE22QEnUtcLPS8RMBvJVX1CXwbEDVcAyWYGoeQjgxSqCzyP3qa8 y40RvCU5l36UU0GA6AjsS9/1CtCSycf1vZ8fAHQghrKPtV0wWQ0NYuKVq2O/ZBqFj8dR /OwVHf2QT3+IpDKc00QiVqwORG991NvT5U+lC4PAyxfpmKX0SzvPYGT6LyvCde0Fbsnk GUsE1qEwNhMfvXp3lMkrdiYDJJiWmZvi/m374cOdCbaqtwOULagzhXkxixZka92k0XB+ GGFEcmBb+4hrndoLmlva37gBdd/idJC5h49kVckcH69QJnLatuu8nQkrbxlYl3uBOvFV co3A==; 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-97675-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97675-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id c5-20020a056a00008500b006e55dea72c2si373762pfj.62.2024.03.08.15.03.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 15:03:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-97675-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=etezian.org); spf=pass (google.com: domain of linux-kernel+bounces-97675-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97675-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id BE4D2B21824 for ; Fri, 8 Mar 2024 23:03:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 14FBD3BBC2; Fri, 8 Mar 2024 23:03:33 +0000 (UTC) Received: from 13.mo584.mail-out.ovh.net (13.mo584.mail-out.ovh.net [178.33.251.8]) (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 CE18311707 for ; Fri, 8 Mar 2024 23:03:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.33.251.8 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709939012; cv=none; b=dKdYohFM8AizJjNfCy2d4SpK2O269WjObG0lM5AY4/j6Xt5ofKMXzCk0hI2nbUlpyPSeJd8uepQyK981iFMW9tNtm8Kp5DeYfT+LrmFUwzh7t/hP/2hiQryKuYv8I0GO+dL1untpHfqTIFYW1zzXjNP7DkP7D4LfkYN5kVu+tnM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709939012; c=relaxed/simple; bh=ea/FMOT+LuvBUIf6Z9oNmYg5v6oX6zLSUSAj65JmdWo=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=Gvmk2D9G3h0uhB9iaYFsm+E0Y3CPU4llbmnHuqzoBygLO/MyjZxidawuHXO9DYkDD8kvC8nPPpYOvpZYjaSQF2MdqEEhCbgli4nOGuxvqR4RCYD5ua2xPL93cRFJxl6Wsevxtc3Uv/LG+TkIY8rED/jowbUaApED+V+Z/z2Mtf8= 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.251.8 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 director7.ghost.mail-out.ovh.net (unknown [10.108.25.169]) by mo584.mail-out.ovh.net (Postfix) with ESMTP id 4Ts1kV4SKSz1C74 for ; Fri, 8 Mar 2024 22:56:34 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-7mrq4 (unknown [10.110.178.91]) by director7.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 0BF541FD79; Fri, 8 Mar 2024 22:56:34 +0000 (UTC) Received: from etezian.org ([37.59.142.98]) by ghost-submission-6684bf9d7b-7mrq4 with ESMTPSA id 53omAKKX62XQVgUAplAmPw (envelope-from ); Fri, 08 Mar 2024 22:56:33 +0000 Authentication-Results:garm.ovh; auth=pass (GARM-98R0028d618e52-d2b1-40c7-9d69-95ea762b9783, 2D11F706EFA52336831762ECFB2C8F5C1953C755) 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 In-Reply-To: <20240307205539.217204-1-quic_msavaliy@quicinc.com> References: <20240307205539.217204-1-quic_msavaliy@quicinc.com> Subject: Re: [PATCH v3] i2c: i2c-qcom-geni: Parse Error correctly in i2c GSI mode Message-Id: <170993858923.2618408.4667207790973009000.b4-ty@kernel.org> Date: Fri, 08 Mar 2024 23:56:29 +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: 10926295649741245147 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrieeigddtfecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvegjfhfukfffgggtgffosehtjeertdertdejnecuhfhrohhmpeetnhguihcuufhhhihtihcuoegrnhguihdrshhhhihtiheskhgvrhhnvghlrdhorhhgqeenucggtffrrghtthgvrhhnpeffteehudffvdfhudfgffdugfejjeduheehgeefgeeuhfeiuefghffgueffvdfgfeenucffohhmrghinhepkhgvrhhnvghlrdhorhhgnecukfhppeduvdejrddtrddtrddupdekledrvddujedruddtledrudeiledpfeejrdehledrudegvddrleeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpegrnhguihesvghtvgiiihgrnhdrohhrghdpnhgspghrtghpthhtohepuddprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhkvghrnhgvlhdrohhrghdpoffvtefjohhsthepmhhoheekgedpmhhouggvpehsmhhtphhouhht Hi On Fri, 08 Mar 2024 02:25: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 on git://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux.git Thank you, Andi Patches applied =============== [1/1] i2c: i2c-qcom-geni: Parse Error correctly in i2c GSI mode commit: 313d6aa4c64875ed8a10339a2db8766f49108efb