[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a7fd62d1c8eb4f829708ab4c99c05f6a@codeaurora.org>
Date: Mon, 26 Apr 2021 20:31:41 +0530
From: Sai Prakash Ranjan <saiprakash.ranjan@...eaurora.org>
To: kernel test robot <lkp@...el.com>, Arnd Bergmann <arnd@...db.de>,
Rob Clark <robdclark@...il.com>
Cc: Sharat Masetty <smasetty@...eaurora.org>, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org, Rob Clark <robdclark@...omium.org>
Subject: Re: a6xx_gpu.c:undefined reference to `llcc_slice_deactivate'
On 2021-04-26 09:13, kernel test robot wrote:
> tree:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> master
> head: 9f4ad9e425a1d3b6a34617b8ea226d56a119a717
> commit: 474dadb8b0d557661cb3d1727f1ff2f82bac6b4c drm/msm/a6xx: Add
> support for using system cache(LLC)
> date: 5 months ago
> config: arm64-randconfig-m031-20210426 (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
> #
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=474dadb8b0d557661cb3d1727f1ff2f82bac6b4c
> git remote add linus
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> git fetch --no-tags linus master
> git checkout 474dadb8b0d557661cb3d1727f1ff2f82bac6b4c
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross
> W=1 ARCH=arm64
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@...el.com>
>
> All errors (new ones prefixed by >>):
>
> aarch64-linux-ld: Unexpected GOT/PLT entries detected!
> aarch64-linux-ld: Unexpected run-time procedure linkages detected!
> aarch64-linux-ld: drivers/gpu/drm/msm/adreno/a6xx_gpu.o: in
> function `a6xx_pm_suspend':
>>> a6xx_gpu.c:(.text+0x92c): undefined reference to
>>> `llcc_slice_deactivate'
>>> aarch64-linux-ld: a6xx_gpu.c:(.text+0x94c): undefined reference to
>>> `llcc_slice_deactivate'
> aarch64-linux-ld: drivers/gpu/drm/msm/adreno/a6xx_gpu.o: in
> function `a6xx_pm_resume':
>>> a6xx_gpu.c:(.text+0xb9c): undefined reference to
>>> `llcc_slice_activate'
>>> aarch64-linux-ld: a6xx_gpu.c:(.text+0xbc0): undefined reference to
>>> `llcc_slice_activate'
>>> aarch64-linux-ld: a6xx_gpu.c:(.text+0xc00): undefined reference to
>>> `llcc_get_slice_id'
> aarch64-linux-ld: a6xx_gpu.c:(.text+0xc8c): undefined reference to
> `llcc_get_slice_id'
> aarch64-linux-ld: a6xx_gpu.c:(.text+0xccc): undefined reference to
> `llcc_slice_activate'
> aarch64-linux-ld: drivers/gpu/drm/msm/adreno/a6xx_gpu.o: in
> function `a6xx_destroy':
>>> a6xx_gpu.c:(.text+0x5e54): undefined reference to `llcc_slice_putd'
>>> aarch64-linux-ld: a6xx_gpu.c:(.text+0x5e74): undefined reference to
>>> `llcc_slice_putd'
> aarch64-linux-ld: drivers/gpu/drm/msm/adreno/a6xx_gpu.o: in
> function `a6xx_gpu_init':
>>> a6xx_gpu.c:(.text+0x60d0): undefined reference to `llcc_slice_getd'
>>> aarch64-linux-ld: a6xx_gpu.c:(.text+0x60f4): undefined reference to
>>> `llcc_slice_getd'
>
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Arnd's patch [1] should fix the issue.
[1]
https://lore.kernel.org/lkml/20210103140407.3917405-1-arnd@kernel.org/
Thanks,
Sai
--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a
member
of Code Aurora Forum, hosted by The Linux Foundation
Powered by blists - more mailing lists