Hi Jarkko, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.8-rc5 next-20200716] [cannot apply to tip/x86/core tip/perf/core] [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/Jarkko-Sakkinen/arch-x86-kprobes-Remove-MODULES-dependency/20200717-110947 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 07a56bb875afbe39dabbf6ba7b83783d166863db config: ia64-allmodconfig (attached as .config) compiler: ia64-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 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): WARNING: unmet direct dependencies detected for FRAME_POINTER Depends on DEBUG_KERNEL && (M68K || UML || SUPERH) || ARCH_WANT_FRAME_POINTERS Selected by - FAULT_INJECTION_STACKTRACE_FILTER && FAULT_INJECTION_DEBUG_FS && STACKTRACE_SUPPORT && !X86_64 && !MIPS && !PPC && !S390 && !MICROBLAZE && !ARM && !ARC && !X86 scripts/Makefile.build:65: 'arch/ia64/kernel/palinfo.ko' 'arch/ia64/kernel/mca_recovery.ko' 'arch/ia64/kernel/err_inject.ko' will not be built even though obj-m is specified. scripts/Makefile.build:66: You cannot use subdir-y/m to visit a module Makefile. Use obj-y/m instead. In file included from include/asm-generic/percpu.h:7, from arch/ia64/include/asm/percpu.h:46, from arch/ia64/include/asm/processor.h:76, from arch/ia64/include/asm/thread_info.h:12, from include/linux/thread_info.h:38, from include/asm-generic/preempt.h:5, from ./arch/ia64/include/generated/asm/preempt.h:1, from include/linux/preempt.h:78, from include/linux/rcupdate.h:27, from include/linux/rculist.h:11, from include/linux/sched/signal.h:5, from arch/ia64/kernel/asm-offsets.c:10: include/linux/topology.h: In function 'cpu_smt_mask': >> arch/ia64/include/asm/topology.h:45:50: error: 'cpu_sibling_map' undeclared (first use in this function) 45 | #define topology_sibling_cpumask(cpu) (&per_cpu(cpu_sibling_map, cpu)) | ^~~~~~~~~~~~~~~ include/linux/percpu-defs.h:219:47: note: in definition of macro '__verify_pcpu_ptr' 219 | const void __percpu = (typeof((ptr) + 0))NULL; | ^~~ include/linux/percpu-defs.h:269:29: note: in expansion of macro 'per_cpu_ptr' 269 | #define per_cpu(var, cpu) cpu)) | ^~~~~~~~~~~ arch/ia64/include/asm/topology.h:45:42: note: in expansion of macro 'per_cpu' 45 | #define topology_sibling_cpumask(cpu) (&per_cpu(cpu_sibling_map, cpu)) | ^~~~~~~ include/linux/topology.h:204:9: note: in expansion of macro 'topology_sibling_cpumask' 204 | return topology_sibling_cpumask(cpu); | ^~~~~~~~~~~~~~~~~~~~~~~~ arch/ia64/include/asm/topology.h:45:50: note: each undeclared identifier is reported only once for each function it appears in 45 | #define topology_sibling_cpumask(cpu) (&per_cpu(cpu_sibling_map, cpu)) | ^~~~~~~~~~~~~~~ include/linux/percpu-defs.h:219:47: note: in definition of macro '__verify_pcpu_ptr' 219 | const void __percpu = (typeof((ptr) + 0))NULL; | ^~~ include/linux/percpu-defs.h:269:29: note: in expansion of macro 'per_cpu_ptr' 269 | #define per_cpu(var, cpu) cpu)) | ^~~~~~~~~~~ arch/ia64/include/asm/topology.h:45:42: note: in expansion of macro 'per_cpu' 45 | #define topology_sibling_cpumask(cpu) (&per_cpu(cpu_sibling_map, cpu)) | ^~~~~~~ include/linux/topology.h:204:9: note: in expansion of macro 'topology_sibling_cpumask' 204 | return topology_sibling_cpumask(cpu); | ^~~~~~~~~~~~~~~~~~~~~~~~ arch/ia64/kernel/asm-offsets.c: At top level: arch/ia64/kernel/asm-offsets.c:23:6: warning: no previous prototype for 'foo' 23 | void foo(void) | ^~~ Makefile arch block certs crypto drivers fs include init ipc kernel lib mm net scripts security sound source usr virt [scripts/Makefile.build:114: arch/ia64/kernel/asm-offsets.s] Error 1 Target '__build' not remade because of errors. Makefile arch block certs crypto drivers fs include init ipc kernel lib mm net scripts security sound source usr virt [Makefile:1175: prepare0] Error 2 Target 'prepare' not remade because of errors. make: Makefile arch block certs crypto drivers fs include init ipc kernel lib mm net scripts security sound source usr virt [Makefile:185: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +/cpu_sibling_map +45 arch/ia64/include/asm/topology.h ^1da177e4c3f41 include/asm-ia64/topology.h Linus Torvalds 2005-04-16 40 69dcc99199fe29 include/asm-ia64/topology.h Zhang, Yanmin 2006-02-03 41 #ifdef CONFIG_SMP 69dcc99199fe29 include/asm-ia64/topology.h Zhang, Yanmin 2006-02-03 42 #define topology_physical_package_id(cpu) (cpu_data(cpu)->socket_id) 69dcc99199fe29 include/asm-ia64/topology.h Zhang, Yanmin 2006-02-03 43 #define topology_core_id(cpu) (cpu_data(cpu)->core_id) 333af15341b2f6 arch/ia64/include/asm/topology.h Rusty Russell 2009-01-01 44 #define topology_core_cpumask(cpu) (&cpu_core_map[cpu]) 06931e62246844 arch/ia64/include/asm/topology.h Bartosz Golaszewski 2015-05-26 @45 #define topology_sibling_cpumask(cpu) (&per_cpu(cpu_sibling_map, cpu)) 69dcc99199fe29 include/asm-ia64/topology.h Zhang, Yanmin 2006-02-03 46 #endif 69dcc99199fe29 include/asm-ia64/topology.h Zhang, Yanmin 2006-02-03 47 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip