All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android-mainline 5/6] drivers/firmware/qcom_scm-smc.c:45: undefined reference to `__arm_smccc_smc'
@ 2020-05-13 18:22 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-13 18:22 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://android.googlesource.com/kernel/common android-mainline
head:   0c8ec66904ac0a02c5ca7d0498308d90356f81c7
commit: 6a1652effdb83c2f566c17ea2ad65d43652871ae [5/6] ANDROID: firmware: QCOM_SCM: Allow qcom_scm driver to be loadable as a permenent module
config: arm-randconfig-r024-20200513 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 6a1652effdb83c2f566c17ea2ad65d43652871ae
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=arm 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

arm-linux-gnueabi-ld: drivers/firmware/qcom_scm-smc.o: in function `__scm_smc_do_quirk':
>> drivers/firmware/qcom_scm-smc.c:45: undefined reference to `__arm_smccc_smc'
arm-linux-gnueabi-ld: drivers/firmware/qcom_scm-legacy.o: in function `__scm_legacy_do':
>> drivers/firmware/qcom_scm-legacy.c:114: undefined reference to `__arm_smccc_smc'
arm-linux-gnueabi-ld: drivers/firmware/qcom_scm-legacy.o: in function `scm_legacy_call_atomic':
drivers/firmware/qcom_scm-legacy.c:230: undefined reference to `__arm_smccc_smc'

vim +45 drivers/firmware/qcom_scm-smc.c

6b1751a86ce2eb drivers/firmware/qcom_scm-64.c Kumar Gala    2016-06-03  35  
3f951ea627dae8 drivers/firmware/qcom_scm-64.c Elliot Berman 2020-01-07  36  static void __scm_smc_do_quirk(const struct arm_smccc_args *smc,
3f951ea627dae8 drivers/firmware/qcom_scm-64.c Elliot Berman 2020-01-07  37  			       struct arm_smccc_res *res)
1a5ea3b7a6ac6c drivers/firmware/qcom_scm-64.c Vivek Gautam  2019-09-20  38  {
3f951ea627dae8 drivers/firmware/qcom_scm-64.c Elliot Berman 2020-01-07  39  	unsigned long a0 = smc->args[0];
1a5ea3b7a6ac6c drivers/firmware/qcom_scm-64.c Vivek Gautam  2019-09-20  40  	struct arm_smccc_quirk quirk = { .id = ARM_SMCCC_QUIRK_QCOM_A6 };
1a5ea3b7a6ac6c drivers/firmware/qcom_scm-64.c Vivek Gautam  2019-09-20  41  
1a5ea3b7a6ac6c drivers/firmware/qcom_scm-64.c Vivek Gautam  2019-09-20  42  	quirk.state.a6 = 0;
1a5ea3b7a6ac6c drivers/firmware/qcom_scm-64.c Vivek Gautam  2019-09-20  43  
1a5ea3b7a6ac6c drivers/firmware/qcom_scm-64.c Vivek Gautam  2019-09-20  44  	do {
3f951ea627dae8 drivers/firmware/qcom_scm-64.c Elliot Berman 2020-01-07 @45  		arm_smccc_smc_quirk(a0, smc->args[1], smc->args[2],
3f951ea627dae8 drivers/firmware/qcom_scm-64.c Elliot Berman 2020-01-07  46  				    smc->args[3], smc->args[4], smc->args[5],
3f951ea627dae8 drivers/firmware/qcom_scm-64.c Elliot Berman 2020-01-07  47  				    quirk.state.a6, smc->args[7], res, &quirk);
1a5ea3b7a6ac6c drivers/firmware/qcom_scm-64.c Vivek Gautam  2019-09-20  48  
1a5ea3b7a6ac6c drivers/firmware/qcom_scm-64.c Vivek Gautam  2019-09-20  49  		if (res->a0 == QCOM_SCM_INTERRUPTED)
3f951ea627dae8 drivers/firmware/qcom_scm-64.c Elliot Berman 2020-01-07  50  			a0 = res->a0;
1a5ea3b7a6ac6c drivers/firmware/qcom_scm-64.c Vivek Gautam  2019-09-20  51  
1a5ea3b7a6ac6c drivers/firmware/qcom_scm-64.c Vivek Gautam  2019-09-20  52  	} while (res->a0 == QCOM_SCM_INTERRUPTED);
1a5ea3b7a6ac6c drivers/firmware/qcom_scm-64.c Vivek Gautam  2019-09-20  53  }
1a5ea3b7a6ac6c drivers/firmware/qcom_scm-64.c Vivek Gautam  2019-09-20  54  

:::::: The code at line 45 was first introduced by commit
:::::: 3f951ea627dae878e353c51dfeb10baaccb10101 firmware: qcom_scm-64: Move SMC register filling to qcom_scm_call_smccc

:::::: TO: Elliot Berman <eberman@codeaurora.org>
:::::: CC: Bjorn Andersson <bjorn.andersson@linaro.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-13 18:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-13 18:22 [android-common:android-mainline 5/6] drivers/firmware/qcom_scm-smc.c:45: undefined reference to `__arm_smccc_smc' kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.