linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [arm-platforms:kvm-arm64/ptp 7/7] undefined reference to `arm_smccc_1_1_get_conduit'
@ 2021-02-02 22:55 kernel test robot
  2021-02-03  9:27 ` Marc Zyngier
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2021-02-02 22:55 UTC (permalink / raw)
  To: Jianyong Wu; +Cc: Marc Zyngier, kbuild-all, linux-arm-kernel

[-- Attachment #1: Type: text/plain, Size: 1446 bytes --]

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@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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 40722 bytes --]

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [arm-platforms:kvm-arm64/ptp 7/7] undefined reference to `arm_smccc_1_1_get_conduit'
  2021-02-02 22:55 [arm-platforms:kvm-arm64/ptp 7/7] undefined reference to `arm_smccc_1_1_get_conduit' kernel test robot
@ 2021-02-03  9:27 ` Marc Zyngier
  0 siblings, 0 replies; 2+ messages in thread
From: Marc Zyngier @ 2021-02-03  9:27 UTC (permalink / raw)
  To: kernel test robot; +Cc: Jianyong Wu, kbuild-all, linux-arm-kernel

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@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...

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-03  9:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-02 22:55 [arm-platforms:kvm-arm64/ptp 7/7] undefined reference to `arm_smccc_1_1_get_conduit' kernel test robot
2021-02-03  9:27 ` Marc Zyngier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).