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 E170BE77372 for ; Sat, 30 Sep 2023 11:57:54 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E110F6B0080; Sat, 30 Sep 2023 07:57:53 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id DC04C6B0083; Sat, 30 Sep 2023 07:57:53 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C880D6B0085; Sat, 30 Sep 2023 07:57:53 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id B52516B0080 for ; Sat, 30 Sep 2023 07:57:53 -0400 (EDT) Received: from smtpin24.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 8303AB3250 for ; Sat, 30 Sep 2023 11:57:53 +0000 (UTC) X-FDA: 81293114826.24.929A40C Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by imf06.hostedemail.com (Postfix) with ESMTP id 0B63D180004 for ; Sat, 30 Sep 2023 11:57:49 +0000 (UTC) Authentication-Results: imf06.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=gmUzUo32; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf06.hostedemail.com: domain of lkp@intel.com designates 192.55.52.88 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=1696075071; 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=to6hVlRzcv4nbXHn7ryokZx0Gbok3+ugnRi/fbxHwK8=; b=bma02djqRUVAOGF4qav+F8Mw4KpUpew+mguPUi/1NK8W5O6zJjorwqnSrPGkDrT7p+Wy9g 8LMeXL47uWs0U9Cc/RMkgD4s6pdZX18T5Tj6Ol/ix8BRebNK5gdjMSb890OyquPQgea1KY Vk2XC2vb8HF1Z23lHGFeDccKBrW4/HU= ARC-Authentication-Results: i=1; imf06.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=gmUzUo32; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf06.hostedemail.com: domain of lkp@intel.com designates 192.55.52.88 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1696075071; a=rsa-sha256; cv=none; b=0bhylHuU4b5Ruiikor60Gu4atwQ21/t8Wk37qUi9heyi7DCHIfpKnji4AnAhKa6Pu8VxAo kFT3R2AV8u3bMWadnnoaltCOfOpydkJ3FjDojQdoKT/Kg5W1exxC2TTRyRwa19Ty91iNZl L50eWjrRDGUJu+HkQguqAprqXIfAuzQ= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1696075070; x=1727611070; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=PdU2bkeAHGUqnJlEXO1kGz3P3YD4ICw84B9+BzRlc2Q=; b=gmUzUo326x7XEaY2QR+9byFiYDcyOPRZveIAmGlzN4L5WEBj04qSyTxy HAwyBs4t/mb9AZmP6L3KkO6CpAE8QWKELmvYMkSbmoiIc0qHTIXSHi7DY CRLucThjo+M6YUDu//OczNSPaxyyKlvBaw9JSYq3j35HgYaLi4YXGfvG0 LHK6LoeGk34pZ035JRt5t7tS3ymKgIFlW54TD1OeK0wYArRajK+0CKzfA CwqaZ40kOKUGExA+5WcLtGWoRZ5WmkJqrdvhA0DsIOIV5nTuezDiy74Q1 1M25ByDdR6zTYoGKnluL4CnQ5FtLVFkopWYgMojE5gFKjhl0D2n24HObb w==; X-IronPort-AV: E=McAfee;i="6600,9927,10848"; a="413343959" X-IronPort-AV: E=Sophos;i="6.03,190,1694761200"; d="scan'208";a="413343959" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Sep 2023 04:57:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10848"; a="785342863" X-IronPort-AV: E=Sophos;i="6.03,190,1694761200"; d="scan'208";a="785342863" Received: from lkp-server02.sh.intel.com (HELO c3b01524d57c) ([10.239.97.151]) by orsmga001.jf.intel.com with ESMTP; 30 Sep 2023 04:57:43 -0700 Received: from kbuild by c3b01524d57c with local (Exim 4.96) (envelope-from ) id 1qmYbN-00046l-2a; Sat, 30 Sep 2023 11:57:41 +0000 Date: Sat, 30 Sep 2023 19:57:40 +0800 From: kernel test robot To: Joey Gouly , linux-arm-kernel@lists.infradead.org Cc: oe-kbuild-all@lists.linux.dev, nd@arm.com, akpm@linux-foundation.org, aneesh.kumar@linux.ibm.com, catalin.marinas@arm.com, dave.hansen@linux.intel.com, joey.gouly@arm.com, maz@kernel.org, oliver.upton@linux.dev, shuah@kernel.org, will@kernel.org, kvmarm@lists.linux.dev, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v1 09/20] arm64: define VM_PKEY_BIT* for arm64 Message-ID: <202309301944.jGh1qzvm-lkp@intel.com> References: <20230927140123.5283-10-joey.gouly@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230927140123.5283-10-joey.gouly@arm.com> X-Rspamd-Server: rspam09 X-Rspamd-Queue-Id: 0B63D180004 X-Stat-Signature: sw9w1yyypfm47r7bgfbojg8cqk7kcs15 X-Rspam-User: X-HE-Tag: 1696075069-817102 X-H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dPouL6rXIiSUEnGvrAc5NXHcDjpwsJ7uE5geop7KAj2y2J8Pa9Y91q1kemk6PrM0QJ8wFIG8Et+jYkQEl7fN0rvKI61kKv2DeHfOIACWEs49ELdQiaIQKeOxtNCK6cn2rWiuSK7xOaADiCrNsXpKn/7EMh0DQDmNwqovicdrktALX/1jo36d6TQ2XFWAmgxtt1NZUj0ZZ/ae+0xfcA505vkxyNNAyzJKMVD9OdGqbtjL3R3aDo7ldLVrmr+UDQkL/0loS2G6wzbHG2z41O0Vxci5FBbV98LDfAiEZjJd0hLAboSN+5dHdWLPjKkDDmHsWriQVGSWd9WJmt4f1kKB26IphduS6/0iRT5VkgmT3/o7t05wL6SVOTtViKkYkNUyy6P/SOUIJUknVa3jHW2Q 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: Hi Joey, kernel test robot noticed the following build errors: [auto build test ERROR on arm64/for-next/core] [also build test ERROR on linus/master v6.6-rc3 next-20230929] [cannot apply to akpm-mm/mm-everything kvmarm/next] [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/Joey-Gouly/arm64-sysreg-add-system-register-POR_EL-0-1/20230927-221459 base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core patch link: https://lore.kernel.org/r/20230927140123.5283-10-joey.gouly%40arm.com patch subject: [PATCH v1 09/20] arm64: define VM_PKEY_BIT* for arm64 config: arm64-randconfig-001-20230930 (https://download.01.org/0day-ci/archive/20230930/202309301944.jGh1qzvm-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230930/202309301944.jGh1qzvm-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/202309301944.jGh1qzvm-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from fs/proc/meminfo.c:5: arch/arm64/include/asm/mman.h: In function 'arch_calc_vm_prot_bits': >> include/linux/mm.h:346:25: error: 'VM_HIGH_ARCH_2' undeclared (first use in this function) 346 | # define VM_PKEY_BIT0 VM_HIGH_ARCH_2 /* A protection key is a 3-bit value on arm64 */ | ^~~~~~~~~~~~~~ arch/arm64/include/asm/mman.h:20:29: note: in expansion of macro 'VM_PKEY_BIT0' 20 | ret |= pkey & 0x1 ? VM_PKEY_BIT0 : 0; | ^~~~~~~~~~~~ include/linux/mm.h:346:25: note: each undeclared identifier is reported only once for each function it appears in 346 | # define VM_PKEY_BIT0 VM_HIGH_ARCH_2 /* A protection key is a 3-bit value on arm64 */ | ^~~~~~~~~~~~~~ arch/arm64/include/asm/mman.h:20:29: note: in expansion of macro 'VM_PKEY_BIT0' 20 | ret |= pkey & 0x1 ? VM_PKEY_BIT0 : 0; | ^~~~~~~~~~~~ >> include/linux/mm.h:347:25: error: 'VM_HIGH_ARCH_3' undeclared (first use in this function) 347 | # define VM_PKEY_BIT1 VM_HIGH_ARCH_3 | ^~~~~~~~~~~~~~ arch/arm64/include/asm/mman.h:21:29: note: in expansion of macro 'VM_PKEY_BIT1' 21 | ret |= pkey & 0x2 ? VM_PKEY_BIT1 : 0; | ^~~~~~~~~~~~ >> include/linux/mm.h:348:25: error: 'VM_HIGH_ARCH_4' undeclared (first use in this function) 348 | # define VM_PKEY_BIT2 VM_HIGH_ARCH_4 | ^~~~~~~~~~~~~~ arch/arm64/include/asm/mman.h:22:29: note: in expansion of macro 'VM_PKEY_BIT2' 22 | ret |= pkey & 0x4 ? VM_PKEY_BIT2 : 0; | ^~~~~~~~~~~~ vim +/VM_HIGH_ARCH_2 +346 include/linux/mm.h 343 344 #if defined(CONFIG_ARM64) 345 # define VM_PKEY_SHIFT VM_HIGH_ARCH_BIT_2 > 346 # define VM_PKEY_BIT0 VM_HIGH_ARCH_2 /* A protection key is a 3-bit value on arm64 */ > 347 # define VM_PKEY_BIT1 VM_HIGH_ARCH_3 > 348 # define VM_PKEY_BIT2 VM_HIGH_ARCH_4 349 # define VM_PKEY_BIT3 0 350 # define VM_PKEY_BIT4 0 351 #endif 352 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki