From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8C78DC433EF for ; Wed, 30 Mar 2022 10:26:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=1SX2jxo8ZB6VKYgTN530NJN+37PQODpf+3JAtgMg/G8=; b=xMpqiH6VFZEHx9 Ui+49d0HDWErJR6h15gjJG67s5ZdxtDLPmrQlBeyyJLwJeW3IMZo1wnlZPJxqWibVj8/VQNKbMAIC BoMo4pCbKdamddMMSAfh+sx7BRMD4D7L/UjKvmf8rXkLIzun+3zKZIBaJyMhzftB4mWLLbO/tOJLs 4ZfWBV646NvCKnB+JGzJsGCxnoeVHsCT2aJcNgPSTKRyIESaM90KQ9Mes7+nXywi76/QHY63Z0mxn TJbyysW1nXmiLurfpAh653kuRPnnHJZpHgwlKHt8+2X9yssOm0f+FzFVgT/zrCLyO/o/ofUPgG3MW uvX4NZFLUvEPneRVvGRg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nZVWF-00FBUe-Rn; Wed, 30 Mar 2022 10:25:40 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nZVWB-00FBTM-MX for linux-arm-kernel@lists.infradead.org; Wed, 30 Mar 2022 10:25:37 +0000 Received: by mail-wm1-x32b.google.com with SMTP id r64so11927817wmr.4 for ; Wed, 30 Mar 2022 03:25:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=HIWpi/8D1djUzx7THE7n67oIfPKGmrvE/SwlU2lSkLA=; b=lUWULG+IN08a/hn4fiOqt6bNpyrGelQJQQY1CO+dbSwLUb9LqmiaxxfEyaUmS1WD1E 6Jh9UUc1S9Faj6gbNsE1UGXowCMXW9fox/hH8ydwEozmwmjHofa2kmtOeViq1U77opI2 vWjMN/479f4tpGR1N/HBWVWKoSWriXnn5aTNLupu48ytgHgQfKXB5xNZ6wMEw6E/rd2f tga/3YYw9x4s3e7bXWWAxkM0GhNB8rXBdc0zwV20vnf/aqnBi6V5jV5sUyOQnWEhRkAA gGWeg1S5vX7034R0tAt8JAAr98CdjhB+5x56eT4ZrVkfDpatE41YlX20jXiou0JSMMot gnrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=HIWpi/8D1djUzx7THE7n67oIfPKGmrvE/SwlU2lSkLA=; b=Teysc7AnRsytDDsMEOtC12bl5rB286RK9ejeDMB1M0deX6moxUzVvK1xfIasbUZkvt zMVqXrsZlUcHDbRplfmtte87iWwI/4J2kagLOy0n1VAY+q9gwOY/Z3t0wHO1gyzb+x46 I3bap2JFOqQLt1OwvWRFLO6WLDggvDAtYRmv+eTrvZdb5oHugkjsQjfSfe4jmDFMKP4w 9gKt9qMyUpVPNpBZ+8I6VM8IQsfHy4m3GOJM8pDxEhKrHyrnv3Vaq/1gPHXk+PE+f2kA 5owuEAtxaXk+5VsbZ5PC5IzIjEc49vRBaR7UyYng/wsAedsRMn56gwYR63kEHL/OZowr tz+A== X-Gm-Message-State: AOAM533hRhH/whuPGprkWrNAYGFbH7E54woqtlK1LGjS2Q8edDkXEBDu BqDcPzmRZUDl6CaCnzMa1psp1w== X-Google-Smtp-Source: ABdhPJyG1sVXUz6I5tf6C8RXiwYzb3kTwXz6SO1D1h3jIBPDn8sAoDtDK/poWTpvBTCo65fGctX0OA== X-Received: by 2002:a05:600c:34c5:b0:38c:30e3:1e6c with SMTP id d5-20020a05600c34c500b0038c30e31e6cmr3824774wmq.144.1648635933279; Wed, 30 Mar 2022 03:25:33 -0700 (PDT) Received: from [192.168.86.34] (cpc90716-aztw32-2-0-cust825.18-1.cable.virginm.net. [86.26.103.58]) by smtp.googlemail.com with ESMTPSA id g10-20020a5d46ca000000b00203fd86e198sm16609627wrs.96.2022.03.30.03.25.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 30 Mar 2022 03:25:32 -0700 (PDT) Message-ID: Date: Wed, 30 Mar 2022 11:25:30 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH 1/3] dt-bindings: mmc: mmci: add a property to disable DMA LLI Content-Language: en-US To: Linus Walleij , Manivannan Sadhasivam 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 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> From: Srinivas Kandagatla In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220330_032535_803292_83525078 X-CRM114-Status: GOOD ( 19.52 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 29/03/2022 22:16, Linus Walleij wrote: > 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? There are multiple instances of BAM (Bus access manager) on Qcom SoC, some of these instances are dedicated for each peripheral instance. In this particular case we have 4 instances of BAM each of which are dedicated to 4 instances of SD Controllers. BAM dmaengine is used across many Qualcomm peripheral drivers. --srini > > Yours, > Linus Walleij _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel