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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (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 A0C81C3DA4A for ; Thu, 1 Aug 2024 08:07:48 +0000 (UTC) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=eQHR7tPx; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4WZM5b0RQCz3dDy for ; Thu, 1 Aug 2024 18:07:47 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=eQHR7tPx; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linux.ibm.com (client-ip=148.163.158.5; helo=mx0b-001b2d01.pphosted.com; envelope-from=sourabhjain@linux.ibm.com; receiver=lists.ozlabs.org) Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4WZM4p4v1Kz2ysc for ; Thu, 1 Aug 2024 18:07:06 +1000 (AEST) Received: from pps.filterd (m0353724.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4716TZk5025652; Thu, 1 Aug 2024 08:06:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s=pp1; bh=z EJ35kZA6S/kXGZD/9MxIB1NcUqP6U4ESYSerPwyfa8=; b=eQHR7tPxPlEQPCGue pFavgZHzwVk+OcKBpTMeB0eoO7sQpIwFz04kVwAqFZRtrSbEpdYMmhyNrdxvAbMu kge5VxgXc/shTm76iOAgRNCY6hJe/1cJSgXXv2fuZbjrkv5/wZj0VZ1qiYrXbita ZLvrbYAWA+VT9w/tjN9iqGFf0TUzVccacyadWbUuIVMN7O9mkAjrdpw9CMOWtPTK pu3kfQkZHsFgtnnyj7dTsswLkMC4FXS220tNml3kY9bcQwY3BAqxmXrtzTU8XY57 KhSzlh+S+EVmg+hPrWh/uJPS35VO/1wG26ieTCz9jb5xO0t1T8N4YU6aMpgFEjsk 8rwsg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 40r54u06ne-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 01 Aug 2024 08:06:55 +0000 (GMT) Received: from m0353724.ppops.net (m0353724.ppops.net [127.0.0.1]) by pps.reinject (8.18.0.8/8.18.0.8) with ESMTP id 47186sN9030950; Thu, 1 Aug 2024 08:06:54 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 40r54u06nc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 01 Aug 2024 08:06:54 +0000 (GMT) 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 47183b9n018969; Thu, 1 Aug 2024 08:06:54 GMT Received: from smtprelay03.fra02v.mail.ibm.com ([9.218.2.224]) by ppma21.wdc07v.mail.ibm.com (PPS) with ESMTPS id 40nc7q0m6j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 01 Aug 2024 08:06:53 +0000 Received: from smtpav02.fra02v.mail.ibm.com (smtpav02.fra02v.mail.ibm.com [10.20.54.101]) by smtprelay03.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 47186oka57344276 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 1 Aug 2024 08:06:52 GMT Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 06F2120040; Thu, 1 Aug 2024 08:06:50 +0000 (GMT) Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6D22F20043; Thu, 1 Aug 2024 08:06:47 +0000 (GMT) Received: from [9.43.79.112] (unknown [9.43.79.112]) by smtpav02.fra02v.mail.ibm.com (Postfix) with ESMTP; Thu, 1 Aug 2024 08:06:47 +0000 (GMT) Message-ID: Date: Thu, 1 Aug 2024 13:36:46 +0530 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] kexec/crash: no crash update when kexec in progress To: Baoquan He References: <20240731152738.194893-1-sourabhjain@linux.ibm.com> Content-Language: en-US From: Sourabh Jain In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: EmUxLjMbJNMxGW1YDEzR98PdsVJe6uf0 X-Proofpoint-ORIG-GUID: qj94FuyCbc8v7B-LkClrnY6NYyMkaLDR X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-08-01_04,2024-07-31_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 adultscore=0 clxscore=1015 suspectscore=0 bulkscore=0 mlxlogscore=864 phishscore=0 impostorscore=0 lowpriorityscore=0 mlxscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2407110000 definitions=main-2408010042 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: x86@kernel.org, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, Sachin P Bappalige , linuxppc-dev@lists.ozlabs.org, Hari Bathini Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Hello Baoquan, On 01/08/24 13:13, Baoquan He wrote: > On 07/31/24 at 08:57pm, Sourabh Jain wrote: >> The following errors are observed when kexec is done with SMT=off on >> powerpc. >> >> [ 358.458385] Removing IBM Power 842 compression device >> [ 374.795734] kexec_core: Starting new kernel >> [ 374.795748] kexec: Waking offline cpu 1. >> [ 374.875695] crash hp: kexec_trylock() failed, elfcorehdr may be inaccurate >> [ 374.935833] kexec: Waking offline cpu 2. >> [ 375.015664] crash hp: kexec_trylock() failed, elfcorehdr may be inaccurate >> snip.. >> [ 375.515823] kexec: Waking offline cpu 6. >> [ 375.635667] crash hp: kexec_trylock() failed, elfcorehdr may be inaccurate >> [ 375.695836] kexec: Waking offline cpu 7. >> >> During kexec, the offline CPUs are brought online, which triggers the > Is this a generic action or specific on ppc about the offline CPUs being > brought line during kexec? I think it is powerpc specific. Patch that introduced this on powerpc: e8e5c2155b003 ("powerpc/kexec: Fix orphaned offline CPUs across kexec") - Sourabh Jain