[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202512140137.EYqILJ1z-lkp@intel.com>
Date: Sun, 14 Dec 2025 01:12:14 +0800
From: kernel test robot <lkp@...el.com>
To: Ben Skeggs <bskeggs@...dia.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
Dave Airlie <airlied@...hat.com>, Timur Tabi <ttabi@...dia.com>
Subject: drivers/gpu/drm/nouveau/nvif/chanc36f.c:36:9: sparse: sparse: cast
removes address space '__iomem' of expression
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 9d9c1cfec01cdbf24bd9322ed555713a20422115
commit: 862450a85b85a3e88e9065c9d2421f3ef17d054c drm/nouveau/gf100-: track chan progress with non-WFI semaphore release
date: 7 months ago
config: powerpc-randconfig-r121-20251213 (https://download.01.org/0day-ci/archive/20251214/202512140137.EYqILJ1z-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251214/202512140137.EYqILJ1z-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202512140137.EYqILJ1z-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/nouveau/nvif/chanc36f.c:36:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/gpu/drm/nouveau/nvif/chanc36f.c:36:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/gpu/drm/nouveau/nvif/chanc36f.c:36:9: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/gpu/drm/nouveau/nvif/chanc36f.c:36:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/gpu/drm/nouveau/nvif/chanc36f.c:42:9: sparse: sparse: cast removes address space '__iomem' of expression
drivers/gpu/drm/nouveau/nvif/chanc36f.c:42:9: sparse: sparse: cast removes address space '__iomem' of expression
vim +/__iomem +36 drivers/gpu/drm/nouveau/nvif/chanc36f.c
25
26 static int
27 nvif_chanc36f_sem_release(struct nvif_chan *chan, u64 addr, u32 data)
28 {
29 struct nvif_push *push = &chan->push;
30 int ret;
31
32 ret = PUSH_WAIT(push, NVIF_CHANC36F_SEM_RELEASE_SIZE);
33 if (ret)
34 return ret;
35
> 36 PUSH_MTHD(push, NVC36F, SEM_ADDR_LO, lower_32_bits(addr),
37
38 SEM_ADDR_HI, upper_32_bits(addr),
39
40 SEM_PAYLOAD_LO, data);
41
42 PUSH_MTHD(push, NVC36F, SEM_EXECUTE,
43 NVDEF(NVC36F, SEM_EXECUTE, OPERATION, RELEASE) |
44 NVDEF(NVC36F, SEM_EXECUTE, RELEASE_WFI, DIS) |
45 NVDEF(NVC36F, SEM_EXECUTE, PAYLOAD_SIZE, 32BIT) |
46 NVDEF(NVC36F, SEM_EXECUTE, RELEASE_TIMESTAMP, DIS));
47
48 return 0;
49 }
50
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists