Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1863992pxb; Sat, 23 Apr 2022 20:28:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCwNef5maded1iSyUbrslgaWQi1xbGX6/AKMagcVVXnJOzDYwcFDF9tmap5LUPNPjwoDsL X-Received: by 2002:a17:90a:bb10:b0:1cb:57fa:309 with SMTP id u16-20020a17090abb1000b001cb57fa0309mr13747714pjr.191.1650770924884; Sat, 23 Apr 2022 20:28:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650770924; cv=none; d=google.com; s=arc-20160816; b=Qr8N1kYtj2ZIj9yFwjH65uNf6hPwLaFHw8JMY1fH4/v1/bnoYgrYfNX+Pw2L7zOoXU 89LbIXTsW7VWUS9Erzju7gLrH1eyvdLB/9xuYxeGJ1EoJ7TveK2+yqfgvLnswjqA000P IyxZt8fZJ9bB8FoOZQqNcYM+xnV9aAO7evc69NjqTQTywLbhxsRy7tX3QbgtR1A5LkhM hTX1+0gQE+bDA/K9snq8QPdlbT4lZ0miheqfOxiILiFNhZfPrdEDWxviLoKmmZSBA7WX r0jqW0YB1ZN0+FMvRfwoigQY3ZSckkq2uUNClaTz5g5AvirCsE7g2IiUU0uQKing0vgj qxYw== 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=t9uLKvsnnJEfmU6+JwAlnDt68UGZ4Scfxzg+Bgi/O58=; b=VL3l6W5IThLUTh/jnbEQpOmCzS4g7lRYQNkiptqKcomMS5phCfXmn19uICkhJO0kOV zIo91WiHjdWzR35m3JQNOsPCDP7BlbeoBYdIFfn9Lh9xquWhLfiM1py4wEKQYrob73q0 Nf+f6B8PJ0aFEqTzzjSzFLB1DcSRPyWaiRM1TYo4ZMjBF2TpZOENBI8Uj9PQw4vpUgbb amRE59lsE1u0nHi4lBt2q02T+u8HO+GfAi4Hp0/OO7X//5zNIHKL9AyvklNhX+HHEKsC 6xvnvhAOfRSaX8aG1Dd492NchC4r3xPCXfSOWB2XREghu9BbH5RPomI3wTNAC4+ieyTy hzzA== 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 r12-20020a632b0c000000b003ab20e589b1si1045831pgr.404.2022.04.23.20.28.29; Sat, 23 Apr 2022 20:28:44 -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 S236680AbiDWRty (ORCPT + 99 others); Sat, 23 Apr 2022 13:49:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236673AbiDWRtw (ORCPT ); Sat, 23 Apr 2022 13:49:52 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 642703336F; Sat, 23 Apr 2022 10:46:55 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 0A68C68B05; Sat, 23 Apr 2022 19:46:50 +0200 (CEST) Date: Sat, 23 Apr 2022 19:46:50 +0200 From: Christoph Hellwig To: Mark-PK Tsai Cc: bjorn.andersson@linaro.org, mathieu.poirier@linaro.org, robin.murphy@arm.com, hch@lst.de, 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: <20220423174650.GA29219@lst.de> References: <20220422062436.14384-1-mark-pk.tsai@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220422062436.14384-1-mark-pk.tsai@mediatek.com> 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 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 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.