Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp4412839pxy; Tue, 27 Apr 2021 04:37:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyiEBJT825naQqDdtwcd4udqQ3P5s69BGQHD4mRu52cIXYvbIX5mfLAnh1mpMZ1/RsAzcjf X-Received: by 2002:a17:906:1dd3:: with SMTP id v19mr22564134ejh.4.1619523461503; Tue, 27 Apr 2021 04:37:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619523461; cv=none; d=google.com; s=arc-20160816; b=cDBsm9giMjB6AOCb3RdHVQ0zI+BOJbCaZQYkRhFpPZkqXJtdS2WCEXlr4szldnKgHr BMiZT0wQXl5EAbXmR3Oh0fqdpoHW6xFt/tTksofOk207CILTrVQWvnoLCADDkctg45Z7 rnihTgte0fCckcmd3v5a0AjNSie8v7sRvfO1EtfpfEyPnqXQ8ALYwScI1zIQk62tq5wD xHO2nX9iuiHccu2GtbWV3uDIo39vbGbxVFdYfN2OzZHuwlZHlGue1LQ3sed8F8oXfeq3 QPi3wdA02XeXhO7ta5ZDve9cjvEKReDJVQ8V1YmJp7bulwQis4xa1fTDsB7IyUoAxPF5 A1IA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=z9C6sQ611y/zGRe/UW7/e4zr9l8XoO00RXrJcagkHXI=; b=ietW/LdijgtYAqSTGt5W0qjIrG7Uys7+WQhGFHogLqloKj2uKq5OUgN4jqr6G3HcBj TJO3WaOrTgvSxAkb1+g9+yjTvu20GfyBCl6hhMlZoRy8O6LsszG0scwiFxnShIIg8B+z wx8VNYzqdIXC1/U/yxlY5DE+q57nAS0HmWnV59o9msvCQxcHIZP7PpP6v3sBK4NTBsZm gm7V2hL/4cN9j0sCaf5sAeSGLroktn6yiEp67vH2Eg8DG5HpP/xtzvGIk6ZkFmNo/Oau vpCKU7mESeQwth/6lktOTSSRxr7aKV0w2lqBiCjjXGFS9ORZRzZCyz3ds9z4OZsrsCcn VZ3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ADceqTv7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id dd10si8885304ejb.590.2021.04.27.04.37.18; Tue, 27 Apr 2021 04:37:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ADceqTv7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S235428AbhD0LfO (ORCPT + 99 others); Tue, 27 Apr 2021 07:35:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230270AbhD0LfO (ORCPT ); Tue, 27 Apr 2021 07:35:14 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20FBEC061574 for ; Tue, 27 Apr 2021 04:34:31 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id n127so19806088wmb.5 for ; Tue, 27 Apr 2021 04:34:31 -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; bh=z9C6sQ611y/zGRe/UW7/e4zr9l8XoO00RXrJcagkHXI=; b=ADceqTv77JagwuFR5s9XYfyWOZzLEa1itzG63x+/awj4LHL6EimuX3bNg/jqkU679E mKYqV/UOts733gmwYFpMRjNgmhi2N/F64p3P3rqX/Uh5do7cQ7vlossntalvaozE7NGz kf/KxYbXgYme8cHq/udvl2WQPFNraJMgMh5PWGdoZ2XI/Lb1WUhJVPFqjXfS8Ex1etJR vnz6sdSPEJYuc+LL2v0LHFIgtyGkM3GysbI39aqeENl2J24DoRvo1T/0CK25s4cqrKdC f7wIbcrSWQ8GvgsAEhmJ9tc7sjf5CdBnZgX8IDpB5GZNfz+WJ536dSma3F9vkDZXxIA6 LA1Q== 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; bh=z9C6sQ611y/zGRe/UW7/e4zr9l8XoO00RXrJcagkHXI=; b=VHL9RD2aaOJ7JZYAt21/ylQ/shVUqSZGmQRikUf6Uog76yBtQqlnqz7CWCj3a21Bz5 +wxMtsQAGzi46BQ172CdYzXh8qf1cgbvcODWmjfCBe474AlbBjkbFGLMt68K0QxhGLmU NJfsrBt/07RPrJuFZl/4HS6UUDRVna7yytJ4ELWqb2HWskTj7DyII1Mu2RpOa/AwCd7q 25vFUoiBywtZ6nYGPmvV8iCAsdNB8/bxbTw09rl8SERDxm2x7y76aVR7GA/y7cwjUbG+ S5NhUJsgylfNRgJ6RpL7ParxFFiaHGefW20eS3e38xvgQorhjHUvpsxUcplXttPXts2C q+zA== X-Gm-Message-State: AOAM532gbeNetubTt1LdMMEdx31qN8a7LE5d7FMfe0Sy08yFdZMBRgyh TX/1ND6lsW70355ARNrDxT0= X-Received: by 2002:a1c:f402:: with SMTP id z2mr3883978wma.21.1619523269928; Tue, 27 Apr 2021 04:34:29 -0700 (PDT) Received: from Red ([2a01:cb1d:3d5:a100:264b:feff:fe03:2806]) by smtp.googlemail.com with ESMTPSA id k10sm2989203wmf.0.2021.04.27.04.34.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Apr 2021 04:34:29 -0700 (PDT) Date: Tue, 27 Apr 2021 13:34:27 +0200 From: Corentin Labbe To: gregkh@linuxfoundation.org, rafael@kernel.org, hch@lst.de, m.szyprowski@samsung.com, robin.murphy@arm.com Cc: iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: dma-api debugfs directory is not created since debugfs is not initialized Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello I try to debug some DMA problem on next-20210427, and so I have enabled CONFIG_DMA_API_DEBUG=y. But the dma-api directory does show up in debugfs, but lot of other directory exists in it. After debugging it seems due to commit 56348560d495 ("debugfs: do not attempt to create a new file before the filesystem is initalized") Reverting the commit permit to "dma-api" debugfs to be found. (but seems not the right way to fix it). Regards