From: kernel test robot <lkp@intel.com>
To: Perry Yuan <perry.yuan@amd.com>,
rafael.j.wysocki@intel.com, Mario.Limonciello@amd.com,
ray.huang@amd.com, viresh.kumar@linaro.org
Cc: oe-kbuild-all@lists.linux.dev, Deepak.Sharma@amd.com,
Nathan.Fontenot@amd.com, Alexander.Deucher@amd.com,
Shimmer.Huang@amd.com, Xiaojian.Du@amd.com, Li.Meng@amd.com,
wyes.karny@amd.com, linux-pm@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v11 04/11] cpufreq: amd-pstate: implement Pstate EPP support for the AMD processors
Date: Wed, 18 Jan 2023 23:47:58 +0800 [thread overview]
Message-ID: <202301182325.NoodiJ0K-lkp@intel.com> (raw)
In-Reply-To: <20230118075210.447418-5-perry.yuan@amd.com>
Hi Perry,
I love your patch! Perhaps something to improve:
[auto build test WARNING on rafael-pm/linux-next]
[also build test WARNING on linus/master v6.2-rc4 next-20230118]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Perry-Yuan/ACPI-CPPC-Add-AMD-pstate-energy-performance-preference-cppc-control/20230118-163633
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
patch link: https://lore.kernel.org/r/20230118075210.447418-5-perry.yuan%40amd.com
patch subject: [PATCH v11 04/11] cpufreq: amd-pstate: implement Pstate EPP support for the AMD processors
config: x86_64-randconfig-a013-20230116 (https://download.01.org/0day-ci/archive/20230118/202301182325.NoodiJ0K-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
# https://github.com/intel-lab-lkp/linux/commit/d596b3586a809f4f6b65ec216c168b6f01c82f67
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Perry-Yuan/ACPI-CPPC-Add-AMD-pstate-energy-performance-preference-cppc-control/20230118-163633
git checkout d596b3586a809f4f6b65ec216c168b6f01c82f67
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 olddefconfig
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/cpufreq/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
In file included from drivers/cpufreq/amd-pstate-ut.c:29:
>> include/linux/amd-pstate.h:142:21: warning: 'epp_values' defined but not used [-Wunused-variable]
142 | static unsigned int epp_values[] = {
| ^~~~~~~~~~
>> include/linux/amd-pstate.h:133:27: warning: 'energy_perf_strings' defined but not used [-Wunused-const-variable=]
133 | static const char * const energy_perf_strings[] = {
| ^~~~~~~~~~~~~~~~~~~
include/linux/amd-pstate.h:97:27: warning: 'amd_pstate_mode_string' defined but not used [-Wunused-const-variable=]
97 | static const char * const amd_pstate_mode_string[] = {
| ^~~~~~~~~~~~~~~~~~~~~~
vim +/epp_values +142 include/linux/amd-pstate.h
132
> 133 static const char * const energy_perf_strings[] = {
134 [EPP_INDEX_DEFAULT] = "default",
135 [EPP_INDEX_PERFORMANCE] = "performance",
136 [EPP_INDEX_BALANCE_PERFORMANCE] = "balance_performance",
137 [EPP_INDEX_BALANCE_POWERSAVE] = "balance_power",
138 [EPP_INDEX_POWERSAVE] = "power",
139 NULL
140 };
141
> 142 static unsigned int epp_values[] = {
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
next prev parent reply other threads:[~2023-01-18 15:51 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-18 7:51 [PATCH v11 00/11] Implement AMD Pstate EPP Driver Perry Yuan
2023-01-18 7:52 ` [PATCH v11 01/11] ACPI: CPPC: Add AMD pstate energy performance preference cppc control Perry Yuan
2023-01-18 7:52 ` [PATCH v11 02/11] Documentation: amd-pstate: add EPP profiles introduction Perry Yuan
2023-01-19 5:17 ` Wyes Karny
2023-01-18 7:52 ` [PATCH v11 03/11] cpufreq: amd-pstate: optimize driver working mode selection in amd_pstate_param() Perry Yuan
2023-01-18 7:52 ` [PATCH v11 04/11] cpufreq: amd-pstate: implement Pstate EPP support for the AMD processors Perry Yuan
2023-01-18 15:47 ` kernel test robot [this message]
2023-01-19 2:45 ` Huang Rui
2023-01-19 5:17 ` Wyes Karny
2023-01-18 7:52 ` [PATCH v11 05/11] cpufreq: amd-pstate: implement amd pstate cpu online and offline callback Perry Yuan
2023-01-19 5:27 ` Wyes Karny
2023-01-18 7:52 ` [PATCH v11 06/11] cpufreq: amd-pstate: implement suspend and resume callbacks Perry Yuan
2023-01-19 5:31 ` Wyes Karny
2023-01-18 7:52 ` [PATCH v11 07/11] cpufreq: amd-pstate: add driver working mode switch support Perry Yuan
2023-01-18 7:52 ` [PATCH v11 08/11] Documentation: amd-pstate: add amd pstate driver mode introduction Perry Yuan
2023-01-19 5:32 ` Wyes Karny
2023-01-18 7:52 ` [PATCH v11 09/11] Documentation: introduce amd pstate active mode kernel command line options Perry Yuan
2023-01-19 5:32 ` Wyes Karny
2023-01-18 7:52 ` [PATCH v11 10/11] cpufreq: amd-pstate: convert sprintf with sysfs_emit() Perry Yuan
2023-01-19 5:33 ` Wyes Karny
2023-01-18 7:52 ` [PATCH v11 11/11] Documentation: amd-pstate: introduce new global sysfs attributes Perry Yuan
2023-01-19 5:33 ` Wyes Karny
2023-01-19 2:50 ` [PATCH v11 00/11] Implement AMD Pstate EPP Driver Huang Rui
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=202301182325.NoodiJ0K-lkp@intel.com \
--to=lkp@intel.com \
--cc=Alexander.Deucher@amd.com \
--cc=Deepak.Sharma@amd.com \
--cc=Li.Meng@amd.com \
--cc=Mario.Limonciello@amd.com \
--cc=Nathan.Fontenot@amd.com \
--cc=Shimmer.Huang@amd.com \
--cc=Xiaojian.Du@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=perry.yuan@amd.com \
--cc=rafael.j.wysocki@intel.com \
--cc=ray.huang@amd.com \
--cc=viresh.kumar@linaro.org \
--cc=wyes.karny@amd.com \
/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