Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp5524825iog; Wed, 22 Jun 2022 23:08:31 -0700 (PDT) X-Google-Smtp-Source: AGRyM1utnl6vnZkbap4SCCH5MITAXtXYdYEhwaISBrRkqyyvY5iqG9b2pr3sYHndrwyjJwRCfTPg X-Received: by 2002:a05:6402:750:b0:435:68bb:8552 with SMTP id p16-20020a056402075000b0043568bb8552mr8620658edy.155.1655964511664; Wed, 22 Jun 2022 23:08:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655964511; cv=none; d=google.com; s=arc-20160816; b=m2FBQZCxoBQbzBBdNtg1rbB7N9KF5Kv9Jfpfwr6WXintkzVfSEmfDCWBGGcfl6p4lN dE16z0hzoCDb8M3bngvrMQbGdrqxNm1N4gXiZoQEVtD3pQ6SmziPTzWYWbwh70lc03Ws 7BPFUkm60v6DzxpvvLOQTwZbxcMDhqgz2gaL4ZFiQuQ8QyV3pxJ0WvEa43PLBET13m7e SiNSkVmHhG6e4fr9jXUwlVrPdOJ2Ft3BY3qXSlcueVsY5kJ8NfhtGHuLzZ7gFc8zN93k IqzPHHmlBBr+v4VEmXEq/XFZF3hMc+B4uMe18NxwptAwubqKPrGncuBTptUZCqs1/J89 eKRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=4p7AJXpyKf9f/1y5qsuA116NX2HYXVzeycU7A6gy3Bc=; b=GM9SHqWJgh6UyHhJYumb4JBwMoeXshUX5J+6TvQRl5usrQrhll0nbuKUkNHJh5YiOz fsPORh5A4n6QCMAiw6+ntyLVkXr6bfwbQNXZnm0WGMufHm2Jl8E3NVaz28oFpPssFCzR JCUBuQdROlKnG/lQ0ixF4rDOjkg2qYvZYge5BH4rhpRB2HxJH6hSRb2X4+xOfP9ovWc4 Zova9BvUxeuFFkM0TPLTPEWNY0kKYoZmdbXSzUSehZMd0p1O3tKzGy2ftqy9I9bK6kjb dgYANiWCHkTLxnpWpCo41DP+4OFQpwHoAPubyXUmsPNBUp5Ej5xzkHAWiNswHTge3UVE Zvlg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p23-20020aa7c4d7000000b00435800816e1si11380951edr.390.2022.06.22.23.08.07; Wed, 22 Jun 2022 23:08:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229524AbiFWFmT (ORCPT + 99 others); Thu, 23 Jun 2022 01:42:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbiFWFmQ (ORCPT ); Thu, 23 Jun 2022 01:42:16 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3275B3A5FB; Wed, 22 Jun 2022 22:42:15 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 853FE68AA6; Thu, 23 Jun 2022 07:42:11 +0200 (CEST) Date: Thu, 23 Jun 2022 07:42:11 +0200 From: Christoph Hellwig To: Mathieu Poirier Cc: Christoph Hellwig , Mark-PK Tsai , bjorn.andersson@linaro.org, robin.murphy@arm.com, m.szyprowski@samsung.com, matthias.bgg@gmail.com, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, yj.chiang@mediatek.com Subject: Re: [PATCH 0/2] dma-mapping, remoteproc: Fix dma_mem leak after rproc_shutdown Message-ID: <20220623054211.GA12408@lst.de> References: <20220422062436.14384-1-mark-pk.tsai@mediatek.com> <20220423174650.GA29219@lst.de> <20220622162540.GA1606016@p14s> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220622162540.GA1606016@p14s> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 22, 2022 at 10:25:40AM -0600, Mathieu Poirier wrote: > On Sat, Apr 23, 2022 at 07:46:50PM +0200, Christoph Hellwig wrote: > > Sigh. In theory drivers should never declare coherent memory like > > this, and there has been some work to fix remoteproc in that regard. > > > > But I guess until that is merged we'll need somthing like this fix. > > Should I take this in the remoteproc tree? If so, can I get an RB? Reluctantly-Acked-by: Christoph Hellwig