Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp101138lqz; Fri, 29 Mar 2024 09:45:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWPvTQbGNevX4PETkBQsrsPWQjtHgYfRylS8x6++wf95IOso7WKPbCEwZGgaocLdDjLTnCGWDOLjvDDGM5PoDuaPskj5c0ucsLbih/ahA== X-Google-Smtp-Source: AGHT+IEk2VcmfwKBydwqK0h+efpQYzIPEtXevzRyK3ipzSpTB3kow1AGDzRjZign74W5+xp6UcX5 X-Received: by 2002:a50:d4c9:0:b0:56d:b6dc:c8fe with SMTP id e9-20020a50d4c9000000b0056db6dcc8femr869353edj.0.1711730739915; Fri, 29 Mar 2024 09:45:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711730739; cv=pass; d=google.com; s=arc-20160816; b=UGymLl/v9WlYzqMNngb2kuc8LHpUUF7QR7xuFo1WCnundZN8htidnMcrBDn1IVIL9P dv7TV5UQ0KdS2trPz3qhJytbZKMuLcDK7M8tBY3o7tfxd7kP3kLWOdyzLEkYvuUb2zDC KHgh5RyXn+L3F5kKwDj55w7wGToXvYAJItbH7X5AbibuuHCEZUKtEGj0pLfCghzrkQio vV316d0h4de7qiAd82i4+tCRVaMUk1Y+sdjlzLPQsCqGN5NXXkAwcC6sJG2YgpVajfLb eyq4NDE++oCxj+GxiHXASIt3xD23jbUeknWyWVPYPY0DoQUd1I3F7vfLkptRZgleAMZR 46Aw== 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=T0uxI48BUzKE8XVwGjwi0IrJe6mI/BXt5JP0K03TQEQ=; fh=hIShU3+d5RMI2AYDpcrTHJAAr0cidEmXAlz8rklxstc=; b=iKbCyrCxZ2/KFuxjAHhaKZtgVsFeoItuLpVfAcb1GQEcRZJpV1j/Cs4orTqqFdG3Om 4uCMDOl+roevPLPL6O4vyDBBxRUMi+u3IDODjeC4RI6AD2J+la/Y+kBnMy34JwRIZrSv ncKPI39T6JHUk9FbmSt8pD5gtQip/9C0Rku3LZb3v1wOvpc8gwlycikEP952LSuc3qih i5Qg94mPove4GtZ9j5F98hdyp3o4+5jCVPBWYHpfhWOh1cahVgu35SI9TxYjdsuQUQN4 LNaLuryqkqx64eD9HZDOmuYE5uu2BJ9+d9uyFjHQPw3ABtbqrC4hr0gsKZfyHEix/Y+x KiQg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jggTfNMT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-125187-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125187-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id q20-20020a056402519400b0056c2be5c715si2083192edd.434.2024.03.29.09.45.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 09:45:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-125187-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jggTfNMT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-125187-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125187-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 93DA51F2543B for ; Fri, 29 Mar 2024 16:45:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0029F6A8D2; Fri, 29 Mar 2024 16:45:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jggTfNMT" 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 0C5EC3613C; Fri, 29 Mar 2024 16:45:28 +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=1711730729; cv=none; b=loWXEhcph9Zy+6KRCSMBV/yc2hehVMN13l3ZtzchzPjucILROhU/tUGezZMfy2Re/xImp2hLE0e9v/mwG8eTDFvWKIQLIZ2cbwlQzkoGuo7YAkhowMTKvXgIMqQAMVG2O6MDLa/UzAHGgZnOiyL46/jVPSsHnaIFSeKXFKStXVU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711730729; c=relaxed/simple; bh=/LGwy+a6PttgrCg1DdbffQ69croSPBQk2G5RjbG3jpU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZRHBr5oc2uC7q4VU48n0xgaKSHsDBcabW0F+gmPvQzFDS7Z8uri5ZVp/+RPZn3Vbih4wRvGQsyCIVf+JV8ppm6ObpbisBXV38a6c67tHqVDV8WKw+zyjP5Zsr4fIXSCCp4Ad6ADCeNlXDzX5fB4E7cLUXxkwpzHpADh4v6YHZqU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jggTfNMT; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id CB439C433C7; Fri, 29 Mar 2024 16:45:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711730728; bh=/LGwy+a6PttgrCg1DdbffQ69croSPBQk2G5RjbG3jpU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jggTfNMT17IKwvzb3Hqukd3XSp3edS6mZ+raouDn+O36b0jhgVSUFzsgu9c1PdJ4Q iPyjGZicbXoLE8/zdEo+yOp06wKtPG5cj1vS8VbVAq0S0/OFoQMpdxkakoDiVuvAyZ YgWSu2JNtnFjUzXYb/IVsclCYmEJtm+bZq+0tr9L/GCGu3eMZiBlJM0uUF9RzyO1SW juAjP5h/rBaZ67pI73jVat0PxnIrY+ELEspwRdGg3Vxubh2VdE4pUugjigXszxZAFx tiQZm5+3/DJx1em7EvKCBlah0QtM0JXDy3VsG5/hTj2r8NlZBiEqiqcG1sN9vEaf2u B6CBLpvSu+OAw== Date: Fri, 29 Mar 2024 22:15:24 +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: <171161140136.2698925.4294566764047886777.b4-ty@kernel.org> 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 -- ~Vinod