Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp5002492iog; Wed, 22 Jun 2022 09:56:16 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uUpSHoOB0lsD5Qb/p73BHegnYRIeAGKBudZ4X7T5n4bdrF2vVLwoSB7h9sB9z1ijFpJZd1 X-Received: by 2002:aa7:c50c:0:b0:435:66b7:3dad with SMTP id o12-20020aa7c50c000000b0043566b73dadmr5141313edq.397.1655916976576; Wed, 22 Jun 2022 09:56:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655916976; cv=none; d=google.com; s=arc-20160816; b=ekhKR2uOcK3U8qn1vNTWLw53pzLkei2dzT3uvNxMvegaaiEikPZtAL8QRj0V2fprSE nETtJ9UQlRNZboHv+bdxarZsQRlfB0vHej0v1r2Nf+bsV8IhnuhgG7a3z/bQb+MGJAIL RejPMt8W/MiA3OkAfBjY63hHtQx8mGzAwAycPV7P+ELyEHrs38EbtL82QE1qlTGcWIg3 PGjJqmdXXcmEPcUUPEShPJ5aE7sOsHfNfoZdGcBltKBmEhVjOQqtOxEx8HV3hKreBGCA bLI7hlWaSgVNkPgrHvKT/cyd+WEXEvq2lb1WcIIkcwK/7AohzmpfVzpW0G6qR9fhD5P4 qFXg== 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=nhVxaWNtri1CK0PHzSlalIxtbdAU1PUSddkvaK/+5e4=; b=aMOCqYNWBn/up5mJU5pF30D9Dqy3zE069+u6wSOEcpC4oG5RO83s4LwaRxQ1FUJ349 TDChK6xQqNtnLGhLxTce1IBL/io/GbV21nY/tAI9VOZdm/8kRVC4rARBZrumkbuygOqe ZWz30W+WCS1jrflD0SONiW8WR4/pNVqm6rEJtUY+mkBrBODtFCZnoqK/RcuVYre9qf2N 8qbU1sHE2q3rNvwKJhzV3FtxOAIdCKgqXZqLw8+wYZmWhGpoXNltyi96HF0vJ34HnhJn m0ptfAOQpbcQpR78fphEodFMa8Q2Nk5at02qc4j1DXhr2ZSh7WM9LZKZJZYIiSGUa2gp vIkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PUGiKBVA; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nb19-20020a1709071c9300b006e82f2c77cfsi6457410ejc.199.2022.06.22.09.55.50; Wed, 22 Jun 2022 09:56:16 -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; dkim=pass header.i=@linaro.org header.s=google header.b=PUGiKBVA; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359148AbiFVQZr (ORCPT + 99 others); Wed, 22 Jun 2022 12:25:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1358522AbiFVQZp (ORCPT ); Wed, 22 Jun 2022 12:25:45 -0400 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DB4431929 for ; Wed, 22 Jun 2022 09:25:44 -0700 (PDT) Received: by mail-pl1-x62e.google.com with SMTP id i15so15825218plr.1 for ; Wed, 22 Jun 2022 09:25:44 -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=nhVxaWNtri1CK0PHzSlalIxtbdAU1PUSddkvaK/+5e4=; b=PUGiKBVAkeTgsz2FqLGI7rWQhLimJ38Xj+5Zg180pQyl0ruN+w1AjCcu6fqIZDYjAB xG7oN1xzGX2iFM2bnPKINZLXHu/lSyd7wtYcs6OqMcEsqPQA2ynY1LEED97pYyPuEA5B qtjsWDJ0vo7Vf+PB9f1yhRi+Rw4TyPhDuxJREQV6OxJ3nV4lruvuhc13IAbkfYRrajre naFQHrt0Xgp0jY0cOGp6yjxaC3Dv9YICKdu9t5JldYvxQvfXK3p5P16zqjzR9I19PgF3 /sdblCFTDXUvSKaef4l5DisLWhm6bhKAkqGEKtWAtc5F2Tt7FQx53ATs58M4BElSCBe/ zQ1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=nhVxaWNtri1CK0PHzSlalIxtbdAU1PUSddkvaK/+5e4=; b=TXN6NWnVCocqwofFYHIdvOo4IkwBZqPUlG+QA1NHC9tYjgst4nboYAzYJKlJEqazyv N5CwRhR3bH5Y5d/1vcrghOMAudjlqgXCnXvAnTTSCk8mX+0WEWI6yePJ4h0dkajZ63pm 4+j050yGnRcJcxPADQ9IkA9JgZ9Ts5Y7YTwdFZIfoSJxBigwltYV33Odz6wm1ZIiMYAT 7waUFKuWyuWEi+WBlMDYVrFX0+g19W3Gu1VKPn5jLwoE8PjfkJ5LhXlF50GL3GfscoM+ 9Olh0mOuGbTToo2wx17k9B2QI1xtLmYGSE36t6VfYnLOlxcxm9DpVdb82srqnf0iJVHs L4Zw== X-Gm-Message-State: AJIora/7yrpaLbcWkPRbLYGDpHZSE1dBm8sEy2AZpqUwjQKF9S69HAbO yskAlGlgLbbj0V+HlVfKiIib9w== X-Received: by 2002:a17:90a:9408:b0:1ec:9453:2ebc with SMTP id r8-20020a17090a940800b001ec94532ebcmr4523830pjo.150.1655915144128; Wed, 22 Jun 2022 09:25:44 -0700 (PDT) Received: from p14s (S0106889e681aac74.cg.shawcable.net. [68.147.0.187]) by smtp.gmail.com with ESMTPSA id 74-20020a62164d000000b005254535a2cfsm2035941pfw.136.2022.06.22.09.25.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jun 2022 09:25:43 -0700 (PDT) Date: Wed, 22 Jun 2022 10:25:40 -0600 From: Mathieu Poirier To: Christoph Hellwig Cc: 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: <20220622162540.GA1606016@p14s> References: <20220422062436.14384-1-mark-pk.tsai@mediatek.com> <20220423174650.GA29219@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220423174650.GA29219@lst.de> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,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 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? Thanks, Mathieu