Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp339440rdb; Tue, 19 Dec 2023 20:23:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IEUY/yBAwq5bTop0aU7kBpLpUF17xTCDY5LoVF4BzsXt28sSFLn8BRKzcO1lCesYafjxTan X-Received: by 2002:a05:6a20:88a6:b0:194:7c07:5f55 with SMTP id d38-20020a056a2088a600b001947c075f55mr2064257pzf.54.1703046194970; Tue, 19 Dec 2023 20:23:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703046194; cv=none; d=google.com; s=arc-20160816; b=WU91kJt3Pqqw0Tuq11ho6Aqtn7XstTnV8tm+MDsZnHeRk3qWVqS5N1OLlRF/Rnie4l 3wGtTGJ8MCBvUgIOwYWb0FAEeNVhmYtd7mr2hlq67ZZhJyT0sB5tq+1EfscBLUPhVb7j 6FSlhC9BKWwzYFe9N74yxbrG6+uGnMIWl6h/+dkkSM21axh7E7jvfVWObro0WrUyywak /Z1wiVqNVv+a0OhsxTFgMYFmODXdsm4Noz6GkIDdgoCqSn/ef32dkL08biUWxyvY4U5s bNxeR0ktDwwl4H3rNaQfDIIpH2rhtzMULBRrQtn2yRaqUV1he8EhgxB6sPnJy+OsO5YF Rbyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=G45CImyqsOOmdqDD2eGP+r9BP7+mm5bd9KiBb8nBAIM=; fh=5rlXGy/vGxPhuajaEQzJLafhUSE6f1RG33vntXSfKIY=; b=cM46AsxcuuRgyfxCoZ+RODoQMvQO1SdncwctqUCcWnRI9oFwNzngwJes4pERWj09wA rOFRCbgvi7PQTVl3hOCh8PXraILGMB5osf9Noj8xBVx3+X8t9pFZkU6WIpY0EmisAWUo tenXG218BY1mi0r7nyg6WusXhtc51ob2fJW8qHNCJskJ2fEdWqWYpXDK+5Zsoz2IgfCo OjYmGED53zKK+U7LyyBmYX+f+CtSPODVTncVMqOfcuGZAyfbGs4pIDl6vFI+UM6KSZ2T ZvesUV2dxIyJ/QPjlMazmhDump1/LbILtjLrgJBYijq/H6CvaHGOpSMU09WKiGUqzsXg rNAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=CiOGIy9K; spf=pass (google.com: domain of linux-kernel+bounces-6369-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6369-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id s2-20020a63f042000000b005c6859735fbsi20185763pgj.770.2023.12.19.20.23.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 20:23:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-6369-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=CiOGIy9K; spf=pass (google.com: domain of linux-kernel+bounces-6369-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6369-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 9B2DB283591 for ; Wed, 20 Dec 2023 04:23:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0B3E8208C3; Wed, 20 Dec 2023 04:22:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="CiOGIy9K" X-Original-To: linux-kernel@vger.kernel.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 560C9208B3 for ; Wed, 20 Dec 2023 04:22:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1703046157; 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: in-reply-to:in-reply-to:references:references; bh=G45CImyqsOOmdqDD2eGP+r9BP7+mm5bd9KiBb8nBAIM=; b=CiOGIy9Kw6oQ0ZpO2ZUNgNABmiAArjFHoSdR2EULO16V8MQGKXaTQVNbH8Cyd5B7Vyxjpo K0YNrlY3nmJwRvL3iwG4zkE5HCq/bQCbZEhFs5IGAeBQJgZ6PgPyTGghA6Rf8GASckkxQp gnc0zNJAjPYmVz3i8XVxHd9H5h9XPv0= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-433-Tu1M_nxTPP6L7Ts-3ewPyw-1; Tue, 19 Dec 2023 23:22:34 -0500 X-MC-Unique: Tu1M_nxTPP6L7Ts-3ewPyw-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (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 mimecast-mx02.redhat.com (Postfix) with ESMTPS id 6B6FA832D62; Wed, 20 Dec 2023 04:22:33 +0000 (UTC) Received: from localhost (unknown [10.72.116.38]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 83323492BE6; Wed, 20 Dec 2023 04:22:32 +0000 (UTC) Date: Wed, 20 Dec 2023 12:22:29 +0800 From: Baoquan He To: Conor Dooley , akpm@linux-foundation.org Cc: linux-kernel@vger.kernel.org, kexec@lists.infradead.org, x86@kernel.org, linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-parisc@vger.kernel.org, joe@perches.com, nathan@kernel.org Subject: Re: [PATCH v4 5/7] kexec_file, ricv: print out debugging message if required Message-ID: References: <20231213055747.61826-1-bhe@redhat.com> <20231213055747.61826-6-bhe@redhat.com> <20231219-twitch-many-ca8877857182@spud> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231219-twitch-many-ca8877857182@spud> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 On 12/19/23 at 02:44pm, Conor Dooley wrote: > On Wed, Dec 13, 2023 at 01:57:45PM +0800, Baoquan He wrote: > > Then when specifying '-d' for kexec_file_load interface, loaded > > locations of kernel/initrd/cmdline etc can be printed out to help debug. > > > > Here replace pr_debug() with the newly added kexec_dprintk() in kexec_file > > loading related codes. > > > > And also replace pr_notice() with kexec_dprintk() in elf_kexec_load() > > because loaded location of purgatory and device tree are only printed > > out for debugging, it doesn't make sense to always print them out. > > > > And also remove kexec_image_info() because the content has been printed > > out in generic code. > > > > Signed-off-by: Baoquan He > > I'm sorry - I meant to look at this several days ago but I forgot. > Apart from the typo that crept back into $subject, this version explains > the rationale behind what you're changing a lot better, thanks. Thanks for careful checking. I forgot the typo fixing you have pointed out in v3 reviewing. Hi Andrew, Could you help fix the typo in subject? [PATCH v4 5/7] kexec_file, ricv: print out debugging message if required ~~~ s/ricv/riscv/