[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHNKnsQjB2f=9nadsqKTSAA0ZewFrPrDFTx4H804+y6ztTrXCQ@mail.gmail.com>
Date: Sun, 28 Nov 2021 19:53:06 +0300
From: Sergey Ryazanov <ryazanov.s.a@...il.com>
To: M Chetan Kumar <m.chetan.kumar@...ux.intel.com>
Cc: netdev@...r.kernel.org, Jakub Kicinski <kuba@...nel.org>,
David Miller <davem@...emloft.net>,
Johannes Berg <johannes@...solutions.net>,
Loic Poulain <loic.poulain@...aro.org>,
krishna.c.sudi@...el.com,
M Chetan Kumar <m.chetan.kumar@...el.com>,
Intel Corporation <linuxwwan@...el.com>
Subject: Re: [PATCH V3 net-next 1/2] net: wwan: common debugfs base dir for
wwan device
Hello,
On Sat, Nov 20, 2021 at 7:14 PM M Chetan Kumar
<m.chetan.kumar@...ux.intel.com> wrote:
> This patch set brings in a common debugfs base directory
> i.e. /sys/kernel/debugfs/wwan/ in WWAN Subsystem for a
> WWAN device instance. So that it avoids driver polluting
> debugfs root with unrelated directories & possible name
> collusion.
>
> Having a common debugfs base directory for WWAN drivers
> eases user to match control devices with debugfs entries.
>
> WWAN Subsystem creates dentry (/sys/kernel/debugfs/wwan)
> on module load & removes dentry on module unload.
>
> When driver registers a new wwan device, dentry (wwanX)
> is created for WWAN device instance & on driver unregister
> dentry is removed.
>
> New API is introduced to return the wwan device instance
> dentry so that driver can create debugfs entries under it.
Thank you for taking care of the debugfs implementation for the WWAN core.
Please find my follow-up series that tweak the IOSM/WWAN debugfs
interface a bit:
https://lore.kernel.org/all/20211128125522.23357-1-ryazanov.s.a@gmail.com
--
Sergey
Powered by blists - more mailing lists