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 A590FC433F5 for ; Tue, 8 Mar 2022 13:47:30 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1727D8D000E; Tue, 8 Mar 2022 08:47:30 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 1229A8D0009; Tue, 8 Mar 2022 08:47:30 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id F2C168D000E; Tue, 8 Mar 2022 08:47:29 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.hostedemail.com [64.99.140.27]) by kanga.kvack.org (Postfix) with ESMTP id E0E858D0009 for ; Tue, 8 Mar 2022 08:47:29 -0500 (EST) Received: from smtpin04.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay11.hostedemail.com (Postfix) with ESMTP id A40A681F5A for ; Tue, 8 Mar 2022 13:47:29 +0000 (UTC) X-FDA: 79221346218.04.0055161 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by imf22.hostedemail.com (Postfix) with ESMTP id 88961C000F for ; Tue, 8 Mar 2022 13:47:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646747248; x=1678283248; h=date:from:to:cc:subject:message-id:mime-version; bh=acAPgLMnth5IGuQnibPrNHXDwjpfPkwqpcYPxc9EvbU=; b=UOn9udeYBXJ0OmoWTfQCAXZHPPyN3/qWa/7NR7CYHb8FJSThevX1KfkL ciss5pe61oyNO790S7ENqMiXe6ME4+sGs3SH5gdMABmF33TuDZCBPCOXw 2ShVqqCbzXbKgDWBbF1L8OLKfGx7YYeW7d47BTWxG8UXK97Oli/DpJy9Z xChezszf5VKtSMHcOxjpY3hACZ7uSPcZOV8CRGUh+XpBgzSjvz6suWveH cdAh7h5UttxjM2SddcBlzxXNm2zIzA0CBDM9SEu5d3dTMlg55pquMzcJy 4BiPLN9XlQ9a3gCTH5ijpQwVHjA0Np9AKtyzkYmp32HSvoRsFfyBqJtOG g==; X-IronPort-AV: E=McAfee;i="6200,9189,10279"; a="254874364" X-IronPort-AV: E=Sophos;i="5.90,165,1643702400"; d="scan'208";a="254874364" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Mar 2022 05:47:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,165,1643702400"; d="scan'208";a="687922652" Received: from lkp-server02.sh.intel.com (HELO 89b41b6ae01c) ([10.239.97.151]) by fmsmga001.fm.intel.com with ESMTP; 08 Mar 2022 05:47:25 -0800 Received: from kbuild by 89b41b6ae01c with local (Exim 4.92) (envelope-from ) id 1nRaBQ-0001U6-I2; Tue, 08 Mar 2022 13:47:24 +0000 Date: Tue, 8 Mar 2022 21:46:32 +0800 From: kernel test robot To: Catalin Marinas Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Linux Memory Management List , Will Deacon , Mark Brown Subject: [linux-next:master 5498/11353] arch/arm64/kernel/elfcore.c:25:12: warning: stack frame size (2160) exceeds limit (2048) in 'mte_dump_tag_range' Message-ID: <202203082106.zo0jBw7M-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspam-User: X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: 88961C000F X-Stat-Signature: wyjckgsgp16kwbkqscm4qyw3n61qt1k4 Authentication-Results: imf22.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=UOn9udeY; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf22.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.115) smtp.mailfrom=lkp@intel.com X-HE-Tag: 1646747248-829918 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: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: cb153b68ff91cbc434f3de70ac549e110543e1bb commit: 6dd8b1a0b6cb3ed93d24110e02e67ff9d006610a [5498/11353] arm64: mte: Dump the MTE tags in the core file config: arm64-buildonly-randconfig-r001-20220308 (https://download.01.org/0day-ci/archive/20220308/202203082106.zo0jBw7M-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=6dd8b1a0b6cb3ed93d24110e02e67ff9d006610a git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 6dd8b1a0b6cb3ed93d24110e02e67ff9d006610a # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kernel/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> arch/arm64/kernel/elfcore.c:25:12: warning: stack frame size (2160) exceeds limit (2048) in 'mte_dump_tag_range' [-Wframe-larger-than] static int mte_dump_tag_range(struct coredump_params *cprm, ^ 1 warning generated. vim +/mte_dump_tag_range +25 arch/arm64/kernel/elfcore.c 23 24 /* Derived from dump_user_range(); start/end must be page-aligned */ > 25 static int mte_dump_tag_range(struct coredump_params *cprm, 26 unsigned long start, unsigned long end) 27 { 28 unsigned long addr; 29 30 for (addr = start; addr < end; addr += PAGE_SIZE) { 31 char tags[MTE_PAGE_TAG_STORAGE]; 32 struct page *page = get_dump_page(addr); 33 34 /* 35 * get_dump_page() returns NULL when encountering an empty 36 * page table entry that would otherwise have been filled with 37 * the zero page. Skip the equivalent tag dump which would 38 * have been all zeros. 39 */ 40 if (!page) { 41 dump_skip(cprm, MTE_PAGE_TAG_STORAGE); 42 continue; 43 } 44 45 /* 46 * Pages mapped in user space as !pte_access_permitted() (e.g. 47 * PROT_EXEC only) may not have the PG_mte_tagged flag set. 48 */ 49 if (!test_bit(PG_mte_tagged, &page->flags)) { 50 put_page(page); 51 dump_skip(cprm, MTE_PAGE_TAG_STORAGE); 52 continue; 53 } 54 55 mte_save_page_tags(page_address(page), tags); 56 put_page(page); 57 if (!dump_emit(cprm, tags, MTE_PAGE_TAG_STORAGE)) 58 return 0; 59 } 60 61 return 1; 62 } 63 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org