From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: Re: [RFC] cpuidle : Add support for pseudo-cpuidle driver
Date: Sat, 01 Aug 2020 16:30:07 +0800 [thread overview]
Message-ID: <202008011651.CkttncJ9%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3100 bytes --]
CC: kbuild-all(a)lists.01.org
In-Reply-To: <20200723061339.9747-1-huntbag@linux.vnet.ibm.com>
References: <20200723061339.9747-1-huntbag@linux.vnet.ibm.com>
TO: Abhishek Goel <huntbag@linux.vnet.ibm.com>
Hi Abhishek,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on pm/linux-next]
[also build test WARNING on linux/master linus/master v5.8-rc7 next-20200731]
[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]
url: https://github.com/0day-ci/linux/commits/Abhishek-Goel/cpuidle-Add-support-for-pseudo-cpuidle-driver/20200723-141912
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
:::::: branch date: 9 days ago
:::::: commit date: 9 days ago
config: i386-randconfig-m021-20200801 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-14) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch warnings:
drivers/cpuidle/cpuidle-test.c:59 idle_loop() warn: for statement not indented
# https://github.com/0day-ci/linux/commit/27a054c59bf08322f18a47674726524fec8dacf9
git remote add linux-review https://github.com/0day-ci/linux
git remote update linux-review
git checkout 27a054c59bf08322f18a47674726524fec8dacf9
vim +59 drivers/cpuidle/cpuidle-test.c
27a054c59bf0832 Abhishek Goel 2020-07-23 43
27a054c59bf0832 Abhishek Goel 2020-07-23 44
27a054c59bf0832 Abhishek Goel 2020-07-23 45 static int __cpuidle idle_loop(struct cpuidle_device *dev,
27a054c59bf0832 Abhishek Goel 2020-07-23 46 struct cpuidle_driver *drv,
27a054c59bf0832 Abhishek Goel 2020-07-23 47 int index)
27a054c59bf0832 Abhishek Goel 2020-07-23 48 {
27a054c59bf0832 Abhishek Goel 2020-07-23 49 u64 time_start;
27a054c59bf0832 Abhishek Goel 2020-07-23 50
27a054c59bf0832 Abhishek Goel 2020-07-23 51 local_irq_enable();
27a054c59bf0832 Abhishek Goel 2020-07-23 52 if (!current_set_polling_and_test()) {
27a054c59bf0832 Abhishek Goel 2020-07-23 53 while (!need_resched())
27a054c59bf0832 Abhishek Goel 2020-07-23 54 cpu_relax();
27a054c59bf0832 Abhishek Goel 2020-07-23 55 }
27a054c59bf0832 Abhishek Goel 2020-07-23 56
27a054c59bf0832 Abhishek Goel 2020-07-23 57 time_start = local_clock();
27a054c59bf0832 Abhishek Goel 2020-07-23 58
27a054c59bf0832 Abhishek Goel 2020-07-23 @59 while (local_clock() - time_start < drv->states[index].exit_latency)
27a054c59bf0832 Abhishek Goel 2020-07-23 60
27a054c59bf0832 Abhishek Goel 2020-07-23 61 current_clr_polling();
27a054c59bf0832 Abhishek Goel 2020-07-23 62
27a054c59bf0832 Abhishek Goel 2020-07-23 63 return index;
27a054c59bf0832 Abhishek Goel 2020-07-23 64 }
27a054c59bf0832 Abhishek Goel 2020-07-23 65
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 27218 bytes --]
next reply other threads:[~2020-08-01 8:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-01 8:30 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-07-23 6:13 [RFC] cpuidle : Add support for pseudo-cpuidle driver Abhishek Goel
2020-07-23 6:24 ` Randy Dunlap
2020-07-24 3:40 ` kernel test robot
2020-07-24 3:41 ` kernel test robot
2020-07-24 10:51 ` kernel test robot
2020-08-05 11:56 ` Dan Carpenter
2020-08-05 11:56 ` Dan Carpenter
2020-08-20 19:33 ` Fontenot, Nathan
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=202008011651.CkttncJ9%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild@lists.01.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 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.