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 63382C3DA4A for ; Sat, 17 Aug 2024 03:28:36 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BCA628D00C1; Fri, 16 Aug 2024 23:28:35 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B51958D00B8; Fri, 16 Aug 2024 23:28:35 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9F2638D00C1; Fri, 16 Aug 2024 23:28:35 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 7E3548D00B8 for ; Fri, 16 Aug 2024 23:28:35 -0400 (EDT) Received: from smtpin09.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 2AEAE8046D for ; Sat, 17 Aug 2024 03:28:35 +0000 (UTC) X-FDA: 82460304990.09.C9AF4BD Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.20]) by imf24.hostedemail.com (Postfix) with ESMTP id CD19318001D for ; Sat, 17 Aug 2024 03:28:31 +0000 (UTC) Authentication-Results: imf24.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=SNW33bii; spf=pass (imf24.hostedemail.com: domain of lkp@intel.com designates 198.175.65.20 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1723865213; 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:in-reply-to:references:references:dkim-signature; bh=CJ+AY6SmhsdyNuuazm2zZpkkspA7quwkUnilQho/p34=; b=n6tdPO63aomAMwDfeoSEfqCGe+msVp61uj3b6Xi+8hHUbxW/nWPB4ysC8yaEQUq0JbbZNM s2ziT4JUYhxo3p/rTmkI7ONH30rNCSQQB30E4uMZzK+TCPDiJEHTx1KfECPskjymfqgPSX +VUOu5J0FynvBrOCGqi48jE++z7HHNI= ARC-Authentication-Results: i=1; imf24.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=SNW33bii; spf=pass (imf24.hostedemail.com: domain of lkp@intel.com designates 198.175.65.20 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1723865213; a=rsa-sha256; cv=none; b=KDU85Wzp1KtQt+aQozvT1DEcYo44aT+8AX1LRMLRlCQieBF5YLF65+fFk27K0PoOsDop9I cNNw+vFLcTbyHyS54ginJFgQ4tm4Z38dN4W00StPWeRCbXglyO3N/8lIQ8FXq6iZei0cSw hdOKiPY19SMadAiFAymX2Ds1EjmWRFY= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1723865312; x=1755401312; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=JN9j8wh/xJ0TPyJMAzENOzMg/xpSR944Q4eFSDKDmhc=; b=SNW33biiTvcbHbV9H9qsG6+pj5sGSY2xg/L/YTyKYj0TtYHeYMUeJkx/ Kk9yLMkIqGlB2IOJ+rkOpGD9JRwFYOWKPlLbm9+qi3617SSWDWkf5V3jp 3KpW6knZRCz3g4+/CzXGStfDCdneJO2ZRu+YjItpW5+hLx5wb7tLkQK5y emfmK3lhKsjI62TLZ3F8LbvU47Jh4YV4nByPL2tzpXngewAT+tEEnB/5a PYNDJ+6xKs4Jdx81EBh+rtk2xTd7CnCYdm1LFxIp6UpQy0RDO5zFq+/LZ PUS3g1A2wwisL/6XaoHRpmfuqx4CTbDv+F4go63qZiSb+U6ejUSiHziB4 Q==; X-CSE-ConnectionGUID: goDPPevyQra5KQ4WHd8Wog== X-CSE-MsgGUID: QPGBDBCLTq6+BqohNm1TzA== X-IronPort-AV: E=McAfee;i="6700,10204,11166"; a="21981298" X-IronPort-AV: E=Sophos;i="6.10,153,1719903600"; d="scan'208";a="21981298" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Aug 2024 20:28:30 -0700 X-CSE-ConnectionGUID: 2n+tifZ0T2qcHMDmRYT1Pg== X-CSE-MsgGUID: CTgirSt5Q/qqY1TIUh4iwA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,153,1719903600"; d="scan'208";a="59881996" Received: from lkp-server01.sh.intel.com (HELO 9a732dc145d3) ([10.239.97.150]) by fmviesa009.fm.intel.com with ESMTP; 16 Aug 2024 20:28:25 -0700 Received: from kbuild by 9a732dc145d3 with local (Exim 4.96) (envelope-from ) id 1sfA74-00079K-2z; Sat, 17 Aug 2024 03:28:22 +0000 Date: Sat, 17 Aug 2024 11:28:05 +0800 From: kernel test robot To: Alexey Gladkov , linux-kernel@vger.kernel.org, linux-coco@lists.linux.dev Cc: oe-kbuild-all@lists.linux.dev, "Alexey Gladkov (Intel)" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , "Kirill A. Shutemov" , Andrew Morton , Linux Memory Management List , Yuan Yao , Geert Uytterhoeven , Yuntao Wang , Kai Huang , Baoquan He , Oleg Nesterov , Tom Lendacky , Kevin Loughlin , Nikunj A Dadhania , cho@microsoft.com, decui@microsoft.com, John.Starks@microsoft.com Subject: Re: [PATCH v3 04/10] x86/insn: Read and decode insn without crossing the page boundary Message-ID: <202408171001.feB1A8FN-lkp@intel.com> References: <9704da6a35d62932d464d33b39953fc5b2fd74ea.1723807851.git.legion@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9704da6a35d62932d464d33b39953fc5b2fd74ea.1723807851.git.legion@kernel.org> X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: CD19318001D X-Stat-Signature: cfxbcfjtxx3cq4wbfyqgb1ym8pn16k8q X-Rspam-User: X-HE-Tag: 1723865311-783774 X-HE-Meta: U2FsdGVkX1+fwZw4FroB8c59+xNua1lAZl4MG/BG97tW4dfe06D7lnOHnPEkR/dxAYw1AdjiZSs8KoyVb1NyZFrt3BXzqS2XR4Sc1b3TswEetGMt//Pjl18sQwyV4+CZ0A2H/EgCopbzV87fJOTT7CFAVsZbK8VfB88Jeiz7NESalb5NwDBmC+qSPFmxyP+/4FKW2F0JwoS0qtTTyuwJF7ETXyzsH2OccxftbDBafelTBMrN6UUGWQHqtpX1YsODMbGcHLUxSuEqcSzQ8j6CQB5uUfvMkZjtuy0g1i3grrvHMJVFaXLMSsf53yBT0FVu0zVbY6l/hKXyaCsqe9rKslkTG1/kknlUclWqsSVLq4E283AnlV665l2J1/P05pRQ+pIKmsZ50Alc0CwixY8mXOn3MFi9Amamrp9ltJgthttO9pECaX7tCN9bb45AzNOsCdaFHn7IQrIlY4ADwHjFGnwmfd8VPiAvzBkyKXPT6n8k8Djx3O2bo51ZAD0VZJ2tULmjlGRzByEv23TY24Yfn286R+ul1quCN7Rkxa8MKuCZjh1UFV35f0WlZ8O2A4AdqMY+fPTblsMoXzmoLIRKobeqR3M3FZ9SSzZuakiICezz+Z+qd4fL4o46CDF/Ifk/V5c81O9r9wYL9R1JSZaPyhONBXjuroq+4AtQnDKythyruyRxtUFPsAlEUO+k3WkoyISuqnXsp6n2+Y2/iKZiHL0X/B1S8ZjGvt2uOHVh623XFtH31rWtU4tEWqT9oa1vYXlA1kojXh7soSsqx5e0enWpPvDRqvP09wnHbjfYvcvzlNoGVgsNqDGsxvyw/Z52bJ0y4mQ8wubJEv22IFhIXk0+Fn7s76TMgM0zcq214JH30gzzLm7/XECIKSahYiYBEpu9GRSg/lCbsUs7xvPGab/13NBCVn4feMQ2nuCEeM/amIrxii5wqb7LDyviuMjYL0TU0VqBxjhVLqx1NV7 Tii+c/39 xp860O4Mch5t43kmFcDZBOQ5iQQkrSK0Ed+I1drANS+6yys07lZJ4FbvE4gcAOzpSJsa6yJ7QrSu0VTUcsWZI6hNHFSCfLn/PKMtrkiN4e1HLx5xk5dx2qlcPnvUSEOqZ/tNSAcHLqeLqzIiNhjeTK/fczOANJrPCUvZGl/ZlrAkAT+CIVU4M5Kdp0v+JsK6/vrGfapPHDg+cc48IWBxmIlYsEQgY1mm+CGh9xkSR27biU2mHX+CqFbBDuly4TZIy6OjleGSZNy4imSDuopZi84q9CLkyi1qJ7X9BPiJxWYWfSlnyTwSSqrMywGwNOSdVtYM+/H5VKWmReLvn0zRtU6muqNSyZ63affeXYNQr9ZV+KKGqr3E5wqGcw8rwqeuptJb3pvGxrgxCmjM7lnMpe/kC/g== 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: Hi Alexey, kernel test robot noticed the following build warnings: [auto build test WARNING on tip/x86/core] [also build test WARNING on tip/master linus/master v6.11-rc3 next-20240816] [cannot apply to tip/x86/tdx tip/auto-latest] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Alexey-Gladkov/x86-tdx-Split-MMIO-read-and-write-operations/20240816-222615 base: tip/x86/core patch link: https://lore.kernel.org/r/9704da6a35d62932d464d33b39953fc5b2fd74ea.1723807851.git.legion%40kernel.org patch subject: [PATCH v3 04/10] x86/insn: Read and decode insn without crossing the page boundary config: i386-buildonly-randconfig-001-20240817 (https://download.01.org/0day-ci/archive/20240817/202408171001.feB1A8FN-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240817/202408171001.feB1A8FN-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/202408171001.feB1A8FN-lkp@intel.com/ All warnings (new ones prefixed by >>): >> arch/x86/lib/insn-eval.c:1690: warning: Function parameter or struct member 'insn' not described in 'insn_fetch_decode_from_user_common' >> arch/x86/lib/insn-eval.c:1690: warning: Function parameter or struct member 'inatomic' not described in 'insn_fetch_decode_from_user_common' >> arch/x86/lib/insn-eval.c:1690: warning: Excess function parameter 'buf' description in 'insn_fetch_decode_from_user_common' vim +1690 arch/x86/lib/insn-eval.c 1671 1672 /** 1673 * insn_fetch_decode_from_user_common() - Copy and decode instruction bytes 1674 * from user-space memory 1675 * @buf: Array to store the fetched instruction 1676 * @regs: Structure with register values as seen when entering kernel mode 1677 * @inatomic boolean flag whether function is used in atomic context 1678 * 1679 * Gets the linear address of the instruction and copies the instruction bytes 1680 * and decodes the instruction. 1681 * 1682 * Returns: 1683 * 1684 * - 0 on success. 1685 * - -EFAULT if the copy from userspace fails. 1686 * - -EINVAL if the linear address of the instruction could not be calculated. 1687 */ 1688 int insn_fetch_decode_from_user_common(struct insn *insn, struct pt_regs *regs, 1689 bool inatomic) > 1690 { -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki