Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* Re: [PATCH] drivers/perf: riscv: do not restart throttled events after overflow
       [not found] <20260415032017.10712-1-zhangzhanpeng.jasper@bytedance.com>
@ 2026-04-30 15:23 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-04-30 15:23 UTC (permalink / raw)
  To: Zhanpeng Zhang, atish.patra, anup, will, palmer, pjw, cuiyunhui
  Cc: llvm, oe-kbuild-all, linux-riscv, linux-kernel, yuanzhu,
	Zhanpeng Zhang

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@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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-04-30 15:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20260415032017.10712-1-zhangzhanpeng.jasper@bytedance.com>
2026-04-30 15:23 ` [PATCH] drivers/perf: riscv: do not restart throttled events after overflow 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