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 769F4C3DA49 for ; Thu, 18 Jul 2024 22:23:02 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 0D52B6B0089; Thu, 18 Jul 2024 18:23:02 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 085566B0092; Thu, 18 Jul 2024 18:23:02 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EB60D6B0093; Thu, 18 Jul 2024 18:23:01 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id CEA756B0089 for ; Thu, 18 Jul 2024 18:23:01 -0400 (EDT) Received: from smtpin20.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 698181202B5 for ; Thu, 18 Jul 2024 22:23:01 +0000 (UTC) X-FDA: 82354299762.20.2E18F8A Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) by imf29.hostedemail.com (Postfix) with ESMTP id D57C012001D for ; Thu, 18 Jul 2024 22:22:58 +0000 (UTC) Authentication-Results: imf29.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=GveihC4V; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf29.hostedemail.com: domain of lkp@intel.com designates 198.175.65.12 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1721341348; a=rsa-sha256; cv=none; b=bMXgjitnzwQVoyHfGrrtFWW10Dj8cV2rl0cB60IiEEMNvgAv7KK60no8Pb7tZc71RLi1rT /15vD+EZleEvGFGvp6LxIiUCV5dIa5r8dKy2j1jAPRZDeGDbxwa0gnHEy95fkxqWVqQRiz ArsbsankcePTyOo+BSUti6w/1A2/PrY= ARC-Authentication-Results: i=1; imf29.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=GveihC4V; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf29.hostedemail.com: domain of lkp@intel.com designates 198.175.65.12 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=1721341348; 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=tdWhMiSgUOeqGsKtgSYacQYMr9bC37Zs/VVuaHeZj/o=; b=H92L+66Kh+p+Ay7rwFmsUxtI/rflX+4kqNARSkMkrbNAeVSa70pyS4ZJxGo3eJkHCHGrqp MTHgYn14dQjlQKRTELjGgHDPnNraAyVzmcPq/JDwKMFXIsGO9aS9tH1KGcHc4oa4mJzYjZ HKgkKWyI89za8ts/XOhJTgKHIkKHhls= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1721341379; x=1752877379; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Ig/Q3nC7lv0caDrDuLbp6u7AxC6DLNVhOorHAYQrHz4=; b=GveihC4Vkr4eRq8KUgRO6lsxv8pH3Udg+4+05CpVvB5XHWNhNRXBCvLV pG1BLNKqTkcS+4e/TMZMXcQ8qN+trofBwWORSTmaUvgu2uJfBxdkXcwO/ zEilvUwj2fZpF6K+OSctbuvgRf/yh+romhBJOckBWBuSTVkMDowGhTrZa dv6OOctI6gHrbpxYGLCkYimEEwr/23baFQs6Ym6UDwbeCiXp5Uio7++Ul 0z8PyzTWMaBlRYlPsw+B/7yPnILf8t83laMJWb7DgsX/0EzKFhDue+IL/ U7e/A1GjnOSv3B+iR5ZBnI6l5J5eDiVj4YqBKc6kOCdJnU2aVtYgqjIuz w==; X-CSE-ConnectionGUID: OWifULULTuuOo6OYsYH5Wg== X-CSE-MsgGUID: zNO5kuVTT2enVl9h6vxLTg== X-IronPort-AV: E=McAfee;i="6700,10204,11137"; a="30323018" X-IronPort-AV: E=Sophos;i="6.09,219,1716274800"; d="scan'208";a="30323018" Received: from orviesa006.jf.intel.com ([10.64.159.146]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jul 2024 15:22:58 -0700 X-CSE-ConnectionGUID: BOLf5UILSbuSa0ewlQSssQ== X-CSE-MsgGUID: 8c9y4aRRRbq/dYCvgvw1lQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,219,1716274800"; d="scan'208";a="51201732" Received: from lkp-server01.sh.intel.com (HELO 68891e0c336b) ([10.239.97.150]) by orviesa006.jf.intel.com with ESMTP; 18 Jul 2024 15:22:54 -0700 Received: from kbuild by 68891e0c336b with local (Exim 4.96) (envelope-from ) id 1sUZWV-000hcs-2l; Thu, 18 Jul 2024 22:22:51 +0000 Date: Fri, 19 Jul 2024 06:22:50 +0800 From: kernel test robot To: Oscar Salvador , Andrew Morton Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , linux-kernel@vger.kernel.org, Peter Xu , Muchun Song , Michal Hocko , Donet Tom , "Kirill A . Shutemov" , Matthew Wilcox , Vlastimil Babka , Oscar Salvador Subject: Re: [PATCH 4/9] arch/sparc: Teach arch_get_unmapped_area{_topdown} to handle hugetlb mappings Message-ID: <202407190616.9AIcabfU-lkp@intel.com> References: <20240718105903.19617-5-osalvador@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240718105903.19617-5-osalvador@suse.de> X-Rspamd-Queue-Id: D57C012001D X-Rspam-User: X-Rspamd-Server: rspam05 X-Stat-Signature: uuo8ade83f4bdqm7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pqN6+Rsyzy8gVyIbLSPt0baToQaOVquXZ71DBcuiFS2Uyn18JOJQms6hS7QIEmD2VJSI0qiy4K2HFJVqtJyj2aFy2iLpy9WJSlC+oLSHAmJjGiwymEu/d6CZMVQx2CD2HKb0x7ouTzI4BsIosEwfMPnpUpCuJJG3k0Zynyee3McsEBg1b7JTuomM4KE6RR6AY7Q5QwMlUAWHJKKzu2OM5yKDGlE/7d0FOVUne70wtYcPaJWE8icRjw+mDU/V4/UokRChtCZOEpoT378lmilK0LNVz+7p+hXPjCf4LluOYsNvxLc+cFL/A1816kZ4kin+ki4v/3KH8V9O5VDE4Zxo8XuBCw4tffeCxu3pPEuvgmH3bldp50SZ84sXKkd0ukF9Cqk29JzKBmXCXU6xpYH3Aaa6oO5g3 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 Oscar, kernel test robot noticed the following build errors: [auto build test ERROR on s390/features] [also build test ERROR on akpm-mm/mm-everything powerpc/next powerpc/fixes deller-parisc/for-next arnd-asm-generic/master linus/master v6.10 next-20240718] [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/Oscar-Salvador/mm-mmap-Teach-generic_get_unmapped_area-_topdown-to-handle-hugetlb-mappings/20240718-191208 base: https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git features patch link: https://lore.kernel.org/r/20240718105903.19617-5-osalvador%40suse.de patch subject: [PATCH 4/9] arch/sparc: Teach arch_get_unmapped_area{_topdown} to handle hugetlb mappings config: sparc64-defconfig (https://download.01.org/0day-ci/archive/20240719/202407190616.9AIcabfU-lkp@intel.com/config) compiler: sparc64-linux-gcc (GCC) 14.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240719/202407190616.9AIcabfU-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/202407190616.9AIcabfU-lkp@intel.com/ All errors (new ones prefixed by >>): arch/sparc/kernel/sys_sparc_64.c: In function 'get_align_mask': >> arch/sparc/kernel/sys_sparc_64.c:92:21: error: implicit declaration of function 'is_file_hugepages' [-Wimplicit-function-declaration] 92 | if (filp && is_file_hugepages(filp)) | ^~~~~~~~~~~~~~~~~ >> arch/sparc/kernel/sys_sparc_64.c:93:24: error: implicit declaration of function 'huge_page_mask_align' [-Wimplicit-function-declaration] 93 | return huge_page_mask_align(filp); | ^~~~~~~~~~~~~~~~~~~~ In file included from arch/sparc/include/asm/bug.h:25, from include/linux/bug.h:5, from include/linux/thread_info.h:13, from include/asm-generic/preempt.h:5, from ./arch/sparc/include/generated/asm/preempt.h:1, from include/linux/preempt.h:79, from include/linux/rcupdate.h:27, from include/linux/rculist.h:11, from include/linux/sched/signal.h:5, from arch/sparc/kernel/sys_sparc_64.c:11: arch/sparc/kernel/sys_sparc_64.c: In function 'arch_get_unmapped_area_topdown': >> include/asm-generic/bug.h:71:27: error: expected ',' or ';' before 'do' 71 | #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) | ^~ arch/sparc/kernel/sys_sparc_64.c:175:9: note: in expansion of macro 'BUG_ON' 175 | BUG_ON(!test_thread_flag(TIF_32BIT)); | ^~~~~~ vim +/is_file_hugepages +92 arch/sparc/kernel/sys_sparc_64.c 89 90 static unsigned long get_align_mask(struct file *filp, unsigned long flags) 91 { > 92 if (filp && is_file_hugepages(filp)) > 93 return huge_page_mask_align(filp); 94 if (filp || (flags & MAP_SHARED)) 95 return PAGE_MASK & (SHMLBA - 1); 96 97 return 0; 98 } 99 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki