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 54C8AC54E76 for ; Mon, 20 Nov 2023 22:48:29 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id B976A6B0365; Mon, 20 Nov 2023 17:48:28 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id B47FE6B036E; Mon, 20 Nov 2023 17:48:28 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A0F586B0374; Mon, 20 Nov 2023 17:48:28 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 91EF96B0365 for ; Mon, 20 Nov 2023 17:48:28 -0500 (EST) Received: from smtpin30.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 561CC1CB7D2 for ; Mon, 20 Nov 2023 22:48:28 +0000 (UTC) X-FDA: 81479823096.30.6678A06 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by imf11.hostedemail.com (Postfix) with ESMTP id 36B6340004 for ; Mon, 20 Nov 2023 22:48:24 +0000 (UTC) Authentication-Results: imf11.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=AUHyynCq; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf11.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=1700520505; 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=vLHnwkMfpeQIXMH2eX7I8gSkR9y8K7tMkW0palrPDmg=; b=qQtQCqkTKompMA/W2hRhG4IbnFGtSiS38pQg5vhO7QTxdHamFvMz85OZ8bOQ917Rfe17mT LNHWPiS3jma/vECNJBUCKY9HzWG7a1ZpbUtPPQAfftDb4CsK5mNpoIp0PvEg28ZPHAMBx5 LJfOxtQVsjZFFNOSCAGEtDj/6IRr39M= ARC-Authentication-Results: i=1; imf11.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=AUHyynCq; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf11.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=1700520505; a=rsa-sha256; cv=none; b=XhWfq/yaswKICxFuBweGWtxdCFFee6LpLoxzOqH4AsOvVJVUGuTPht502tK1/x97B51JUu M7F3trXjC5FMbQmTLMezz01ZRiv/WA3Zl+cVDWyjjFmtN9wSDfoXwFxyQ02d6nrj6ABXiU edbHwl8ZP9uJggq6Fqn2qR44IqQImNw= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700520505; x=1732056505; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=fTRRJlE/QbOq1AY/NZVPgjpWsBGhsZKTJso+C3zB68Y=; b=AUHyynCqscDo1XLGIpnsyyoxCsvzyesB03QQX16stZMarAQ5syynpl3b pAPWCwepmsz6XMlpVdySsBsC8np/ZWCoUXzJNHlDjMT3k9SBK0SN4WKPP XVAS+3wx5AK2uBzFLszJIbYbYhIHtsfb7Qp5CKYS+cYbf6fqwQ+VypPuR CMbNba1lK9bOJhOoppeLuabvc8X5pcZLf1+RB8nr7mVBZqPUbqYMfPvV5 A1LujMFohYAbbFUS6+ARpyd6XqXKpiEcCVYdNXHK3DnCZ8GWsKujfWNlf 4KwKgn1uDDm7xLl0IBv0hIIeVCELLw/b5J7SEy8swLBIAIsrE6s/d3/x3 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10900"; a="4913021" X-IronPort-AV: E=Sophos;i="6.04,214,1695711600"; d="scan'208";a="4913021" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Nov 2023 14:48:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10900"; a="939914968" X-IronPort-AV: E=Sophos;i="6.04,214,1695711600"; d="scan'208";a="939914968" Received: from lkp-server02.sh.intel.com (HELO b8de5498638e) ([10.239.97.151]) by orsmga005.jf.intel.com with ESMTP; 20 Nov 2023 14:48:15 -0800 Received: from kbuild by b8de5498638e with local (Exim 4.96) (envelope-from ) id 1r5D3t-00071M-1K; Mon, 20 Nov 2023 22:48:13 +0000 Date: Tue, 21 Nov 2023 06:47:26 +0800 From: kernel test robot To: Valentin Schneider , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, linux-arch@vger.kernel.org, x86@kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Peter Zijlstra , Thomas Gleixner , Borislav Petkov , Josh Poimboeuf , Pawan Gupta , Ingo Molnar , Dave Hansen , "H. Peter Anvin" , Paolo Bonzini , Wanpeng Li , Vitaly Kuznetsov , Arnd Bergmann , Jason Baron , Steven Rostedt , Ard Biesheuvel , Frederic Weisbecker , "Paul E. McKenney" , Feng Tang , Andrew Morton , Linux Memory Management List , "Mike Rapoport (IBM)" , Vlastimil Babka , David Hildenbrand , "ndesaulniers@google.com" , Michael Kelley , "Masami Hiramatsu (Google)" Subject: Re: [PATCH 1/5] jump_label,module: Don't alloc static_key_mod for __ro_after_init keys Message-ID: <202311210601.9dbatTYU-lkp@intel.com> References: <20231120105528.760306-2-vschneid@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231120105528.760306-2-vschneid@redhat.com> X-Rspamd-Queue-Id: 36B6340004 X-Rspam-User: X-Rspamd-Server: rspam04 X-Stat-Signature: qw99kqgu5q73zzgiqqhtfo7spp1nkitb X-HE-Tag: 1700520504-48748 X-HE-Meta: U2FsdGVkX18LDmgC43kpsPGEqMdElRdh/BqOFaI9y4jBHvyDzsJRc8oDM3dKOj2Typ1/v7s4BX+9PRApFTCMI7iNKwm0nujAWNZrM9xA0WhHSYg1qfbNyNtZsenu9Y6OPuCsPMUxFbNPQe7xneomDDEEdO7jEIleWUdI5XOzXrybbQmfS5JE+Y50loUjYYukkiaOrfqV7TayJdAI8wafUP1kGUU/n6A9VaJD9iv+07Q+yzlu43hNTAB/bwoHUIHMR+M8YA+uckl84UP+hLaj+mzQKieOqdza3V+Ez5pV3dfe3l9kLetKRBoUSwCONguWn9J3XOyU8Ieavx9ihb5xGk7mGe9nqM5FuQAnKEuh206MypvQZryujjUZuUE75gg1/HVe8I8H+VGOU4mThXBeFJvSIa86IgAJxNwr/Edor1ReJK3eKm3K2jFNvbU6h439lTlGFONKIWI3Pn1jPo1PtzFBhzsBkwkkhMyRokF8Y3HZ88IpkdVRoqPeIRHBmezV1pgmNLHBnMvplDloC38/qnngGCU0sX5qYiCMc0HIEb0FjHksdfp2JicC+kJ+xZ6fk60NyHH70RrElB07FUbyKREmyOF5D5O4kDAFfHCkTgFCCYfh5LfN9G7ir704x1CkQx6InIW71qSAMBL7utUMhpiJdzOn/mhMHxkLlBYzo6HJOqwPs6tFYWhDpYARREb985DN8hlJOSHo2Gp6201GOEuvz+xG9TcSr4tTC0sX3Jv+dtOj0hK4kdkLucylY/QxqAdnlicRLjimdlnWxQ6ZeLDpsoYs9lxd9eZwB3WLk2X9KeArd8K5le+uiLI21aiN1UlQtg0hbOdlBfhPt6dHI918RvFvcYVLJK5992rUACmFGmRereLUgrw5EyAaa4p5Ev0Tsp5rjg3XrgMfHHD74YXlbn1l9qN6Rek0DLV+NyfXq0FCYMsk6MgeyDYOPaEaIFdqH/Io0f6rff7xLNZ J1QNwktp +vJrFYrfilX+YTx4tSVJCrulKKKGsp/a0T+gBGJdQOJU8DAIXWDx1nx6NmyLJr8hrxRYV1JHf+b3xn/p5LURVURNM4n7XJuyUgYmtgw1oO66AHg+fbsTp+V+gK/+D04NOlXfcfV0/ZsbBbo8vtjuezVHee/BdOftIO2Mlg9s2Rgp1CbtDp5tO2LLBqBaHw9NHFcu7/+aPdrAq/MnNGet5WUZf8cnbJViYWDKIctogWHCdpPfzL0SVmaHwFWRhVDETrY4Oy4ZBjxb+tYR80z9xMQqDYOqHdazwz1woA+O3XFi1CBAZOJoEZGvjC1V7NvAjbxGpMpJ/eErstnj5SuCCSixHA/DJ4gLm3gRLMgbAWu3AQgU5FbhD9dwGKmsQV4qU3ZT4rh02CxOYZpxkSWkrT+PL0aOPEGxyqAcaRgLqfE4dveWZdZspch/YTIK/y1sYvmSfB2Ub8eoY5UYQ6Tg8msbXCYJHwIkkpA// 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 Valentin, kernel test robot noticed the following build errors: [auto build test ERROR on tip/x86/core] [also build test ERROR on linus/master v6.7-rc2 next-20231120] [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/Valentin-Schneider/jump_label-module-Don-t-alloc-static_key_mod-for-__ro_after_init-keys/20231120-190044 base: tip/x86/core patch link: https://lore.kernel.org/r/20231120105528.760306-2-vschneid%40redhat.com patch subject: [PATCH 1/5] jump_label,module: Don't alloc static_key_mod for __ro_after_init keys config: i386-allnoconfig (https://download.01.org/0day-ci/archive/20231121/202311210601.9dbatTYU-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/20231121/202311210601.9dbatTYU-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/202311210601.9dbatTYU-lkp@intel.com/ All errors (new ones prefixed by >>): >> init/main.c:1406:3: error: call to undeclared function 'jump_label_ro'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] jump_label_ro(); ^ init/main.c:1406:3: note: did you mean 'jump_label_lock'? include/linux/jump_label.h:315:20: note: 'jump_label_lock' declared here static inline void jump_label_lock(void) {} ^ 1 error generated. vim +/jump_label_ro +1406 init/main.c 1394 1395 #ifdef CONFIG_STRICT_KERNEL_RWX 1396 static void mark_readonly(void) 1397 { 1398 if (rodata_enabled) { 1399 /* 1400 * load_module() results in W+X mappings, which are cleaned 1401 * up with call_rcu(). Let's make sure that queued work is 1402 * flushed so that we don't hit false positives looking for 1403 * insecure pages which are W+X. 1404 */ 1405 rcu_barrier(); > 1406 jump_label_ro(); 1407 mark_rodata_ro(); 1408 rodata_test(); 1409 } else 1410 pr_info("Kernel memory protection disabled.\n"); 1411 } 1412 #elif defined(CONFIG_ARCH_HAS_STRICT_KERNEL_RWX) 1413 static inline void mark_readonly(void) 1414 { 1415 pr_warn("Kernel memory protection not selected by kernel config.\n"); 1416 } 1417 #else 1418 static inline void mark_readonly(void) 1419 { 1420 pr_warn("This architecture does not have kernel memory protection.\n"); 1421 } 1422 #endif 1423 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki