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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3A6F6CD11DD for ; Wed, 27 Mar 2024 02:07:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=LpGLEl9WV3Uy9dmAh4Lv/sH9FxA+v+wXIKjjNKfNtWc=; b=saBfjOe1IgnJcM YMfpEFrFE2C2Ay2eSBYn2GIu3S25OHjpSZCxujQ7tW+6A68rarRQvwf6NmPiwJpJ94PziGhpk8AR3 lV8kHB5hdk3CxK3dVU6A6gR43ebPMqJNNVQTNT/WN6LzFxcOSCxDdW/zV59QOm0/+vGOaO8QOOXPh AKEyTV5E3e1FmU1ATkys0KEDeMQJ7DIQ/MMG3ROgcHT64UItw0bbY+psfS/ZbgEP3qnqLCjpqNnn1 x/I3pOwjUK2kGzNYzXdbW67IMCMtz08rR/rMcw+bIrZdToWN2pHsm1S91HOjC3k54g8ZUz/VkRnOA NNNnS5a6ZMInOsfmbJiQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpIgZ-00000007Ajg-3pKi; Wed, 27 Mar 2024 02:06:40 +0000 Received: from mgamail.intel.com ([198.175.65.12]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpIfD-00000007A7u-3n88 for linux-arm-kernel@lists.infradead.org; Wed, 27 Mar 2024 02:05:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1711505116; x=1743041116; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=KNmTlJTRGy6Bojm7LfbS2Dlqybz3qxOHveKiVBO4lDA=; b=bHCwNIpOIMwtUNUIYmDqxZ+Tx73h7jUErQdmfFtzbAE48UQsIvGodK64 Et6yriAnjWL74f9t8XD9p4CbtU8yWXgaLQu2ZxWLh3yaMiDw4A8iGN2X9 0IndXCAiPhWIud7AniqhIr+vimMaD53CJOvkq16JOeaBkNunI3UX6menm q1DX+AxtVkthQuoqNpZvA2EmohoEfIa/7P/U8WTUftChBmQBiLi2w7ywn c5qF0ZjxwYAF5iFTxdeHi975np0rQscMf80tmFzWBTQHDykSny7m9rVHw qpx5iQIjIkhzGYw7wFCIUxXm/gohiMO4mXrjYuxN1RzqDR//CFIXPmR1X A==; X-CSE-ConnectionGUID: CeD/lpngSe6vNJx/bg/SSg== X-CSE-MsgGUID: 6nKkeOn0THOD8yDOfSyz5g== X-IronPort-AV: E=McAfee;i="6600,9927,11025"; a="18017537" X-IronPort-AV: E=Sophos;i="6.07,157,1708416000"; d="scan'208";a="18017537" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2024 19:05:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,157,1708416000"; d="scan'208";a="39245072" Received: from lkp-server01.sh.intel.com (HELO be39aa325d23) ([10.239.97.150]) by fmviesa002.fm.intel.com with ESMTP; 26 Mar 2024 19:05:09 -0700 Received: from kbuild by be39aa325d23 with local (Exim 4.96) (envelope-from ) id 1rpIf5-0000do-2S; Wed, 27 Mar 2024 02:05:07 +0000 Date: Wed, 27 Mar 2024 10:05:04 +0800 From: kernel test robot To: Ryan Roberts , Catalin Marinas , Will Deacon , Mark Rutland , Ard Biesheuvel , David Hildenbrand , Donald Dutile , Eric Chanudet Cc: oe-kbuild-all@lists.linux.dev, Ryan Roberts , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 2/3] arm64: mm: Don't remap pgtables for allocate vs populate Message-ID: <202403270906.zFGZ2FXl-lkp@intel.com> References: <20240326101448.3453626-3-ryan.roberts@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240326101448.3453626-3-ryan.roberts@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240326_190516_259601_8A4391DE X-CRM114-Status: GOOD ( 13.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Ryan, kernel test robot noticed the following build errors: [auto build test ERROR on linus/master] [also build test ERROR on v6.9-rc1 next-20240326] [cannot apply to arm64/for-next/core arm-perf/for-next/perf arm/for-next arm/fixes kvmarm/next soc/for-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/Ryan-Roberts/arm64-mm-Don-t-remap-pgtables-per-cont-pte-pmd-block/20240326-181754 base: linus/master patch link: https://lore.kernel.org/r/20240326101448.3453626-3-ryan.roberts%40arm.com patch subject: [PATCH v1 2/3] arm64: mm: Don't remap pgtables for allocate vs populate config: x86_64-rhel-8.3 (https://download.01.org/0day-ci/archive/20240327/202403270906.zFGZ2FXl-lkp@intel.com/config) compiler: gcc-12 (Ubuntu 12.3.0-9ubuntu2) 12.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240327/202403270906.zFGZ2FXl-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/202403270906.zFGZ2FXl-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from include/linux/mm.h:29, from include/linux/memcontrol.h:21, from include/linux/swap.h:9, from include/linux/suspend.h:5, from arch/x86/kernel/asm-offsets.c:14: >> include/linux/pgtable.h:87:29: error: redefinition of 'p4d_index' 87 | static inline unsigned long p4d_index(unsigned long address) | ^~~~~~~~~ In file included from arch/x86/include/asm/tlbflush.h:16, from arch/x86/include/asm/uaccess.h:17, from include/linux/uaccess.h:11, from include/linux/sched/task.h:13, from include/linux/sched/signal.h:9, from include/linux/rcuwait.h:6, from include/linux/percpu-rwsem.h:7, from include/linux/fs.h:33, from include/linux/compat.h:17, from arch/x86/include/asm/ia32.h:7, from arch/x86/include/asm/elf.h:10, from include/linux/elf.h:6, from include/linux/module.h:19, from include/crypto/aria.h:22, from arch/x86/kernel/asm-offsets.c:10: arch/x86/include/asm/pgtable.h:1134:29: note: previous definition of 'p4d_index' with type 'long unsigned int(long unsigned int)' 1134 | static inline unsigned long p4d_index(unsigned long address) | ^~~~~~~~~ make[3]: *** [scripts/Makefile.build:117: arch/x86/kernel/asm-offsets.s] Error 1 make[3]: Target 'prepare' not remade because of errors. make[2]: *** [Makefile:1197: prepare0] Error 2 make[2]: Target 'prepare' not remade because of errors. make[1]: *** [Makefile:240: __sub-make] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:240: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +/p4d_index +87 include/linux/pgtable.h 85 86 #ifndef p4d_index > 87 static inline unsigned long p4d_index(unsigned long address) 88 { 89 return (address >> P4D_SHIFT) & (PTRS_PER_P4D - 1); 90 } 91 #define p4d_index p4d_index 92 #endif 93 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel