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 X-Spam-Level: X-Spam-Status: No, score=-17.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 19EAFC4361B for ; Tue, 8 Dec 2020 11:54:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C891823A9D for ; Tue, 8 Dec 2020 11:54:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726080AbgLHLyy (ORCPT ); Tue, 8 Dec 2020 06:54:54 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:38956 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725890AbgLHLyy (ORCPT ); Tue, 8 Dec 2020 06:54:54 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 0B8BrFWg056263; Tue, 8 Dec 2020 05:53:15 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1607428395; bh=O9mL6Dgrk2AVgo4JKOdHkqRTOXCD0cWjEPf/L5oZ/XQ=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=tynT1opcaAkOvu3fA0vs90dekOZWxBbZRl2UDu3MUHsDqRdOQ9JjcujKgYEuNApLz aQH4Ynj525P228wnTTzRjK5OvM8n9tpOjnF8uWiETzRlREC5rrRxLtmeMSWquyafIq stkLwDk51HIxEwiSUDIAF7uE3S8Tig/evuuhfh04= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 0B8BrFGF056255 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 8 Dec 2020 05:53:15 -0600 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Tue, 8 Dec 2020 05:53:14 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Tue, 8 Dec 2020 05:53:14 -0600 Received: from [10.250.100.73] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 0B8BrAPU022853; Tue, 8 Dec 2020 05:53:11 -0600 Subject: Re: [PATCH v3 06/20] dmaengine: ti: k3-udma-glue: Configure the dma_dev for rings To: Peter Ujfalusi , , , , CC: , , , , , , References: <20201208090440.31792-1-peter.ujfalusi@ti.com> <20201208090440.31792-7-peter.ujfalusi@ti.com> From: Grygorii Strashko Message-ID: <25fdf6df-4872-45d4-ac88-567005893c31@ti.com> Date: Tue, 8 Dec 2020 13:53:11 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20201208090440.31792-7-peter.ujfalusi@ti.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org On 08/12/2020 11:04, Peter Ujfalusi wrote: > Rings in RING mode should be using the DMA device for DMA API as in this > mode the ringacc will not access the ring memory in any ways, but the DMA > is. > > Fix up the ring configuration and set the dma_dev unconditionally and let > the ringacc driver to select the correct device to use for DMA API. > > Signed-off-by: Peter Ujfalusi > --- > drivers/dma/ti/k3-udma-glue.c | 8 ++++++++ > 1 file changed, 8 insertions(+) > Reviewed-by: Grygorii Strashko -- Best regards, grygorii