From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (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 91E00168 for ; Mon, 10 Jan 2022 12:21:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1641817313; x=1673353313; h=date:from:to:cc:subject:message-id:mime-version; bh=gmL3tKEUDF2ZwVHFtsNVYcZn2op8HEU3muwCY7UW7MI=; b=UkCo8/NOLEw711ztfdWuo8X6QEEUi3a2H7BX/YdI5QmNRV+SCEaOIkPD er0VJj1XDUq8o2TGr4qk1BA8GdOgGWF/WqllWXhQ68viS47iI9gJ/aJsQ DAK3TsqCzmG6t/6Rfgo2Is63Owyff+Fv5xF30ngdhOZ83Q6lWTIRYYsff kf1JsIt6DK3sfkfBvNt+JivVDaQngeExy7FhnLzSNYiOvznepujv60Kun /hZR2HqLm6V/zWAy3ZgvKWd2eDbIXjuOyRBi9gv8hqw0Ni7PCzFWm4n14 CxkyI7mf4r1yzEUbU89pylA1o2sLacIixPGTUWTJ8INjxWYUYS048FkG+ Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10222"; a="230553255" X-IronPort-AV: E=Sophos;i="5.88,277,1635231600"; d="scan'208";a="230553255" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jan 2022 04:21:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,277,1635231600"; d="scan'208";a="669436824" Received: from lkp-server01.sh.intel.com (HELO 276f1b88eecb) ([10.239.97.150]) by fmsmga001.fm.intel.com with ESMTP; 10 Jan 2022 04:21:46 -0800 Received: from kbuild by 276f1b88eecb with local (Exim 4.92) (envelope-from ) id 1n6tgI-0003JN-16; Mon, 10 Jan 2022 12:21:46 +0000 Date: Mon, 10 Jan 2022 20:21:41 +0800 From: kernel test robot To: Zhenyu Wang Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Colin Xu Subject: drivers/gpu/drm/i915/gvt/gtt.c:1152: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Message-ID: <202201102031.xPWND4ZH-lkp@intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Hi Zhenyu, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: df0cc57e057f18e44dac8e6c18aba47ab53202f9 commit: 145e06b58f8625becc61792a0554726314297a85 drm/i915/gvt: Move mdev attribute groups into kvmgt module date: 8 months ago config: x86_64-randconfig-a016-20210927 (https://download.01.org/0day-ci/archive/20220110/202201102031.xPWND4ZH-lkp@intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project dc6e8dfdfe7efecfda318d43a06fae18b40eb498) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=145e06b58f8625becc61792a0554726314297a85 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 145e06b58f8625becc61792a0554726314297a85 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/gpu/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/gpu/drm/i915/gvt/gtt.c:1152: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * Check if can do 2M page drivers/gpu/drm/i915/gvt/gtt.c:2209: warning: expecting prototype for intel_vgpu_emulate_gtt_mmio_read(). Prototype was for intel_vgpu_emulate_ggtt_mmio_read() instead vim +1152 drivers/gpu/drm/i915/gvt/gtt.c 2707e44466881d Zhi Wang 2016-03-28 1150 b901b252b6cf5c Changbin Du 2018-05-15 1151 /** a752b070a67823 Zhenyu Wang 2018-07-31 @1152 * Check if can do 2M page a752b070a67823 Zhenyu Wang 2018-07-31 1153 * @vgpu: target vgpu a752b070a67823 Zhenyu Wang 2018-07-31 1154 * @entry: target pfn's gtt entry a752b070a67823 Zhenyu Wang 2018-07-31 1155 * 9317f356df83a5 Bhaskar Chowdhury 2021-02-22 1156 * Return 1 if 2MB huge gtt shadowing is possible, 0 if miscondition, 9317f356df83a5 Bhaskar Chowdhury 2021-02-22 1157 * negative if found err. b901b252b6cf5c Changbin Du 2018-05-15 1158 */ b901b252b6cf5c Changbin Du 2018-05-15 1159 static int is_2MB_gtt_possible(struct intel_vgpu *vgpu, b901b252b6cf5c Changbin Du 2018-05-15 1160 struct intel_gvt_gtt_entry *entry) b901b252b6cf5c Changbin Du 2018-05-15 1161 { b901b252b6cf5c Changbin Du 2018-05-15 1162 struct intel_gvt_gtt_pte_ops *ops = vgpu->gvt->gtt.pte_ops; b901b252b6cf5c Changbin Du 2018-05-15 1163 unsigned long pfn; b901b252b6cf5c Changbin Du 2018-05-15 1164 a61ac1e75105a0 Chris Wilson 2020-03-06 1165 if (!HAS_PAGE_SIZES(vgpu->gvt->gt->i915, I915_GTT_PAGE_SIZE_2M)) b901b252b6cf5c Changbin Du 2018-05-15 1166 return 0; b901b252b6cf5c Changbin Du 2018-05-15 1167 b901b252b6cf5c Changbin Du 2018-05-15 1168 pfn = intel_gvt_hypervisor_gfn_to_mfn(vgpu, ops->get_pfn(entry)); b901b252b6cf5c Changbin Du 2018-05-15 1169 if (pfn == INTEL_GVT_INVALID_ADDR) b901b252b6cf5c Changbin Du 2018-05-15 1170 return -EINVAL; b901b252b6cf5c Changbin Du 2018-05-15 1171 b901b252b6cf5c Changbin Du 2018-05-15 1172 return PageTransHuge(pfn_to_page(pfn)); b901b252b6cf5c Changbin Du 2018-05-15 1173 } b901b252b6cf5c Changbin Du 2018-05-15 1174 :::::: The code at line 1152 was first introduced by commit :::::: a752b070a67823174565322cc48b2668daf9a8da drm/i915/gvt: Fix function comment doc errors :::::: TO: Zhenyu Wang :::::: CC: Zhenyu Wang --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============1121413563105161339==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: drivers/gpu/drm/i915/gvt/gtt.c:1152: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Date: Mon, 10 Jan 2022 20:21:41 +0800 Message-ID: <202201102031.xPWND4ZH-lkp@intel.com> List-Id: --===============1121413563105161339== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Zhenyu, First bad commit (maybe !=3D root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git = master head: df0cc57e057f18e44dac8e6c18aba47ab53202f9 commit: 145e06b58f8625becc61792a0554726314297a85 drm/i915/gvt: Move mdev at= tribute groups into kvmgt module date: 8 months ago config: x86_64-randconfig-a016-20210927 (https://download.01.org/0day-ci/ar= chive/20220110/202201102031.xPWND4ZH-lkp(a)intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project dc6e8d= fdfe7efecfda318d43a06fae18b40eb498) reproduce (this is a W=3D1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/= make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.gi= t/commit/?id=3D145e06b58f8625becc61792a0554726314297a85 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/gi= t/torvalds/linux.git git fetch --no-tags linus master git checkout 145e06b58f8625becc61792a0554726314297a85 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross W=3D= 1 O=3Dbuild_dir ARCH=3Dx86_64 SHELL=3D/bin/bash drivers/gpu/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/gpu/drm/i915/gvt/gtt.c:1152: warning: This comment starts with '= /**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-= doc.rst * Check if can do 2M page drivers/gpu/drm/i915/gvt/gtt.c:2209: warning: expecting prototype for in= tel_vgpu_emulate_gtt_mmio_read(). Prototype was for intel_vgpu_emulate_ggtt= _mmio_read() instead vim +1152 drivers/gpu/drm/i915/gvt/gtt.c 2707e44466881d Zhi Wang 2016-03-28 1150 = b901b252b6cf5c Changbin Du 2018-05-15 1151 /** a752b070a67823 Zhenyu Wang 2018-07-31 @1152 * Check if can do 2M pa= ge a752b070a67823 Zhenyu Wang 2018-07-31 1153 * @vgpu: target vgpu a752b070a67823 Zhenyu Wang 2018-07-31 1154 * @entry: target pfn's = gtt entry a752b070a67823 Zhenyu Wang 2018-07-31 1155 * 9317f356df83a5 Bhaskar Chowdhury 2021-02-22 1156 * Return 1 if 2MB huge = gtt shadowing is possible, 0 if miscondition, 9317f356df83a5 Bhaskar Chowdhury 2021-02-22 1157 * negative if found err. b901b252b6cf5c Changbin Du 2018-05-15 1158 */ b901b252b6cf5c Changbin Du 2018-05-15 1159 static int is_2MB_gtt_po= ssible(struct intel_vgpu *vgpu, b901b252b6cf5c Changbin Du 2018-05-15 1160 struct intel_gvt_gtt_en= try *entry) b901b252b6cf5c Changbin Du 2018-05-15 1161 { b901b252b6cf5c Changbin Du 2018-05-15 1162 struct intel_gvt_gtt_pt= e_ops *ops =3D vgpu->gvt->gtt.pte_ops; b901b252b6cf5c Changbin Du 2018-05-15 1163 unsigned long pfn; b901b252b6cf5c Changbin Du 2018-05-15 1164 = a61ac1e75105a0 Chris Wilson 2020-03-06 1165 if (!HAS_PAGE_SIZES(vgp= u->gvt->gt->i915, I915_GTT_PAGE_SIZE_2M)) b901b252b6cf5c Changbin Du 2018-05-15 1166 return 0; b901b252b6cf5c Changbin Du 2018-05-15 1167 = b901b252b6cf5c Changbin Du 2018-05-15 1168 pfn =3D intel_gvt_hyper= visor_gfn_to_mfn(vgpu, ops->get_pfn(entry)); b901b252b6cf5c Changbin Du 2018-05-15 1169 if (pfn =3D=3D INTEL_GV= T_INVALID_ADDR) b901b252b6cf5c Changbin Du 2018-05-15 1170 return -EINVAL; b901b252b6cf5c Changbin Du 2018-05-15 1171 = b901b252b6cf5c Changbin Du 2018-05-15 1172 return PageTransHuge(pf= n_to_page(pfn)); b901b252b6cf5c Changbin Du 2018-05-15 1173 } b901b252b6cf5c Changbin Du 2018-05-15 1174 = :::::: The code at line 1152 was first introduced by commit :::::: a752b070a67823174565322cc48b2668daf9a8da drm/i915/gvt: Fix function = comment doc errors :::::: TO: Zhenyu Wang :::::: CC: Zhenyu Wang --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============1121413563105161339==--