tree:
https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.15
head: c0df759bbc318d8927514e74bc86380284c7109a
commit: df12be153ec235a8f19900408becaaa1d978b792 [1631/2827] CHROMIUM: hardlockup: detect
hard lockups without NMIs using secondary cpus
config: x86_64-randconfig-a001-20211212
(
https://download.01.org/0day-ci/archive/20211214/202112140532.YAoON1jf-lk...)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
git remote add chrome-os
https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-5.15
git checkout df12be153ec235a8f19900408becaaa1d978b792
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
ld: kernel/watchdog.o: in function `set_sample_period':
> kernel/watchdog.c:250: undefined reference to
`watchdog_update_hrtimer_threshold'
vim +250 kernel/watchdog.c
58687acba59266 Don Zickus 2010-05-07 239
0f34c400914f16 Chuansheng Liu 2012-12-17 240 static void
set_sample_period(void)
58687acba59266 Don Zickus 2010-05-07 241 {
58687acba59266 Don Zickus 2010-05-07 242 /*
586692a5a5fc57 Mandeep Singh Baines 2011-05-22 243 * convert watchdog_thresh from
seconds to ns
86f5e6a7b19272 Fernando Luis Vázquez Cao 2012-02-09 244 * the divide by 5 is to give
hrtimer several chances (two
86f5e6a7b19272 Fernando Luis Vázquez Cao 2012-02-09 245 * or three with the current
relation between the soft
86f5e6a7b19272 Fernando Luis Vázquez Cao 2012-02-09 246 * and hard thresholds) to
increment before the
86f5e6a7b19272 Fernando Luis Vázquez Cao 2012-02-09 247 * hardlockup detector
generates a warning
58687acba59266 Don Zickus 2010-05-07 248 */
0f34c400914f16 Chuansheng Liu 2012-12-17 249 sample_period =
get_softlockup_thresh() * ((u64)NSEC_PER_SEC / 5);
7edaeb6841dfb2 Thomas Gleixner 2017-08-15 @250
watchdog_update_hrtimer_threshold(sample_period);
58687acba59266 Don Zickus 2010-05-07 251 }
58687acba59266 Don Zickus 2010-05-07 252
:::::: The code at line 250 was first introduced by commit
:::::: 7edaeb6841dfb27e362288ab8466ebdc4972e867 kernel/watchdog: Prevent false positives
with turbo modes
:::::: TO: Thomas Gleixner <tglx(a)linutronix.de>
:::::: CC: Thomas Gleixner <tglx(a)linutronix.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org