Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp911082ybl; Wed, 14 Aug 2019 07:51:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqxy6eDL3/N7BAnekYhKy28MI5i/tJa5lf3NXrYcwNAo531LT2t8orNsQOKOT/oyPZea7srV X-Received: by 2002:a17:90a:2846:: with SMTP id p6mr116793pjf.101.1565794304970; Wed, 14 Aug 2019 07:51:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565794304; cv=none; d=google.com; s=arc-20160816; b=XVFOdVYdw9k9idO67eMoi+5OIjnNe26MgxhDggAsjhxurKlcPVQyZ0Mu/M8JWc7hzf BZUQwc7sKloDh4W1IQNoTv/F1u/VA8lVs+Sinx41g4y8h8S4Mk2MUWcwCyxmQJwmw/ZZ 5aVDTELO8CoAphDEChQVoPxigbaK/3dSkGX15etnf9ghPUuuvKrwNyRzFvyAqlFMsPJL uruasXEEEd/4hfVTmhNYTYdYFN/R7Mrzli1WTBi1rIZ6w5HEI/JPXytJKgxEaN5c3mHY oq++DRjRpP6OVkQEG19oWFGn9rJc45o0OlZT2VdO7occDaXGzL4EU7MODiFkLPTEuxn3 RgQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=/DXlUZnAnppcVmvRaCvG45NAF6K209fxQvIeSZzOmy4=; b=vOrkIX4xDO2ekPO8S65A0jBstnFGqp2JQbogQXgY5X+bKNCk+5v2xkKm+zpvrfOVul kvDaluONUpF/QlBwlzZm7Gzs3vA1v4PBOEe7hSsEPkrazb5NF711uheArVKv2eBRBoOR ei3m6mKHD/1f1eShDEI/SWqGrfgTW04ZzhAVQdxFndKPx8MMHsRBpXcBrEr8E/AcI8qQ t5zJS2ocxhm2Te/wcf+AOftJ0kHxizsy5UfVIlegqXhWp8bGpCQio8qLNOoEJiB8VbIc ZU8CLpG6vt4b5PyjRrDHe61nbReiuNw7u5GHjCdjFAI2l1AYJVuCVohshRCDqFq0ZDqZ kFxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pcnVgWDP; 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 g32si7023pje.65.2019.08.14.07.51.28; Wed, 14 Aug 2019 07:51:44 -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=pcnVgWDP; 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 S1728092AbfHNOuj (ORCPT + 99 others); Wed, 14 Aug 2019 10:50:39 -0400 Received: from mail-wm1-f41.google.com ([209.85.128.41]:54377 "EHLO mail-wm1-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726126AbfHNOui (ORCPT ); Wed, 14 Aug 2019 10:50:38 -0400 Received: by mail-wm1-f41.google.com with SMTP id p74so4844972wme.4 for ; Wed, 14 Aug 2019 07:50:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=/DXlUZnAnppcVmvRaCvG45NAF6K209fxQvIeSZzOmy4=; b=pcnVgWDPpVIKvEGcoQm5OxaoBVqYZbMOQiqkZ3wTAZr8Y6ocDyeakMLA8Im1Y+g99D POTgttsWlFnHPGAOzmL9x63nQingz9nYI4tmdXIrqRiCxn+kPG3T16a2nvIYG8GQ2Vzs Wce7Jnayh7CiIlLHBB2wEP03uzF21zbs288aBwspAfbTH7jE/zAGLwIiABldEZ0t2MFl 7g+sqkueLUfkGGO7etvOXVSscsbkaSLTKp6TuYRkN4eneuKFf/g2q7u1xTmiXRL4QSi9 08axMg8aBPXjCpcOkD6x6gdVVXu3E7WHEH7t0kz1SSsDjvHpa4CY59KwF9g2UEt0zSR3 HS0g== 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:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=/DXlUZnAnppcVmvRaCvG45NAF6K209fxQvIeSZzOmy4=; b=jXQgzVaklX99sfpBCAqhOWSZkiSwBFnQKMvcw7zOPAdUeuqsG1rWq8XxSVyMppK9gD C/tK8EvwegHNK7NiQvgyHuElcFHmB/b64X+xgzjGZvae/vnGytdsTUbYlWidIe7IwSq/ qyHVxRkeaAH4hdHWf9RkhowtWJezQjSJcSz8yINF6vgCshnyOzjmn+NY0r7nJF0meTBH 2yXKnkJP0Uwnp4PmTIDWjtOzUo6q0g5gAk1bVKTj65Yt7Y7s78fJJmeLTYy1VOKVmBP9 o/X6KeLUtltxT3Pt+5sIQ051ztzuxP+c/PtkXwiyai/YsUHXN5xpMn1uGVcOQ6eBChfQ 1Zxg== X-Gm-Message-State: APjAAAVMdHodDvUf8378Fnwr67zdFyKY3xpsYj0cDiIZtWepLp0RjueU SzcYtmkotOq0pQy8GbSkL0k= X-Received: by 2002:a7b:cbcf:: with SMTP id n15mr9053044wmi.48.1565794236524; Wed, 14 Aug 2019 07:50:36 -0700 (PDT) Received: from Red ([2a01:cb1d:147:7200:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id t198sm7911434wmt.39.2019.08.14.07.50.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Aug 2019 07:50:35 -0700 (PDT) Date: Wed, 14 Aug 2019 16:50:33 +0200 From: Corentin Labbe To: bskeggs@redhat.com, airlied@linux.ie, daniel@ffwll.ch, hch@lst.de, m.szyprowski@samsung.com, robin.murphy@arm.com Cc: dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org Subject: DMA-API: cacheline tracking ENOMEM, dma-debug disabled due to nouveau ? Message-ID: <20190814145033.GA11190@Red> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 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 ? Regards