tree: https://gitee.com/openeuler/kernel.git OLK-5.10 head: 4fa7099066983597bd415dde5a3e416bf2bd8f7c commit: 22a589ef7833a36ba116897ac86e671290b86f2b [280/30000] arm64: Add support for hard lockup by using pmu counter config: arm64-randconfig-002-20240312 (https://download.01.org/0day-ci/archive/20240312/202403122352.tvX5nEio-lkp@i...) compiler: aarch64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240312/202403122352.tvX5nEio-lkp@i...)
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/202403122352.tvX5nEio-lkp@intel.com/
All warnings (new ones prefixed by >>):
arch/arm64/kernel/smp.c: In function 'smp_prepare_cpus': arch/arm64/kernel/smp.c:786:30: error: 'cpu_madt_gicc' undeclared (first use in this function) 786 | if ((cpu_madt_gicc[cpu].flags & ACPI_MADT_ENABLED)) | ^~~~~~~~~~~~~ arch/arm64/kernel/smp.c:786:30: note: each undeclared identifier is reported only once for each function it appears in arch/arm64/kernel/smp.c: At top level: arch/arm64/kernel/smp.c:844:6: warning: no previous prototype for 'arch_irq_work_raise' [-Wmissing-prototypes] 844 | void arch_irq_work_raise(void) | ^~~~~~~~~~~~~~~~~~~ arch/arm64/kernel/smp.c:864:6: warning: no previous prototype for 'panic_smp_self_stop' [-Wmissing-prototypes] 864 | void panic_smp_self_stop(void) | ^~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/smp.c:1232:5: warning: no previous prototype for 'hw_nmi_get_sample_period' [-Wmissing-prototypes]
1232 | u64 hw_nmi_get_sample_period(int watchdog_thresh) | ^~~~~~~~~~~~~~~~~~~~~~~~
vim +/hw_nmi_get_sample_period +1232 arch/arm64/kernel/smp.c
1231
1232 u64 hw_nmi_get_sample_period(int watchdog_thresh)