Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3230377ybi; Thu, 18 Jul 2019 23:33:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqxRoT4kLKgrYJI90ZG4EZFc6Vjn5134W+RuiRkAN64RwiTesiMLMBlJEjGEFpA4mKKKRoYB X-Received: by 2002:a17:902:694a:: with SMTP id k10mr54527892plt.255.1563518026521; Thu, 18 Jul 2019 23:33:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563518026; cv=none; d=google.com; s=arc-20160816; b=xRSnqoE51+9AZsE+xBXFdp1dPIULkAm/aRkC8elJRbInyAknK/YQqNsemRrQErZHtL 3sGbY1TecZkVVCuIjfwQwKN4DVgFgahXiTr7bC55ms8kPG6rPv9qDq4BMMI/ErR/VQjq YJisPV9IYn+gZjYJRGm0mrU5r/dxKpoPzMg8bPc1EeK8DRk5BwlHQb2C+UVCgOdWk+s+ QRq2QyExMQvyAz4IXOOI8HUvY/0Lwv2iUpWPaIgN5Qh9i0arBWAeWhilF497/oI2Z4M8 XJzKZQ0/pBAokDPukli4m4n4/KF+UpHki/yqrfV2ATEEnvB0HdbyEv/iQc4yWLvs9w16 ybTQ== 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; bh=WybkyjUrQ9N6AtNgh2oW7UCNiPMoPSi8Rfxq1jvS6sI=; b=naRzzgWtgZyCeG1GV8jftN7l9abOEN09P5QjeChPVb/Aw+QDgi7fgOiTzFOzfk754E KAnaW7jHtuo8wK/HtYii7ISXi7fZesiYHy21LalWPs0ouj2pGE41Cwi0nhOmOxGrAnsu yMyAH5yK/nTYxd8EsyHNDGAprlBVJjwSUmmf4Asbo9o9sRrQAPQdy5yRvvgSl3EC/98y kasJz2YETV1JjBEsIchqgMqNCmUUbY30GWflnPFvKYTfISG3WZfdlNJiC8FzgJRAnASM 7ApZcFQxlXe6s3fBX2pavRxvbhFfTVO8dXTVP7xDm052lGuNWsfh+RE/3Ehgvq97z0Tm SKRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=sI6liOEo; 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 x21si3376549pgh.400.2019.07.18.23.33.29; Thu, 18 Jul 2019 23:33:46 -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=sI6liOEo; 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 S1727012AbfGSGcz (ORCPT + 99 others); Fri, 19 Jul 2019 02:32:55 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:34856 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726442AbfGSGcz (ORCPT ); Fri, 19 Jul 2019 02:32:55 -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=WybkyjUrQ9N6AtNgh2oW7UCNiPMoPSi8Rfxq1jvS6sI=; b=sI6liOEo5b8ADps8vl/o0Syy8 IRtsJigw1mZ3TGwzhV3Mo4+PobAMJn7BFG4kNw8ZR/Utn9hfCbsnA0jjZJK0gmhlE9mUveuN38czV lr+4yt3vvdA1F4U5Q8ExE+56LsR7ZwbWE4yJZ7lmUqNWMpKSdwUYeKdrmNRZlLmTRPmqhMO5HX+Hy 7HEW6dqLsqsULcNg9vxrXf9Kw5cNVY+cD0PJiExlMmthL+QB8S1UcWZj05QjHp9PVYdNv/6uoSYF9 w+LL9eBor/WycwceVOUeOu75klzOTzDwYMlDHW5gSVExKmz2b8UiUsal6AhCJDZwT8zrhKtZDt5ZG g9tnU/6nw==; Received: from hch by bombadil.infradead.org with local (Exim 4.92 #3 (Red Hat Linux)) id 1hoMRm-0002gn-Ql; Fri, 19 Jul 2019 06:32:50 +0000 Date: Thu, 18 Jul 2019 23:32:50 -0700 From: Christoph Hellwig To: Loic PALLARDY Cc: Christoph Hellwig , Clement Leger , Ohad Ben-Cohen , Bjorn Andersson , "linux-remoteproc@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2] remoteproc: copy parent dma_pfn_offset for vdev Message-ID: <20190719063250.GA9545@infradead.org> References: <20190612095521.4703-1-cleger@kalray.eu> <20190701070245.32083-1-cleger@kalray.eu> <20190702132229.GA8100@infradead.org> <58c8b8bd30a949678c027eb42a1b1bbb@SFHDAG7NODE2.st.com> <20190708184546.GA20670@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190708184546.GA20670@infradead.org> User-Agent: Mutt/1.11.4 (2019-03-13) 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 On Mon, Jul 08, 2019 at 11:45:46AM -0700, Christoph Hellwig wrote: > > But that's breaking legacy as all platforms will have to add a virtio device node in > > their DT file... > > > > Is it aligned with your view ? > > Yes, that is how I'd assume it works. But given that until recently > you did now have these subdevices for dma coherent purposes we can't > really break anything older than that, so I might still be missing > something. Any chance we could expedite this? remoteproc is the only driver inheriting dma ops to subdevices, and the only one using dma_declare_coherent_memory. I'd really like to clean this mess up rather sooner than later.