tree:
https://github.com/0day-ci/linux/commits/UPDATE-20210417-000536/Marcelo-T...
head: 69994d721a37e41ea46e52c6642883e27c15d9d8
commit: 69994d721a37e41ea46e52c6642883e27c15d9d8 hrtimer: avoid retrigger_next_event IPI
date: 4 days ago
config: mips-randconfig-r023-20210420 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
ca8eef7e3da8f750d7c7aa004fe426d1d34787ea)
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
# install mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
#
https://github.com/0day-ci/linux/commit/69994d721a37e41ea46e52c6642883e27...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
UPDATE-20210417-000536/Marcelo-Tosatti/hrtimer-avoid-retrigger_next_event-IPI/20210407-233005
git checkout 69994d721a37e41ea46e52c6642883e27c15d9d8
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
kernel/time/hrtimer.c:120:21: warning: initializer overrides prior initialization of
this subobject
= HRTIMER_BASE_REALTIME,
^~~~~~~~~~~~~~~~~~~~~
kernel/time/hrtimer.c:118:27: note: previous initialization is here
[0 ... MAX_CLOCKS - 1] = HRTIMER_MAX_CLOCK_BASES,
^~~~~~~~~~~~~~~~~~~~~~~
kernel/time/hrtimer.c:121:22: warning: initializer overrides prior initialization of
this subobject
= HRTIMER_BASE_MONOTONIC,
^~~~~~~~~~~~~~~~~~~~~~
kernel/time/hrtimer.c:118:27: note: previous initialization is here
[0 ... MAX_CLOCKS - 1] = HRTIMER_MAX_CLOCK_BASES,
^~~~~~~~~~~~~~~~~~~~~~~
kernel/time/hrtimer.c:122:21: warning: initializer overrides prior initialization of
this subobject
= HRTIMER_BASE_BOOTTIME,
^~~~~~~~~~~~~~~~~~~~~
kernel/time/hrtimer.c:118:27: note: previous initialization is here
[0 ... MAX_CLOCKS - 1] = HRTIMER_MAX_CLOCK_BASES,
^~~~~~~~~~~~~~~~~~~~~~~
kernel/time/hrtimer.c:123:17: warning: initializer overrides prior initialization of
this subobject
= HRTIMER_BASE_TAI,
^~~~~~~~~~~~~~~~
kernel/time/hrtimer.c:118:27: note: previous initialization is here
[0 ... MAX_CLOCKS - 1] = HRTIMER_MAX_CLOCK_BASES,
^~~~~~~~~~~~~~~~~~~~~~~
kernel/time/hrtimer.c:147:20: warning: unused function 'is_migration_base'
static inline bool is_migration_base(struct hrtimer_clock_base
^
> kernel/time/hrtimer.c:1764:20: warning: unused function
'__hrtimer_peek_ahead_timers'
static inline void
__hrtimer_peek_ahead_timers(void)
^
fatal error: error in backend: Nested variants found in inline asm string: ' .set
push
.set mips64r2
.if ( 0x00 ) != -1)) 0x00 ) != -1)) : ($( static struct ftrace_branch_data
__attribute__((__aligned__(4))) __attribute__((__section__("_ftrace_branch")))
__if_trace = $( .func = __func__, .file = "arch/mips/include/asm/bitops.h",
.line = 105, $); 0x00 ) != -1)) : $))) ) && ( 0 ); .set push; .set mips64r2; .rept
1; sync 0x00; .endr; .set pop; .else; ; .endif
1: ll $0, $1
or $0, $2
sc $0, $1
beqz $0, 1b
.set pop
'
clang-13: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 13.0.0 (git://gitmirror/llvm_project
ca8eef7e3da8f750d7c7aa004fe426d1d34787ea)
Target: mipsel-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/cross/clang-ca8eef7e3d/bin
clang-13: note: diagnostic msg:
Makefile arch include kernel mm scripts source usr
vim +/__hrtimer_peek_ahead_timers +1764 kernel/time/hrtimer.c
54cdfdb47f73b5 kernel/hrtimer.c Thomas Gleixner 2007-02-16 1762
016da20148a169 kernel/time/hrtimer.c Stephen Boyd 2017-03-16 1763 /* called with
interrupts disabled */
c6eb3f70d44828 kernel/time/hrtimer.c Thomas Gleixner 2015-04-14 @1764 static inline
void __hrtimer_peek_ahead_timers(void)
8bdec955b0da2f kernel/hrtimer.c Thomas Gleixner 2009-01-05 1765 {
8bdec955b0da2f kernel/hrtimer.c Thomas Gleixner 2009-01-05 1766 struct
tick_device *td;
8bdec955b0da2f kernel/hrtimer.c Thomas Gleixner 2009-01-05 1767
8bdec955b0da2f kernel/hrtimer.c Thomas Gleixner 2009-01-05 1768 if
(!hrtimer_hres_active())
8bdec955b0da2f kernel/hrtimer.c Thomas Gleixner 2009-01-05 1769 return;
8bdec955b0da2f kernel/hrtimer.c Thomas Gleixner 2009-01-05 1770
22127e93c587af kernel/time/hrtimer.c Christoph Lameter 2014-08-17 1771 td =
this_cpu_ptr(&tick_cpu_device);
8bdec955b0da2f kernel/hrtimer.c Thomas Gleixner 2009-01-05 1772 if (td
&& td->evtdev)
8bdec955b0da2f kernel/hrtimer.c Thomas Gleixner 2009-01-05 1773
hrtimer_interrupt(td->evtdev);
8bdec955b0da2f kernel/hrtimer.c Thomas Gleixner 2009-01-05 1774 }
8bdec955b0da2f kernel/hrtimer.c Thomas Gleixner 2009-01-05 1775
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org