Re: [PATCH v3 1/2] perf: Fujitsu: Add the Uncore MAC PMU driver
From: kernel test robot
Date: Fri Jan 10 2025 - 07:17:23 EST
Hi Yoshihiro,
kernel test robot noticed the following build errors:
[auto build test ERROR on arm-perf/for-next/perf]
[also build test ERROR on linus/master v6.13-rc6 next-20250110]
[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/Yoshihiro-Furudera/perf-Fujitsu-Add-the-Uncore-MAC-PMU-driver/20250109-135249
base: https://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git for-next/perf
patch link: https://lore.kernel.org/r/20250109054544.2342442-2-fj5100bi%40fujitsu.com
patch subject: [PATCH v3 1/2] perf: Fujitsu: Add the Uncore MAC PMU driver
config: sparc-allmodconfig (https://download.01.org/0day-ci/archive/20250110/202501101956.vOyuZzUh-lkp@xxxxxxxxx/config)
compiler: sparc64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250110/202501101956.vOyuZzUh-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202501101956.vOyuZzUh-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
drivers/perf/fujitsu_mac_pmu.c: In function 'fujitsu_mac_counter_start':
>> drivers/perf/fujitsu_mac_pmu.c:41:31: error: implicit declaration of function 'FIELD_GET' [-Wimplicit-function-declaration]
41 | #define EVSEL(__val) FIELD_GET(MAC_EVTYPE_MASK, __val)
| ^~~~~~~~~
drivers/perf/fujitsu_mac_pmu.c:110:24: note: in expansion of macro 'EVSEL'
110 | writeq_relaxed(EVSEL(event->attr.config), macpmu->regs + MAC_PM_EVTYPE(idx));
| ^~~~~
vim +/FIELD_GET +41 drivers/perf/fujitsu_mac_pmu.c
39
40 /* MAC_PM_EVTYPEx */
> 41 #define EVSEL(__val) FIELD_GET(MAC_EVTYPE_MASK, __val)
42
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki