From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3BC15C49EA7 for ; Thu, 24 Jun 2021 19:35:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1AE4C6100A for ; Thu, 24 Jun 2021 19:35:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232683AbhFXThi (ORCPT ); Thu, 24 Jun 2021 15:37:38 -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-Google-Smtp-Source: ABdhPJx3qK7XLdw1zcP6mb/64UanptxR6WiY/S1CaZyavVNJGCeG9tHlNcc0Ungh4d5t4ZrYtBfXYw== 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