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 5C1ADFC618E for ; Sat, 14 Sep 2024 03:06:52 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 59B036B007B; Fri, 13 Sep 2024 23:06:51 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 54B026B0082; Fri, 13 Sep 2024 23:06:51 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4127B6B0083; Fri, 13 Sep 2024 23:06:51 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 2406C6B007B for ; Fri, 13 Sep 2024 23:06:51 -0400 (EDT) Received: from smtpin30.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 6CFCD41547 for ; Sat, 14 Sep 2024 03:06:50 +0000 (UTC) X-FDA: 82561856580.30.05776AF Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.16]) by imf12.hostedemail.com (Postfix) with ESMTP id A7C1B4000C for ; Sat, 14 Sep 2024 03:06:46 +0000 (UTC) Authentication-Results: imf12.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=jJOX2cbZ; spf=pass (imf12.hostedemail.com: domain of lkp@intel.com designates 198.175.65.16 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=1726283154; a=rsa-sha256; cv=none; b=XkCUdmCM3B7/adcfKKFIcLKBepc3QOO+b/kh3x3YmlJaHRp/IC2sRO1vlMr9E3Hi4c5+An EC7CsjPFuLS2F9DsigzDw9t6qnqAOcBn1IVJz+s56hmM1E/XbFRWevkTjbmjBfwldeZl2t iOOpKugazvqX1WNY9+4sf2yETgx3v2s= ARC-Authentication-Results: i=1; imf12.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=jJOX2cbZ; spf=pass (imf12.hostedemail.com: domain of lkp@intel.com designates 198.175.65.16 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=1726283154; 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=Cs3doPZPXlwqlOEpx5k4KI3o2Ne4XEQ66SRN1nDYG04=; b=lA9g0nISjfZv8Dp/c3c86BvykRNmvCTf/rycLCQhVXZ6vNYR0xL+tkhuMNEvFDnms0rsXV qspLacMsH2MVKkxUl24pupKNpyUlI4HIIjQUU34+Q5o+OJgJyqcK3Wi9l4EVHAhZZdjMUM K8FeXAEEfN5R+RzF687kFRiHu5cz4lw= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1726283206; x=1757819206; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=VuTTj0+Hf6dafOpC2060LVcxOgfAYGN+KF2rIky5w6c=; b=jJOX2cbZ4nGhr6Qgl7JHOvC5Q3kDqElEl3KLsMvBlTR6bsX2yrGR3bgS C6eQ89Se57HSumUeJnjP4OVTkEWTkhh6Oi74QpSxjalc9U5Jj+h0Bt/lk KdAbi+L3zlm1apw0F2rNKVCs8I+ytfkieER2qe+FPft2Y2aFqxZ/mLcqW xVnxCNqK00DePnENDUeSSpiupxegBi95WXY0G5MY/eNAHFX7n3cVx4mgj dd6O6fpHT4kFhw68PCNHRwmHOnf0kVcGnBhu2qdTKWATsvpkj3sjMGfz6 ywxZBrSoOgqpYeIv7tjBXXOSxt2bxlQ0YZ6jRgGB/9jgPSbFK18rzFaZZ A==; X-CSE-ConnectionGUID: J4pql/LETWWaZHfw/QUXvw== X-CSE-MsgGUID: 0eFXcfuoR3+khX1jKY9jaw== X-IronPort-AV: E=McAfee;i="6700,10204,11194"; a="25291135" X-IronPort-AV: E=Sophos;i="6.10,228,1719903600"; d="scan'208";a="25291135" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by orvoesa108.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Sep 2024 20:06:44 -0700 X-CSE-ConnectionGUID: dU7HVl+vSZK4EySvvPPaKA== X-CSE-MsgGUID: 6iQmQ58DSpe1AOImeKqRbg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,228,1719903600"; d="scan'208";a="98958003" Received: from lkp-server01.sh.intel.com (HELO 53e96f405c61) ([10.239.97.150]) by orviesa002.jf.intel.com with ESMTP; 13 Sep 2024 20:06:38 -0700 Received: from kbuild by 53e96f405c61 with local (Exim 4.96) (envelope-from ) id 1spJ7K-0007Is-2t; Sat, 14 Sep 2024 03:06:34 +0000 Date: Sat, 14 Sep 2024 11:06:10 +0800 From: kernel test robot To: Deepak Gupta , paul.walmsley@sifive.com, palmer@sifive.com, conor@kernel.org, linux-doc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-kselftest@vger.kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, corbet@lwn.net, palmer@dabbelt.com, aou@eecs.berkeley.edu, robh@kernel.org, krzk+dt@kernel.org, oleg@redhat.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, akpm@linux-foundation.org, arnd@arndb.de, ebiederm@xmission.com, kees@kernel.org, Liam.Howlett@oracle.com, vbabka@suse.cz Subject: Re: [PATCH v4 16/30] riscv/shstk: If needed allocate a new shadow stack on clone Message-ID: <202409141059.SDUgpQw4-lkp@intel.com> References: <20240912231650.3740732-17-debug@rivosinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240912231650.3740732-17-debug@rivosinc.com> X-Stat-Signature: 1ftse8qso5a5f9nc1h1pyae5gakrzjz4 X-Rspamd-Queue-Id: A7C1B4000C X-Rspam-User: X-Rspamd-Server: rspam10 X-HE-Tag: 1726283206-203991 X-HE-Meta: U2FsdGVkX184s1w0qwGz5sfI6dCX4nYjAcCzjs+V3gdBhsl74NNr5tIEeQ0CNjcV07ynhthJx/tgj0CRxHaz1mdd/KXy8LPQuyfN8uJQSFk7O+Tq8vZzjuT7mDIPbuxB8Fhw2j8jFz17GAS97nAaWbCfVK/E0QOtr6s8jTxSzaOZ5ivWxE7jaZ4s0NfOgkZGRRKmAlewfogH8exJa15ALtj9vKBPhHTqSUHuGJ0MMqT/j4ZCqMaszlK2TySruWcscEohwkG/kpQK/2culikZPmRV11YHVmvYjTj5PBfmfaDBLewnGB4uMf/uF5d6V9GVvbK9iFXEym9A3+RTAAaa6dS36IpKawlTvkyH4JTWU3IQ0wNkwKojecpBOLZvzuQWG/PrDt9i3RgCA/0MwrldJ/Mg6oKHn589O7OaL5eSRsj3H35SPSXWyKAjMSiIdId4kVlKP4PQ/uFwLI2anksUOrenkhOAvCnf/nFCPlzWNwHhyUR4up5IwEj+MYTEsJyXZiU9rORqEan0G0pMHtJ2LbxtvltFIojvZmtYFcePJgIgF/oouyrIyayhCR8pr6JZUD0mkrAJXNP8+nvchMfPF/t8k3AySYipyn2fsK/j+Hd6tYFwGTn6JybuOCVMVSoa8aIxwvIMdHJVJUiMuxKlR4lLXmK2mhLzN292prV8LskrvvMPZiU5+yk6gWl6JRqp4aQyxNJKgUVIRKLEL8VBRTNlY/cmJExlo2zu6BgGSgHSpinK6+xKxPf/Z9LY0qZuZHz3IC1ykPoSCuZ218cHRzCvx41FaXvp4hlg6JvZkskxz+6VfCBzPhWte36A97CY38xwtqd4JLXKbzxmqH8ZuyoOHOQoBbZp8lHtxNsiyD4wVRgaYhMhnNrQw4/AVBGNFhzo/V0Vq8t1J7RSDrtaamII8DEXrdKfMWaqNvWXzCVCQSa+xfYtpfN1bVkaz2NGllpcCKcBB8wMoOzGMZd /gt+k7u2 Q8a9wukvlXPQHimPuoVhfFE0N9IMewjErN3EKjg7gfcebAwXyoveeXFGllSrFZBjvORKVZ8CRmiI+jV4+JE49rk+X8GcALecyGMXAw9tyVC6TNAn3J+Ii5dGHRv76f/KN1nsVTXh0gLPw5WYDQ6+zD3cjPxWHf9ctpWIqJp7HOpyrDrFJK57NnthE9nTcHIACdm9+aDPVBuYxzn/pfBpqUQ4sOoniPS3wTcRGAchFZAGUezIh/4zLBZCMsWV4OP6llFXrtEBOcKl5WDIQP3YtXkpLQu6w1yxpzgkk97Ad6zw18JCS43SGcw9UiNfGC17NC4V0GNU2jC1yHUgfEWixsZFP8Gjg++MVqjIbclckOrP3tklteTXjFNa7u4U0/yZqVD3xyH3Q6btXWI+6euOM8wnsf918JagjaSF7RBhxnCyR9PhJSw86sJ+ScWp8CH5ChID9Bb3S2gYHHF8PbK22r/s8GfojC1Zk7NhlxiLY3XhCgW8= 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 Deepak, kernel test robot noticed the following build errors: [auto build test ERROR on shuah-kselftest/next] [also build test ERROR on shuah-kselftest/fixes tip/x86/core robh/for-next arnd-asm-generic/master tip/smp/core kees/for-next/execve linus/master v6.11-rc7] [cannot apply to akpm-mm/mm-everything next-20240913] [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/Deepak-Gupta/mm-Introduce-ARCH_HAS_USER_SHADOW_STACK/20240913-072124 base: https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git next patch link: https://lore.kernel.org/r/20240912231650.3740732-17-debug%40rivosinc.com patch subject: [PATCH v4 16/30] riscv/shstk: If needed allocate a new shadow stack on clone config: riscv-randconfig-001-20240914 (https://download.01.org/0day-ci/archive/20240914/202409141059.SDUgpQw4-lkp@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240914/202409141059.SDUgpQw4-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/202409141059.SDUgpQw4-lkp@intel.com/ All error/warnings (new ones prefixed by >>): >> clang diag: arch/riscv/include/asm/usercfi.h:44:15: warning: no previous prototype for function 'get_shstk_base' [-Wmissing-prototypes] -- In file included from drivers/gpu/drm/drm_plane.c:23: In file included from include/linux/slab.h:16: In file included from include/linux/gfp.h:7: In file included from include/linux/mmzone.h:8: In file included from include/linux/spinlock.h:56: In file included from include/linux/preempt.h:79: In file included from ./arch/riscv/include/generated/asm/preempt.h:1: In file included from include/asm-generic/preempt.h:5: In file included from include/linux/thread_info.h:60: In file included from arch/riscv/include/asm/thread_info.h:37: In file included from arch/riscv/include/asm/processor.h:17: >> arch/riscv/include/asm/usercfi.h:44:15: error: no previous prototype for function 'get_shstk_base' [-Werror,-Wmissing-prototypes] unsigned long get_shstk_base(struct task_struct *task, unsigned long *size) ^ arch/riscv/include/asm/usercfi.h:44:1: note: declare 'static' if the function is not intended to be used outside of this translation unit unsigned long get_shstk_base(struct task_struct *task, unsigned long *size) ^ static 1 error generated. -- In file included from arch/riscv/kernel/asm-offsets.c:10: In file included from include/linux/mm.h:7: In file included from include/linux/gfp.h:7: In file included from include/linux/mmzone.h:8: In file included from include/linux/spinlock.h:56: In file included from include/linux/preempt.h:79: In file included from ./arch/riscv/include/generated/asm/preempt.h:1: In file included from include/asm-generic/preempt.h:5: In file included from include/linux/thread_info.h:60: In file included from arch/riscv/include/asm/thread_info.h:37: In file included from arch/riscv/include/asm/processor.h:17: arch/riscv/include/asm/usercfi.h:44:15: warning: no previous prototype for function 'get_shstk_base' [-Wmissing-prototypes] unsigned long get_shstk_base(struct task_struct *task, unsigned long *size) ^ arch/riscv/include/asm/usercfi.h:44:1: note: declare 'static' if the function is not intended to be used outside of this translation unit unsigned long get_shstk_base(struct task_struct *task, unsigned long *size) ^ static 1 warning generated. >> clang diag: arch/riscv/include/asm/usercfi.h:44:15: warning: no previous prototype for function 'get_shstk_base' [-Wmissing-prototypes] >> clang diag: arch/riscv/include/asm/usercfi.h:44:15: warning: no previous prototype for function 'get_shstk_base' [-Wmissing-prototypes] vim +/get_shstk_base +44 arch/riscv/include/asm/usercfi.h 43 > 44 unsigned long get_shstk_base(struct task_struct *task, unsigned long *size) 45 { 46 return 0; 47 } 48 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki