Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3451288pxu; Tue, 8 Dec 2020 12:23:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJzFooH/UDb+RQVQIFMaeeasBCFPfqZQa2Ce5dj5HQxj8nTucTQqwESEzvTZu5UGVh1LafT8 X-Received: by 2002:a17:907:da7:: with SMTP id go39mr19269102ejc.58.1607459024722; Tue, 08 Dec 2020 12:23:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607459024; cv=none; d=google.com; s=arc-20160816; b=urxVg9sDAsyX9vKYwNtNJ9rp9SZjpwEpqXSztNu67+47YK83FvJvObktlnwBCkfLB/ diKYe1qndi3jrdfKvMwVwnjjf+hEAnDea6XFtALk6EuP7a3xs0+Zzl04eCsHvddRJ4IQ CKRBP5yX9iXaGUf9zZLybsIitk2Xd/G3momEgleYOk3oCF7hbztdGjNvIMuXcOAKi760 Jynqa3/tjRTVCXRr8Q7mWRQ06uNqDJ4NYDBXSP4UKrT44htDY8EqsFdmvYxnLNTdqCeT g+snbzpuQXnXWvu6ez4k4rraujsWlrpEjPS0bjy7z8ANOqKt0pZ4m6qsDBUXnzut1kyv MGYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=O9mL6Dgrk2AVgo4JKOdHkqRTOXCD0cWjEPf/L5oZ/XQ=; b=YD/CW6oR0/zplf/2lMmDZSoO0z39YkRXSaC/3rKmsWqfBCXae5IUTMmKAoKKFsiKtZ OdSJuva199iJilpjfKjV56igEwE1qvYeUmsvukVi1+Th4a8QIn/sKAuGq0LTVUXrN3S5 EkBUMUMmoUqaatvEsBJhxMcAvi1z53bdyAZillOrQ9jGZ434UIS3+L31KHNqobLFgiSg GIxKXtYqj04s86vAeobLN5PMF68uHf+hYVY8ns+oi4Ojla/6WMlRcXITgzG8LDy/oOse ofp6gnbhxh8f79Jehdu2EMh2xrQ0Jd5r8/nR8e99FHh3cI8yRGncIEPmeOc1Xqa9WDyH akyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=tynT1opc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j15si5092331ejk.316.2020.12.08.12.23.22; Tue, 08 Dec 2020 12:23:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=tynT1opc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726621AbgLHLyy (ORCPT + 99 others); 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: linux-kernel@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