Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3350767ybi; Tue, 2 Jul 2019 06:24:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqx2SSYc2uTU3ukunvHn4i4p9274sW+OCsaJillwTsqKY2BOcq4Epq9cYHhLsRQlOqb9re0A X-Received: by 2002:a63:ab08:: with SMTP id p8mr13467198pgf.340.1562073863166; Tue, 02 Jul 2019 06:24:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562073863; cv=none; d=google.com; s=arc-20160816; b=JPXS9+ncMyGN1ZMAwda2sShkbkp+cJGGk6QHLzqZE79rTEapEvsQAfPTNHHYZF/c4b 0QVksZUjTUiqS9NZxtXxMPvwEaOqB06JFLbNxdWnf0naU76SHJw6+TayCgwTltcCl9Qt jXWwwcXQk/ZYpEWlvIhBAvBh70uLY+IcDr7tmhxDbT0Q9WmVOZ33iuUAg338TKjtRc7I rBiwCGZ/Vcl6/DiO+tTCq9OHmuFJIBkqM2weVH0/seDxNHZRjSc1uCSgXGVRXHjdzGaK KKIC+afh6+xaISJ7/aTsENpAhofA4/K3/6HK5Dg29pTDicxIcbQtrbW4ibMn0Un9mfW4 2jrg== 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=Z/ZbN5cvj2XpUVIzcCPq0VBb2qvNquH4MnclmPIzjtI=; b=vI4lrRRmTMRId0sYCBNxljG3SKY+7WnfateJtE2g1kcU4/OvhDIklIdHyKV3/JVEnq trr0XFfPKC5/kdGh/JZD3jlA1Q/Sj/KCgHW/mvreSPYVlyk+ZrlKUa1vrOWBY4KqHR1S 0YIW8Rrx1+Vbd/zW1ka+r/S2pzesbUA8eoxZtxweV/c76PDIWCrqcTHqmY35ak8fs2DY LLCctFyBfB6JX60eRV2A0KO/bUtgZ3PlxnHunviF1wpWPGUDLAwK2X4JFtfQ9Iyys8VL UfD3DQ6Va7t/Pw2UFbm2d/dlBE0FslBXkNNswznJhz3mywjpuCFa0dzm5VMYmEJdPtFd CU4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=rpAw8Gjz; 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 h9si12197113pgp.435.2019.07.02.06.24.08; Tue, 02 Jul 2019 06:24:23 -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=rpAw8Gjz; 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 S1727054AbfGBNWe (ORCPT + 99 others); Tue, 2 Jul 2019 09:22:34 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:44372 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725922AbfGBNWc (ORCPT ); Tue, 2 Jul 2019 09:22:32 -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=Z/ZbN5cvj2XpUVIzcCPq0VBb2qvNquH4MnclmPIzjtI=; b=rpAw8GjzIoT4tfLgsUvItvY4Z 4ndgUhYh3ga80TcUWABfWQhk7MnXqq8n+S5NQuHFSVDLRhdPbLqDBNQngUYzO60/tqBeyYvt5Qjnr gKPSxnHhPBFbywm3ZRyhbBRhDYzEC4FNLqqjCK6dwAuXAc0u2zOlworvf4WVRIKWQ3Kv8cfAMzhlx 0USGvtICfe7ZXeyp/7Xzt341i+kQiXRVIGAHb6jKNhS3uKvFR6C+XBAtmBBJJBysW/VVfsWMVH2dB c2VOSxXwc/RiYqv7EufM/g7qK6ieXSzrhPBZXqZp6cdSxZJTz+A/VhclZ08khm+oJXRC5IPpsX7jQ zVTtAppxw==; Received: from hch by bombadil.infradead.org with local (Exim 4.92 #3 (Red Hat Linux)) id 1hiIjt-0004Xq-JT; Tue, 02 Jul 2019 13:22:29 +0000 Date: Tue, 2 Jul 2019 06:22:29 -0700 From: Christoph Hellwig To: Clement Leger Cc: Ohad Ben-Cohen , Bjorn Andersson , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, Loic Pallardy Subject: Re: [PATCH v2] remoteproc: copy parent dma_pfn_offset for vdev Message-ID: <20190702132229.GA8100@infradead.org> References: <20190612095521.4703-1-cleger@kalray.eu> <20190701070245.32083-1-cleger@kalray.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190701070245.32083-1-cleger@kalray.eu> 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 This is just increasing the mess remoteproc has created with the vdev. It is poking its nose way to deep into the DMA layer internals, and creating massive problems that way. Can we go back to the table and figure out what the root problem even was? To me it seems if you clearly need separate devices they should be declared as such in the device tree.