Hi Jianyong, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.10-rc3 next-20201111] [cannot apply to tip/timers/core kvmarm/next kvm/linux-next] [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/Jianyong-Wu/Enable-ptp_kvm-for-arm-arm64/20201111-142600 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git eccc876724927ff3b9ff91f36f7b6b159e948f0c config: arm-randconfig-r006-20201111 (attached as .config) compiler: arm-linux-gnueabi-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/863f46b4f315744c8460d39c4e212737fecb4de9 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Jianyong-Wu/Enable-ptp_kvm-for-arm-arm64/20201111-142600 git checkout 863f46b4f315744c8460d39c4e212737fecb4de9 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): arm-linux-gnueabi-ld: arch/arm/kernel/setup.o: in function `setup_arch': >> arch/arm/kernel/setup.c:1148: undefined reference to `kvm_init_hyp_services' vim +1148 arch/arm/kernel/setup.c 1081 1082 void __init setup_arch(char **cmdline_p) 1083 { 1084 const struct machine_desc *mdesc; 1085 1086 setup_processor(); 1087 mdesc = setup_machine_fdt(__atags_pointer); 1088 if (!mdesc) 1089 mdesc = setup_machine_tags(__atags_pointer, __machine_arch_type); 1090 if (!mdesc) { 1091 early_print("\nError: invalid dtb and unrecognized/unsupported machine ID\n"); 1092 early_print(" r1=0x%08x, r2=0x%08x\n", __machine_arch_type, 1093 __atags_pointer); 1094 if (__atags_pointer) 1095 early_print(" r2[]=%*ph\n", 16, 1096 phys_to_virt(__atags_pointer)); 1097 dump_machine_table(); 1098 } 1099 1100 machine_desc = mdesc; 1101 machine_name = mdesc->name; 1102 dump_stack_set_arch_desc("%s", mdesc->name); 1103 1104 if (mdesc->reboot_mode != REBOOT_HARD) 1105 reboot_mode = mdesc->reboot_mode; 1106 1107 init_mm.start_code = (unsigned long) _text; 1108 init_mm.end_code = (unsigned long) _etext; 1109 init_mm.end_data = (unsigned long) _edata; 1110 init_mm.brk = (unsigned long) _end; 1111 1112 /* populate cmd_line too for later use, preserving boot_command_line */ 1113 strlcpy(cmd_line, boot_command_line, COMMAND_LINE_SIZE); 1114 *cmdline_p = cmd_line; 1115 1116 early_fixmap_init(); 1117 early_ioremap_init(); 1118 1119 parse_early_param(); 1120 1121 #ifdef CONFIG_MMU 1122 early_mm_init(mdesc); 1123 #endif 1124 setup_dma_zone(mdesc); 1125 xen_early_init(); 1126 efi_init(); 1127 /* 1128 * Make sure the calculation for lowmem/highmem is set appropriately 1129 * before reserving/allocating any mmeory 1130 */ 1131 adjust_lowmem_bounds(); 1132 arm_memblock_init(mdesc); 1133 /* Memory may have been removed so recalculate the bounds. */ 1134 adjust_lowmem_bounds(); 1135 1136 early_ioremap_reset(); 1137 1138 paging_init(mdesc); 1139 request_standard_resources(mdesc); 1140 1141 if (mdesc->restart) 1142 arm_pm_restart = mdesc->restart; 1143 1144 unflatten_device_tree(); 1145 1146 arm_dt_init_cpu_maps(); 1147 psci_dt_init(); > 1148 kvm_init_hyp_services(); 1149 #ifdef CONFIG_SMP 1150 if (is_smp()) { 1151 if (!mdesc->smp_init || !mdesc->smp_init()) { 1152 if (psci_smp_available()) 1153 smp_set_ops(&psci_smp_ops); 1154 else if (mdesc->smp) 1155 smp_set_ops(mdesc->smp); 1156 } 1157 smp_init_cpus(); 1158 smp_build_mpidr_hash(); 1159 } 1160 #endif 1161 1162 if (!is_smp()) 1163 hyp_mode_check(); 1164 1165 reserve_crashkernel(); 1166 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org