Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp494004pxv; Thu, 24 Jun 2021 12:36:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzrtHSh4afuNKOw/ZfMGvyNP/8AZp3k7lsDUft/BU+rIlAqkNX+k0iqOGQgasUbl0VZamU X-Received: by 2002:a05:6402:b8c:: with SMTP id cf12mr9727798edb.198.1624563401591; Thu, 24 Jun 2021 12:36:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624563401; cv=none; d=google.com; s=arc-20160816; b=aUbp8Sr5JmKVJezbYgJqnptQMnt4S7KYliCrmoFNBQEormhcVVT4qa0E6rCOAIOMMJ pXYNyXrmI2rlGKNP31hdiGjQNwTV0qZpceY3y7jYfeu9OwdXrOEZ2KwbbbMq+G9BIej0 yiQj21QSg8auK4qxmPbWcC7FwBsdhtj8btSqyVl/QSXkHLb7WMa4mRDucDeQZWo9vdGH nbEejSpKpjwJLgOubjkJWBvRovjjaCW5IlkMkLsR9e7KLwXq0Pd3+dbw851v2uwgl6r1 LdnoN9nmK0+CPjPuFeCP5Vc2Izw77dNdTTfC7OrDwwGJ+2pu7QX21VRMNsw7xKMij3N4 CuWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=cR7YS9ATIxd4zoiIy9rylZXD2qq+uqew/4fF12E5HJo=; b=b5jh3w/nJXl9jGDZze7hFcvrX+UyRh7Vi19KnQ/1xeUA1FHULOO050h1SU8kPngZ/W 916wB06j63NJmdZ/5rGqS9uYm9OAnYdjTkw7MlEOY33N4Y5nl0o97pn9KLyZOUyIvG0z rrKzR9wraCGztvrAxFyKAJRvkjMeLTF8JAZVouS2ILs6u074ln4+rq5vAvpwXFxBHSLq AdfjnHD6h0fQWRuPKV+lxVMjR1XTxlDUwjtwBXBhG+oLmMNY5TzpPRMAmlt8xPbgFTbp O8Qg7WRSt9vqwuv5xvAalPaDg2BOb/zoID3Gk4C2c0QEAVE/GqV2hxrFf+sGtiKdkerT gHTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=y81zyvUl; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n8si3928564edq.61.2021.06.24.12.36.16; Thu, 24 Jun 2021 12:36:41 -0700 (PDT) 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=@linaro.org header.s=google header.b=y81zyvUl; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232528AbhFXThh (ORCPT + 99 others); Thu, 24 Jun 2021 15:37:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232029AbhFXThh (ORCPT ); Thu, 24 Jun 2021 15:37:37 -0400 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC1D6C061756 for ; Thu, 24 Jun 2021 12:35:17 -0700 (PDT) Received: by mail-pl1-x62b.google.com with SMTP id b3so3496648plg.2 for ; Thu, 24 Jun 2021 12:35:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=cR7YS9ATIxd4zoiIy9rylZXD2qq+uqew/4fF12E5HJo=; b=y81zyvUlQzFcnrRgNVzC2Npuhy7MSjAWfduB86aN/c5lvDnd1oaRjTDZ+TQHvhHF1Y T7kEyiHYSZfN507A97k3bq1QLDNOCa0iaZ2T5weLxYvLWNzEBQsudTMhZIIhOgCfa07E 96Ope854MIcvprI8g8zZsVrrT5NkEAeEn3EfdiLHLwCf28/V0qRFYF5zYAGCxECtQ7xW TTuWrIM49feTkkfI8msMvTxfu3iTjWIeRsQ//HqMjS/Iw3QOlBIFdmKZnFZF0vst3Gl2 D/xHd3bfS++o2qxJgQcArCBuDRSskSwIqRVrgZ9Tp6Q98AjtnlqSFbitMW0y0ttoDUT9 J2qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=cR7YS9ATIxd4zoiIy9rylZXD2qq+uqew/4fF12E5HJo=; b=K8TvNDzdAi3hmATecAkE9TJyKeCV4j7DKU6BJCfYe9F0nccyYbPKy8zdF8gMNTpTaK rl9nNmToaRAaGSpexhfo14YLCxWJklxynE0ZYRjRwMzovfDoDnvCtVy//5su9j1dLQ5C LrHCY2QUAFCvObQDhC8URhvjEr14r+FILAeHkbHUghM1hJ40mqgBNIjJtFEhyO4uwrhP 7zGl4JdSlyIhnIcFQB2weIBNjsGoyV5TbJpmIh+zS5m9X8zw4/HpITlF4qHepZbtvl1+ AG8AmiHiTcVW6OV0Sn7uZpUlqYdUA2FJ0vGfMvrN7PAvXF4WMTSG1W7oC0sAieuPTe/U 6nPA== X-Gm-Message-State: AOAM532VV0JbkIO4nkISX9scTVR56vIKvbORIERPwzi55H857AL1AAi5 H4gCh8ZiwXLfNLDLQeuSV0/yXg== X-Received: by 2002:a17:90a:ff08:: with SMTP id ce8mr6880242pjb.167.1624563317355; Thu, 24 Jun 2021 12:35:17 -0700 (PDT) Received: from p14s (S0106889e681aac74.cg.shawcable.net. [68.147.0.187]) by smtp.gmail.com with ESMTPSA id b18sm9182937pjq.2.2021.06.24.12.35.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Jun 2021 12:35:16 -0700 (PDT) Date: Thu, 24 Jun 2021 13:35:14 -0600 From: Mathieu Poirier To: Christoph Hellwig Cc: Ohad Ben-Cohen , Bjorn Andersson , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: remoteproc DMA API abuse status Message-ID: <20210624193514.GA1090275@p14s> References: <20210623134307.GA29505@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210623134307.GA29505@lst.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Good day Christoph, On Wed, Jun 23, 2021 at 03:43:07PM +0200, Christoph Hellwig wrote: > Hi remoteproc maintainers, > > did you make any progress to get remoteproc out of creating fake > devices that fake their dma ops status and the abuse of > dma_declare_coherent_memory in removeproc_virtio? I remember we had > a discussion on this a long time ago, and there was an unfinished > patchset to change the memory pool handling. What happened to all that? I believe the conversation and patchset you are referring to are pre-dating my time in this subsystem. To make sure I am looking at the right thing, can you (or anyone else) point me to that discussion and related patches? Thanks, Mathieu