From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 432FE299947 for ; Fri, 12 Dec 2025 12:11:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765541514; cv=none; b=q2KKOR9LjsMRzfAXSwWiLjzLdtoiouS7wlhYV0FlkNdhPsuKHKUHPkTnKLved+MECYsfzoMv7L8bmkq48d8JxhZclwRndl1TCdtY5FcSTQ31tOvHuCQpdJgGiIuRL5FimK6fPviaenByQ0hcFvhyawhxuPemTljOb4cpybNggIg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765541514; c=relaxed/simple; bh=KTyVi82SZezqGBUAH6eSIH16YtfqjgjHho8sw7rtUXU=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=M3kTRdQ2SoDhghpYL38fw7wy7UR6oUdFORj/s9R0f0fYEoPrIHeHI9TK9wGwuv/I5jHpK2BtKP5EtipsfpO/sUJIx/6gtLuVwFi47QRp2lppJhtD+aGgbYIiiLVnA/RofW5rXHvC6KO56SXmLmNrAtw1cjfIXSO2r5plpe1xc84= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=MhxvYvqw; arc=none smtp.client-ip=198.175.65.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="MhxvYvqw" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1765541513; x=1797077513; h=date:from:to:cc:subject:message-id:mime-version; bh=KTyVi82SZezqGBUAH6eSIH16YtfqjgjHho8sw7rtUXU=; b=MhxvYvqwmPuHzgCMQMQM6VOJEvLVN9AXbD011/zffUHoTcW08NlAxrR9 MnVWVDcjgnxlmq94TDR1bTOEbF0vS6PxFMPP0/IGsg5Vk6nEUwJFbuBfG yLG2Wdn3QWGoiQcJtThsOXw8k3XrVueO67GOy/bWnRZ3F3KaLil/k/NiD UA8HcRGleQnWo3H8fsTd97IXWsRg9SlmAGPJ94Aqh8F0ALvbNf5M5BDB9 Ie8IJJGccbMQqFZcG1g3ei7C/6TvTNsyj87+41DCKjTQBd1bfgwIOedvm VUC2hTkXgDU7pdpfosi4cQA2eA8GssmksuOSgwXVnIsuXRQd8y208H0Fh Q==; X-CSE-ConnectionGUID: cfov83pwQF2aoj0PekNlOw== X-CSE-MsgGUID: +7RAXjxyRYKmCIgBG9k85A== X-IronPort-AV: E=McAfee;i="6800,10657,11639"; a="67420683" X-IronPort-AV: E=Sophos;i="6.21,143,1763452800"; d="scan'208";a="67420683" Received: from orviesa006.jf.intel.com ([10.64.159.146]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Dec 2025 04:11:53 -0800 X-CSE-ConnectionGUID: MpxjNeZHRoGXBJHvh6+SLw== X-CSE-MsgGUID: XgNNxL3wRNm4G8CKKqMrLA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,143,1763452800"; d="scan'208";a="196156071" Received: from lkp-server01.sh.intel.com (HELO d335e3c6db51) ([10.239.97.150]) by orviesa006.jf.intel.com with ESMTP; 12 Dec 2025 04:11:52 -0800 Received: from kbuild by d335e3c6db51 with local (Exim 4.98.2) (envelope-from ) id 1vU1zx-0000000060v-0cD3; Fri, 12 Dec 2025 12:11:49 +0000 Date: Fri, 12 Dec 2025 20:11:48 +0800 From: kernel test robot To: Ben Skeggs Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Dave Airlie , Timur Tabi Subject: drivers/gpu/drm/nouveau/gv100_fence.c:25:9: sparse: sparse: cast removes address space '__iomem' of expression Message-ID: <202512122006.PfLMnLim-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: d358e5254674b70f34c847715ca509e46eb81e6f commit: b1ca384772b657df433acf0c36f0771d5ebe1138 drm/nouveau/gv100-: switch to volta semaphore methods date: 7 months ago config: alpha-randconfig-r134-20251212 (https://download.01.org/0day-ci/archive/20251212/202512122006.PfLMnLim-lkp@intel.com/config) compiler: alpha-linux-gcc (GCC) 10.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251212/202512122006.PfLMnLim-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 | Closes: https://lore.kernel.org/oe-kbuild-all/202512122006.PfLMnLim-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) drivers/gpu/drm/nouveau/gv100_fence.c: note: in included file (through drivers/gpu/drm/nouveau/nouveau_drv.h): drivers/gpu/drm/nouveau/include/nvif/ioctl.h:9:1: sparse: sparse: directive in macro's argument list drivers/gpu/drm/nouveau/include/nvif/ioctl.h:10:1: sparse: sparse: directive in macro's argument list drivers/gpu/drm/nouveau/include/nvif/ioctl.h:11:1: sparse: sparse: directive in macro's argument list drivers/gpu/drm/nouveau/include/nvif/ioctl.h:12:1: sparse: sparse: directive in macro's argument list drivers/gpu/drm/nouveau/include/nvif/ioctl.h:13:1: sparse: sparse: directive in macro's argument list drivers/gpu/drm/nouveau/include/nvif/ioctl.h:14:1: sparse: sparse: directive in macro's argument list drivers/gpu/drm/nouveau/include/nvif/ioctl.h:17:1: sparse: sparse: directive in macro's argument list drivers/gpu/drm/nouveau/include/nvif/ioctl.h:18:1: sparse: sparse: directive in macro's argument list drivers/gpu/drm/nouveau/include/nvif/ioctl.h:20:1: sparse: sparse: directive in macro's argument list drivers/gpu/drm/nouveau/include/nvif/ioctl.h:21:1: sparse: sparse: directive in macro's argument list >> drivers/gpu/drm/nouveau/gv100_fence.c:25:9: sparse: sparse: cast removes address space '__iomem' of expression >> drivers/gpu/drm/nouveau/gv100_fence.c:25:9: sparse: sparse: cast removes address space '__iomem' of expression >> drivers/gpu/drm/nouveau/gv100_fence.c:25:9: sparse: sparse: cast removes address space '__iomem' of expression >> drivers/gpu/drm/nouveau/gv100_fence.c:25:9: sparse: sparse: cast removes address space '__iomem' of expression drivers/gpu/drm/nouveau/gv100_fence.c:29:9: sparse: sparse: cast removes address space '__iomem' of expression drivers/gpu/drm/nouveau/gv100_fence.c:29:9: sparse: sparse: cast removes address space '__iomem' of expression drivers/gpu/drm/nouveau/gv100_fence.c:35:9: sparse: sparse: cast removes address space '__iomem' of expression drivers/gpu/drm/nouveau/gv100_fence.c:35:9: sparse: sparse: cast removes address space '__iomem' of expression drivers/gpu/drm/nouveau/gv100_fence.c:51:9: sparse: sparse: cast removes address space '__iomem' of expression drivers/gpu/drm/nouveau/gv100_fence.c:51:9: sparse: sparse: cast removes address space '__iomem' of expression drivers/gpu/drm/nouveau/gv100_fence.c:51:9: sparse: sparse: cast removes address space '__iomem' of expression drivers/gpu/drm/nouveau/gv100_fence.c:51:9: sparse: sparse: cast removes address space '__iomem' of expression drivers/gpu/drm/nouveau/gv100_fence.c:55:9: sparse: sparse: cast removes address space '__iomem' of expression drivers/gpu/drm/nouveau/gv100_fence.c:55:9: sparse: sparse: cast removes address space '__iomem' of expression vim +/__iomem +25 drivers/gpu/drm/nouveau/gv100_fence.c 14 15 static int 16 gv100_fence_emit32(struct nouveau_channel *chan, u64 virtual, u32 sequence) 17 { 18 struct nvif_push *push = &chan->chan.push; 19 int ret; 20 21 ret = PUSH_WAIT(push, 8); 22 if (ret) 23 return ret; 24 > 25 PUSH_MTHD(push, NVC36F, SEM_ADDR_LO, lower_32_bits(virtual), 26 SEM_ADDR_HI, upper_32_bits(virtual), 27 SEM_PAYLOAD_LO, sequence); 28 29 PUSH_MTHD(push, NVC36F, SEM_EXECUTE, 30 NVDEF(NVC36F, SEM_EXECUTE, OPERATION, RELEASE) | 31 NVDEF(NVC36F, SEM_EXECUTE, RELEASE_WFI, EN) | 32 NVDEF(NVC36F, SEM_EXECUTE, PAYLOAD_SIZE, 32BIT) | 33 NVDEF(NVC36F, SEM_EXECUTE, RELEASE_TIMESTAMP, DIS)); 34 35 PUSH_MTHD(push, NVC36F, NON_STALL_INTERRUPT, 0); 36 37 PUSH_KICK(push); 38 return 0; 39 } 40 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki