Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3920518pxv; Mon, 28 Jun 2021 16:42:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzrvZlK5RfgNnMn1VdwJgdW8xA0lqcEbV+RC9pdbH90PY01oZ5v4eGHW4qrqC4Fv7v+GpjT X-Received: by 2002:a92:3f08:: with SMTP id m8mr19251775ila.104.1624923743698; Mon, 28 Jun 2021 16:42:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624923743; cv=none; d=google.com; s=arc-20160816; b=rrMtE3iiytwt+e1jfB09X3IeIxFjLCFnYQnRqDavUhg0Twmbr/AbCa9Q5ggeK2m0W8 I83Lbh37m+5AkloKlzbD5jzGl/TXX9YUMl8Kw1t0d+RQDLqK9TPItWqadZNm97NF8iOK vmM32MCNhUY/mJhw0VcShFTH1115fjR2GtWlmKnD0vwxNPbIHnO1jbo9PVSl9eMkb61R KXeIX83mB8Oj90BhnuKfBxnUA0fx1fiGEK/ac+bFK3urLAdgDbMtbEyZuhepgycYoCEN AX9PtjsrrNoraOsl4tkevEpH2K7fJh84TTLbkyaAv0k5nGuIk1gVCeaajt7HkS+tKl3X /bgA== 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=7ZnGDtl1tfzZOtqDAq6jjVvtwOuBD0ilGwgxqjlrpl0=; b=sI4X7PrfPzOyGHsCtaHl6sr+TnOWEGgY8BolEMT9X+IHx7q7B/nC97HBAYwmeypOPj P/kOIxeu6bVr2IkeNFtn73POQnYJC7IjYqC0n4jFmm6fzJWdHpf+6ulimXRjfLDGVT5y mIsvh8Aj+tl6Aaj3KHmGFxAJep6Ki7ABc9aKfjTx4WUZBCWkT96W4puxRaqv2rgJWQqS 0gDtgK8TOR2km2cUjDNLgLkbViwT2d11YQpHJHVHZhzxGoO6q9LbkSg8uydjAhq39wTm 2RPjvbOpG943aO9Bv5CbLcyvJuhG8elxZ5+IR3VeJ+W7UjKGBzQHrwJstDgArL8w5G2m 25iA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xOia3izt; 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 v16si13501460jas.41.2021.06.28.16.42.11; Mon, 28 Jun 2021 16:42:23 -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=xOia3izt; 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 S235252AbhF1UQy (ORCPT + 99 others); Mon, 28 Jun 2021 16:16:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236965AbhF1UQu (ORCPT ); Mon, 28 Jun 2021 16:16:50 -0400 Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E029C061574 for ; Mon, 28 Jun 2021 13:14:23 -0700 (PDT) Received: by mail-pg1-x52f.google.com with SMTP id e33so16441407pgm.3 for ; Mon, 28 Jun 2021 13:14:23 -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=7ZnGDtl1tfzZOtqDAq6jjVvtwOuBD0ilGwgxqjlrpl0=; b=xOia3izt7iY8wngK+5KXACBIu+zIQfxgrqgjif9gw0nfalcOoMkpoR/Msi2WhM5y7E PIAFQwe8w3irXL6E3icdJ7MiVz4VF9QLtnAOv6TOKAAEtYfRGlgYQdscBfs6ZIwtetQg kouiyKS1lMZG/MBGFK7O/rDaqnGma1YHo/eZHD1BnrReneRvxl4Dqpn91gQLFVp5B1yD K95hcyXUpG4/7nwJP1/1IrBLILyeaCXxinCBe2RUNG6KxZmH8blXX63qYH7xmh7g+pEd XDj58YxTgt2D9cDSEpxurD4ESpE+H744cYpJKgApC30N6gCHeKx32u951Kv5AmnvejO1 y34w== 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=7ZnGDtl1tfzZOtqDAq6jjVvtwOuBD0ilGwgxqjlrpl0=; b=cO3ZxCIwcjSaMJCoG93N4lTBjH9F+UAwcid+75COg0x9KM1weQkwOtAvrYuDnM8dtp IePxbEqVBrzFrd9AUFKDYIc7Gzwca9u3fpRnBGknliQK/0V7oi4WJGyD6SRIEoqfdvQh smnk1wmSBTcl27UVqd7VLb+K5TL2+5f3AXxSjtxJgUDljCQZ1nvdFW6VE0cG91wBPbq5 GFLzMof9vaYoZGJjoWFcS5hNy/Q/Su6GYgpv6ENt9fhVe1soEIXjAxhwhtlcu446Ss6H 46T0c3L7uHpoM6tdH+SC/1KHKYSJpCvQjx4M6uLqC8FA/nQ0zmLbyOxvCHDZTJDdvRs1 N/hA== X-Gm-Message-State: AOAM5332wg/GVJQPM7orm6LrENZALhXqzhoBke91Zxgm0IMu3ysg55mw EqXDmMU2jiocEIZA4yRI+aXQ+iAt1uUS/g== X-Received: by 2002:a63:445b:: with SMTP id t27mr24798686pgk.413.1624911262721; Mon, 28 Jun 2021 13:14:22 -0700 (PDT) Received: from p14s (S0106889e681aac74.cg.shawcable.net. [68.147.0.187]) by smtp.gmail.com with ESMTPSA id y6sm15293195pjr.48.2021.06.28.13.14.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Jun 2021 13:14:21 -0700 (PDT) Date: Mon, 28 Jun 2021 14:14:19 -0600 From: Mathieu Poirier To: Arnaud POULIQUEN Cc: Christoph Hellwig , Ohad Ben-Cohen , Bjorn Andersson , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: remoteproc DMA API abuse status Message-ID: <20210628201419.GC1200359@p14s> References: <20210623134307.GA29505@lst.de> <20210624193514.GA1090275@p14s> <011dac94-cfe0-d276-980a-b8ffe1447521@foss.st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <011dac94-cfe0-d276-980a-b8ffe1447521@foss.st.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 25, 2021 at 09:27:09AM +0200, Arnaud POULIQUEN wrote: > Hello Mathieu, > > On 6/24/21 9:35 PM, Mathieu Poirier wrote: > > 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? > > 2 references: > > 1)Previous discussion thread on the topic: > > https://patchwork.kernel.org/project/linux-remoteproc/patch/AOKowLclCbOCKxyiJ71WeNyuAAj2q8EUtxrXbyky5E@cp7-web-042.plabs.ch/ > I remember that one. Glad to see there wasn't anything else before that. > 2) My patchset related to the refactoring of remoteproc virtio which tries to > address the point by creating a remoteproc platform driver and declaring a > virtio subnode in the device tree remoteproc node. > > https://lkml.org/lkml/2020/4/16/1817 > I thought your current work on refactoring the rpmsg_char driver was part of the early steps on the way to splitting that patchset up... > No time yet on my side to come back on the patchset :( > I know the feeling. Thanks for the info, Mathieu