Re: [PATCH v5] driver/perf: Add PMU driver for the ARM DMC-620 memory controller

From: kernel test robot
Date: Sun Nov 01 2020 - 08:59:06 EST


Hi Tuan,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v5.10-rc1 next-20201030]
[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]

url: https://github.com/0day-ci/linux/commits/Tuan-Phan/driver-perf-Add-PMU-driver-for-the-ARM-DMC-620-memory-controller/20201030-053103
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git b9c0f4bd5b8114ee1773734e07cda921b6e8248b
config: s390-allmodconfig (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.0
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
# https://github.com/0day-ci/linux/commit/62ac0a881cd6542a712a719313ada898e19afbaf
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Tuan-Phan/driver-perf-Add-PMU-driver-for-the-ARM-DMC-620-memory-controller/20201030-053103
git checkout 62ac0a881cd6542a712a719313ada898e19afbaf
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=s390

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

In file included from drivers/perf/arm_dmc620_pmu.c:26:
>> include/linux/perf/arm_pmu.h:15:10: fatal error: asm/cputype.h: No such file or directory
15 | #include <asm/cputype.h>
| ^~~~~~~~~~~~~~~
compilation terminated.

vim +15 include/linux/perf/arm_pmu.h

0f4f0672ac950c arch/arm/include/asm/pmu.h Jamie Iles 2010-02-02 10
0e25a5c9806728 arch/arm/include/asm/pmu.h Rabin Vincent 2011-02-08 11 #include <linux/interrupt.h>
0ce47080dfffe7 arch/arm/include/asm/pmu.h Mark Rutland 2011-05-19 12 #include <linux/perf_event.h>
167e61438da066 include/linux/perf/arm_pmu.h Mark Rutland 2017-10-09 13 #include <linux/platform_device.h>
86cdd72af93686 include/linux/perf/arm_pmu.h Mark Rutland 2016-09-09 14 #include <linux/sysfs.h>
548a86cae48584 arch/arm/include/asm/pmu.h Mark Rutland 2014-05-23 @15 #include <asm/cputype.h>
548a86cae48584 arch/arm/include/asm/pmu.h Mark Rutland 2014-05-23 16

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip