[PATCH] drivers/perf: riscv: do not restart throttled events after overflow
kernel test robot
lkp at intel.com
Thu Apr 30 08:23:45 PDT 2026
Hi Zhanpeng,
kernel test robot noticed the following build errors:
[auto build test ERROR on linus/master]
[also build test ERROR on v7.1-rc1 next-20260429]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Zhanpeng-Zhang/drivers-perf-riscv-do-not-restart-throttled-events-after-overflow/20260416-205442
base: linus/master
patch link: https://lore.kernel.org/r/20260415032017.10712-1-zhangzhanpeng.jasper%40bytedance.com
patch subject: [PATCH] drivers/perf: riscv: do not restart throttled events after overflow
config: riscv-allmodconfig (https://download.01.org/0day-ci/archive/20260430/202604302308.Wa7Tg3es-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 5bac06718f502014fade905512f1d26d578a18f3)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260430/202604302308.Wa7Tg3es-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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202604302308.Wa7Tg3es-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/perf/riscv_pmu_sbi.c:65:33: error: use of undeclared identifier 'MAX_INTERRUPTS'
65 | return event->hw.interrupts == MAX_INTERRUPTS;
| ^~~~~~~~~~~~~~
1 error generated.
vim +/MAX_INTERRUPTS +65 drivers/perf/riscv_pmu_sbi.c
61
62 PMU_FORMAT_ATTR(event, "config:0-55");
63 static inline bool rvpmu_perf_event_is_throttled(struct perf_event *event)
64 {
> 65 return event->hw.interrupts == MAX_INTERRUPTS;
66 }
67
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the linux-riscv
mailing list