Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp530372yba; Wed, 15 May 2019 05:44:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqysA/VZoAutaO8uUR4h4Z9ZOIDydpEQV0bzD0aN4V1mm7SgdS4Z63HlAm+D1sGjYI1wmrSd X-Received: by 2002:a63:1854:: with SMTP id 20mr42390907pgy.366.1557924276187; Wed, 15 May 2019 05:44:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557924276; cv=none; d=google.com; s=arc-20160816; b=IHla1r5yuzUPRcmCHEjIdHAarCiSLRX8zonJ9xgLZhH/lRiV76sC2Ov9xa4ZTo4t0m /wS5U05x+TVXRaYBeSB1Vs8S2L1fgU3QyATz+NADt8Ou1MDAqRKgAwgMeFqJnm4O3kxY SCKWnepiu+5rX8NLoAuaZj86ETH4Jxon2rLMyjxxiDRU3YJcaVUYA/HIi16pfWZkyHfx /XRmia4kvB3iUn9JQ2GwtOp806ki7MKYqm6Yb4JUFlZZdp7Wds7stkpE7eR0FSWauSmC VdN0Wz02w6n99PXbDvDNJkn7U8A5Y92y4ph7AK0+12CYAbgw9/epqvPDOW6X4XrYjMOx ut9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=I3/M+7wSLAWtYBIlrcNCmNQgXTk4DaOpe7RKc+6vXT4=; b=pveTZE3h5OazDNdRgBPoe4zEHkAKQvmx9pqmiYrqiGToPnd2bqx0+De4XPDmTSU+aD 9er8tcCRwMlaEGD3UH7NeS8PryLkb/usYpUTHjjF60y6LfTUo1mcy3YMOLA7XpI8ES8N N7XHrufdErlcnvgGNsdHTE6VPS9r74gmrq4tfUHg7nro6v5V9zy0uZ3hA0rux8Mdgxmu ZGe3AiK9airWCKOL/2xdyVjsg8ytaiIRpEssQY6cqX6LwF4m2Zq8y/LOXBLL+FqtU4RR R7Ke263TDaNEayCqhJSFWLIm7Rjw34U87SDr8fCHkTLx6YzleXkNZ7swrCYk6ZZInaQM JtFQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k17si2211525pfi.230.2019.05.15.05.44.21; Wed, 15 May 2019 05:44:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726918AbfEOMnM (ORCPT + 99 others); Wed, 15 May 2019 08:43:12 -0400 Received: from verein.lst.de ([213.95.11.211]:52449 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726677AbfEOMnL (ORCPT ); Wed, 15 May 2019 08:43:11 -0400 Received: by newverein.lst.de (Postfix, from userid 2407) id 5D86867358; Wed, 15 May 2019 14:42:50 +0200 (CEST) Date: Wed, 15 May 2019 14:42:50 +0200 From: Christoph Hellwig To: Laurentiu Tudor Cc: Christoph Hellwig , "stern@rowland.harvard.edu" , "gregkh@linuxfoundation.org" , "linux-usb@vger.kernel.org" , "marex@denx.de" , Leo Li , "linux-kernel@vger.kernel.org" , "robin.murphy@arm.com" Subject: Re: [RFC PATCH v2 1/3] USB: use genalloc for USB HCs with local memory Message-ID: <20190515124250.GA13754@lst.de> References: <20190514143807.7745-1-laurentiu.tudor@nxp.com> <20190514143807.7745-2-laurentiu.tudor@nxp.com> <20190514144210.GA14625@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 15, 2019 at 09:57:12AM +0000, Laurentiu Tudor wrote: > Glad I could help. On the remoteproc_virtio.c case, I had a cursory look > and found out that the dma_declare_coherent_memory() usage was > introduced quite recently, by this patch: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=086d08725d34c6b3333db710344ae9c4fdafb2d5 Yes. I took a look at it to, and while it isn't exactly a clean usage of the API it at least declares system memory and not a resource. So it doesn't really affect our plan.