Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1010736ybl; Fri, 16 Aug 2019 07:32:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqwJTsmCT2TE9PuMyhhORb0zv51/DhTCetHD3reLew55A4t5OTSBQTwNp9fYs0OPUtrJBMs2 X-Received: by 2002:a17:902:e30f:: with SMTP id cg15mr9764674plb.46.1565965975950; Fri, 16 Aug 2019 07:32:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565965975; cv=none; d=google.com; s=arc-20160816; b=lGTXkBHQZBIkI/O6PRO1H885YS8g+GikoJOunXyZpKeUOppUnxGRRTrVbJIO6fuNZI 6RGhAJJ26y0sWXZ/cd7Hv81jlAe9Umkoc5RN8QN81Q3IaLviZRs5uPkkN0vZ0eHfj2ZT gGsZlNRb+4qQMk7mUJse1+UjTKK+J789NrHW2544vf6mHBZM57S4yKob/W5TTmxEIwCK GXWSN4d21p1gpdNA4SKtveVtjzjci64iS0a8zvXxO6RJetJmR8a2WlJB3mhfbIa75w1I 1+lx2OFJMjcjuS6EmG6Uq14bVRMEN53yras/kvW0bRaEHIf//PIyjSpe+9kcmKmw7pYe Lz6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :from:date:dkim-signature; bh=2KH9X7wXKLaNgHTDRuB2BCoTUIbuMO+ioBBw7HzU1JY=; b=J8pWDzfg3Swdp+i0knta9s6RhAKgEcOEiDpglxh9y/auE6VZPvcVzGTd788ajs67Xf FGa6eYSsD/tVdrvSwm1asXIQnfltjICi19uf5NY315qsyI5PP5uQPbNc3sZPyYcgsWn1 UULdS1w0WE03h6o0+1ZoAdw194txF6brLZa7zn5jSqD4Qp8E3pmU3a/nSSNbH1lkBass +BpfO9V52ALjSuH5ffsgzlN8mUeHbCGnnI9GlhVrlqUhRLA573j+y0RVEpA13YspEV5H iK0RAxrl3L2pG+JtgnuBEk5FbyHLqwoWJJDu5t8pXke4c1gVM/LlyeC/eo6xZTcS/PfK WSKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aOAKvEhf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p33si3985765pgb.0.2019.08.16.07.32.40; Fri, 16 Aug 2019 07:32:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aOAKvEhf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727451AbfHPObw (ORCPT + 99 others); Fri, 16 Aug 2019 10:31:52 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:33015 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727245AbfHPObv (ORCPT ); Fri, 16 Aug 2019 10:31:51 -0400 Received: by mail-wm1-f66.google.com with SMTP id p77so3314925wme.0 for ; Fri, 16 Aug 2019 07:31:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=2KH9X7wXKLaNgHTDRuB2BCoTUIbuMO+ioBBw7HzU1JY=; b=aOAKvEhf4eJTxcKSld4tT+33ybgVN17T/bYorvBedFN3143JLOiZGmSFFZmUYjnl2R ZmjW7kD/tqSTxSJekD045oAnsHHGE/wzxd3ibBgHSbBD4G7ailmdun7QlU0roREL2N42 puNiR5ETw9wQOVpe6Mqo+x1oUp13MVT9P6m1jnGzwcPxVoe/dl2ds8g+wH5hhvtdRPid 6OPErwSecc0kXng21CIP03S6DK1Hw73vanv14N8c4S3nZ+j9DR7q/0QqTBczWN0MsIhz x4vLhJPhZtg6XPzAQB5+8f8EtApLxjhTH7R06QpYALGd6QyBD3lQpkcUSmLWFu3Jzd3K Mx5g== 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:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=2KH9X7wXKLaNgHTDRuB2BCoTUIbuMO+ioBBw7HzU1JY=; b=MIanDNjr/fRgH3dfQBgYrBSvr0522GKN81TaJVZSXlQtxrD2RgUCsUdysieiORMe0t gTdFJhPjG4h1Gd5TteLKM9LYfB3laXsiZuNPBDNsMZhQ3PfqunIE7O7hw6sMlgMb5dcH wVrurLERvs4Rt3UMnbfisynf4ND5DAjZthHpUiGzR6r9hlTFGwPTS/NBp7JpNHDWLFaN 6J+P2xq7CUZFui5beJq41tP2NHCSILyQd8vA3l4ofUS4K262uBMEgaSVPBXOH9+/TUaQ F8x8NoeJpShlG4n6ecqNse+fCzJJ0eFPA4XB141ky9HqxTkb9xJ7mOs35+McnXL1gL8c 2O1w== X-Gm-Message-State: APjAAAUOjfgrq/UIOXtIiqYSf1bzWHRAejINBOZT5mQRRRzFbR+NTDDF mUtr+P+teuuluAu9ccEqMh0= X-Received: by 2002:a1c:740b:: with SMTP id p11mr7978852wmc.6.1565965909230; Fri, 16 Aug 2019 07:31:49 -0700 (PDT) Received: from Red ([2a01:cb1d:147:7200:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id k124sm10940860wmk.47.2019.08.16.07.31.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Aug 2019 07:31:48 -0700 (PDT) Date: Fri, 16 Aug 2019 16:31:46 +0200 From: Corentin Labbe To: bskeggs@redhat.com, airlied@linux.ie, hch@lst.de, m.szyprowski@samsung.com, robin.murphy@arm.com, dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org Subject: Re: DMA-API: cacheline tracking ENOMEM, dma-debug disabled due to nouveau ? Message-ID: <20190816143146.GB30445@Red> References: <20190814145033.GA11190@Red> <20190814174927.GT7444@phenom.ffwll.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190814174927.GT7444@phenom.ffwll.local> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 14, 2019 at 07:49:27PM +0200, Daniel Vetter wrote: > On Wed, Aug 14, 2019 at 04:50:33PM +0200, Corentin Labbe wrote: > > Hello > > > > Since lot of release (at least since 4.19), I hit the following error message: > > DMA-API: cacheline tracking ENOMEM, dma-debug disabled > > > > After hitting that, I try to check who is creating so many DMA mapping and see: > > cat /sys/kernel/debug/dma-api/dump | cut -d' ' -f2 | sort | uniq -c > > 6 ahci > > 257 e1000e > > 6 ehci-pci > > 5891 nouveau > > 24 uhci_hcd > > > > Does nouveau having this high number of DMA mapping is normal ? > > Yeah seems perfectly fine for a gpu. Note that it never go down and when I terminate my X session, it stays the same. So without any "real" GPU work, does it is still normal to have so many active mapping ? For example, when doing some transfer, the ahci mapping number changes and then always go down to 6.