From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) (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 481FE3B52EA; Fri, 27 Feb 2026 22:56:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772232989; cv=none; b=Xol4a9bsL//Mhw+sCNTzF+/YGAXeim/hQVXpyDks4hKwF02F6eVFMjKjI75l85uqB/KwmFddEqelF3kEDPNygLBHTaKX0lG6TLlhxPuWY0O7mcy2X92+0jlghSRPqMLEj8Ya87D9roYqcZc3vVSgo2LUXQJD9hHjBGBy4w6CE00= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772232989; c=relaxed/simple; bh=U0J17v32ksmWhx/78xpg+Nz3+Nk3kvxsdR51MuM0I70=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=BMQyf3okQJ1jAIFRvPOSKWc5SuEhJTtUuSe28M1Hjt8c2Sx6enKTXwmHvJ5LITXyyicRKs5lC6PbpvJ8+FSfIhxMBguiWR7DvEFL9RF7WoKmynQQcko98SNnSFDBTSxsAvrhC/YV4RxPQPgNf9gq9VnhCeaR2p/DNvEO8X0PP/Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=QfLS52DG; arc=none smtp.client-ip=192.198.163.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="QfLS52DG" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1772232987; x=1803768987; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=U0J17v32ksmWhx/78xpg+Nz3+Nk3kvxsdR51MuM0I70=; b=QfLS52DGDgKxmRVt4ebtMJ7ldlJUcHHGCEtv3+imNW6A+WDN1jRZO2Oi ABVdrjiyHP7ZXmme5SxpcgH9BCUqa/8pZd+JJiblrcKQT/XK4zZP78h+f +NFQhpg4exJ8WBdmoSrlCVBJdyV90HtK2mni8geG1KayfzYVP7PJY7Lx/ ZPv+jNZicaPr82beukC6jcgYb1W9qGXlXg52/eHNsFpglAmaHCIK+Oz5e 4F7DxCPeqiz6VvmnmLPwxMfMNo/TXPkFuEzauy/D/vmmG8GpPdg6QlV5h 3QizeU1GB3cyNphiMxejCHyoFxfkGgZsRWeaiv08SWzk6ccH3JAHzvwJ5 w==; X-CSE-ConnectionGUID: s2Q6ghgESsOEYW9828MrpA== X-CSE-MsgGUID: 2dlZUEGNSaaK7KzQSfueqA== X-IronPort-AV: E=McAfee;i="6800,10657,11714"; a="77190590" X-IronPort-AV: E=Sophos;i="6.21,314,1763452800"; d="scan'208";a="77190590" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2026 14:56:26 -0800 X-CSE-ConnectionGUID: Gj8OruRNS5+rloaJ2M5xNw== X-CSE-MsgGUID: ehdBotFtTHOu+IA4PxmIIw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,314,1763452800"; d="scan'208";a="221172735" Received: from lkp-server02.sh.intel.com (HELO a3936d6a266d) ([10.239.97.151]) by orviesa003.jf.intel.com with ESMTP; 27 Feb 2026 14:56:19 -0800 Received: from kbuild by a3936d6a266d with local (Exim 4.98.2) (envelope-from ) id 1vw6kp-00000000B8V-2dsg; Fri, 27 Feb 2026 22:56:15 +0000 Date: Sat, 28 Feb 2026 06:56:15 +0800 From: kernel test robot To: Kevin Brodsky , linux-hardening@vger.kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Kevin Brodsky , Andrew Morton , Linux Memory Management List , Andy Lutomirski , Catalin Marinas , Dave Hansen , David Hildenbrand , Ira Weiny , Jann Horn , Jeff Xu , Joey Gouly , Kees Cook , Linus Walleij , Lorenzo Stoakes , Marc Zyngier , Mark Brown , Matthew Wilcox , Maxwell Bland , "Mike Rapoport (IBM)" , Peter Zijlstra , Pierre Langlois , Quentin Perret , Rick Edgecombe , Ryan Roberts , Thomas Gleixner , Vlastimil Babka , Will Deacon , Yang Shi Subject: Re: [PATCH v6 23/30] arm64: kpkeys: Ensure the linear map can be modified Message-ID: <202602280610.KQRFmbR3-lkp@intel.com> References: <20260227175518.3728055-24-kevin.brodsky@arm.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 In-Reply-To: <20260227175518.3728055-24-kevin.brodsky@arm.com> Hi Kevin, kernel test robot noticed the following build errors: [auto build test ERROR on 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f] url: https://github.com/intel-lab-lkp/linux/commits/Kevin-Brodsky/mm-Introduce-kpkeys/20260228-020115 base: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f patch link: https://lore.kernel.org/r/20260227175518.3728055-24-kevin.brodsky%40arm.com patch subject: [PATCH v6 23/30] arm64: kpkeys: Ensure the linear map can be modified config: arm64-randconfig-001-20260228 (https://download.01.org/0day-ci/archive/20260228/202602280610.KQRFmbR3-lkp@intel.com/config) compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 9a109fbb6e184ec9bcce10615949f598f4c974a9) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260228/202602280610.KQRFmbR3-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/202602280610.KQRFmbR3-lkp@intel.com/ All errors (new ones prefixed by >>): >> arch/arm64/mm/pageattr.c:100:3: error: call to undeclared function 'arm64_supports_kpkeys_hardened_pgtables'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 100 | arm64_supports_kpkeys_hardened_pgtables(); | ^ 1 error generated. -- >> arch/arm64/mm/mmu.c:768:3: error: call to undeclared function 'arm64_supports_kpkeys_hardened_pgtables'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 768 | arm64_supports_kpkeys_hardened_pgtables(); | ^ 1 error generated. vim +/arm64_supports_kpkeys_hardened_pgtables +100 arch/arm64/mm/pageattr.c 86 87 bool can_set_direct_map(void) 88 { 89 /* 90 * rodata_full, DEBUG_PAGEALLOC and a Realm guest all require linear 91 * map to be mapped at page granularity, so that it is possible to 92 * protect/unprotect single pages. 93 * 94 * KFENCE pool requires page-granular mapping if initialized late. 95 * 96 * Realms need to make pages shared/protected at page granularity. 97 */ 98 return rodata_full || debug_pagealloc_enabled() || 99 arm64_kfence_can_set_direct_map() || is_realm_world() || > 100 arm64_supports_kpkeys_hardened_pgtables(); 101 } 102 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki