[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202111171856.r6ahUbut-lkp@intel.com>
Date: Wed, 17 Nov 2021 18:38:22 +0800
From: kernel test robot <lkp@...el.com>
To: Christian König <christian.koenig@....com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Rob Clark <robdclark@...il.com>
Subject: drivers/gpu/drm/msm/adreno/a6xx_hfi.c:104:15: sparse: sparse:
incorrect type in argument 1 (different address spaces)
Hi Stephen,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 8ab774587903771821b59471cc723bba6d893942
commit: b3ed524f84f573ece1aa2f26e9db3c34a593e0d1 drm/msm: allow compile_test on !ARM
date: 7 weeks ago
config: alpha-randconfig-s031-20211117 (attached as .config)
compiler: alpha-linux-gcc (GCC) 11.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b3ed524f84f573ece1aa2f26e9db3c34a593e0d1
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout b3ed524f84f573ece1aa2f26e9db3c34a593e0d1
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=alpha
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/msm/adreno/a6xx_hfi.c:104:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_hfi.c:104:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_hfi.c:104:15: sparse: got void *
>> drivers/gpu/drm/msm/adreno/a6xx_hfi.c:104:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_hfi.c:104:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_hfi.c:104:15: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_hfi.c: note: in included file:
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: got void *
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:34: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_hfi.c:104:15: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_hfi.c:104:15: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_hfi.c:104:15: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_hfi.c:104:15: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: got void *
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:34: sparse: sparse: dereference of noderef expression
--
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.c:224:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:224:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:224:15: sparse: got void *
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.c:224:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:224:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:224:15: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:240:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:240:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:240:15: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:240:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:240:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:240:15: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:320:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:320:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:320:15: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:320:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:320:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:320:15: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:362:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:362:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:362:15: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:362:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:362:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:362:15: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:387:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:387:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:387:15: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:387:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:387:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:387:15: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:460:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:460:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:460:15: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:460:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:460:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:460:15: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:467:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:467:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:467:15: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:467:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:467:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:467:15: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:493:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:493:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:493:15: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:493:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:493:15: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:493:15: sparse: got void *
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1412:31: sparse: sparse: incorrect type in return expression (different address spaces) @@ expected void [noderef] __iomem * @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1412:31: sparse: expected void [noderef] __iomem *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1412:31: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1418:31: sparse: sparse: incorrect type in return expression (different address spaces) @@ expected void [noderef] __iomem * @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1418:31: sparse: expected void [noderef] __iomem *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1418:31: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:858:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:858:9: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:858:9: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:858:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:858:9: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:858:9: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:860:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:860:9: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:860:9: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:860:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:860:9: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:860:9: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:862:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:862:9: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:862:9: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:862:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:862:9: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:862:9: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:864:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:864:9: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:864:9: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:864:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:864:9: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:864:9: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1066:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1066:23: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1066:23: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1066:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1066:23: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1066:23: sparse: got void *
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1458:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void *[noderef] mmio @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1458:20: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1458:20: sparse: got void *[noderef] mmio
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1460:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void *[noderef] rscc @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1460:28: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1460:28: sparse: got void *[noderef] rscc
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1560:19: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *[noderef] mmio @@ got void [noderef] __iomem * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1560:19: sparse: expected void *[noderef] mmio
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1560:19: sparse: got void [noderef] __iomem *
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1567:27: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *[noderef] rscc @@ got void [noderef] __iomem * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1567:27: sparse: expected void *[noderef] rscc
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1567:27: sparse: got void [noderef] __iomem *
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1598:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void *[noderef] mmio @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1598:20: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1598:20: sparse: got void *[noderef] mmio
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1600:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void *[noderef] rscc @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1600:28: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1600:28: sparse: got void *[noderef] rscc
drivers/gpu/drm/msm/adreno/a6xx_gmu.c: note: in included file (through drivers/gpu/drm/msm/adreno/a6xx_gpu.h):
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: expected void const [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:26: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: got void *
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:34: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: expected void const [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:26: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: expected void const [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:26: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: got void *
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:34: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: expected void const [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:26: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: expected void const [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:26: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: got void *
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:34: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: got void *
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:34: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: got void *
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:34: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: expected void const [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:26: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: expected void const [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:26: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: expected void const [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:26: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: got void *
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:34: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: got void *
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:34: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: got void *
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:34: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.c:224:15: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.c:224:15: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.c:224:15: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.c:224:15: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: got void *
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:34: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:240:15: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:240:15: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:240:15: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:240:15: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: got void *
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:34: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:320:15: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:320:15: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:320:15: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:320:15: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: expected void const [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:26: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: got void *
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:34: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: got void *
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:34: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: got void *
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:34: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:362:15: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:362:15: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:362:15: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.c:362:15: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: expected void const [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:26: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: expected void const [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:26: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:34: sparse: sparse: too many warnings
--
>> drivers/gpu/drm/msm/adreno/a6xx_gpu.c:1499:36: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void [noderef] __iomem *llc_mmio @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gpu.c:1499:36: sparse: expected void [noderef] __iomem *llc_mmio
drivers/gpu/drm/msm/adreno/a6xx_gpu.c:1499:36: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gpu.c: note: in included file (through drivers/gpu/drm/msm/adreno/a6xx_gpu.h):
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: expected void const [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:26: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: got void *
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:34: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: expected void const [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:26: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: got void *
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:34: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: got void *
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:34: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:44: sparse: got void *
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:98:34: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:121:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:121:41: sparse: expected void const [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:121:41: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:122:43: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:122:43: sparse: expected void const [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:122:43: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:121:31: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:122:33: sparse: sparse: dereference of noderef expression
--
>> drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c:658:26: sparse: sparse: symbol 'msm8x76_config' was not declared. Should it be static?
--
>> drivers/gpu/drm/msm/msm_ringbuffer.c:43:36: sparse: sparse: symbol 'msm_sched_ops' was not declared. Should it be static?
--
>> drivers/gpu/drm/msm/msm_fbdev.c:115:26: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected char [noderef] __iomem *screen_base @@ got void * @@
drivers/gpu/drm/msm/msm_fbdev.c:115:26: sparse: expected char [noderef] __iomem *screen_base
drivers/gpu/drm/msm/msm_fbdev.c:115:26: sparse: got void *
--
>> drivers/gpu/drm/msm/msm_drv.c:141:31: sparse: sparse: incorrect type in return expression (different address spaces) @@ expected void [noderef] __iomem * @@ got void * @@
drivers/gpu/drm/msm/msm_drv.c:141:31: sparse: expected void [noderef] __iomem *
drivers/gpu/drm/msm/msm_drv.c:141:31: sparse: got void *
drivers/gpu/drm/msm/msm_drv.c:150:31: sparse: sparse: incorrect type in return expression (different address spaces) @@ expected void [noderef] __iomem * @@ got void * @@
drivers/gpu/drm/msm/msm_drv.c:150:31: sparse: expected void [noderef] __iomem *
drivers/gpu/drm/msm/msm_drv.c:150:31: sparse: got void *
--
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:189:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:189:9: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:189:9: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:190:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:190:9: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:190:9: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:191:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:191:9: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:191:9: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:192:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:192:9: sparse: expected void [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:192:9: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:197:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:197:19: sparse: expected void const [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:197:19: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:198:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:198:19: sparse: expected void const [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:198:19: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:315:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *[noderef] __iomem cxdbg @@ got void [noderef] __iomem *cxdbg @@
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:315:41: sparse: expected void *[noderef] __iomem cxdbg
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:315:41: sparse: got void [noderef] __iomem *cxdbg
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:189:9: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:190:9: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:191:9: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:192:9: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:197:19: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:198:19: sparse: sparse: dereference of noderef expression
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c: note: in included file (through drivers/gpu/drm/msm/adreno/a6xx_gpu.h):
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:133:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:133:36: sparse: expected void const [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:133:36: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:133:26: sparse: sparse: dereference of noderef expression
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: expected void const [noderef] __iomem *addr
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:36: sparse: got void *
drivers/gpu/drm/msm/adreno/a6xx_gmu.h:93:26: sparse: sparse: dereference of noderef expression
--
>> drivers/gpu/drm/msm/dsi/dsi_host.c:1360:27: sparse: sparse: cast to restricted __be32
>> drivers/gpu/drm/msm/dsi/dsi_host.c:1360:27: sparse: sparse: cast to restricted __be32
>> drivers/gpu/drm/msm/dsi/dsi_host.c:1360:27: sparse: sparse: cast to restricted __be32
>> drivers/gpu/drm/msm/dsi/dsi_host.c:1360:27: sparse: sparse: cast to restricted __be32
>> drivers/gpu/drm/msm/dsi/dsi_host.c:1360:27: sparse: sparse: cast to restricted __be32
>> drivers/gpu/drm/msm/dsi/dsi_host.c:1360:27: sparse: sparse: cast to restricted __be32
drivers/gpu/drm/msm/dsi/dsi_host.c:1361:17: sparse: sparse: cast to restricted __be32
drivers/gpu/drm/msm/dsi/dsi_host.c:1361:17: sparse: sparse: cast to restricted __be32
drivers/gpu/drm/msm/dsi/dsi_host.c:1361:17: sparse: sparse: cast to restricted __be32
drivers/gpu/drm/msm/dsi/dsi_host.c:1361:17: sparse: sparse: cast to restricted __be32
drivers/gpu/drm/msm/dsi/dsi_host.c:1361:17: sparse: sparse: cast to restricted __be32
drivers/gpu/drm/msm/dsi/dsi_host.c:1361:17: sparse: sparse: cast to restricted __be32
vim +104 drivers/gpu/drm/msm/adreno/a6xx_hfi.c
4b565ca5a2cbbb Jordan Crouse 2018-08-06 95
df0dff13290597 Jordan Crouse 2018-09-20 96 static int a6xx_hfi_wait_for_ack(struct a6xx_gmu *gmu, u32 id, u32 seqnum,
df0dff13290597 Jordan Crouse 2018-09-20 97 u32 *payload, u32 payload_size)
df0dff13290597 Jordan Crouse 2018-09-20 98 {
df0dff13290597 Jordan Crouse 2018-09-20 99 struct a6xx_hfi_queue *queue = &gmu->queues[HFI_RESPONSE_QUEUE];
df0dff13290597 Jordan Crouse 2018-09-20 100 u32 val;
df0dff13290597 Jordan Crouse 2018-09-20 101 int ret;
4b565ca5a2cbbb Jordan Crouse 2018-08-06 102
df0dff13290597 Jordan Crouse 2018-09-20 103 /* Wait for a response */
df0dff13290597 Jordan Crouse 2018-09-20 @104 ret = gmu_poll_timeout(gmu, REG_A6XX_GMU_GMU2HOST_INTR_INFO, val,
df0dff13290597 Jordan Crouse 2018-09-20 105 val & A6XX_GMU_GMU2HOST_INTR_INFO_MSGQ, 100, 5000);
4b565ca5a2cbbb Jordan Crouse 2018-08-06 106
df0dff13290597 Jordan Crouse 2018-09-20 107 if (ret) {
6a41da17e87dee Mamta Shukla 2018-10-20 108 DRM_DEV_ERROR(gmu->dev,
df0dff13290597 Jordan Crouse 2018-09-20 109 "Message %s id %d timed out waiting for response\n",
df0dff13290597 Jordan Crouse 2018-09-20 110 a6xx_hfi_msg_id[id], seqnum);
df0dff13290597 Jordan Crouse 2018-09-20 111 return -ETIMEDOUT;
4b565ca5a2cbbb Jordan Crouse 2018-08-06 112 }
4b565ca5a2cbbb Jordan Crouse 2018-08-06 113
df0dff13290597 Jordan Crouse 2018-09-20 114 /* Clear the interrupt */
df0dff13290597 Jordan Crouse 2018-09-20 115 gmu_write(gmu, REG_A6XX_GMU_GMU2HOST_INTR_CLR,
df0dff13290597 Jordan Crouse 2018-09-20 116 A6XX_GMU_GMU2HOST_INTR_INFO_MSGQ);
4b565ca5a2cbbb Jordan Crouse 2018-08-06 117
df0dff13290597 Jordan Crouse 2018-09-20 118 for (;;) {
df0dff13290597 Jordan Crouse 2018-09-20 119 struct a6xx_hfi_msg_response resp;
4b565ca5a2cbbb Jordan Crouse 2018-08-06 120
df0dff13290597 Jordan Crouse 2018-09-20 121 /* Get the next packet */
8167e6fa76c8f7 Jonathan Marek 2020-04-23 122 ret = a6xx_hfi_queue_read(gmu, queue, (u32 *) &resp,
df0dff13290597 Jordan Crouse 2018-09-20 123 sizeof(resp) >> 2);
df0dff13290597 Jordan Crouse 2018-09-20 124
df0dff13290597 Jordan Crouse 2018-09-20 125 /* If the queue is empty our response never made it */
df0dff13290597 Jordan Crouse 2018-09-20 126 if (!ret) {
6a41da17e87dee Mamta Shukla 2018-10-20 127 DRM_DEV_ERROR(gmu->dev,
df0dff13290597 Jordan Crouse 2018-09-20 128 "The HFI response queue is unexpectedly empty\n");
df0dff13290597 Jordan Crouse 2018-09-20 129
df0dff13290597 Jordan Crouse 2018-09-20 130 return -ENOENT;
4b565ca5a2cbbb Jordan Crouse 2018-08-06 131 }
4b565ca5a2cbbb Jordan Crouse 2018-08-06 132
df0dff13290597 Jordan Crouse 2018-09-20 133 if (HFI_HEADER_ID(resp.header) == HFI_F2H_MSG_ERROR) {
df0dff13290597 Jordan Crouse 2018-09-20 134 struct a6xx_hfi_msg_error *error =
df0dff13290597 Jordan Crouse 2018-09-20 135 (struct a6xx_hfi_msg_error *) &resp;
4b565ca5a2cbbb Jordan Crouse 2018-08-06 136
6a41da17e87dee Mamta Shukla 2018-10-20 137 DRM_DEV_ERROR(gmu->dev, "GMU firmware error %d\n",
df0dff13290597 Jordan Crouse 2018-09-20 138 error->code);
df0dff13290597 Jordan Crouse 2018-09-20 139 continue;
df0dff13290597 Jordan Crouse 2018-09-20 140 }
4b565ca5a2cbbb Jordan Crouse 2018-08-06 141
df0dff13290597 Jordan Crouse 2018-09-20 142 if (seqnum != HFI_HEADER_SEQNUM(resp.ret_header)) {
6a41da17e87dee Mamta Shukla 2018-10-20 143 DRM_DEV_ERROR(gmu->dev,
df0dff13290597 Jordan Crouse 2018-09-20 144 "Unexpected message id %d on the response queue\n",
df0dff13290597 Jordan Crouse 2018-09-20 145 HFI_HEADER_SEQNUM(resp.ret_header));
df0dff13290597 Jordan Crouse 2018-09-20 146 continue;
df0dff13290597 Jordan Crouse 2018-09-20 147 }
df0dff13290597 Jordan Crouse 2018-09-20 148
df0dff13290597 Jordan Crouse 2018-09-20 149 if (resp.error) {
6a41da17e87dee Mamta Shukla 2018-10-20 150 DRM_DEV_ERROR(gmu->dev,
df0dff13290597 Jordan Crouse 2018-09-20 151 "Message %s id %d returned error %d\n",
df0dff13290597 Jordan Crouse 2018-09-20 152 a6xx_hfi_msg_id[id], seqnum, resp.error);
df0dff13290597 Jordan Crouse 2018-09-20 153 return -EINVAL;
4b565ca5a2cbbb Jordan Crouse 2018-08-06 154 }
4b565ca5a2cbbb Jordan Crouse 2018-08-06 155
df0dff13290597 Jordan Crouse 2018-09-20 156 /* All is well, copy over the buffer */
df0dff13290597 Jordan Crouse 2018-09-20 157 if (payload && payload_size)
df0dff13290597 Jordan Crouse 2018-09-20 158 memcpy(payload, resp.payload,
df0dff13290597 Jordan Crouse 2018-09-20 159 min_t(u32, payload_size, sizeof(resp.payload)));
4b565ca5a2cbbb Jordan Crouse 2018-08-06 160
df0dff13290597 Jordan Crouse 2018-09-20 161 return 0;
4b565ca5a2cbbb Jordan Crouse 2018-08-06 162 }
4b565ca5a2cbbb Jordan Crouse 2018-08-06 163 }
4b565ca5a2cbbb Jordan Crouse 2018-08-06 164
:::::: The code at line 104 was first introduced by commit
:::::: df0dff132905974697e2a19aa8bcc0ecc447c00e drm/msm/a6xx: Poll for HFI responses
:::::: TO: Jordan Crouse <jcrouse@...eaurora.org>
:::::: CC: Rob Clark <robdclark@...il.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (35340 bytes)
Powered by blists - more mailing lists