Received: by 2002:a05:7208:3003:b0:81:def:69cd with SMTP id f3csp4189956rba; Tue, 2 Apr 2024 09:44:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCURg8GDCr56O6Kb6ecatbeopk2PvgzxkrA2C9Gr9Qo8MeBHq2hNBqPcwM2wxArMIZl2bbcNZmeatDhXwzHmrt5NFtXngn46RTtpmdGByQ== X-Google-Smtp-Source: AGHT+IGMC3msZMAwafWWHjMR9WRyQPBQklejUpPoXBOoWJaQNYEVAcYgdpuCIbgiMNc+SktQrxAc X-Received: by 2002:a05:6830:1013:b0:6e5:1491:6d8d with SMTP id a19-20020a056830101300b006e514916d8dmr13701635otp.25.1712076299344; Tue, 02 Apr 2024 09:44:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712076299; cv=pass; d=google.com; s=arc-20160816; b=CWdnynDiWvbMvtz/3TPWWgPh37ukF86SF8gB4m7SpFssnp5nra1eB1smGNz/5oKR66 1yCXbJTVG7YHvAF/uPhRoSTJylUZDV9/auYoWZpbaKZV6cN6lb+x2zZ9/tR/N1MVfvss SdPRlhnFOATsxUukaYO0rz3RrRL64yeVpfwFXiCulbMpWWBvzlTpu+qzsJnP3Ji3Sv+C X+FVybTzMrzIGuCYE8kqdOT7crhLw+iKc/BPT6IO3lwEEBBOILbfCoFlvs0ObWB2W7hB 22Y6oJxc4FQXy5V5MOKWZZi3c7x5FvCxdDZlnirhsDrJVWmm3mxJsu7VTmV1bz2a8Y7/ noFQ== 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=nHYlJRPbAgUIz2VbLuBc9F9v0IWkF313+DylRkbySdk=; fh=vlofzPIdDwyWftdBAiF5Stpq6sMlUaQ0BbpEutJTzPw=; b=rQP5/Lu3LIPDN34Yz7BSUPSV/JYgWawAYaaImZ66uPI7M3y8HUBaJEa2hJe9eAb1OT li1Du3m01XKSs9eEiwVAkCccelv/fao2DVG6B78J9Ywl3wgclq4HAUnri5sbQMAqhVdu MsFPVl05AsRBgOoG1ZDYknvEqyaeKi/1J5gCRfU3Bihn9tfnFQLcRhvRL6DoQzORC585 iK5Wii647Jo9cWtjht1gMJAnvO8krghdWefIE8BHC5F4DHbd/k+KVf7v4cMXt/ewd/FK rTceCC3zO4HwAzKX1x2qjE6UwDfX9iVDWi4S80KB2vZQS2xsGtownnSgXV4+dLgbz/NK C98w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ml65pl4R; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-128365-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128365-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id h4-20020a0cd804000000b0069153ee2472si10939568qvj.454.2024.04.02.09.44.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 09:44:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-128365-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ml65pl4R; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-128365-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128365-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 159C21C22B0A for ; Tue, 2 Apr 2024 16:44:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 171D015990E; Tue, 2 Apr 2024 16:44:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ml65pl4R" 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 22F242AD1E; Tue, 2 Apr 2024 16:44:49 +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=1712076290; cv=none; b=SHxKdqaMOjndG9iD3WFVddQf2iHJZ4AeUbQ1p9nFQB/2zih8JkA30aRh8QjdOd19co5HYwqn2lU5+YY7KBJ1IXnH83EWKkM+TC8y5UT5QZaI9Q7exx4r+aSMoJEUMKEyyixqSQQLXRURvCHyFod9yeWbZa1Sz05z7RVkTWZTLac= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712076290; c=relaxed/simple; bh=ArAEjvxRWa3ejxTAbxZrelEmPh3To0VkbfB3gGDLz/Q=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=VFFjcWz0j1R+hBa8kl2ZAsKnivJle4QrBl6E1wgJyV8FrTmhFWSCcNi1qSzMz5i3t/Wj0emNVOtTCaSyYi+5rQybQNwbsgPJIfJQB5fG/YUBtQbjTxgVCkx8jI9KagMxlJJzkemZQfQUKAewuTIlJKol7WYdLEA89CdsmydOdxo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ml65pl4R; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8A976C433C7; Tue, 2 Apr 2024 16:44:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712076289; bh=ArAEjvxRWa3ejxTAbxZrelEmPh3To0VkbfB3gGDLz/Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ml65pl4Rz73ExvROKIV9pAtzpNIFldag8HnsSViRoJwszA4hJKyPY/OrORzSjCPSn vkm7+hkRWP0JBGLe5oypYjAEqg2h4h2ln+i8ALPwxGu/m+Oeh8YJqLCzzwazA0wCSv 7UbTHB1VYSSH0g47kNQ2tSki9Scpry0P5uV3+a1WSeF+Mf6dTwWZRVTWv0/z1EqLJ8 9/uBJpMBCCD1VQouOK58kHguyucDy+L4rsfrGB/HtuTThzW4Of0AWd2G3HoAmklyED hgkZnTb6hwMMBL7QZgvUM8rdcAHSjpUx2/6s4WPTmz3m7wx4lA1I8RasK7rmXbhqab WaDB1RJQU7Ryg== Date: Tue, 2 Apr 2024 18:44:42 +0200 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: > > 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? Andi