Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1109077ybl; Wed, 14 Aug 2019 10:52:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqzkzTLYXZiHzlLyt4+0fGhN1egTl6Yg63/vVM4ROCY0DrKjVQHC5HRdlvFJUy2TNFtiXD/s X-Received: by 2002:a17:90a:c086:: with SMTP id o6mr949336pjs.2.1565805122025; Wed, 14 Aug 2019 10:52:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565805122; cv=none; d=google.com; s=arc-20160816; b=A2Sf0+s3mvY+N4b5+7m523mklE1M0UddnbHRGiCN6CEHD4NwzilE4ts3D9e3BSb81M qdxj1QB71TxwED4VkS7zHPP3hP3tpVgQqjyaESpJmmvckvact8C181nXKtwjzAG4E+NJ 8BWazH2NgB+5WnahwkKCNfqnjMG1VcJWnMe2jS+5cllccatFrNq4j5lSIfWG4L6R6CmW 1JIlb/QGvdZVh66Fz4GqrwYkETaxucBIGHZm300bAGHVc5vOWLm2PTtLe2pKRQsgthFV 9AIocldD31IfCo++YlI+YkrLgobI/nHZgA2CH/PCbXT3Xyzr9Bf7Wwy0/zRF+FSIUolF 9yAg== 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:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=Hb464daFGycQhSgA9BEwjg8HNKIy+QMbts1XhF2KkhY=; b=nEmnN2iXIpg2DnKuNGimH2VI9aP3/fW3GzXQZG9bjWzdhmuP30tPk+K70R7IQr2fE9 igpkKkBNY7ueGYJLOmrR50Iv8o+J5Tv24j+ArwSByFvWymGmw+yku9Fe4+/DYzxhd0Ud kEl8lgcL5hdcdSPsZpaKsCI/lhB/e8bnK5j4XhXdd4Trsi4ricijigIKvUN0JHpeczQd Wqz95I716gfC24quqKr7XsUHHDRzoi4PqQdMgH/Vpv1GhHAPWMLdFJ82ujdQWTaHyiTO +2ang3r8ohzxMANGUlC0khXELUHMWrZRwqkNP9hJKHA2e8TIdkOPWHAINYNidxjem36R Hpjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@ffwll.ch header.s=google header.b=XbdmfFcT; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w9si288112plp.329.2019.08.14.10.51.46; Wed, 14 Aug 2019 10:52:02 -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=fail header.i=@ffwll.ch header.s=google header.b=XbdmfFcT; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728768AbfHNRtc (ORCPT + 99 others); Wed, 14 Aug 2019 13:49:32 -0400 Received: from mail-ed1-f45.google.com ([209.85.208.45]:38643 "EHLO mail-ed1-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728537AbfHNRtc (ORCPT ); Wed, 14 Aug 2019 13:49:32 -0400 Received: by mail-ed1-f45.google.com with SMTP id r12so13496edo.5 for ; Wed, 14 Aug 2019 10:49:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=Hb464daFGycQhSgA9BEwjg8HNKIy+QMbts1XhF2KkhY=; b=XbdmfFcT3jnZqRlVTGuaAFo1OtCPLWFWljVro0mfCdbdxEefp8fNvLYheP9O/U9RZ5 YWZ3imdFdL067IfOXnulKaXhUdDc+FcfNtu2hXsJNTM3bqKaa2YWSCA2NxFoIkrLyN7v daxCcz4A95TTfgIwKhFdy5WvEkqqbj31ATPN8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=Hb464daFGycQhSgA9BEwjg8HNKIy+QMbts1XhF2KkhY=; b=tC+MoN2odsPVZUEHayUhXj7OdpSA39tYJGV6MEpKZzw8pF6q6DG2UrGk/K7wTAtIm4 /l0SRETXxE3/Y04Rp2ZD5ciN6J8kxOc7pURZXoFP1hb45mxMQyIpPqO87Swqu63ElDFo oXSIC/AsZwNF0B5m2wDC9CBVkjMgxDDpj7Xe2xxpk8lWDBxknGA7EQs4my0zJPGST96A 4W0AMhoXVxDoqpFjpnMU8s0BDR81J8FaUBCwGqmO7ku8DxI0Oa4V6dTyWh4sHh4LVTn4 nPlP+lMu7waBVEalTj1Qocyen2OLVQboVoSA/P41HmiuyWF5fiZwLXD2fI3WtXYnsra4 tTAQ== X-Gm-Message-State: APjAAAXF4QPq5uZPTa9w378g9hdBh6KCo/d5UU/o3TfXND41wOO3K8Mf afxnYkq3uUPr6I6eNFbFr80WtA== X-Received: by 2002:a17:906:7681:: with SMTP id o1mr710091ejm.207.1565804970147; Wed, 14 Aug 2019 10:49:30 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:569e:0:3106:d637:d723:e855]) by smtp.gmail.com with ESMTPSA id b17sm81942edy.43.2019.08.14.10.49.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Aug 2019 10:49:29 -0700 (PDT) Date: Wed, 14 Aug 2019 19:49:27 +0200 From: Daniel Vetter To: Corentin Labbe Cc: bskeggs@redhat.com, airlied@linux.ie, daniel@ffwll.ch, 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: <20190814174927.GT7444@phenom.ffwll.local> Mail-Followup-To: Corentin Labbe , 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 References: <20190814145033.GA11190@Red> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190814145033.GA11190@Red> X-Operating-System: Linux phenom 4.19.0-5-amd64 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 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. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch