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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 EF795D116E9 for ; Thu, 27 Nov 2025 02:36:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To: Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=3AEAbR0gVGeIowVjBXU+PyI9I7t2GwjCCsMWp6ST8Vc=; b=0jNMQr3poir9DYoCaJfeuVXlam //Zo1ezGA51Vu53Hw3Bgz5JyPYsFc9ymTVBimqXA6+GQe/8yg01vOdk6z04Dti4NARu8hRisYisdc ihDgUpmRi+hVQSjnwQ4LxRO3h3oyTI88pbKOJ0mNxQT3NZSGfHgJi/HFLGL68GNttoXqrw2Zg68Uy jXj5CRiVB04cfuvNeJH1OQq+7Vhh1uPSw+Qu6Iv08yh0nN3D+fTsoT7zxLcySZBVWjEHfMzjaBOLr TdUDi5dRsj02H4EhOR0rxSfBhK8jE5/nqLqYLDBl9ASwY7GVqRZCZoXXw4zk+hKq1e2JwDCFHaMKV gKp+5IgQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vORrx-0000000Fto8-0Q7k; Thu, 27 Nov 2025 02:36:29 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vORru-0000000Ftnn-1KKH for kexec@lists.infradead.org; Thu, 27 Nov 2025 02:36:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1764210984; h=from:from: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; bh=3AEAbR0gVGeIowVjBXU+PyI9I7t2GwjCCsMWp6ST8Vc=; b=RWPdGpGKFDM24C/whJPniyQgPQPQ8o+yADFdagGds53bHinV/ore0UTS4axf0V88emv2tc JMND9NQKl3072KVL38rRgdov9bSr3I6HJc+z2sStUeJP7/Z/4jGl5lqY+EuBZvl7rJOkDS uTkeGi0tfxB2ovvC1rh7+0yjZR1X4kU= Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-588-RXR5ftxvM_-dnRJwg7defQ-1; Wed, 26 Nov 2025 21:36:20 -0500 X-MC-Unique: RXR5ftxvM_-dnRJwg7defQ-1 X-Mimecast-MFC-AGG-ID: RXR5ftxvM_-dnRJwg7defQ_1764210979 Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id D20F2180034A; Thu, 27 Nov 2025 02:36:18 +0000 (UTC) Received: from localhost (unknown [10.72.112.107]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 4252619560A2; Thu, 27 Nov 2025 02:36:16 +0000 (UTC) Date: Thu, 27 Nov 2025 10:36:13 +0800 From: Baoquan He To: Qiang Ma Cc: akpm@linux-foundation.org, kexec@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 0/3] kexec: print out debugging message if required for kexec_load Message-ID: References: <20251126084427.3222212-1-maqianga@uniontech.com> <63BA9935197ADF34+2a3faf95-36da-46f1-b9b5-4e438e75d1be@uniontech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <63BA9935197ADF34+2a3faf95-36da-46f1-b9b5-4e438e75d1be@uniontech.com> X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251126_183626_449946_697946EF X-CRM114-Status: GOOD ( 19.44 ) X-BeenThere: kexec@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "kexec" Errors-To: kexec-bounces+kexec=archiver.kernel.org@lists.infradead.org On 11/27/25 at 10:04am, Qiang Ma wrote: > > 在 2025/11/27 09:47, Baoquan He 写道: > > Hi, > > > > On 11/26/25 at 04:44pm, Qiang Ma wrote: > > > Overview: > > > ========= > > > The commit a85ee18c7900 ("kexec_file: print out debugging message > > > if required") has added general code printing in kexec_file_load(), > > > but not in kexec_load(). > > > Since kexec_load and kexec_file_load are not triggered simultaneously, > > > we can unify the debug flag of kexec and kexec_file as kexec_dbg_print. > > As I said in your last post, this is not needed at all, you just add a > > not needed thing to kernel. > > > > So NACK this patchset, unless you have reason to justify it. Sorry about > > it. > The segment prints discussed in the last post, > > this patchset has been removed, leaving only type/start/head of kimage and > flags. > > > I think the current patchset is still necessary. > For example, renaming kexec_file_dbg_print is still necessary, but not for > kexec_file. How come renaming kexec_file_dbg_print is a justification in this case. No, kexec_file_dbg_print is named because it's only for kexec_file debugging printing. Because we have had enough debugging printing for kexec_load interface. Do you have difficulty on debugging printing of kexec_load?