lkml.org 
[lkml]   [2022]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH V7 2/4] cpufreq: amd-pstate: Add test module for amd-pstate driver
Date
[AMD Official Use Only - General]



> -----Original Message-----
> From: Viresh Kumar <viresh.kumar@linaro.org>
> Sent: Monday, May 23, 2022 3:32 PM
> To: Meng, Li (Jassmine) <Li.Meng@amd.com>
> Cc: Shuah Khan <skhan@linuxfoundation.org>; Huang, Ray
> <Ray.Huang@amd.com>; linux-pm@vger.kernel.org; Rafael J . Wysocki
> <rafael.j.wysocki@intel.com>; Fontenot, Nathan
> <Nathan.Fontenot@amd.com>; Sharma, Deepak
> <Deepak.Sharma@amd.com>; Deucher, Alexander
> <Alexander.Deucher@amd.com>; Limonciello, Mario
> <Mario.Limonciello@amd.com>; Su, Jinzhou (Joe) <Jinzhou.Su@amd.com>;
> Yuan, Perry <Perry.Yuan@amd.com>; Du, Xiaojian <Xiaojian.Du@amd.com>;
> Borislav Petkov <bp@alien8.de>; linux-kernel@vger.kernel.org
> Subject: Re: [PATCH V7 2/4] cpufreq: amd-pstate: Add test module for amd-
> pstate driver
>
> [CAUTION: External Email]
>
> 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@amd.com>
> > Acked-by: Huang Rui <ray.huang@amd.com>
> > ---
> > 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

Thanks.
We took Shuah's comments and put test driver under drivers/cpufreq.

[Meng, Li (Jassmine)]

\
 
 \ /
  Last update: 2022-05-23 10:28    [W:0.197 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site