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 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=-15.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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=ham 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 41B55C4361B for ; Tue, 8 Dec 2020 11:54:29 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 009F223AC0 for ; Tue, 8 Dec 2020 11:54:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 009F223AC0 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=8x6hx0o3/kcb3tpD9BTh3XQDWPJT+w+NYGj99HOUo2k=; b=GGHbFAvFFjKAxzc5iAWnvvtzE pxlM0wpFr5Ukk0DXve3rTC1MevAvByLC69fyD+dfQvCvKSI0SX0jWqs35MFJl9du44InDHdFHg/7N HpdclgwK1QqhDePg5D147eiC+wTPDHfF/moqjXe5YhR4+5N9gJrRwjd92iueYcGNMF/zVQisSeu63 UeaTnVcOVkMpCH67LLd2W0mYzd9HwJGkmy3AuEb1yy/04nxEXljUNDcj6tQiMpMH5QQQcN/T4g545 MwTf5JkgEJrO4XnpO0mNrNhk1WtbkSpxSr7TBYJocG0lgbcWkgg2N5v+eDAcgfMBJtFdThpExACPJ J7w3Gy1LA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kmbYV-0001N9-TH; Tue, 08 Dec 2020 11:53:19 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kmbYT-0001MQ-G2 for linux-arm-kernel@lists.infradead.org; Tue, 08 Dec 2020 11:53:18 +0000 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 , , , , 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-Language: en-US X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201208_065317_607232_7BD6D949 X-CRM114-Status: GOOD ( 15.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, vigneshr@ti.com, linux-kernel@vger.kernel.org, t-kristo@ti.com, dmaengine@vger.kernel.org, dan.j.williams@intel.com, linux-arm-kernel@lists.infradead.org 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 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel