* [mark:perf/overflow 2/3] drivers/perf/arm_pmuv3.c:653:3: error: call to undeclared function 'write_pmovsset'; ISO C99 and later do not support implicit function declarations
@ 2023-12-06 19:11 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-12-06 19:11 UTC (permalink / raw)
To: Mark Rutland; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git perf/overflow
head: f3b357f85dad79444f2d0c645833fb947de1e88d
commit: 7ba6f752673580876865a00a76702eb2cea8565f [2/3] arm_pmu: rework overflow handling
config: arm-randconfig-001-20231206 (https://download.01.org/0day-ci/archive/20231207/202312070310.UwUHziXk-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231207/202312070310.UwUHziXk-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312070310.UwUHziXk-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/perf/arm_pmuv3.c:653:3: error: call to undeclared function 'write_pmovsset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
write_pmovsset(BIT(counter));
^
drivers/perf/arm_pmuv3.c:653:3: note: did you mean 'write_pmovsclr'?
arch/arm/include/asm/arm_pmuv3.h:180:20: note: 'write_pmovsclr' declared here
static inline void write_pmovsclr(u32 val)
^
1 error generated.
vim +/write_pmovsset +653 drivers/perf/arm_pmuv3.c
646
647 static inline void armv8pmu_enable_event_irq(struct perf_event *event)
648 {
649 u32 counter = ARMV8_IDX_TO_COUNTER(event->hw.idx);
650 armv8pmu_enable_intens(BIT(counter));
651
652 if (local64_read(&event->hw.period_left) <= 0) {
> 653 write_pmovsset(BIT(counter));
654 isb();
655 }
656 }
657
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-12-06 19:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-06 19:11 [mark:perf/overflow 2/3] drivers/perf/arm_pmuv3.c:653:3: error: call to undeclared function 'write_pmovsset'; ISO C99 and later do not support implicit function declarations kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox