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 6C500C4167B for ; Tue, 5 Dec 2023 16:49:16 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BD6556B0085; Tue, 5 Dec 2023 11:49:15 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id B866A6B0087; Tue, 5 Dec 2023 11:49:15 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A4E776B0088; Tue, 5 Dec 2023 11:49:15 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 91DBB6B0085 for ; Tue, 5 Dec 2023 11:49:15 -0500 (EST) Received: from smtpin28.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 6DA491601C5 for ; Tue, 5 Dec 2023 16:49:15 +0000 (UTC) X-FDA: 81533349870.28.BDDCCD1 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by imf03.hostedemail.com (Postfix) with ESMTP id 0AA0020014 for ; Tue, 5 Dec 2023 16:49:12 +0000 (UTC) Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=SwH+Laaq; spf=pass (imf03.hostedemail.com: domain of lkp@intel.com designates 134.134.136.24 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1701794953; 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=oTsimNGq1HlMEfZtUsP0D2YwNrkyZavRNJ1UzFgLlxo=; b=S1z+r4xe9w6NzT1xoslzArdKkC9WSlsFN/w18A2uX31sLHnIfBSKgtuyTe0DHWHDaTbzZT y+OGEJYHz/YXeHSiTB06s8I3DN/6vSjUPdMfuCo1963+1aYEBR1XehioOkMKsxC1HZVSRi +H0wg3qme58jUZbQf3Tjdzi11+SOseY= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1701794953; a=rsa-sha256; cv=none; b=TkdqR0QuI6vcXolciuAPxcfL7VgDffJSsi9/l0OEy0Ol14xQ1Pk099zNKkyKYQWuH2yV5q 4eOBVJZIxHlSirmkOIsBZpz99jbWpVJtUaw2KHE6gtQ9nUeMwyyMrDvIBBWCTDxFc4vxoL qDAaFQxIwzoaMOJCkO0C3hXosY8v8VE= ARC-Authentication-Results: i=1; imf03.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=SwH+Laaq; spf=pass (imf03.hostedemail.com: domain of lkp@intel.com designates 134.134.136.24 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701794953; x=1733330953; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=7vZuH5HdSCPRNmPWg/voqIUI80Iu2AQu2Qzt7cwlHqI=; b=SwH+LaaqgMZ+mISmH949NizLA5PF7TE6//Bl6RWSzier48B5bgsPmpYw 5gYlt8B6SWYGSeu49jLWKBLBpH+NYTQqMCIBfaRY8L/fPmm+KRYPOeIxH rUkfVnal+z+h3oUDNu/LyxiiYbjH3erXEyHDmHdb5ntRaU+Gt1gIiWD86 N4fpB7hMSyx6PS7pwf4gtfuxhLFEkk+PSsKp7AldsLaNXvzQmksNVKsGj 4/Ng1rafJAJMixybpR4TuUwZUZ1jEqA4ENDhO6DXpcIAlxvyLdUSlCh0g gVzyRxBqOwbpay/aw4aOOC6Xk+/iIq/m3QJNP6qMK2Jct3Mpx8Qvisd3B A==; X-IronPort-AV: E=McAfee;i="6600,9927,10915"; a="396714335" X-IronPort-AV: E=Sophos;i="6.04,252,1695711600"; d="scan'208";a="396714335" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Dec 2023 08:49:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10915"; a="944328444" X-IronPort-AV: E=Sophos;i="6.04,252,1695711600"; d="scan'208";a="944328444" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by orsmga005.jf.intel.com with ESMTP; 05 Dec 2023 08:49:05 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rAYbU-0009OE-1c; Tue, 05 Dec 2023 16:49:00 +0000 Date: Wed, 6 Dec 2023 00:48:40 +0800 From: kernel test robot To: Sourabh Jain , linuxppc-dev@ozlabs.org Cc: oe-kbuild-all@lists.linux.dev, David Hildenbrand , Dave Hansen , Mimi Zohar , Eric DeVolder , Boris Ostrovsky , Valentin Schneider , Baoquan He , x86@kernel.org, Laurent Dufour , Dave Young , Vivek Goyal , Borislav Petkov , Thomas Gleixner , Hari Bathini , Oscar Salvador , Greg Kroah-Hartman , kexec@lists.infradead.org, Mahesh Salgaonkar , Sourabh Jain , Akhil Raj , Andrew Morton , Linux Memory Management List Subject: Re: [PATCH v13 6/6] powerpc: add crash memory hotplug support Message-ID: <202312060059.JITEJl8B-lkp@intel.com> References: <20231204053253.25305-7-sourabhjain@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231204053253.25305-7-sourabhjain@linux.ibm.com> X-Rspamd-Queue-Id: 0AA0020014 X-Rspam-User: X-Rspamd-Server: rspam11 X-Stat-Signature: 9boun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ncNEDwjQrzRJJf5x2YLvzGZZlISgJqnU2rocE/+BkJZywK/0JojvybhBbYnWCTVxtpG/8P6isoBowOPAC1j9zEE6qfu3zcX2fLsldymWLrW3R5YQGFaQvDpumKHRQxpeiBoHKr4rZ5pzrNCkrJ1oU1MVx/x/7VApgVDhOyxb06vMnxOm80ynURQAQW0COpoc+9UoQ+i22Dl/D4yA9Qb6UPVzfQe49pZAR2VVs7MvCpTb+ww758QD+GoegnNbEsrY9NlzEXhY6A+xPWTdAgunFXezJ6odbe8qW+VsDRaHmMAlak8Wx3rKMi7bvxd8ju1kHgs76wnn0tWAoejU06iEmSsMAZLr1GgEIQETV/wqjrrcC8smr46GLEMUCKpYNt26yWAY2cox7nGVdEa4QTofElCkjN+LKu5523lfZPtgCmxQ== 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 Sourabh, kernel test robot noticed the following build errors: [auto build test ERROR on powerpc/next] [also build test ERROR on powerpc/fixes tip/x86/core akpm-mm/mm-everything linus/master v6.7-rc4 next-20231205] [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/Sourabh-Jain/crash-make-CPU-and-Memory-hotplug-support-reporting-flexible/20231204-143305 base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next patch link: https://lore.kernel.org/r/20231204053253.25305-7-sourabhjain%40linux.ibm.com patch subject: [PATCH v13 6/6] powerpc: add crash memory hotplug support config: powerpc64-randconfig-001-20231205 (https://download.01.org/0day-ci/archive/20231206/202312060059.JITEJl8B-lkp@intel.com/config) compiler: powerpc64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231206/202312060059.JITEJl8B-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/202312060059.JITEJl8B-lkp@intel.com/ All errors (new ones prefixed by >>): arch/powerpc/kexec/core_64.c: In function 'arch_crash_get_elfcorehdr_size': >> arch/powerpc/kexec/core_64.c:595:33: error: implicit declaration of function 'memory_hotplug_max' [-Werror=implicit-function-declaration] 595 | elf_phdr_cnt += memory_hotplug_max() / (2 * drmem_lmb_size()); | ^~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/memory_hotplug_max +595 arch/powerpc/kexec/core_64.c 579 580 /* 581 * Advertise preferred elfcorehdr size to userspace via 582 * /sys/kernel/crash_elfcorehdr_size sysfs interface. 583 */ 584 unsigned int arch_crash_get_elfcorehdr_size(void) 585 { 586 unsigned int sz; 587 unsigned long elf_phdr_cnt; 588 589 /* Program header for CPU notes and vmcoreinfo */ 590 elf_phdr_cnt = 2; 591 if (IS_ENABLED(CONFIG_MEMORY_HOTPLUG)) 592 /* In the worst case, a Phdr is needed for every other LMB to be 593 * represented as an individual crash range. 594 */ > 595 elf_phdr_cnt += memory_hotplug_max() / (2 * drmem_lmb_size()); 596 597 /* Do not cross the max limit */ 598 if (elf_phdr_cnt > PN_XNUM) 599 elf_phdr_cnt = PN_XNUM; 600 601 sz = sizeof(struct elfhdr) + (elf_phdr_cnt * sizeof(Elf64_Phdr)); 602 return sz; 603 } 604 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki