From: Greg KH <greg@kroah.com>
To: Peng Fan <peng.fan@nxp.com>
Cc: "Peng Fan (OSS)" <peng.fan@oss.nxp.com>,
"abelvesa@kernel.org" <abelvesa@kernel.org>,
"mturquette@baylibre.com" <mturquette@baylibre.com>,
"sboyd@kernel.org" <sboyd@kernel.org>,
"shawnguo@kernel.org" <shawnguo@kernel.org>,
"s.hauer@pengutronix.de" <s.hauer@pengutronix.de>,
"kernel@pengutronix.de" <kernel@pengutronix.de>,
"festevam@gmail.com" <festevam@gmail.com>,
dl-linux-imx <linux-imx@nxp.com>,
"linux-clk@vger.kernel.org" <linux-clk@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] clk: imx: imx93: introduce clk_bypassed module parameter
Date: Wed, 10 May 2023 11:13:51 +0200 [thread overview]
Message-ID: <2023051027-wages-feminine-cb5d@gregkh> (raw)
In-Reply-To: <DU0PR04MB9417FE67ABF9A2B1EE4DEBA088779@DU0PR04MB9417.eurprd04.prod.outlook.com>
On Wed, May 10, 2023 at 07:49:20AM +0000, Peng Fan wrote:
>
> > Subject: Re: [PATCH] clk: imx: imx93: introduce clk_bypassed module
> > parameter
> >
> > On Thu, May 04, 2023 at 04:55:06PM +0800, Peng Fan (OSS) wrote:
> > > From: Peng Fan <peng.fan@nxp.com>
> > >
> > > With the clk names specified in clk_bypassed module parameter, give
> > > user an option to bypass the clk from managing them by Linux kernel.
> >
> > As I said on another email, no, please do not add new module parameters
> > for drivers, this is not the 1990s
>
> After a search of the list,
> https://lore.kernel.org/all/?q=module_param
>
> I still see many drivers are adding module_param.
And they should not be doing so as it is almost always not a good idea
(note, some subsystems, like sound, do require it, as that's the api
they use, so this is not a blanket statement.)
> Is this is strict ban that new platform driver should not add
> module_param?
You need to really really really justify, and document in the changelog
text, why all of the other methods of configuring a platform driver will
not work in order to have it considered.
thanks,
greg k-h
next prev parent reply other threads:[~2023-05-10 9:14 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-04 8:55 [PATCH] clk: imx: imx93: introduce clk_bypassed module parameter Peng Fan (OSS)
2023-05-04 9:10 ` Greg KH
2023-05-04 9:17 ` Peng Fan
2023-05-04 9:30 ` Krzysztof Kozlowski
2023-05-04 9:34 ` Peng Fan
2023-05-04 10:04 ` Ahmad Fatoum
2023-05-04 11:37 ` Peng Fan
2023-05-04 11:01 ` Krzysztof Kozlowski
2023-05-04 11:39 ` Peng Fan
2023-05-10 7:49 ` Peng Fan
2023-05-10 9:13 ` Greg KH [this message]
2023-05-11 8:54 ` Peng Fan
2023-05-12 11:38 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2023051027-wages-feminine-cb5d@gregkh \
--to=greg@kroah.com \
--cc=abelvesa@kernel.org \
--cc=festevam@gmail.com \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=peng.fan@nxp.com \
--cc=peng.fan@oss.nxp.com \
--cc=s.hauer@pengutronix.de \
--cc=sboyd@kernel.org \
--cc=shawnguo@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox