From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) (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 F3CBE2F9995 for ; Sat, 13 Dec 2025 10:23:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765621413; cv=none; b=EsMGOgP4fioXaB2g8FWyN7QIf1Ix5YBF0F0lc8Y/zDBIj+lA2vIuRoXxs1UTaaQusab8R4EC2wXFTX1NU1bmEr7hw6iH3ECp64Tv/51Vttks0iZjjk7XwmqkbPPiTOEO1KNO/Tx4yD1vDfEQlMDHSYqYoBExvONTB8WsAaPbegc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765621413; c=relaxed/simple; bh=pGQ2irWldH0LdKrDykfI+hEpFzV9z8RNjTtNYA+QagM=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=Ea53JS9fMY848+ndCJR1/xZrITS8Z7ARXDqWhfe91m6R9DwW/NZ4aYWUiEPxsOlWzJg6us1b75whdGlgBDx2gscASBmmSYtann2KwEVACdL0AZixuq49UwJaw7xRKG7Kq67xh9mxjDYAT+ucknzM41MOfYho6qnvYyHvLZzSB3E= 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=esdkpqBk; arc=none smtp.client-ip=192.198.163.10 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="esdkpqBk" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1765621412; x=1797157412; h=date:from:to:cc:subject:message-id:mime-version; bh=pGQ2irWldH0LdKrDykfI+hEpFzV9z8RNjTtNYA+QagM=; b=esdkpqBkTjIBAjp626HLdnteXmFIdh2AjU1AnzV16SaOQ3C2lPo/oBI8 1NpyCdrAyyGYHE44LaVzEmECdZ4Xc7I2SKDMNoz4AEYXRO0EKlEVPvRMV Q1TuPlkGceDbgKD3/JiNAAvNDPDAkBTrf9PA7cH6Ngg45NxBvqFmI+m6m EMr70u7oKyTanfJO+p1rguQhwfxNm5Ync23wfHZOLZUHhjm5Czml0UxGQ 0LC4ycJm4/sZuuNr8Cl3cqPExhJHM1mB8q/cru7eAL8F6QVT5Lh2pkDu5 Ji5BXB1VkhBzlPRGqpnkdICFGz1HySrGhbEdFqvXxcWkljKXBX5s4I76f Q==; X-CSE-ConnectionGUID: 7qoHqfaaQO21xmnbvHl6ig== X-CSE-MsgGUID: 0PC/jqRxTfCS79JmN+9W8A== X-IronPort-AV: E=McAfee;i="6800,10657,11640"; a="78978199" X-IronPort-AV: E=Sophos;i="6.21,146,1763452800"; d="scan'208";a="78978199" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Dec 2025 02:23:31 -0800 X-CSE-ConnectionGUID: MPoGdyLxS9a5xv13rNwfog== X-CSE-MsgGUID: z1v1AIJ4Tx212ErR00U1mg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,146,1763452800"; d="scan'208";a="201712387" Received: from lkp-server01.sh.intel.com (HELO d335e3c6db51) ([10.239.97.150]) by fmviesa005.fm.intel.com with ESMTP; 13 Dec 2025 02:23:30 -0800 Received: from kbuild by d335e3c6db51 with local (Exim 4.98.2) (envelope-from ) id 1vUMme-000000007V8-0Tzy; Sat, 13 Dec 2025 10:23:28 +0000 Date: Sat, 13 Dec 2025 18:23:04 +0800 From: kernel test robot To: Arnd Bergmann Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Johannes Berg Subject: drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:105:58: sparse: sparse: incorrect type in argument 2 (different address spaces) Message-ID: <202512131838.lGPe9MHr-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: a859eca0e4cc96f63ff125dbe5388d961558b0e9 commit: b8c9c3b822fe8e033b9802516f6466099d915488 um: stop using PCI port I/O date: 6 months ago config: um-randconfig-r121-20251213 (https://download.01.org/0day-ci/archive/20251213/202512131838.lGPe9MHr-lkp@intel.com/config) compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251213/202512131838.lGPe9MHr-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/202512131838.lGPe9MHr-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:105:58: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@ drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:105:58: sparse: expected void volatile [noderef] __iomem *addr drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:105:58: sparse: got void * drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:111:58: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@ drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:111:58: sparse: expected void const volatile [noderef] __iomem *addr drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:111:58: sparse: got void * drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:158:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void *[assigned] emap @@ drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:158:25: sparse: expected void volatile [noderef] __iomem *addr drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:158:25: sparse: got void *[assigned] emap drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:175:19: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *map @@ got void [noderef] __iomem * @@ drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:175:19: sparse: expected void *map drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:175:19: sparse: got void [noderef] __iomem * drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:228:28: sparse: sparse: incorrect type in return expression (different address spaces) @@ expected void [noderef] __iomem * @@ got void *map @@ drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:228:28: sparse: expected void [noderef] __iomem * drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:228:28: sparse: got void *map drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:237:28: sparse: sparse: incorrect type in return expression (different address spaces) @@ expected void [noderef] __iomem * @@ got void *map @@ drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:237:28: sparse: expected void [noderef] __iomem * drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:237:28: sparse: got void *map drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:244:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void [noderef] __iomem *map @@ got void *map @@ drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:244:21: sparse: expected void [noderef] __iomem *map drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:244:21: sparse: got void *map drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:333:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void *[assigned] map @@ drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:333:25: sparse: expected void volatile [noderef] __iomem *addr drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:333:25: sparse: got void *[assigned] map vim +105 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 07bbc1c5f49b64 Ben Skeggs 2017-11-01 101 be55287aa5ba68 Ben Skeggs 2017-11-01 102 static void be55287aa5ba68 Ben Skeggs 2017-11-01 103 nv50_instobj_wr32(struct nvkm_memory *memory, u64 offset, u32 data) be55287aa5ba68 Ben Skeggs 2017-11-01 104 { be55287aa5ba68 Ben Skeggs 2017-11-01 @105 iowrite32_native(data, nv50_instobj(memory)->map + offset); be55287aa5ba68 Ben Skeggs 2017-11-01 106 } be55287aa5ba68 Ben Skeggs 2017-11-01 107 :::::: The code at line 105 was first introduced by commit :::::: be55287aa5ba6895e9d4d3ed2f08a1be7a065957 drm/nouveau/imem/nv50: embed nvkm_instobj directly into nv04_instobj :::::: TO: Ben Skeggs :::::: CC: Ben Skeggs -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki