From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6C077C4167B for ; Tue, 5 Dec 2023 14:39:26 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 052136B008A; Tue, 5 Dec 2023 09:39:26 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 0023B6B0092; Tue, 5 Dec 2023 09:39:25 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E0C176B0099; Tue, 5 Dec 2023 09:39:25 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id CF54F6B008A for ; Tue, 5 Dec 2023 09:39:25 -0500 (EST) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 84416A0132 for ; Tue, 5 Dec 2023 14:39:25 +0000 (UTC) X-FDA: 81533022690.22.DEECBE6 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by imf28.hostedemail.com (Postfix) with ESMTP id 357DDC001A for ; Tue, 5 Dec 2023 14:39:23 +0000 (UTC) Authentication-Results: imf28.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="LAe/lNcI"; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf28.hostedemail.com: domain of lkp@intel.com designates 198.175.65.10 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1701787163; a=rsa-sha256; cv=none; b=LpbVMoCc7CfSwwVTBljlfRmVjQYYglens8nVh0DbJjlIrnpnUosrmf61qH13RUr1ai65K3 PLaW0qLpDZsmeBnWKX+D9rnpny92pAB1QjuejjTyDdgKeMD1KNy1OJ7Gyra/3goavxQVOo aYDhWdFSkTnLWe3v/W3YG9kA4/oFByQ= ARC-Authentication-Results: i=1; imf28.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="LAe/lNcI"; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf28.hostedemail.com: domain of lkp@intel.com designates 198.175.65.10 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1701787163; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=INvJ9++UiID1GFYvpXMuQBb0gDUxn3B4gsxdYP9KeP8=; b=RCjxdOT8AQxhCfbc52i4bBC1kIMlx07h53OOU7R/IT3zQkzuSeDhqE735dqVaYBwQFmatL 2BsxB+YKr82irh8elJk45ccIbZ7PjqrF6H6s1YIMt73rxD0unrd8XaM5WcNE46A4rLlaie WIGlBB1L527csRNFGHAdXiye3NiMuYw= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701787163; x=1733323163; h=date:from:to:cc:subject:message-id:mime-version; bh=65Md/a0QTDH+9kuPV9zvVy/nhEzNwIYqYDkJjA9tOdQ=; b=LAe/lNcIApsYYBgpNPeChOViggZImu5gDf0mhPIFDbXOkIaQ26kzr0c2 0xcpS9NHzaQO19ulnw0+T6o6ka7PGWgNbUQUPghG74V1MBA0CUMve6BJs eh3oSEhfrVhkAht8noZJSJHOJkDlmxO6hiQ1NSpLopnuIm35nDwps8vhc 1VoO7j6oavbtr0zXImYkQrPx3tqeihUNML15GpEKVIVbAcW2XNBG2NjUw iXxgH5tBimhkeD5KDzsKHzKELqWi73CsDxDzcwWXgOemLIOAS0+ve5kWU oRYBEqd9axe5bbF0gxsfH1wnCr/fzoxcckpZPQoA078PUc2gs0pfO9MCk Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10914"; a="7247132" X-IronPort-AV: E=Sophos;i="6.04,252,1695711600"; d="scan'208";a="7247132" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Dec 2023 06:39:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10914"; a="888957133" X-IronPort-AV: E=Sophos;i="6.04,252,1695711600"; d="scan'208";a="888957133" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by fmsmga002.fm.intel.com with ESMTP; 05 Dec 2023 06:39:20 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rAWZy-0009Bi-1R; Tue, 05 Dec 2023 14:39:18 +0000 Date: Tue, 5 Dec 2023 22:38:19 +0800 From: kernel test robot To: Felix Kuehling Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Alex Deucher Subject: [linux-next:master 3341/4884] drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c:2765:36: sparse: sparse: incompatible types in comparison expression (different address spaces): Message-ID: <202312052245.yFpBSgNH-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspam-User: X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: 357DDC001A X-Stat-Signature: qkgwzcgnhw8y6w199t3gjgyqsjmzioqk X-HE-Tag: 1701787163-255645 X-HE-Meta: U2FsdGVkX1+7HjFzbno/JBTAXlpl0YSli4oSKywfxAY0jJyyshTny00lF7YAkEf21ILqYQEBhNbE/x/Qv58yEgfaRxyv6V6bQfHXFWvm1ezbnZkPf8CjDvO5jeJn8spNI8Kf9Oq9dHefl5QbhGz8YJ3U2zpmnRAMxVA1GB3G0gg9qqYx8vh7ITAgG2q4koYT70eCP5Wl+FCtInQDr7vPvA0U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jt5kX6UIEOFY5uCWZA/VjGLpjs0ucDSSDQtzOcPfebbQ X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 0f5f12ac05f36f117e793656c3f560625e927f1b commit: 9a1c1339abf972477aeef4ea037e650f49c5892d [3341/4884] drm/amdkfd: Run restore_workers on freezable WQs config: x86_64-randconfig-123-20231203 (https://download.01.org/0day-ci/archive/20231205/202312052245.yFpBSgNH-lkp@intel.com/config) compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231205/202312052245.yFpBSgNH-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/202312052245.yFpBSgNH-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c: note: in included file (through drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu_virt.h, drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h): drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:316:49: sparse: sparse: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:320:49: sparse: sparse: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" >> drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c:1671:9: sparse: sparse: incompatible types in comparison expression (different address spaces): >> drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c:1671:9: sparse: struct dma_fence [noderef] __rcu * >> drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c:1671:9: sparse: struct dma_fence * -- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c: note: in included file (through drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, drivers/gpu/drm/amd/amdgpu/amdgpu.h, ...): drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:316:49: sparse: sparse: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:320:49: sparse: sparse: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" >> drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c:2765:36: sparse: sparse: incompatible types in comparison expression (different address spaces): >> drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c:2765:36: sparse: struct dma_fence [noderef] __rcu * >> drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c:2765:36: sparse: struct dma_fence * >> drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c:2765:36: sparse: sparse: incompatible types in comparison expression (different address spaces): >> drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c:2765:36: sparse: struct dma_fence [noderef] __rcu * >> drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c:2765:36: sparse: struct dma_fence * vim +2765 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c 2761 2762 static void replace_eviction_fence(struct dma_fence **ef, 2763 struct dma_fence *new_ef) 2764 { > 2765 struct dma_fence *old_ef = rcu_replace_pointer(*ef, new_ef, true 2766 /* protected by process_info->lock */); 2767 2768 /* If we're replacing an unsignaled eviction fence, that fence will 2769 * never be signaled, and if anyone is still waiting on that fence, 2770 * they will hang forever. This should never happen. We should only 2771 * replace the fence in restore_work that only gets scheduled after 2772 * eviction work signaled the fence. 2773 */ 2774 WARN_ONCE(!dma_fence_is_signaled(old_ef), 2775 "Replacing unsignaled eviction fence"); 2776 dma_fence_put(old_ef); 2777 } 2778 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki