Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp169677imm; Thu, 30 Aug 2018 11:00:23 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaEb60UwpbovFiaGtqNl7EKnj5YbzB0NabvF8BvxKodx9RRqSIqh/LRjdTxpjPdm2eVOhdx X-Received: by 2002:a63:4207:: with SMTP id p7-v6mr10604283pga.201.1535652023023; Thu, 30 Aug 2018 11:00:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535652022; cv=none; d=google.com; s=arc-20160816; b=RzEWJiR0W2hANd/d22cOwURZP4GR+iwnwstJ3WalnGob3fAu+Hn4lJpSNZnoQrU9xE mBqXuHpqniprG3KhCpnLMoUBXqABJuOYY5HjcGdKwp10DY0wXMurDwSBTbMdrfbAUCYM fVmjJDrTZe7zuAkMximD+FKW7I3QeYCQ6Pb/9/94JYiCGXyuRuzx/uBsn57YYUfPRU+4 9P1iuU/rm0HOzS04IGLepnj5F/DaVsHq2DGAUunzidG2L2KaREPG90gF+cwb6b1waWuA L8yddEkpBzTkEfSqRU0nYHilB7/RrrVPOiI4ir7b5qY1H6FLO6aTaq6ky1xHh3CGjqPq Sedw== 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:dkim-signature:arc-authentication-results; bh=EBUFnwD8kacWjqjblNy+M7GLSXKKVzmhQiKQKuCF+vY=; b=pIheRAIFBR0wSyJHeqL/+pqDfUK4TLjcg/Tg6YNbfXXl1qf5+0LftkRjX3XZAJ4UX5 e48pNOKVggnt5QRf752cy3e8CaOoUXZ+b5qlfvfISHiP2xKs6snSRx1qXwxGxLmfaA2D XD1K7Xp+y9l+0o32anpjKOtC9APJvhhmBbe+DWPsSf9BGTBNeOqJHs6H5yBqgteu9vMi 0C0MT4wpw17l29MZ6kUd4He0AbEZlc9TY6w90gejVZRTz1D2DUObj0ozc9geYgxmCncb 6rLW+84lp+ibyPivrOC60gNmjU68hH6dADNT3V2cW9QETWJomCEdXqi2jPVAbbkWGWIh gixQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=D9xCIRrF; 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 h69-v6si6777650pge.13.2018.08.30.11.00.08; Thu, 30 Aug 2018 11:00:22 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=D9xCIRrF; 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 S1727408AbeH3WCL (ORCPT + 99 others); Thu, 30 Aug 2018 18:02:11 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:43478 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726959AbeH3WCL (ORCPT ); Thu, 30 Aug 2018 18:02:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=EBUFnwD8kacWjqjblNy+M7GLSXKKVzmhQiKQKuCF+vY=; b=D9xCIRrFS1M4mbTk1Vqw08S7W w3EB/z8ClBs33+ei4yAPQxL0Go0vh1vupHujsVSGjtkzQXKxvjQzZgI5McqJsxCulBX1pQz2macFP 3TOEDDkHsV8gyvxIgF++W+S9UjYMaaFLzedqkzZ+8oad5lCUOffbCoNlvEEYrmCaFa2uczK/+ZcUj exlv9CVl9wXib9myb8hGUHx76gC/i1insSAo6IUG/LbNVzo60r6r36tXt0ImsjX83eyARgTChAnkF tah7sRxFp7eUfETjKW/s4pcI0LBSPJhFkVIo4Mqp3fvVXNeZRkieMdwpSRuRGfp2rIaLGgvBlq1nT BXvbRn7xA==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1fvRDW-0004iS-Fk; Thu, 30 Aug 2018 17:58:50 +0000 Date: Thu, 30 Aug 2018 10:58:50 -0700 From: Christoph Hellwig To: Ezequiel Garcia Cc: linux-media@vger.kernel.org, linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Laurent Pinchart , Tomasz Figa , "Matwey V . Kornilov" , Alan Stern , kernel@collabora.com, Keiichi Watanabe Subject: Re: [RFC 2/3] USB: core: Add non-coherent buffer allocation helpers Message-ID: <20180830175850.GA11521@infradead.org> References: <20180830172030.23344-1-ezequiel@collabora.com> <20180830172030.23344-3-ezequiel@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180830172030.23344-3-ezequiel@collabora.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Please don't introduce new DMA_ATTR_NON_CONSISTENT users, it is a rather horrible interface, and I plan to kill it off rather sooner than later. I plan to post some patches for a better interface that can reuse the normal dma_sync_single_* interfaces for ownership transfers. I can happily include usb in that initial patch set based on your work here if that helps.