All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 8838/9613] qcom_common.c:undefined reference to `qcom_glink_ssr_notify'
@ 2020-11-30 14:00 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2020-11-30 14:00 UTC (permalink / raw)
  To: Srinivas Kandagatla
  Cc: kbuild-all, Linux Memory Management List, Greg Kroah-Hartman

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   c6b11acc5f85b6e11d128fad8e0b7b223aa7e33f
commit: a899d324863a3d15ce0eea513884e1b73a758c58 [8838/9613] slimbus: qcom-ngd-ctrl: add Sub System Restart support
config: riscv-randconfig-r016-20201130 (attached as .config)
compiler: riscv32-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
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=a899d324863a3d15ce0eea513884e1b73a758c58
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout a899d324863a3d15ce0eea513884e1b73a758c58
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv 

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 >>):

   riscv32-linux-ld: drivers/remoteproc/qcom_common.o: in function `glink_subdev_unprepare':
>> qcom_common.c:(.text+0x148): undefined reference to `qcom_glink_ssr_notify'
   riscv32-linux-ld: drivers/remoteproc/qcom_common.o: in function `glink_subdev_stop':
>> qcom_common.c:(.text+0x17c): undefined reference to `qcom_glink_smem_unregister'
   riscv32-linux-ld: drivers/remoteproc/qcom_common.o: in function `glink_subdev_start':
>> qcom_common.c:(.text+0x1c8): undefined reference to `qcom_glink_smem_register'
   riscv32-linux-ld: drivers/remoteproc/qcom_common.o: in function `.L44':
>> qcom_common.c:(.text+0x3cc): undefined reference to `qcom_smd_unregister_edge'
   riscv32-linux-ld: drivers/remoteproc/qcom_common.o: in function `smd_subdev_start':
>> qcom_common.c:(.text+0x418): undefined reference to `qcom_smd_register_edge'

---
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: 41295 bytes --]

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

* [linux-next:master 8838/9613] qcom_common.c:undefined reference to `qcom_glink_ssr_notify'
@ 2020-11-30 14:00 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2020-11-30 14:00 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   c6b11acc5f85b6e11d128fad8e0b7b223aa7e33f
commit: a899d324863a3d15ce0eea513884e1b73a758c58 [8838/9613] slimbus: qcom-ngd-ctrl: add Sub System Restart support
config: riscv-randconfig-r016-20201130 (attached as .config)
compiler: riscv32-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
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=a899d324863a3d15ce0eea513884e1b73a758c58
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout a899d324863a3d15ce0eea513884e1b73a758c58
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv 

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 >>):

   riscv32-linux-ld: drivers/remoteproc/qcom_common.o: in function `glink_subdev_unprepare':
>> qcom_common.c:(.text+0x148): undefined reference to `qcom_glink_ssr_notify'
   riscv32-linux-ld: drivers/remoteproc/qcom_common.o: in function `glink_subdev_stop':
>> qcom_common.c:(.text+0x17c): undefined reference to `qcom_glink_smem_unregister'
   riscv32-linux-ld: drivers/remoteproc/qcom_common.o: in function `glink_subdev_start':
>> qcom_common.c:(.text+0x1c8): undefined reference to `qcom_glink_smem_register'
   riscv32-linux-ld: drivers/remoteproc/qcom_common.o: in function `.L44':
>> qcom_common.c:(.text+0x3cc): undefined reference to `qcom_smd_unregister_edge'
   riscv32-linux-ld: drivers/remoteproc/qcom_common.o: in function `smd_subdev_start':
>> qcom_common.c:(.text+0x418): undefined reference to `qcom_smd_register_edge'

---
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: 41295 bytes --]

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

* Re: [linux-next:master 8838/9613] qcom_common.c:undefined reference to `qcom_glink_ssr_notify'
  2020-11-30 14:00 ` kernel test robot
