Hi Keqian, [FYI, it's a private test report for your RFC patch.] [auto build test ERROR on tip/timers/core] [also build test ERROR on arm64/for-next/core v5.9-rc1 next-20200817] [cannot apply to 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/Keqian-Zhu/KVM-arm64-Add-pvtime-LPT-support/20200817-164436 base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 0099808553ad4f9c04ad7afd966f6d7f470f247f config: arm64-randconfig-r005-20200817 (attached as .config) compiler: aarch64-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=arm64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from include/linux/byteorder/little_endian.h:5, from arch/arm64/include/uapi/asm/byteorder.h:23, from include/asm-generic/bitops/le.h:6, from arch/arm64/include/asm/bitops.h:29, from include/linux/bitops.h:29, from include/linux/of.h:15, from include/linux/irqdomain.h:35, from include/linux/acpi.h:13, from include/acpi/apei.h:9, from include/acpi/ghes.h:5, from include/linux/arm_sdei.h:8, from arch/arm64/kernel/asm-offsets.c:10: arch/arm64/include/asm/arch_timer.h: In function 'native_to_pv_cycles': >> arch/arm64/include/asm/arch_timer.h:135:39: error: dereferencing pointer to incomplete type 'struct pvclock_vm_lpt_time' 135 | u64 scale_mult = le64_to_cpu(lpt_info->scale_mult); | ^~ include/uapi/linux/byteorder/little_endian.h:32:51: note: in definition of macro '__le64_to_cpu' 32 | #define __le64_to_cpu(x) ((__force __u64)(__le64)(x)) | ^ arch/arm64/include/asm/arch_timer.h:135:19: note: in expansion of macro 'le64_to_cpu' 135 | u64 scale_mult = le64_to_cpu(lpt_info->scale_mult); | ^~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:114: arch/arm64/kernel/asm-offsets.s] Error 1 make[2]: Target '__build' not remade because of errors. make[1]: *** [Makefile:1185: prepare0] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:185: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. # https://github.com/0day-ci/linux/commit/47f3527190b7f8b53c7c48c278fc7aecef3ef812 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Keqian-Zhu/KVM-arm64-Add-pvtime-LPT-support/20200817-164436 git checkout 47f3527190b7f8b53c7c48c278fc7aecef3ef812 vim +135 arch/arm64/include/asm/arch_timer.h 132 133 static inline u64 native_to_pv_cycles(u64 cnt) 134 { > 135 u64 scale_mult = le64_to_cpu(lpt_info->scale_mult); 136 u32 fracbits = le32_to_cpu(lpt_info->fracbits); 137 138 return mul_u64_u64_shr(scale_mult, cnt, fracbits); 139 } 140 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org