* [asahilinux:bits/130-cpufreq 3/4] drivers/cpufreq/apple-soc-cpufreq.c:67:19: error: implicit declaration of function 'readq_relaxed'; did you mean 'readl_relaxed'?
@ 2022-06-23 21:07 kernel test robot
2022-06-23 21:28 ` Andy Shevchenko
0 siblings, 1 reply; 5+ messages in thread
From: kernel test robot @ 2022-06-23 21:07 UTC (permalink / raw)
To: Hector Martin; +Cc: kbuild-all, linux-kernel
tree: https://github.com/AsahiLinux/linux bits/130-cpufreq
head: c1f94f72b7ae14d506b361283ef25624368b1a32
commit: 4b2ae5bd4433c2282e699dc54bd26b066ad28f85 [3/4] cpufreq: apple-soc: Add new driver to control Apple SoC CPU P-states
config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20220624/202206240410.O3xJ4UZE-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/AsahiLinux/linux/commit/4b2ae5bd4433c2282e699dc54bd26b066ad28f85
git remote add asahilinux https://github.com/AsahiLinux/linux
git fetch --no-tags asahilinux bits/130-cpufreq
git checkout 4b2ae5bd4433c2282e699dc54bd26b066ad28f85
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/cpufreq/apple-soc-cpufreq.c: In function 'apple_soc_cpufreq_get_rate':
>> drivers/cpufreq/apple-soc-cpufreq.c:67:19: error: implicit declaration of function 'readq_relaxed'; did you mean 'readl_relaxed'? [-Werror=implicit-function-declaration]
67 | u64 reg = readq_relaxed(priv->reg_base + APPLE_DVFS_STATUS);
| ^~~~~~~~~~~~~
| readl_relaxed
In file included from drivers/cpufreq/apple-soc-cpufreq.c:18:
drivers/cpufreq/apple-soc-cpufreq.c: In function 'apple_soc_cpufreq_set_target':
>> include/linux/iopoll.h:165:35: error: implicit declaration of function 'readq'; did you mean 'readl'? [-Werror=implicit-function-declaration]
165 | readx_poll_timeout_atomic(readq, addr, val, cond, delay_us, timeout_us)
| ^~~~~
include/linux/iopoll.h:88:25: note: in definition of macro 'read_poll_timeout_atomic'
88 | (val) = op(args); \
| ^~
include/linux/iopoll.h:165:9: note: in expansion of macro 'readx_poll_timeout_atomic'
165 | readx_poll_timeout_atomic(readq, addr, val, cond, delay_us, timeout_us)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/cpufreq/apple-soc-cpufreq.c:87:13: note: in expansion of macro 'readq_poll_timeout_atomic'
87 | if (readq_poll_timeout_atomic(priv->reg_base + APPLE_DVFS_CMD, reg,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/cpufreq/apple-soc-cpufreq.c:98:9: error: implicit declaration of function 'writeq_relaxed'; did you mean 'writeb_relaxed'? [-Werror=implicit-function-declaration]
98 | writeq_relaxed(reg, priv->reg_base + APPLE_DVFS_CMD);
| ^~~~~~~~~~~~~~
| writeb_relaxed
drivers/cpufreq/apple-soc-cpufreq.c: At top level:
drivers/cpufreq/apple-soc-cpufreq.c:291:27: warning: initialized field overwritten [-Woverride-init]
291 | .attr = apple_soc_cpufreq_hw_attr,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/cpufreq/apple-soc-cpufreq.c:291:27: note: (near initialization for 'apple_soc_cpufreq_driver.attr')
cc1: some warnings being treated as errors
vim +67 drivers/cpufreq/apple-soc-cpufreq.c
62
63 static unsigned int apple_soc_cpufreq_get_rate(unsigned int cpu)
64 {
65 struct cpufreq_policy *policy = cpufreq_cpu_get_raw(cpu);
66 struct apple_cpu_priv *priv = policy->driver_data;
> 67 u64 reg = readq_relaxed(priv->reg_base + APPLE_DVFS_STATUS);
68 unsigned int pstate = FIELD_GET(APPLE_DVFS_STATUS_CUR_PS, reg);
69 unsigned int i;
70
71 for (i = 0; policy->freq_table[i].frequency != CPUFREQ_TABLE_END; i++)
72 if (policy->freq_table[i].driver_data == pstate)
73 return policy->freq_table[i].frequency;
74
75 dev_err(priv->cpu_dev, "could not find frequency for pstate %d\n",
76 pstate);
77 return 0;
78 }
79
80 static int apple_soc_cpufreq_set_target(struct cpufreq_policy *policy,
81 unsigned int index)
82 {
83 struct apple_cpu_priv *priv = policy->driver_data;
84 unsigned int pstate = policy->freq_table[index].driver_data;
85 u64 reg;
86
87 if (readq_poll_timeout_atomic(priv->reg_base + APPLE_DVFS_CMD, reg,
88 !(reg & APPLE_DVFS_CMD_BUSY), 2,
89 APPLE_DVFS_TRANSITION_TIMEOUT)) {
90 return -EIO;
91 }
92
93 reg &= ~(APPLE_DVFS_CMD_PS1 | APPLE_DVFS_CMD_PS2);
94 reg |= FIELD_PREP(APPLE_DVFS_CMD_PS1, pstate);
95 reg |= FIELD_PREP(APPLE_DVFS_CMD_PS2, pstate);
96 reg |= APPLE_DVFS_CMD_SET;
97
> 98 writeq_relaxed(reg, priv->reg_base + APPLE_DVFS_CMD);
99
100 return 0;
101 }
102
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [asahilinux:bits/130-cpufreq 3/4] drivers/cpufreq/apple-soc-cpufreq.c:67:19: error: implicit declaration of function 'readq_relaxed'; did you mean 'readl_relaxed'?
2022-06-23 21:07 [asahilinux:bits/130-cpufreq 3/4] drivers/cpufreq/apple-soc-cpufreq.c:67:19: error: implicit declaration of function 'readq_relaxed'; did you mean 'readl_relaxed'? kernel test robot
@ 2022-06-23 21:28 ` Andy Shevchenko
0 siblings, 0 replies; 5+ messages in thread
From: Andy Shevchenko @ 2022-06-23 21:28 UTC (permalink / raw)
To: kernel test robot; +Cc: Hector Martin, kbuild-all, Linux Kernel Mailing List
On Thu, Jun 23, 2022 at 11:23 PM kernel test robot <lkp@intel.com> wrote:
>
> tree: https://github.com/AsahiLinux/linux bits/130-cpufreq
> head: c1f94f72b7ae14d506b361283ef25624368b1a32
> commit: 4b2ae5bd4433c2282e699dc54bd26b066ad28f85 [3/4] cpufreq: apple-soc: Add new driver to control Apple SoC CPU P-states
> config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20220624/202206240410.O3xJ4UZE-lkp@intel.com/config)
> compiler: arm-linux-gnueabi-gcc (GCC) 11.3.0
> reproduce (this is a W=1 build):
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # https://github.com/AsahiLinux/linux/commit/4b2ae5bd4433c2282e699dc54bd26b066ad28f85
> git remote add asahilinux https://github.com/AsahiLinux/linux
> git fetch --no-tags asahilinux bits/130-cpufreq
> git checkout 4b2ae5bd4433c2282e699dc54bd26b066ad28f85
> # save the config file
> mkdir build_dir && cp config build_dir/.config
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash
>
> If you fix the issue, kindly add following tag where applicable
> Reported-by: kernel test robot <lkp@intel.com>
>
> All errors (new ones prefixed by >>):
>
> drivers/cpufreq/apple-soc-cpufreq.c: In function 'apple_soc_cpufreq_get_rate':
> >> drivers/cpufreq/apple-soc-cpufreq.c:67:19: error: implicit declaration of function 'readq_relaxed'; did you mean 'readl_relaxed'? [-Werror=implicit-function-declaration]
> 67 | u64 reg = readq_relaxed(priv->reg_base + APPLE_DVFS_STATUS);
> | ^~~~~~~~~~~~~
> | readl_relaxed
Consider to use io-64-non-atomic-lo-hi.h or so
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [asahilinux:bits/130-cpufreq 3/4] drivers/cpufreq/apple-soc-cpufreq.c:67:19: error: implicit declaration of function 'readq_relaxed'; did you mean 'readl_relaxed'?
@ 2022-06-23 21:28 ` Andy Shevchenko
0 siblings, 0 replies; 5+ messages in thread
From: Andy Shevchenko @ 2022-06-23 21:28 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 1874 bytes --]
On Thu, Jun 23, 2022 at 11:23 PM kernel test robot <lkp@intel.com> wrote:
>
> tree: https://github.com/AsahiLinux/linux bits/130-cpufreq
> head: c1f94f72b7ae14d506b361283ef25624368b1a32
> commit: 4b2ae5bd4433c2282e699dc54bd26b066ad28f85 [3/4] cpufreq: apple-soc: Add new driver to control Apple SoC CPU P-states
> config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20220624/202206240410.O3xJ4UZE-lkp(a)intel.com/config)
> compiler: arm-linux-gnueabi-gcc (GCC) 11.3.0
> reproduce (this is a W=1 build):
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # https://github.com/AsahiLinux/linux/commit/4b2ae5bd4433c2282e699dc54bd26b066ad28f85
> git remote add asahilinux https://github.com/AsahiLinux/linux
> git fetch --no-tags asahilinux bits/130-cpufreq
> git checkout 4b2ae5bd4433c2282e699dc54bd26b066ad28f85
> # save the config file
> mkdir build_dir && cp config build_dir/.config
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash
>
> If you fix the issue, kindly add following tag where applicable
> Reported-by: kernel test robot <lkp@intel.com>
>
> All errors (new ones prefixed by >>):
>
> drivers/cpufreq/apple-soc-cpufreq.c: In function 'apple_soc_cpufreq_get_rate':
> >> drivers/cpufreq/apple-soc-cpufreq.c:67:19: error: implicit declaration of function 'readq_relaxed'; did you mean 'readl_relaxed'? [-Werror=implicit-function-declaration]
> 67 | u64 reg = readq_relaxed(priv->reg_base + APPLE_DVFS_STATUS);
> | ^~~~~~~~~~~~~
> | readl_relaxed
Consider to use io-64-non-atomic-lo-hi.h or so
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 5+ messages in thread
* [asahilinux:bits/130-cpufreq 3/4] drivers/cpufreq/apple-soc-cpufreq.c:67:19: error: implicit declaration of function 'readq_relaxed'; did you mean 'readl_relaxed'?
@ 2022-08-18 8:08 kernel test robot
0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2022-08-18 8:08 UTC (permalink / raw)
To: Hector Martin; +Cc: kbuild-all, linux-kernel
tree: https://github.com/AsahiLinux/linux bits/130-cpufreq
head: 15652b46c23d23d9cddae0f85071af0cd492436d
commit: 42927fc2e2bc9096a31f4a7c5ef7073765ecde43 [3/4] cpufreq: apple-soc: Add new driver to control Apple SoC CPU P-states
config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20220818/202208181649.iKMgImPW-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/AsahiLinux/linux/commit/42927fc2e2bc9096a31f4a7c5ef7073765ecde43
git remote add asahilinux https://github.com/AsahiLinux/linux
git fetch --no-tags asahilinux bits/130-cpufreq
git checkout 42927fc2e2bc9096a31f4a7c5ef7073765ecde43
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/cpufreq/apple-soc-cpufreq.c: In function 'apple_soc_cpufreq_get_rate':
>> drivers/cpufreq/apple-soc-cpufreq.c:67:19: error: implicit declaration of function 'readq_relaxed'; did you mean 'readl_relaxed'? [-Werror=implicit-function-declaration]
67 | u64 reg = readq_relaxed(priv->reg_base + APPLE_DVFS_STATUS);
| ^~~~~~~~~~~~~
| readl_relaxed
In file included from drivers/cpufreq/apple-soc-cpufreq.c:18:
drivers/cpufreq/apple-soc-cpufreq.c: In function 'apple_soc_cpufreq_set_target':
>> include/linux/iopoll.h:165:35: error: implicit declaration of function 'readq'; did you mean 'readl'? [-Werror=implicit-function-declaration]
165 | readx_poll_timeout_atomic(readq, addr, val, cond, delay_us, timeout_us)
| ^~~~~
include/linux/iopoll.h:88:25: note: in definition of macro 'read_poll_timeout_atomic'
88 | (val) = op(args); \
| ^~
include/linux/iopoll.h:165:9: note: in expansion of macro 'readx_poll_timeout_atomic'
165 | readx_poll_timeout_atomic(readq, addr, val, cond, delay_us, timeout_us)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/cpufreq/apple-soc-cpufreq.c:87:13: note: in expansion of macro 'readq_poll_timeout_atomic'
87 | if (readq_poll_timeout_atomic(priv->reg_base + APPLE_DVFS_CMD, reg,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/cpufreq/apple-soc-cpufreq.c:98:9: error: implicit declaration of function 'writeq_relaxed'; did you mean 'writeb_relaxed'? [-Werror=implicit-function-declaration]
98 | writeq_relaxed(reg, priv->reg_base + APPLE_DVFS_CMD);
| ^~~~~~~~~~~~~~
| writeb_relaxed
drivers/cpufreq/apple-soc-cpufreq.c: At top level:
drivers/cpufreq/apple-soc-cpufreq.c:291:27: warning: initialized field overwritten [-Woverride-init]
291 | .attr = apple_soc_cpufreq_hw_attr,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/cpufreq/apple-soc-cpufreq.c:291:27: note: (near initialization for 'apple_soc_cpufreq_driver.attr')
cc1: some warnings being treated as errors
vim +67 drivers/cpufreq/apple-soc-cpufreq.c
62
63 static unsigned int apple_soc_cpufreq_get_rate(unsigned int cpu)
64 {
65 struct cpufreq_policy *policy = cpufreq_cpu_get_raw(cpu);
66 struct apple_cpu_priv *priv = policy->driver_data;
> 67 u64 reg = readq_relaxed(priv->reg_base + APPLE_DVFS_STATUS);
68 unsigned int pstate = FIELD_GET(APPLE_DVFS_STATUS_CUR_PS, reg);
69 unsigned int i;
70
71 for (i = 0; policy->freq_table[i].frequency != CPUFREQ_TABLE_END; i++)
72 if (policy->freq_table[i].driver_data == pstate)
73 return policy->freq_table[i].frequency;
74
75 dev_err(priv->cpu_dev, "could not find frequency for pstate %d\n",
76 pstate);
77 return 0;
78 }
79
80 static int apple_soc_cpufreq_set_target(struct cpufreq_policy *policy,
81 unsigned int index)
82 {
83 struct apple_cpu_priv *priv = policy->driver_data;
84 unsigned int pstate = policy->freq_table[index].driver_data;
85 u64 reg;
86
87 if (readq_poll_timeout_atomic(priv->reg_base + APPLE_DVFS_CMD, reg,
88 !(reg & APPLE_DVFS_CMD_BUSY), 2,
89 APPLE_DVFS_TRANSITION_TIMEOUT)) {
90 return -EIO;
91 }
92
93 reg &= ~(APPLE_DVFS_CMD_PS1 | APPLE_DVFS_CMD_PS2);
94 reg |= FIELD_PREP(APPLE_DVFS_CMD_PS1, pstate);
95 reg |= FIELD_PREP(APPLE_DVFS_CMD_PS2, pstate);
96 reg |= APPLE_DVFS_CMD_SET;
97
> 98 writeq_relaxed(reg, priv->reg_base + APPLE_DVFS_CMD);
99
100 return 0;
101 }
102
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] 5+ messages in thread
* [asahilinux:bits/130-cpufreq 3/4] drivers/cpufreq/apple-soc-cpufreq.c:67:19: error: implicit declaration of function 'readq_relaxed'; did you mean 'readl_relaxed'?
@ 2022-05-03 16:08 kernel test robot
0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2022-05-03 16:08 UTC (permalink / raw)
To: Hector Martin; +Cc: kbuild-all, linux-kernel
tree: https://github.com/AsahiLinux/linux bits/130-cpufreq
head: b7105141d60ddab11c03955ae5389fc7f2a369da
commit: 3580ed2b7ae9f66539990a47a90aa71308dab079 [3/4] cpufreq: apple-soc: Add new driver to control Apple SoC CPU P-states
config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20220504/202205040029.C0d0tIsn-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/AsahiLinux/linux/commit/3580ed2b7ae9f66539990a47a90aa71308dab079
git remote add asahilinux https://github.com/AsahiLinux/linux
git fetch --no-tags asahilinux bits/130-cpufreq
git checkout 3580ed2b7ae9f66539990a47a90aa71308dab079
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/cpufreq/apple-soc-cpufreq.c: In function 'apple_soc_cpufreq_get_rate':
>> drivers/cpufreq/apple-soc-cpufreq.c:67:19: error: implicit declaration of function 'readq_relaxed'; did you mean 'readl_relaxed'? [-Werror=implicit-function-declaration]
67 | u64 reg = readq_relaxed(priv->reg_base + APPLE_DVFS_STATUS);
| ^~~~~~~~~~~~~
| readl_relaxed
In file included from drivers/cpufreq/apple-soc-cpufreq.c:18:
drivers/cpufreq/apple-soc-cpufreq.c: In function 'apple_soc_cpufreq_set_target':
>> include/linux/iopoll.h:165:35: error: implicit declaration of function 'readq'; did you mean 'readl'? [-Werror=implicit-function-declaration]
165 | readx_poll_timeout_atomic(readq, addr, val, cond, delay_us, timeout_us)
| ^~~~~
include/linux/iopoll.h:88:25: note: in definition of macro 'read_poll_timeout_atomic'
88 | (val) = op(args); \
| ^~
include/linux/iopoll.h:165:9: note: in expansion of macro 'readx_poll_timeout_atomic'
165 | readx_poll_timeout_atomic(readq, addr, val, cond, delay_us, timeout_us)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/cpufreq/apple-soc-cpufreq.c:87:13: note: in expansion of macro 'readq_poll_timeout_atomic'
87 | if (readq_poll_timeout_atomic(priv->reg_base + APPLE_DVFS_CMD, reg,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/cpufreq/apple-soc-cpufreq.c:98:9: error: implicit declaration of function 'writeq_relaxed'; did you mean 'writeb_relaxed'? [-Werror=implicit-function-declaration]
98 | writeq_relaxed(reg, priv->reg_base + APPLE_DVFS_CMD);
| ^~~~~~~~~~~~~~
| writeb_relaxed
drivers/cpufreq/apple-soc-cpufreq.c: At top level:
drivers/cpufreq/apple-soc-cpufreq.c:291:27: warning: initialized field overwritten [-Woverride-init]
291 | .attr = apple_soc_cpufreq_hw_attr,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/cpufreq/apple-soc-cpufreq.c:291:27: note: (near initialization for 'apple_soc_cpufreq_driver.attr')
cc1: some warnings being treated as errors
vim +67 drivers/cpufreq/apple-soc-cpufreq.c
62
63 static unsigned int apple_soc_cpufreq_get_rate(unsigned int cpu)
64 {
65 struct cpufreq_policy *policy = cpufreq_cpu_get_raw(cpu);
66 struct apple_cpu_priv *priv = policy->driver_data;
> 67 u64 reg = readq_relaxed(priv->reg_base + APPLE_DVFS_STATUS);
68 unsigned int pstate = FIELD_GET(APPLE_DVFS_STATUS_CUR_PS, reg);
69 unsigned int i;
70
71 for (i = 0; policy->freq_table[i].frequency != CPUFREQ_TABLE_END; i++)
72 if (policy->freq_table[i].driver_data == pstate)
73 return policy->freq_table[i].frequency;
74
75 dev_err(priv->cpu_dev, "could not find frequency for pstate %d\n",
76 pstate);
77 return 0;
78 }
79
80 static int apple_soc_cpufreq_set_target(struct cpufreq_policy *policy,
81 unsigned int index)
82 {
83 struct apple_cpu_priv *priv = policy->driver_data;
84 unsigned int pstate = policy->freq_table[index].driver_data;
85 u64 reg;
86
87 if (readq_poll_timeout_atomic(priv->reg_base + APPLE_DVFS_CMD, reg,
88 !(reg & APPLE_DVFS_CMD_BUSY), 2,
89 APPLE_DVFS_TRANSITION_TIMEOUT)) {
90 return -EIO;
91 }
92
93 reg &= ~(APPLE_DVFS_CMD_PS1 | APPLE_DVFS_CMD_PS2);
94 reg |= FIELD_PREP(APPLE_DVFS_CMD_PS1, pstate);
95 reg |= FIELD_PREP(APPLE_DVFS_CMD_PS2, pstate);
96 reg |= APPLE_DVFS_CMD_SET;
97
> 98 writeq_relaxed(reg, priv->reg_base + APPLE_DVFS_CMD);
99
100 return 0;
101 }
102
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-08-18 8:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-23 21:07 [asahilinux:bits/130-cpufreq 3/4] drivers/cpufreq/apple-soc-cpufreq.c:67:19: error: implicit declaration of function 'readq_relaxed'; did you mean 'readl_relaxed'? kernel test robot
2022-06-23 21:28 ` Andy Shevchenko
2022-06-23 21:28 ` Andy Shevchenko
-- strict thread matches above, loose matches on Subject: below --
2022-08-18 8:08 kernel test robot
2022-05-03 16:08 kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.