Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp737048lqe; Sun, 7 Apr 2024 01:11:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXafy1oDccUxEs5btP+H5Bcft6fq5PZWeotrMX9WylhRfa7rBJr1wyGQ0xT2Bo23d35GZOykJyw9A+M1pSbXUVvoFYjMAwAnza+z+RGng== X-Google-Smtp-Source: AGHT+IGkVD1LGCJrRn77dynQMO7YRR7+tJFMpWJOe10Q4NEWQ4lpFcLl5rpzvXTNNVI7wSja7bwK X-Received: by 2002:a05:622a:118a:b0:434:5008:3bd3 with SMTP id m10-20020a05622a118a00b0043450083bd3mr6971110qtk.23.1712477494384; Sun, 07 Apr 2024 01:11:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712477494; cv=pass; d=google.com; s=arc-20160816; b=Bo91FUV/tMwD5wAMcq1/dZ+5rE8wI0Ljmv4lUCzeCdVw6KeapfK/rACoGU0pY837Uo II0kqALrcQJQEaj+0Qx1xkVNohkhOmFAdL9mwRvAFurHgPlvEBCaKsKc1hxGUZmCTuPO gzc0AUe/TG5hvJKXyu26Aao7a+/EiUI/sCS0ep7UeWzey1h/UZdE01OInpzlM+yB7fSx hs3mQKgzP1V0HQe5xzKCCwDMVIFE2g7KPYknBahU0SfMEUGA6NAIPuyND43jb4NeZ2K9 nLBHAV3wtx06LZzX5H1U7u4Th0aePm9bDmx9LjTvlk+Z0iZzaNgNkPyOrQNYoibgRfa1 alJg== 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=DvdICDjF3shNVYPDdnE0vW9gfg4fIyQamDZiHkkQFC0=; fh=CnGwEfhlSEQ/QJf/aUsrWYcX/Ll2Q+70713+4aYYflI=; b=v95AZZFOCzhcrUbvR+uDNEfuTc8GlxuTeUwtGM1jSiW7pPpUYXvVyIrN0FiaaMEabR BuFVeIZ2G5VUcClxjJAGVo2ju0sqqmnEErM2cV/LsrnmHZky4X0wjG52UQb848XfQIYC aKjRnAftisPC0bC4GqeD3lQzW73E4QopxuOPgv4/hDpMBMTKOhcWOYMwq0oSPIM4gw+o 1J9QJw7ODeiP6nDqb3en7Dx2KnAac5Cx+bmOmpxZJCPDP8fuWcWjOtfObdQnek1rSpDs UlTy4G8My54kUJXdNrKbFclS3IQcBooxz5OLeGbJgmaBR5mwbuTIdHbf/gRwx278wRNH n/Rw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dxnzVKhc; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-134247-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134247-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 j19-20020a05622a039300b004346159624csi4833484qtx.795.2024.04.07.01.11.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Apr 2024 01:11:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-134247-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=dxnzVKhc; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-134247-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134247-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 20C3B1C21375 for ; Sun, 7 Apr 2024 08:11:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 791531170F; Sun, 7 Apr 2024 08:11:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dxnzVKhc" 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 91E4C10A0E; Sun, 7 Apr 2024 08:11:24 +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=1712477484; cv=none; b=KhAtX7y9vUGSOaBU2HFL/pP+6xYq7CKTNnT7iU9CI89IgS+LkBHvWcgJlsst7B7XEvc15otveYuY9irNgS2f+ojW9V6tgsBLbGQwaIOTWHLn7HQuIH8k0kdPaVUTfHeUZ/U0yhoUEptF3hLokZtM2kjnRQxp8f5FG9N/gSldkd8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712477484; c=relaxed/simple; bh=TVFe4OYH04o/5Ll/IX/zzUlK3mIhW7/Js8yZ/caVDnA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=F2ixrRo3xWiipBpmjqUE/k/ON/MkPSGCPfsRqHcxOwg+JFeZ4nm0Alj3y3mfY5LpX5cJmuK/PPtwkEdWu2wd0vDe+/Ca8OKiBv91bbCDNUv7JRgOdLrRgrppJ6GxNiwm6t7f7SsOKXzJT5Yh7YemfEolEAT0tKGTQEXRCewbwMo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dxnzVKhc; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 48048C43390; Sun, 7 Apr 2024 08:11:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712477484; bh=TVFe4OYH04o/5Ll/IX/zzUlK3mIhW7/Js8yZ/caVDnA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dxnzVKhcyJZGeMpZKR5e0livkrh9a5YebkkXdvqdqhS0UCl6uabGw/gCPnziHNPe2 2IE6uFxeCRaaHyxkhjO4UZknZOISONJUfZ+dtCTWtT/VCHk+JYzeBoh2H9hv16n6YR MTu6/6TpEuOt9tbK/Qk/2iJHmouMla6xdKL+1A1iQv55SO0brTK8Rx0w+oIVsSWriq 7dFdJ+av1QKItIGCDpYbMjOLldaBh+KxfJsvUAZOVfogar6tPU/+R/LmDdKGa2DE6a dkHajcP7zuQna2ia59m/WMTNWmfvhJwJnEcGv0aa18oUUc1uI1tB1Sop9cc/OwanJ3 5ythQznKwnZFQ== Date: Sun, 7 Apr 2024 13:41:19 +0530 From: Vinod Koul To: Krzysztof Kozlowski Cc: Mukesh Kumar Savaliya , Andi Shyti , 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, 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> <3dad8ee4-7d9d-4602-bb5e-f148d51d1fcf@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: <3dad8ee4-7d9d-4602-bb5e-f148d51d1fcf@kernel.org> On 03-04-24, 11:14, Krzysztof Kozlowski wrote: > On 03/04/2024 08:46, Mukesh Kumar Savaliya wrote: > > Hi Vinod, > > > > On 3/29/2024 10:15 PM, 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 > >> > > Could you please suggest changes OR approach related comments ? So i can > > make a new change which can clean the merged code ? Hope that can > > address the concerns. > > Can you address original comments? That is the best advice! -- ~Vinod