[arm-platforms:kvm-arm64/ptp 7/7] undefined reference to `arm_smccc_1_1_get_conduit'
Marc Zyngier
maz at kernel.org
Wed Feb 3 04:27:57 EST 2021
On 2021-02-02 22:55, kernel test robot wrote:
> tree:
> https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
> kvm-arm64/ptp
> head: fecd9f021d3220b48d00597bd8e04e4fa6fd9dee
> commit: fecd9f021d3220b48d00597bd8e04e4fa6fd9dee [7/7] ptp: arm/arm64:
> Enable ptp_kvm for arm/arm64
> config: arm-omap2plus_defconfig (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://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?id=fecd9f021d3220b48d00597bd8e04e4fa6fd9dee
> git remote add arm-platforms
> https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
> git fetch --no-tags arm-platforms kvm-arm64/ptp
> git checkout fecd9f021d3220b48d00597bd8e04e4fa6fd9dee
> # 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 <lkp at intel.com>
>
> All errors (new ones prefixed by >>):
>
> arm-linux-gnueabi-ld: drivers/clocksource/arm_arch_timer.o: in
> function `kvm_arch_ptp_get_crosststamp':
>>> (.text+0x2c8): undefined reference to `arm_smccc_1_1_get_conduit'
>
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Now fixed with
if (!IS_ENABLED(CONFIG_HAVE_ARM_SMCCC_DISCOVERY))
return -EOPNOTSUPP;
in the kvm_arch_ptp_get_crosststamp() function.
M.
--
Jazz is not dead. It just smells funny...
More information about the linux-arm-kernel
mailing list