Re: [PATCH v3 2/2] iommu/amd: Add basic debugfs infrastructure for AMD IOMMU

From: Mehta, Sohil
Date: Wed Apr 18 2018 - 16:16:34 EST


On Wed, 2018-04-18 at 08:31 +0000, Yang, Shunyong wrote:
> Maybe the original design is to callÂdebugfs_initialized() before
> callingÂdebugfs_create_xxx()?

I am unaware of the original design. Someone else would probably have
more context. However, looking at other places in the kernel where
debugfs_create_xx() is used, the common convention seems to be to avoid
callingÂdebugfs_initialized().

ÂSohil