Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2520196lqz; Tue, 2 Apr 2024 23:31:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWbnz9BitS1Ko62NBNrGdsgHDmUauXIRDybq5p455KmcSyUfS6FeAPx4PlursKbLG3P4ap6IANB/AXuX98w/CWrfscTpnMbaVqxxRDPpQ== X-Google-Smtp-Source: AGHT+IEBfePrE43voQ1+MGLITqVwTXbxpoR4bdKJJQV9GWpfLRP4pDaVNN2kgvPcWbN9Zd4eIUtP X-Received: by 2002:a05:6871:29e:b0:222:5ff6:43f1 with SMTP id i30-20020a056871029e00b002225ff643f1mr2273360oae.16.1712125903477; Tue, 02 Apr 2024 23:31:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712125903; cv=pass; d=google.com; s=arc-20160816; b=cPYkYoULa7kPKQx6x/QdWgiQKJfK54iN9kzbmFjlfAbwIxXR9QnSTS3s/mfb8PhfID UYksvQy6NnGvDpIZ4DHTmfo2w9wdkPrP5ykxDpkwOyx2QthYjfi/OFsPCj52EQhWEki+ ptwptt0MvPTG/YNtxd0yP+VJvKS7KUrsUZwYFdfDKUnzqFyJByu1r21pY+bLNYLujS7o A8T20DLAsE09L7yvylc0as7l1EfxSniJZ6X89DVZjRkPwvJ9r6mhftekwcp8SJulVK/o O5sCTIIBifjUrflHcNNu1LOoaKM3x/j0kU8S0uAHa1seOeRDeNYifgoflOioRgCUETts m90A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=JipporjZke/uz6BMHWWXAeamtuZjZCIZp6MbVhMcG8g=; fh=jwWpueVM/ddUizvcFt5bsbHrEcPg3EsdAxg/kfcbVfk=; b=G0SV69f+DevEPMCvarXcdQhyYa+0mpLURBB1kfnb6CX5TkZeXlqmCLXTfyMeBBSwzF ecpEAP+EXbkzQSOrYmvM+lF8/7fwULDVljzPXbk8AQi2jdTt8byTmHSd3iJZzsj1su6w d+9PziGk9/ICqrgxmJR+rP8wLT4iXj6B4hvq9552hNau9uBqs9KTHyDEF0jiuZqCk8CI cFthYkODZat1LO7M+973F/XBERT0+Z27ukRdLvVN0SX/LFVnxfogu0oXJyN9gFfhJhhN M9OdbQklcSh0PVjKXRFdAV2W/jPIHMjheKIyKzBypzWprfPtwKp2GtiN8TXE8KytXYtA 7goA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NNcFPwNg; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-129083-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129083-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id ld18-20020a056a004f9200b006eaa98ae6d7si13250975pfb.220.2024.04.02.23.31.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 23:31:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-129083-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NNcFPwNg; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-129083-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129083-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 09973282D36 for ; Wed, 3 Apr 2024 06:31:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ABE5918B1B; Wed, 3 Apr 2024 06:31:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="NNcFPwNg" 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 B762D259C; Wed, 3 Apr 2024 06:31:32 +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=1712125892; cv=none; b=OS/RVZQ4rt01Pq7ZJ8bdxqGuV7kcRU3rJjCn0YzC1hTUQjvCJnX4kpS87UGmBewiwfkDfRQ3Uwguu57yOuPrurA9yvvH3eY2Yaojtt+GLFqzCbSgmsF+KGpjRIFwE+Qg+7Vd3a9kwMp6ZhVFEYmIeE996ckys+Jeuf+w2CNZeGI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712125892; c=relaxed/simple; bh=u8yyfyZgaAagm34t7FuX67uRnRyX369M5V0O5ZjBg8E=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=D8VHEEbzlLdd9GW4V/g3Is8+6bl0aFGg9NWSLGY9LKljsIVQB9qEEhVPtKDWn2Rm+iU9xD8i0xIaIYVb9mutnvKzyAQwDalDLOwBPsOUdV+Xq3Lph8PXyjI55CPBepcQDU3zQqAULduc3gTxnnzBbCca/YnBC55j/Wg4Hp+iRt8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=NNcFPwNg; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8E099C433C7; Wed, 3 Apr 2024 06:31:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712125892; bh=u8yyfyZgaAagm34t7FuX67uRnRyX369M5V0O5ZjBg8E=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=NNcFPwNgUFjquMQDq9pFW+Nd2/hQ/SeCVicQQefTLrr2aVWZO6E0o8KlojPbkMjn/ ddPPTh88swtL9n+xlUMrEu86A0+ldGBXBJxWJYv+TQwQAJpMdCvNZxmGv5yN4PNIxC v/CeAmoo26L+5gzgbUXPtypYZUPOs91qV8quiQ6Vmt+Vll3gQX19bzhlLoOatImrv4 iR4yUwhIEaH4UJqtZb/2oAUJm4AT6XbYBmMxHScn2WPGs+4wIVoMIEo4KLsFa/8HLx Oxg/cwrFbICQBxxMv83Vj0y9u4uL/jV4ajjPiaA47VW17u/SBLk/zdptjBPcLoKPqb PJIMmjslywNrw== Message-ID: Date: Wed, 3 Apr 2024 08:31:27 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4] i2c: i2c-qcom-geni: Parse Error correctly in i2c GSI mode To: Andi Shyti , 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 References: <20240313052639.1747078-1-quic_msavaliy@quicinc.com> <171161140136.2698925.4294566764047886777.b4-ty@kernel.org> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzk@kernel.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzSVLcnp5c3p0b2Yg S296bG93c2tpIDxrcnprQGtlcm5lbC5vcmc+wsGVBBMBCgA/AhsDBgsJCAcDAgYVCAIJCgsE FgIDAQIeAQIXgBYhBJvQfg4MUfjVlne3VBuTQ307QWKbBQJgPO8PBQkUX63hAAoJEBuTQ307 QWKbBn8P+QFxwl7pDsAKR1InemMAmuykCHl+XgC0LDqrsWhAH5TYeTV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set=UTF-8 Content-Transfer-Encoding: 7bit On 30/03/2024 00:54, 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: >>> 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. That's not true. The patch was sent during merge window, so that time obviously does not count. Anything not being a fix sent during merge window is postponed by many maintainers. Therefore this patch *must be* considered as sent on 24th of March. You applied it 4 days later, giving Vinod exactly only four days to react. > > This patch has already been merged once via the i2c with the > agreement of everyone, but reverted for a trivial failure. You need agreement of other maintainers. Or at least ping them. Did it happen here? > > 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). So you applied it during merge window? How anyone can react to this? Best regards, Krzysztof