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 7E657C4332F for ; Mon, 30 Oct 2023 07:57:14 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 115596B0191; Mon, 30 Oct 2023 03:57:14 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 0C5546B0192; Mon, 30 Oct 2023 03:57:14 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id ECF0A6B0193; Mon, 30 Oct 2023 03:57:13 -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 DD5976B0191 for ; Mon, 30 Oct 2023 03:57:13 -0400 (EDT) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id AA8BFA0570 for ; Mon, 30 Oct 2023 07:57:13 +0000 (UTC) X-FDA: 81401372346.06.98B311E Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by imf10.hostedemail.com (Postfix) with ESMTP id CDDDDC0009 for ; Mon, 30 Oct 2023 07:57:10 +0000 (UTC) Authentication-Results: imf10.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=YdMsFA6Z; dmarc=pass (policy=none) header.from=ibm.com; spf=pass (imf10.hostedemail.com: domain of sourabhjain@linux.ibm.com designates 148.163.156.1 as permitted sender) smtp.mailfrom=sourabhjain@linux.ibm.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1698652631; 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:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=x0DHrCrbA3J0aEmgZ2ZvFDDkwNYNZ9zfSIbaGC8A9BM=; b=U55x5qaAisYGCrKzWTkPysTnBDCCNyCuTbFyUDAqTS1OzzLsk9YNVeKs3iW5+2+nbucyt6 mh7vdhuv5utuCVah6Zdbql7MiCDjqiW3/tlXN0Br2DUEf6QMVhw+qzYbC7y81JUFMlXIGD jC6B3XZvYZjGMBfWeDICyV6yCYNhp0w= ARC-Authentication-Results: i=1; imf10.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=YdMsFA6Z; dmarc=pass (policy=none) header.from=ibm.com; spf=pass (imf10.hostedemail.com: domain of sourabhjain@linux.ibm.com designates 148.163.156.1 as permitted sender) smtp.mailfrom=sourabhjain@linux.ibm.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1698652631; a=rsa-sha256; cv=none; b=JYtg+qn31sxDD60bZXM2mzJNhwETgwBgVXh+gyHOc95Y/3FnvO1mKG7UX8jP3iwOBOE2R4 LIKmA25surBaDWG0ngOKOPvKvDSdzs1aU2skQbzQP6NJCY6dfx1AEfBPLliPrAhP2D1nRn 3+BiY0Aj6U4hjcMoNWFEruGdDduuGKo= Received: from pps.filterd (m0360083.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39U7BHrb015037; Mon, 30 Oct 2023 07:57:01 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pp1; bh=x0DHrCrbA3J0aEmgZ2ZvFDDkwNYNZ9zfSIbaGC8A9BM=; b=YdMsFA6ZjIVOyhlTTnA5EoPiCZCd5H6IpmegwJPLt9LawV2RXxB/ray400J5QPEY+8eL kTRKawZ647fqYP09G4a8eAFajgRP5g85oHBk8KQUwox14r0kMdRY9/RfSs3TICPnBXoy NwYyAltG+BiRedd/Fb7FthZy0Ih/oaD5nraRAjaR09w5IJKdflUPS9cDkGfaavzJ41Ml 6JBIBaKNMDkK8Mc++XZWjPbR2o6RXkzSnvqlUaQEXSUN6guWIUY/y5wpd2zAXE+bWH9x QYY1zeAmqLxPD8hB6s35LliPI4g5A0nz36mPY4NyZtgDeDQfIq7UIORCxFLnIncSih2P QA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3u251p4xjr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 30 Oct 2023 07:57:01 +0000 Received: from m0360083.ppops.net (m0360083.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 39U7KjNw024225; Mon, 30 Oct 2023 07:57:00 GMT Received: from ppma21.wdc07v.mail.ibm.com (5b.69.3da9.ip4.static.sl-reverse.com [169.61.105.91]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3u251p4xj2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 30 Oct 2023 07:57:00 +0000 Received: from pps.filterd (ppma21.wdc07v.mail.ibm.com [127.0.0.1]) by ppma21.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 39U5cHsw007713; Mon, 30 Oct 2023 07:56:59 GMT Received: from smtprelay03.fra02v.mail.ibm.com ([9.218.2.224]) by ppma21.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3u1dmn7kex-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 30 Oct 2023 07:56:58 +0000 Received: from smtpav05.fra02v.mail.ibm.com (smtpav05.fra02v.mail.ibm.com [10.20.54.104]) by smtprelay03.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 39U7utEk18940668 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 30 Oct 2023 07:56:55 GMT Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 98C6D2004B; Mon, 30 Oct 2023 07:56:55 +0000 (GMT) Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C036820040; Mon, 30 Oct 2023 07:56:51 +0000 (GMT) Received: from [9.43.56.123] (unknown [9.43.56.123]) by smtpav05.fra02v.mail.ibm.com (Postfix) with ESMTP; Mon, 30 Oct 2023 07:56:51 +0000 (GMT) Message-ID: Date: Mon, 30 Oct 2023 13:26:50 +0530 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v12 6/6] powerpc: add crash memory hotplug support To: kernel test robot , 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 , Akhil Raj , Andrew Morton , Linux Memory Management List References: <20231029124039.6158-7-sourabhjain@linux.ibm.com> <202310300812.yN6FuPcZ-lkp@intel.com> Content-Language: en-US From: Sourabh Jain In-Reply-To: <202310300812.yN6FuPcZ-lkp@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed X-TM-AS-GCONF: 00 X-Proofpoint-GUID: YUg_rupIguVp5iY-e6851HQxd-kryJB5 X-Proofpoint-ORIG-GUID: K7-O8qPNq3ZpO55X5WXf8VxaqHoKC1AI Content-Transfer-Encoding: 7bit X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-30_06,2023-10-27_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 bulkscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 lowpriorityscore=0 impostorscore=0 malwarescore=0 suspectscore=0 priorityscore=1501 spamscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2310240000 definitions=main-2310300059 X-Rspamd-Queue-Id: CDDDDC0009 X-Rspam-User: X-Rspamd-Server: rspam02 X-Stat-Signature: gqdkutj75woggeukopme3puy6rpii8r1 X-HE-Tag: 1698652630-432879 X-HE-Meta: U2FsdGVkX1/kqmckAfNenB/iExzXWIm0pj0wJpKfuAyRhSVwRjqmv1Egq4kPO4Yya3J78Nvm3XheSU2o2w5y6GcBmsRX3yvYW/MTY0NSRKQoKg4/Z2mxKZSWXYDf4y7mjkW0WEX13beeKjWCDtywyERtCVSIdn3drm9Nm6iii/16GzY1FA/OzK6TZKnouNefWGlEkyfmVy/X0jUIOjHd8lbXHypQjhuAhNr2rrL3GAOH4E9xhSDPetejZO5XReBfrCzXN08OcfmDr+pIzlYJbEYSXe0N8CbOMXUZ5fGIpIm8O/Vh6zIByux2ehnILuHsuGTEw0PGpI0hwh2GCIttrt6/c1xdxuWkAoi5H/UPJTNurPjWwBrLzO1xhbsCl2kRaOb7b8BEmm1TV6tsdFT1pvGu2qDERyVpcDPqCFnJeClPv2QfuJUzQHA3cItuD7HZ+2o8NRj9TBwL3WDJIyejG/p8sIjuexpjTFIrqrKo1PiXWbg63pmSU6+oUd8PeT4Gv0XEaDn8G3wDDJpIPXp5VZl6CuZWolJTIgRTM6l/ioBjR2n5WfH3NzF9Znmf7JdzwTbOlxynG6Rf0ryddsORZo+76dD8XM7cwTOpZuma7I6pp6nwuplPKRHJM1W84NidjqxiCcl+hDRv5n8I7fhN6rFhG7LqnrqP9//nN/0NIeh2I7XTKHg6O6DOAQ3a6v+/LbKOC6rAdSiBaBrVDgxP5wqjrh2Lt5f9qcoIxagY0HJOkgA/oYKsJdJEIrl+BR73wHvxCrlB25hmgQDDL958AFKdD1zCojOl7nPpXW2lhyv37MlyCPkQHWVjBroyHebp+DElIM6SximvzlCnkpsHyZ9k4FGUxdJ+nB4/VXQyneV0YZTyZ7Yla7RFdfYjy7ywFf9UV/XuPp1E6qNmi5hV0dAbjyKwEXCl7yYRgkXdk3NXnTEPpF3ClmPo5CNIONKJ9NI7UX2+Aab5nz7YcCP ew3GLM0e KJ/bFcU+0f46RjDbCeMd9wEHKjOjHT5DtS44GI2rb3ufpepHBHisYPKvLAt09Lct0mDZHO9CdZlCy+aiXe9BRqSsUl5gW7xNSDN7/vjN5BfPu9wUDi8JUNLSY1peDTvHgBqgVOWgWaSG+57m5dKJ9XqO8GZd+raNfmFjTTVlmwi74NJ0PXCVfQvPD28cIjos9vaGEkhdZV83KlhPIAT6GJSDGIRV3nRc+gQpxRSwW+TWo8vjujFCMGYgz1OcEA7FltiHqBZHj0U+GrnnRhMUXooyWZ0jy23SV+nMMZWzqRp3XCA6rL/aPK/U5CWpp7bumvxBDeiMWirg9jyLHXFeycII+UCDH2Xc/24dmULMn9OYnFSk9ozGteFDGGqz6wiVmcu69qXTV1owv0926lbkKUuZIQpc0sMlgeQmcgBfqKJP0o4RjSVHW8qc1wSjCGgJHfH/bnQOTC7Ps5Z9uA/4FrHJHANwshJ5RqQd9Uwp82wVY+Ag= 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: Hello, On 30/10/23 06:13, kernel test robot wrote: > Hi Sourabh, > > kernel test robot noticed the following build errors: > > [auto build test ERROR on akpm-mm/mm-everything] > [also build test ERROR on linus/master v6.6-rc7] > [cannot apply to powerpc/next powerpc/fixes tip/x86/core next-20231027] > [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-forward-memory_notify-arg-to-arch-crash-hotplug-handler/20231029-213858 > base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything > patch link: https://lore.kernel.org/r/20231029124039.6158-7-sourabhjain%40linux.ibm.com > patch subject: [PATCH v12 6/6] powerpc: add crash memory hotplug support > config: powerpc64-randconfig-001-20231029 (https://download.01.org/0day-ci/archive/20231030/202310300812.yN6FuPcZ-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/20231030/202310300812.yN6FuPcZ-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/202310300812.yN6FuPcZ-lkp@intel.com/ > > All errors (new ones prefixed by >>): > > powerpc64-linux-ld: warning: discarding dynamic section .glink > powerpc64-linux-ld: warning: discarding dynamic section .plt > powerpc64-linux-ld: linkage table error against `add_opal_mem_range' > powerpc64-linux-ld: stubs don't match calculated size > powerpc64-linux-ld: can not build stubs: bad value > powerpc64-linux-ld: arch/powerpc/kexec/core_64.o: in function `get_crash_memory_ranges': > core_64.c:(.text+0x1010): undefined reference to `add_mem_range' > powerpc64-linux-ld: core_64.c:(.text+0x1064): undefined reference to `sort_memory_ranges' > powerpc64-linux-ld: core_64.c:(.text+0x1128): undefined reference to `add_rtas_mem_range' > powerpc64-linux-ld: core_64.c:(.text+0x1140): undefined reference to `add_opal_mem_range' > powerpc64-linux-ld: core_64.c:(.text+0x1160): undefined reference to `add_mem_range' > powerpc64-linux-ld: core_64.c:(.text+0x1188): undefined reference to `sort_memory_ranges' > powerpc64-linux-ld: core_64.c:(.text+0x11e0): undefined reference to `realloc_mem_ranges' > powerpc64-linux-ld: arch/powerpc/kexec/core_64.o: in function `arch_crash_handle_hotplug_event': >>> core_64.c:(.text+0x1900): undefined reference to `remove_mem_range' The patch series uses a couple of functions defined in arch/powerpc/kexec/ranges.c. Since this file only builds when CONFIG_KEXEC_FILE is set, we are encountering this build issue. If CONFIG_KEXEC_FILE is set, then this issue is not observed. I will fix the above warnings and post the next version. Thanks, Sourabh