Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp737522lqe; Sun, 7 Apr 2024 01:13:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVG3MMITCsiaLx7HcYPnkepCiYytHQBcKkHyugyWPVUfYgRDLRawLD6tvBXYwXx/5lpw8Fh0t4f5zzTiivmQ37hSRQdV74rpSahNd4ndg== X-Google-Smtp-Source: AGHT+IE/+dH5g9RF0+oA2Ojc5qdJFFySsf3EyjvqpnP/V/cnHXuYXt1yClf7oYxPQYlOa28R0cPs X-Received: by 2002:a05:6e02:178d:b0:368:a5ca:b46f with SMTP id y13-20020a056e02178d00b00368a5cab46fmr8442702ilu.7.1712477584632; Sun, 07 Apr 2024 01:13:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712477584; cv=pass; d=google.com; s=arc-20160816; b=xJaD0qL2UZUcBggIoNXRMLhc7nR8ESMsv5PmWQ5Rykxhvoe5VmIJb5WcIbk2Byd7mr VvJ0WGcuhNODif/idQZmYzooiBAPwXf7ZivZDEE/0mvo/NRMmqfa1vmQ3IptKn8FN94p t5+aktXf0ahqAKBGUL6KDYNYJJ/ty6Ghi0Q4+iaKnptiW+fkl4q2dF8n6X/SUDiisgBU Ez+KCAjQi76Zwn1vazz/vz+QOf5iNCjINRJM5pRe+IZSzEAUL9iZc5NxWJrqDPvOqq7v /DdI9cDLBhyEbuiAqQjBsdOiLBp7YzymNfIf9AG66GrREKSMLCJFP7FcqjgJmKapVQXi IRbg== 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=ZO3Wj/FTLdL0I+7kSGYXHkF5B4IVbb3eZoQrWvtSRoE=; fh=hIShU3+d5RMI2AYDpcrTHJAAr0cidEmXAlz8rklxstc=; b=d9sRiRul76M+Bry4yYdgmYrrLQGFZfDAcALIXURCU11lW//GJworyReVZHqZ074xtU S5HX3V/g+SkzbQBW/foZpuCr5s5CH9iZvQ6jWqEAP1S+LXWqunC1A1nb1m/rf2D9sm7F mO8OFkEWgNgdJmdk6qAFtw1tLkP4egRfvKkhRPEu0nNw7UHvB0U3LInB/L7jEQXkY2ue C3tLA+LRBK/aorr7Qyml+/OQcU66pFXOY9QbS2ohfL0cZrVn5NT3S494Xh/LdKZ88DNl 6XFFxSw8HXHPhqieqJsH1ANu5bktdGNFUIng8ESc0FHXsIeiHtBLyyGgop751lNGb+ar iiDw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HM0U4Bsc; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-134248-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134248-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 k190-20020a636fc7000000b005dc6d15c299si4274578pgc.240.2024.04.07.01.13.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Apr 2024 01:13:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-134248-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=HM0U4Bsc; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-134248-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134248-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 9E675B210F2 for ; Sun, 7 Apr 2024 08:13:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C503F11717; Sun, 7 Apr 2024 08:12:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="HM0U4Bsc" 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 DA4F610A14; Sun, 7 Apr 2024 08:12:52 +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=1712477573; cv=none; b=ueiBleiUm8Z0jDy0S/EyGF8bfke33qbELEQZORjji7Qku8vyep/AigtJTYI8RIv+8MYxzjnathjolTqrGfZFUMkKs5wmvAXuzHnJxKKo4w1eOZBjFQpk58csZwKKSuN+HmVhIhauauv+QzxGV1+He0wuXGI7gM7ndaJDoqav2VA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712477573; c=relaxed/simple; bh=ECyWhuab0F0ilbkmVh7dcV7STv/BUyc/J9I3cEzrWD4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=PV0sDY9kQuhhYvcRHYgHvrQB+lBCMSOU/wATRicc9mFZ6wfRiE4iz0rfeB3kBitNQWvMnIxbjexPo7O26bDBn9t8OupPrtmOXfaBU0hyj03Cku+71knCvysfOeIicYOdqElaiJHQze2wDZo8WNOy0CzNL3+TXBzQ0+O+hYMHJfQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=HM0U4Bsc; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id CB2D9C433C7; Sun, 7 Apr 2024 08:12:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712477572; bh=ECyWhuab0F0ilbkmVh7dcV7STv/BUyc/J9I3cEzrWD4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HM0U4BscY1gq7quxz7G+hZWdtifPXZg2i2ka1SoGG62usQB3jVSRer57VvreqoU3Q bucakV508aRHUvXLh1OlrfzuFKMuNinqYh95f1ImNC+oaRWvr5aT3JiQ0NJT3t3trJ YzgFZfn85bL+RVrP7/iTLvrpAE3atC/NNGblBeuwp1NDes1pUFJkZVWIHM/D1shicw Wjp4kMFp9FbSgox2UqVmetouYEwj5tyMmbIkXwQtzKsy7uDsO4HPDn0333xAca1PGZ 3tf0kSK4eoAkyfTjUc56NeAhjaM8YDlegfHXO79Fi8V9GW+Swou/tajAqAjYrP4dz1 F4lewmeXCYmRA== Date: Sun, 7 Apr 2024 13:42:48 +0530 From: Vinod Koul To: Andi Shyti 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: On 02-04-24, 18:44, Andi Shyti wrote: > Hi Vinod, > > On Fri, Mar 29, 2024 at 10:15:24PM +0530, Vinod Koul wrote: > > On 28-03-24, 08:36, Andi Shyti wrote: > > > 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 > > > > You applied changes to dmaengine driver without my ack! I dont agree to > > the approach here, we could do better > > this must be an error from b4 ty. The changes have been added to > > pub/scm/linux/kernel/git/andi.shyti/linux.git > > branch i2c/i2c-host, As it has been agreed from very long. > > Anyway, the changes are in -next. What do we do now? Do I revert > it? Mukesh, can you please agree with Vinod? I dont apply patches to other subsystem without the ack. Either way you can ask always! I will leave it upto you... -- ~Vinod