Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3600700pxu; Tue, 8 Dec 2020 16:59:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJxL7kY5ZRKesi8JrWhVUUoPy+JF6uzSB7dMmylIvyIk0Vs3IrVjidi36rIAmzDOaRx1YHO+ X-Received: by 2002:a05:6402:c1c:: with SMTP id co28mr544905edb.287.1607475569383; Tue, 08 Dec 2020 16:59:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607475569; cv=none; d=google.com; s=arc-20160816; b=EIhpTN8mW34R8z8bYYdvtDNUh5T9WzET+a2fCvl3flB18rn/3pkW7wrWovhlGNcck1 WvVvDtuWQOJnwTsmzc2bmXJyq9b7dJxehmRCjGeM7yahQlzpHe88bOAj4b/7IYhkp1Xx WPzK7dRS81XNEksSAdNSAuo210Ls11RTK4Z+BC207/F9uMzm7PtsKdfFJ94S1MoqqyNm 0nAwWYe2LGgQrq39kFGDNJE4r5a5XDs6YaDtO2Wqq7u6G6+5slbRRmGLsYEgaTweRph7 +Bl4k+Xd3YjmxNuZS6PJ1ZznrX72CGRom2793Qjcpfmzk6aKbliAcMjtdLz4h51DIP9F zfgw== 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=qXoKsH8IyPZo+6f6q7lrw5GuImluXxVlgfEO2PcZOVw=; b=DKEiIBxPO+FfnI1rmQaHqrA0F0QXLcq/ABiIkDEYn/Ecayy0eWmV9z6BX1YxYr3vZJ ZTKSSUxtqLfp+X0y1Pca4Kdvzt4w4WSbf3X5Q26YKOtpXLtoe+8m8JSw2Vrdz52MYiuI nsh2aeV89e0PM38jD88/1srM7xhBqDf9U7sKXzAf3o6xX2VsU+ZNdy7jFZvc7F/i9i2N c+s+U84xAGrMAKhZupbSYwBs8RwRa6ZBqa0u7fqwidD2WyEkicy1jowN8AVusWCCurxb hC7TqtnwSaTLP6FPqfKjqLUmftFpChlEr6Icl+nPURFqnBN6+mjbeV+OAF+PpJjLN7Yf uXHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=krsumVr5; 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 p16si88875ejo.364.2020.12.08.16.59.02; Tue, 08 Dec 2020 16:59:29 -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=krsumVr5; 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 S1729209AbgLHLxu (ORCPT + 99 others); Tue, 8 Dec 2020 06:53:50 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:38776 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725905AbgLHLxu (ORCPT ); Tue, 8 Dec 2020 06:53:50 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 0B8Bq8k7055935; Tue, 8 Dec 2020 05:52:08 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1607428328; bh=qXoKsH8IyPZo+6f6q7lrw5GuImluXxVlgfEO2PcZOVw=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=krsumVr5tRDU3fH6ZpB53V1AmLtbtxreSPPOuOAx9dIYcCIkiUUht3+v9pldL8/o8 WebKgq63uZz06ihygtxC51zFmp4JLCsmpZtOovFfrJDN3u+tIVp3jU+Jcm4jMyG9ET T2uyOVcGS3lHWvMyNEFpQOLrlxntT1tBrdziEmBM= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 0B8Bq7h6092458 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 8 Dec 2020 05:52:08 -0600 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE115.ent.ti.com (10.64.6.36) 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:52:07 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE105.ent.ti.com (10.64.6.26) 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:52:07 -0600 Received: from [10.250.100.73] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 0B8Bq2YX040294; Tue, 8 Dec 2020 05:52:03 -0600 Subject: Re: [PATCH v3 04/20] dmaengine: ti: k3-udma-glue: Add function to get device pointer for DMA API To: Peter Ujfalusi , , , , CC: , , , , , , References: <20201208090440.31792-1-peter.ujfalusi@ti.com> <20201208090440.31792-5-peter.ujfalusi@ti.com> From: Grygorii Strashko Message-ID: <83289f9e-723e-4fa5-ec89-c69f0bcc5400@ti.com> Date: Tue, 8 Dec 2020 13:52:03 +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-5-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: > Glue layer users should use the device of the DMA for DMA mapping and > allocations as it is the DMA which accesses to descriptors and buffers, > not the clients > > Signed-off-by: Peter Ujfalusi Reviewed-by: Grygorii Strashko -- Best regards, grygorii