Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2189977pxb; Wed, 30 Mar 2022 18:50:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyY52y0vLyjFkPfDAgsWUAx2c+SDy3EseCfmPAeDG7EnuRjOHjFxGTA4l6QQWRJT0GYN/3o X-Received: by 2002:a17:906:58ce:b0:6da:b548:1bbb with SMTP id e14-20020a17090658ce00b006dab5481bbbmr2870239ejs.14.1648691448538; Wed, 30 Mar 2022 18:50:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648691448; cv=none; d=google.com; s=arc-20160816; b=SJ78p9pxjtVm4AbDZSSAoPM8W7M9ycz4mLRix/0ih5h6pbPkaVyoMSkTOm1FumW3sF DUaKioh/DW/hEd50fXX42hQ7KprNJnw+Dgk6NJ8lO4JyvV9VDV0bb/HlKkhYA7TPsh0e ICQ6gRgzHkAt+M9cdRj8L6d6F+rkVruJvua/3X2lS3xByQXeHSgP6/8qtfpVP134cGu1 UBbQmUitsDegIdXfE9oTPfqhbPv8/OO3M3/MBfu1Pqf+AKriVwVIjSM8sK/a0i3jHMxz ihS6y6rOKY19j6DlZQSMFOw14BCwBhvL9NAv61cybEOy4UXH8taoUVpvk4+DXVxfHj0O kF8A== 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=1NmdHbhnl/vRItSEWqZfS578eYz0Ln76M7w3+17SBng=; b=vQfK/hx+TP6Lp60KF/I9336wFZhXrA9CuMTyEhYQGGe9C9uNZW8Z5yzyQfU0CdkFFx 5cFyZRWkWA6/GMa7/CLAhWxAan7+Aq/SKAVAwKdBqDdYC02pHcHIa37S4hPL/1Sh0S5f UA7/PlPMqAFWbgp0fwKdrR9ANlxdNgvuOsmvns1QlAPq4BSGV/m9Ykqrk6kAHQO5/sBj eLVPse+P4gmYcyEb3mSx3jXzxiPIvGEP1+vQInQl9LTpAFUulP1QXZ7UTR2JCbkjXfpN xc0DfjoHYbQfEC245cw80ss44nkf8bFm41Vy/1fAwGY4ha0RrznC7D2DqREIVa3A3O9M s9QA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nnNp2K9C; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ne36-20020a1709077ba400b006df76385f40si6773465ejc.992.2022.03.30.18.50.23; Wed, 30 Mar 2022 18:50:48 -0700 (PDT) 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=@linaro.org header.s=google header.b=nnNp2K9C; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233314AbiC2VSu (ORCPT + 99 others); Tue, 29 Mar 2022 17:18:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231886AbiC2VSs (ORCPT ); Tue, 29 Mar 2022 17:18:48 -0400 Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31F4B1D41BE for ; Tue, 29 Mar 2022 14:17:04 -0700 (PDT) Received: by mail-yb1-xb31.google.com with SMTP id f38so33778324ybi.3 for ; Tue, 29 Mar 2022 14:17:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1NmdHbhnl/vRItSEWqZfS578eYz0Ln76M7w3+17SBng=; b=nnNp2K9C0PhtBCZ9DlF+5HkNtJtSFxGCTe+rj/yzMLI7t8hiUYwTIqIX7DjUb2Ej+l YZJn4iEApNAcehGis3mzjUOYIlnzVRouSbGMm6iXFNxUZ+KoTMHAVElD+A4wwZmCd/B0 eEEbLLsLZFZEcsXXT0Lo5ktPGfgsMiW2ylL9g+GOabkqDWyMZ1h1SM1Pf4lmXgs/D+7I gXS3N7nI5IDy0LRBZ4AehTCJ1hAF298ax1wzj0Ii9zBxM8U3GjQ0lFRhOsj8guh34ZnJ wCCDM9vUrfgM5TSoshOYj3qBD4m2Ny8MZNGXo+h+RQmlgcxRSkD4XP6KR3exbwSYnVXH m04Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1NmdHbhnl/vRItSEWqZfS578eYz0Ln76M7w3+17SBng=; b=X6XQV7oD4gK06gN8j2Gb9kZ56WeeFVfTrCxIWCkB2GJEz9NWXh5GK8PLbGC8G46DD3 NjOKqfIDBHa7o1+0FS6kQc6p+zmxhLoe3jJNU5SHbQE5d+htIXEd1KmQgki/W0iWJwoe Y3qFUD+NsY5fAKTxOnwm8ZLmoZ8+7n+4+r38U6EY/zts8N5y5kYw5GyhmptZxMFHt1kz jxWi2Xt9/fLYEJrAu95qyU/FtKfN8b6q1iXeP/t3QYbZhzIgmT0zYAt6QE/cixTjyd7i L1g+JrOntj6TSPxMB8aZ21prhmRESEH3BbVXtcS556ix/nj72NefDzegJlftryC9vL+4 LNtA== X-Gm-Message-State: AOAM532sy4GfsTT6iP5abbw2TTYaSPbK73d73dt/5vW81yDMw55VgBlZ TWj7qMSYNNkk6xYQXBgylV95M7259yQOILVQUHqd1A== X-Received: by 2002:a25:2497:0:b0:633:c1d0:e7bb with SMTP id k145-20020a252497000000b00633c1d0e7bbmr30780376ybk.291.1648588623439; Tue, 29 Mar 2022 14:17:03 -0700 (PDT) MIME-Version: 1.0 References: <20220304135134.47827-1-yann.gautier@foss.st.com> <20220304135134.47827-2-yann.gautier@foss.st.com> <0bc53018-fce4-4104-fa47-6e60d2367d69@foss.st.com> <20220329153114.GA58120@thinkpad> <71b10ce2-7b87-14d5-c8e4-3a4598c889e0@foss.st.com> <20220329173322.GC58120@thinkpad> In-Reply-To: <20220329173322.GC58120@thinkpad> From: Linus Walleij Date: Tue, 29 Mar 2022 23:16:51 +0200 Message-ID: Subject: Re: [PATCH 1/3] dt-bindings: mmc: mmci: add a property to disable DMA LLI To: Manivannan Sadhasivam , Srini Kandagatla Cc: Yann Gautier , ulf.hansson@linaro.org, Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, Alexandre Torgue , Christophe Kerello , Ludovic Barre , Maxime Coquelin , Philipp Zabel , Russell King , Marek Vasut , kernel@dh-electronics.com, Grzegorz Szymaszek Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Tue, Mar 29, 2022 at 7:33 PM Manivannan Sadhasivam wrote: > [Yann] > > As for Prabhakar's answer, the IDMA here is inside our IP, and not used in > > any other IP. So I'm not sure it is really relevant to move that to another > > dmaengine driver. > > Okay, I think this justification makes sense. I was worried of DMA IPs that get > sandwiched into many peripherals like the one on Renesas platforms. It turned > out that each subsystem has to add internal DMA support for it :/ That is a justified worry. Qualcomm has "BAM DMA" (I think it is called?) which is added to each IP that needs DMA. drivers/mmc/host/mmci_qcom_dml.c It's for older Qualcomm platforms but I *think* it is actually not just used for the MMCI, just noone ever got around to adding it to any other peripheral? Srini do you know? Yours, Linus Walleij