Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp271080lqz; Fri, 29 Mar 2024 16:55:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXXLQxIawEBlEKs2vK9iooMfr3GE5FMg55pr0nZi51tMKG3BtZflp/tuiglgECpbPzNseJkvTnyQlBLgay6TBFJrPfxLMcqfT8JygE71g== X-Google-Smtp-Source: AGHT+IHxnHFEgBkrBTkI4J4iNn9mi8xlaL1X40oLgSt6a0TGeHvTPFH8ulyOKbzdxWNaBEu9X3Q2 X-Received: by 2002:a17:902:7847:b0:1e0:1bff:59e2 with SMTP id e7-20020a170902784700b001e01bff59e2mr3438534pln.39.1711756514651; Fri, 29 Mar 2024 16:55:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711756514; cv=pass; d=google.com; s=arc-20160816; b=rV/PfOtXOV3KL6F3XlxaUk6NT+vOQtXn2NHIlvKpBEQPq7lwVrfqP75kQi5txJYgai 2tr4dMJ7lARjutyyV1Rpdofu/MUD4yu/mXXvO4ddQIPYZb4eL6sQKLA8YfPvGhUv9FXa Uu1fcLrG7LT5Uv8bLiLT4Bq+cxDompIibEV2vOPlQ27ajo5FsGDHSAJcUsgzzyCHVgn2 IePrBKNQWov9OHMGE7tzohYAbFiOvNPj1kYDSAtdw7EEDZbI6D3h73U6UMLTGh918zpR GjjIt8uIabeC7gOnDyMc5ST6/6qOd1z/rJgYLNNVjJjyQfTZfZAsr7o8E2FgdYCQ+4rk jLGQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=jeK9CZvrUp/KgA5prErzV0CwO/zb6YVbig0rfDPk+Cs=; fh=vlofzPIdDwyWftdBAiF5Stpq6sMlUaQ0BbpEutJTzPw=; b=N+SC+f9K9722iw1CfyEyNEkcSxtaaRIJlA+2jwsf6U3oX72op2S/w0iF5tdgWzaBXp xx4GjzJfaEOv18VRnGaodd3KyFWL3ycdfA0APbBFTmqnjD80iku2+9KSibdYokgAL4Bi nd6jXImi8c4Zh6PxxhqGRm4OWr0GoILXb1MlrApWfVZ5BdVOrrvPWzxWuHGU54HnEVq2 ac35p83LjndI1CXEAT1C77EgiaMvKMVUblqG/V8T3ZEzOZ1J4/9y4Fue19u+2h7bs6E4 zlTcOLTdm/3SPCrBsjBJX4OcvUZtmLZzuABQa2Z595fHpaTK41KPEI/qZeN6aQCRMbkA 1Ubg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dRBBhENU; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-125539-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125539-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. [147.75.48.161]) by mx.google.com with ESMTPS id ju6-20020a170903428600b001e09680037fsi4261542plb.229.2024.03.29.16.55.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 16:55:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-125539-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dRBBhENU; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-125539-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125539-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 6A6F9B22D15 for ; Fri, 29 Mar 2024 23:55:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6C5AD13E416; Fri, 29 Mar 2024 23:55:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dRBBhENU" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 830AA85644; Fri, 29 Mar 2024 23:55:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711756500; cv=none; b=Sn5EsEj6iku1JlPCEJgWPKiSXqYwTQSllmrdpUCOXpiAJodvqrW7N2FXCYwH5t5y1QXIVJLgQ4SFTNUo3cTKgdbmLpj1rTcFBbmx6zsKW7pumm6KtEfWbj3Q3IYoNTPIlmA4/rICrmEi9QkkemSy/z/rodYPPKSAkaU4GtdYUTY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711756500; c=relaxed/simple; bh=qeoez9ZPUzTd3Q2NKfA2e2k8lx5b8TFJ7Z/BE/D0yCE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=DeIsdWQYI1iIS2yeLTK1iZCH25/D0bttRCqaLl406QMz4kJAS552he+Y+WNUELyU77wrOlzif81bcDX4Mr+DP+bhc60wrnvIyHGOXmwXyyJJlEyRc95FLeMjoQW6DYJgRqHc6gSyhIp93nr0McXRH+fhaDVshrrKyqpKLdSZGfQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dRBBhENU; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 99D6BC433C7; Fri, 29 Mar 2024 23:54:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711756500; bh=qeoez9ZPUzTd3Q2NKfA2e2k8lx5b8TFJ7Z/BE/D0yCE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dRBBhENUyWeK+c09cMAQRqguYXZ1dBOm/LTKAqwzBcauccPYHPByg+R1fipX9gmPh nWzfgMy/zyKclpTbZJxJBNhipDPNdGozdiS1m+eupU54SnYaq2HJxnwNuKK/1otZXZ Q7mr7SXYLnPFzLLX9yS3VD7IjHSEIaPqTbscerPbABf2T5WvvWMNsj1zZKHbmp+lwJ Z22idm+2ThIfkJ1wqVcRd1AY71BJyUJsDPFavEYF4HzNBX4u0PTl97Fl4RSIZ4k37t JfbGJ5+h1PG//0YTiA7Aal/RKqtxyiEzk6hLUO5auhEB7/4ebbozJsqjm5mQrTFGct K1FdDXDePepcA== Date: Sat, 30 Mar 2024 00:54:56 +0100 From: Andi Shyti To: Vinod Koul Cc: konrad.dybcio@linaro.org, andersson@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 , quic_vdadhani@quicinc.com, Dmitry Baryshkov Subject: Re: [PATCH v4] i2c: i2c-qcom-geni: Parse Error correctly in i2c GSI mode Message-ID: References: <20240313052639.1747078-1-quic_msavaliy@quicinc.com> <171161140136.2698925.4294566764047886777.b4-ty@kernel.org> 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=us-ascii Content-Disposition: inline In-Reply-To: Hi Vinod, On Fri, Mar 29, 2024 at 10:15:24PM +0530, Vinod Koul wrote: > On 28-03-24, 08:36, Andi Shyti wrote: > > 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 > > You applied changes to dmaengine driver without my ack! I dont agree to > the approach here, we could do better This patch has been around for quite some time and there has been time to review it. Altrady two people have approved it. This patch has already been merged once via the i2c with the agreement of everyone, but reverted for a trivial failure. Your review come after I have merged the patch (I did merge it even earlier, but forgot to send the notification, which was anyway sent before your review). Above all, I appreciate your review, but it wouldn't be fair to revert it now. If Mukesh is OK, I can do it, otherwise we can send subsequent patches. Mukesh, please let me know what's your preference. Andi