From: kbuild test robot <lkp@intel.com>
To: Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>
Cc: kbuild-all@01.org, linuxppc-dev@ozlabs.org,
linux-kernel@vger.kernel.org, rjw@rjwysocki.net,
viresh.kumar@linaro.org, linux-pm@vger.kernel.org, pc@us.ibm.com,
anton@samba.org, ego@linux.vnet.ibm.com,
shreyas@linux.vnet.ibm.com,
Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>
Subject: Re: [PATCH v5 1/5] cpufreq: powernv: Hot-plug safe the kworker thread
Date: Thu, 21 Jan 2016 18:20:15 +0800 [thread overview]
Message-ID: <201601211823.klhE1pab%fengguang.wu@intel.com> (raw)
In-Reply-To: <1453369139-10203-2-git-send-email-shilpa.bhat@linux.vnet.ibm.com>
[-- Attachment #1: Type: text/plain, Size: 2746 bytes --]
Hi Shilpasri,
[auto build test ERROR on pm/linux-next]
[also build test ERROR on v4.4 next-20160121]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/Shilpasri-G-Bhat/cpufreq-powernv-Redesign-the-presentation-of-throttle-notification-and-solve-bug-fixes-in-the-driver/20160121-174402
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: powerpc-allyesconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=powerpc
Note: the linux-review/Shilpasri-G-Bhat/cpufreq-powernv-Redesign-the-presentation-of-throttle-notification-and-solve-bug-fixes-in-the-driver/20160121-174402 HEAD 9aca97b0876d0d182772832e0447a9bf58a967f7 builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
drivers/cpufreq/powernv-cpufreq.c: In function 'powernv_cpufreq_work_fn':
>> drivers/cpufreq/powernv-cpufreq.c:428:2: error: implicit declaration of function 'get_online_cpus' [-Werror=implicit-function-declaration]
get_online_cpus();
^
>> drivers/cpufreq/powernv-cpufreq.c:449:2: error: implicit declaration of function 'put_online_cpus' [-Werror=implicit-function-declaration]
put_online_cpus();
^
cc1: some warnings being treated as errors
vim +/get_online_cpus +428 drivers/cpufreq/powernv-cpufreq.c
422 void powernv_cpufreq_work_fn(struct work_struct *work)
423 {
424 struct chip *chip = container_of(work, struct chip, throttle);
425 unsigned int cpu;
426 cpumask_t mask;
427
> 428 get_online_cpus();
429 cpumask_and(&mask, &chip->mask, cpu_online_mask);
430 smp_call_function_any(&mask,
431 powernv_cpufreq_throttle_check, NULL, 0);
432
433 if (!chip->restore)
434 goto out;
435
436 chip->restore = false;
437 for_each_cpu(cpu, &mask) {
438 int index;
439 struct cpufreq_policy policy;
440
441 cpufreq_get_policy(&policy, cpu);
442 cpufreq_frequency_table_target(&policy, policy.freq_table,
443 policy.cur,
444 CPUFREQ_RELATION_C, &index);
445 powernv_cpufreq_target_index(&policy, index);
446 cpumask_andnot(&mask, &mask, policy.cpus);
447 }
448 out:
> 449 put_online_cpus();
450 }
451
452 static char throttle_reason[][30] = {
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 47524 bytes --]
next prev parent reply other threads:[~2016-01-21 10:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-21 9:38 [PATCH v5 0/5] cpufreq: powernv: Redesign the presentation of throttle notification and solve bug-fixes in the driver Shilpasri G Bhat
2016-01-21 9:38 ` [PATCH v5 1/5] cpufreq: powernv: Hot-plug safe the kworker thread Shilpasri G Bhat
2016-01-21 10:20 ` kbuild test robot [this message]
2016-01-21 9:38 ` [PATCH v5 2/5] cpufreq: powernv: Remove cpu_to_chip_id() from hot-path Shilpasri G Bhat
2016-01-21 9:38 ` [PATCH v5 3/5] cpufreq: powernv/tracing: Add powernv_throttle tracepoint Shilpasri G Bhat
2016-01-21 9:38 ` [PATCH v5 4/5] cpufreq: powernv: Replace pr_info with trace print for throttle event Shilpasri G Bhat
2016-01-21 9:38 ` [PATCH v5 5/5] cpufreq: powernv: Add sysfs attributes to show throttle stats Shilpasri G Bhat
2016-01-22 6:25 ` Gautham R Shenoy
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=201601211823.klhE1pab%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=anton@samba.org \
--cc=ego@linux.vnet.ibm.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=pc@us.ibm.com \
--cc=rjw@rjwysocki.net \
--cc=shilpa.bhat@linux.vnet.ibm.com \
--cc=shreyas@linux.vnet.ibm.com \
--cc=viresh.kumar@linaro.org \
/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
all inboxes | Powered by JetHome®