Re: [EXT] Re: [PATCH 2/2] cpufreq: dt-platdev: Support building cpufreq platdev driver as module

From: Viresh Kumar
Date: Thu Aug 31 2023 - 06:51:05 EST


On 30-08-23, 07:08, Aurelien Jarno wrote:
> Hi,
>
> On 2023-08-30 03:09, Zhipeng Wang wrote:
> > Hi Aurelien,
> >
> > I'm not sure why we need to make cpufreq-dt-platdev autoloading, does it make sense? As I understand it we need to actively modprobe cpufreq-dt-platdev, why not?
>
> This is needed to recover the old behavior, where if a CPU supports
> cpufreq-dt, it get loaded automatically. Now users has to modprobe
> cpufreq-dt-platdev explicitly to get cpufreq-dt to work. This seems like
> a regression to me.
>
> Of course one can explicitly make CPUFREQ_DT_PLATDEV=y, but the default
> is to build cpufreq-dt-platdev as module when cpufreq-dt is built as
> module.

Feel free to send me a patch to make this auto-load.

--
viresh