Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3304233rwb; Fri, 16 Dec 2022 12:58:28 -0800 (PST) X-Google-Smtp-Source: AMrXdXttdTCbzpwU3NFgFaPXhZ/4Z9ex3AI0TtD4CwGG+FXeigcJzwuNc5wovGwNo1hot7Z/4IXr X-Received: by 2002:aa7:c046:0:b0:476:50e8:93a2 with SMTP id k6-20020aa7c046000000b0047650e893a2mr2603806edo.37.1671224308317; Fri, 16 Dec 2022 12:58:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671224308; cv=none; d=google.com; s=arc-20160816; b=PrIMMmWxnq0wqIHHGNhKzDR8kzJVzZ7gBkLlPmqPHCabTtulKcFBfLNx4BBwAdrq/7 lNt+prBnnc6694HATCxSzgpHqqCGFs/ZIu0DY5faKOC+II59JRsRcv5r6XPYgObcw9sk 0iFPqEe5+BnszN+fbfpx/DpTA7hUE9oOe8SRCcd36Y2XdtQ5Mg53lTzJvmgiztcEP2q6 nDi7Qt4NGTsEV3iuXYDZn0f/9E1bMfsBWue8IluduOxvPw/DszHskMgVzmhx6IgDGcIv jSOYJ2k3rZ4O88euw7bNB8/PIHe6G4H9pKEOUAuxWeqH4UajN2ArULTi2xltja1O4Ak8 G4Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ty4Q6pmKGBdcK+JvghcaxT3SktTZCwT4+BsAt6gEM58=; b=AO1J7XcHTbVpa6sn75cDaams601fs3IWiZ/tpXttHS1WTOIz+fH22tWAWn53gfvgho NTN1PwC+kuavtlmDPNMIZZQiw57KOJ3X6auzX1SKOLTF0bI4FGXCdDa9YvxvPULvXDXA B3kZNzcZFLaUrRtgnzYL6kUB+zBu0dpcyg+dpppb8rLLEHtCevFUtLA8F5GIR8gkdgxt Em7ndQ3nXp0LQ/T9p7Kq0Tk5Z/zNrzzUIKeWc8dBThrCR0S0qQKhTjtOdFNPpcgKnMZH Ht0HPhheuxjrCV+y5/86bde9DdDMtAmA/OnZa/U2XSGAo8NkSvmArd8IGq1hnSKslP69 n4uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=K281Hjcn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l12-20020a056402028c00b0045eec876883si2771610edv.229.2022.12.16.12.58.12; Fri, 16 Dec 2022 12:58:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=K281Hjcn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231960AbiLPUvB (ORCPT + 68 others); Fri, 16 Dec 2022 15:51:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231984AbiLPUu5 (ORCPT ); Fri, 16 Dec 2022 15:50:57 -0500 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F5ED2189D for ; Fri, 16 Dec 2022 12:50:53 -0800 (PST) Received: by mail-ed1-x532.google.com with SMTP id e13so5289753edj.7 for ; Fri, 16 Dec 2022 12:50:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ty4Q6pmKGBdcK+JvghcaxT3SktTZCwT4+BsAt6gEM58=; b=K281Hjcnge0R86zglG2H9v4Gt/ejUenfiXW6UYj7GNr4X2YogLbL9zN80GvGkEXpLF bAscjiNEWAXJvdbmAen53eXH+PgSzU4jrBtGIts4eu+BzaMaTF5Zcp+/cIJ6ooacQEeD 7p18N6vnCNtUjS6nqN27cydZ6JYP9JpNOQr6w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ty4Q6pmKGBdcK+JvghcaxT3SktTZCwT4+BsAt6gEM58=; b=tkVd12/kn0ItZcf18XdC/9+hfhNhSawkYAhV4mM8UgHvzgyCsmHNmdecZrjo68cU2Z eCQRnORSwT1NV6RcHpTfYdLTC417QpVxfywffzp4dnPfuGEkRWTgtnN5o4j/7CRANZpH lstYHLYF0WebFlTE06UircdbY5MdIkeQT6frpZPJDyjtuCB39rxiwbp0N/2i6CJHO8xI 79cHyvyRc7qQPFQRFM0wvb0Mgj4aocfc+VHk03Bj/lMoK99ZZqCof4UZZ1hEmV3AQr4i e8pzjTHszIH9AZ7BslJGfFIUEPsNOCY4D9tIzpJKOnMi9c/8+qfnHmA3X9URRn4ojysg HKeA== X-Gm-Message-State: ANoB5pm0wetxmslOhBMIhu3zGGEMxU24ZTUSggPoGnwSek12TGk0xroc GLQVCV3iZ+8p5gxZrQ7PC8KZZ64Xln6eFET78Ac= X-Received: by 2002:aa7:c787:0:b0:46d:cead:4eab with SMTP id n7-20020aa7c787000000b0046dcead4eabmr27364398eds.6.1671223851805; Fri, 16 Dec 2022 12:50:51 -0800 (PST) Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com. [209.85.221.47]) by smtp.gmail.com with ESMTPSA id d30-20020a056402401e00b0046b25b93451sm1237896eda.85.2022.12.16.12.50.50 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 16 Dec 2022 12:50:51 -0800 (PST) Received: by mail-wr1-f47.google.com with SMTP id h7so3659318wrs.6 for ; Fri, 16 Dec 2022 12:50:50 -0800 (PST) X-Received: by 2002:a5d:4950:0:b0:242:1f80:6cd9 with SMTP id r16-20020a5d4950000000b002421f806cd9mr26993001wrs.405.1671223850700; Fri, 16 Dec 2022 12:50:50 -0800 (PST) MIME-Version: 1.0 References: <1671212293-14767-1-git-send-email-quic_vnivarth@quicinc.com> In-Reply-To: <1671212293-14767-1-git-send-email-quic_vnivarth@quicinc.com> From: Doug Anderson Date: Fri, 16 Dec 2022 12:50:38 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [V2] dmaengine: qcom: gpi: Set link_rx bit on GO TRE for rx operation To: Vijaya Krishna Nivarthi Cc: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, vkoul@kernel.org, linux-arm-msm@vger.kernel.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, quic_msavaliy@quicinc.com, mka@chromium.org, swboyd@chromium.org, quic_vtanuku@quicinc.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Fri, Dec 16, 2022 at 9:38 AM Vijaya Krishna Nivarthi wrote: > > Rx operation on SPI GSI DMA is currently not working. > As per GSI spec, link_rx bit is to be set on GO TRE on tx > channel whenever there is going to be a DMA TRE on rx > channel. This is currently set for duplex operation only. > > Set the bit for rx operation as well. > This is part of changes required to bring up Rx. > > Fixes: 94b8f0e58fa1 ("dmaengine: qcom: gpi: set chain and link flag for duplex") > Signed-off-by: Vijaya Krishna Nivarthi > --- > v1 -> v2: > - updated change description > --- > drivers/dma/qcom/gpi.c | 1 + > 1 file changed, 1 insertion(+) Without knowing anything about how the hardware actually works, I can say that the change looks OK to me. Reviewed-by: Douglas Anderson