Re: [PATCH V7 2/4] cpufreq: amd-pstate: Add test module for amd-pstate driver

From: Viresh Kumar
Date: Mon May 23 2022 - 03:33:15 EST


On 22-05-22, 19:54, Meng Li wrote:
> Add amd-pstate-ut module, which is conceptually out-of-tree module
> and provides ways for selftests/amd-pstate driver to test various
> kernel module-related functionality. This module will be expected by
> some of selftests to be present and loaded.
>
> Signed-off-by: Meng Li <li.meng@xxxxxxx>
> Acked-by: Huang Rui <ray.huang@xxxxxxx>
> ---
> drivers/cpufreq/Kconfig.x86 | 7 +
> drivers/cpufreq/Makefile | 1 +
> drivers/cpufreq/amd-pstate-ut.c | 293 ++++++++++++++++++++++++++++++++
> 3 files changed, 301 insertions(+)
> create mode 100644 drivers/cpufreq/amd-pstate-ut.c

I wonder if this should be moved to selftest directories instead ?

--
viresh