@ 2020-11-30 16:32   ` Srinivas Kandagatla
  -1 siblings, 0 replies; 4+ messages in thread
From: Srinivas Kandagatla @ 2020-11-30 16:32 UTC (permalink / raw)
  To: kernel test robot
  Cc: kbuild-all, Linux Memory Management List, Greg Kroah-Hartman,
	Bjorn Andersson

+Adding Bjorn,

On 30/11/2020 14:00, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   c6b11acc5f85b6e11d128fad8e0b7b223aa7e33f
> commit: a899d324863a3d15ce0eea513884e1b73a758c58 [8838/9613] slimbus: qcom-ngd-ctrl: add Sub System Restart support
> config: riscv-randconfig-r016-20201130 (attached as .config)
> compiler: riscv32-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
>          # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=a899d324863a3d15ce0eea513884e1b73a758c58
>          git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>          git fetch --no-tags linux-next master
>          git checkout a899d324863a3d15ce0eea513884e1b73a758c58
>          # save the attached .config to linux build tree
>          COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>

Thanks for reporting this,


> 
> All errors (new ones prefixed by >>):
> 
>     riscv32-linux-ld: drivers/remoteproc/qcom_common.o: in function `glink_subdev_unprepare':
>>> qcom_common.c:(.text+0x148): undefined reference to `qcom_glink_ssr_notify'

adding proper QCOM_RPROC_COMMON dependency something like this should 
fix this!

------------------------->cut<-----------------------------
diff --git a/drivers/slimbus/Kconfig b/drivers/slimbus/Kconfig
index 7d59956b5dfb..1235b7dc8496 100644
--- a/drivers/slimbus/Kconfig
+++ b/drivers/slimbus/Kconfig
@@ -22,10 +22,9 @@ config SLIM_QCOM_CTRL

  config SLIM_QCOM_NGD_CTRL
         tristate "Qualcomm SLIMbus Satellite Non-Generic Device Component"
-       depends on HAS_IOMEM && DMA_ENGINE && NET && REMOTEPROC
+       depends on HAS_IOMEM && DMA_ENGINE && NET && QCOM_RPROC_COMMON
         depends on ARCH_QCOM || COMPILE_TEST
         select QCOM_QMI_HELPERS
-       select QCOM_RPROC_COMMON
         select QCOM_PDR_HELPERS
         help
           Select driver if Qualcomm's SLIMbus Satellite Non-Generic Device
------------------------->cut<-----------------------------

Will send a proper patch soon!

--srini

>     riscv32-linux-ld: drivers/remoteproc/qcom_common.o: in function `glink_subdev_stop':
>>> qcom_common.c:(.text+0x17c): undefined reference to `qcom_glink_smem_unregister'
>     riscv32-linux-ld: drivers/remoteproc/qcom_common.o: in function `glink_subdev_start':
>>> qcom_common.c:(.text+0x1c8): undefined reference to `qcom_glink_smem_register'
>     riscv32-linux-ld: drivers/remoteproc/qcom_common.o: in function `.L44':
>>> qcom_common.c:(.text+0x3cc): undefined reference to `qcom_smd_unregister_edge'
>     riscv32-linux-ld: drivers/remoteproc/qcom_common.o: in function `smd_subdev_start':
>>> qcom_common.c:(.text+0x418): undefined reference to `qcom_smd_register_edge'
> 
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
> 


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

* Re: [linux-next:master 8838/9613] qcom_common.c:undefined reference to `qcom_glink_ssr_notify'
@ 2020-11-30 16:32   ` Srinivas Kandagatla
  0 siblings, 0 replies; 4+ messages in thread
From: Srinivas Kandagatla @ 2020-11-30 16:32 UTC (permalink / raw)
  To: kbuild-all

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

+Adding Bjorn,

On 30/11/2020 14:00, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   c6b11acc5f85b6e11d128fad8e0b7b223aa7e33f
> commit: a899d324863a3d15ce0eea513884e1b73a758c58 [8838/9613] slimbus: qcom-ngd-ctrl: add Sub System Restart support
> config: riscv-randconfig-r016-20201130 (attached as .config)
> compiler: riscv32-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
>          # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=a899d324863a3d15ce0eea513884e1b73a758c58
>          git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>          git fetch --no-tags linux-next master
>          git checkout a899d324863a3d15ce0eea513884e1b73a758c58
>          # save the attached .config to linux build tree
>          COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>

Thanks for reporting this,


> 
> All errors (new ones prefixed by >>):
> 
>     riscv32-linux-ld: drivers/remoteproc/qcom_common.o: in function `glink_subdev_unprepare':
>>> qcom_common.c:(.text+0x148): undefined reference to `qcom_glink_ssr_notify'

adding proper QCOM_RPROC_COMMON dependency something like this should 
fix this!

------------------------->cut<-----------------------------
diff --git a/drivers/slimbus/Kconfig b/drivers/slimbus/Kconfig
index 7d59956b5dfb..1235b7dc8496 100644
--- a/drivers/slimbus/Kconfig
+++ b/drivers/slimbus/Kconfig
@@ -22,10 +22,9 @@ config SLIM_QCOM_CTRL

  config SLIM_QCOM_NGD_CTRL
         tristate "Qualcomm SLIMbus Satellite Non-Generic Device Component"
-       depends on HAS_IOMEM && DMA_ENGINE && NET && REMOTEPROC
+       depends on HAS_IOMEM && DMA_ENGINE && NET && QCOM_RPROC_COMMON
         depends on ARCH_QCOM || COMPILE_TEST
         select QCOM_QMI_HELPERS
-       select QCOM_RPROC_COMMON
         select QCOM_PDR_HELPERS
         help
           Select driver if Qualcomm's SLIMbus Satellite Non-Generic Device
------------------------->cut<-----------------------------

Will send a proper patch soon!

--srini

>     riscv32-linux-ld: drivers/remoteproc/qcom_common.o: in function `glink_subdev_stop':
>>> qcom_common.c:(.text+0x17c): undefined reference to `qcom_glink_smem_unregister'
>     riscv32-linux-ld: drivers/remoteproc/qcom_common.o: in function `glink_subdev_start':
>>> qcom_common.c:(.text+0x1c8): undefined reference to `qcom_glink_smem_register'
>     riscv32-linux-ld: drivers/remoteproc/qcom_common.o: in function `.L44':
>>> qcom_common.c:(.text+0x3cc): undefined reference to `qcom_smd_unregister_edge'
>     riscv32-linux-ld: drivers/remoteproc/qcom_common.o: in function `smd_subdev_start':
>>> qcom_common.c:(.text+0x418): undefined reference to `qcom_smd_register_edge'
> 
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
> 

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

end of thread, other threads:[~2020-11-30 16:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-30 14:00 [linux-next:master 8838/9613] qcom_common.c:undefined reference to `qcom_glink_ssr_notify' kernel test robot
2020-11-30 14:00 ` kernel test robot
2020-11-30 16:32 ` Srinivas Kandagatla
2020-11-30 16:32   ` Srinivas Kandagatla

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.