Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp545069rdh; Tue, 19 Dec 2023 06:44:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IH6IQMuzUF6L/fZvFADqThw1IV/xebdBKdCyCv80lbljRXyomTR9BateSpSNgb4Z4hGg/oZ X-Received: by 2002:ac8:7f4b:0:b0:425:93d0:8267 with SMTP id g11-20020ac87f4b000000b0042593d08267mr1367519qtk.48.1702997070059; Tue, 19 Dec 2023 06:44:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702997070; cv=none; d=google.com; s=arc-20160816; b=LuZNjEyZ/DlHzmBcD4l2LusovW4bQ6aznnP2G0oGMZ0SckH/vRt2tkrEuxUtAfXkFM +aUMiilOMTugJ8/kxNK95ySrr5xaS/pY81zlk8xMDkzP5W/tqViJDEcVMqVMRoXcGpIP 2gUdrCGTn/Txyhf4Jd87xdwqak9a562ZXcfE2Vqr00kTY//iHcgpos/r9yllpAJFvAG0 7+nfkP9f1Pn47N1RhPLbXclEVGXER2qPQPqemFQKoB5Pocp7IW/VPtSUTkP2U/1tiITh nBWZG82NgHxgJZalqUyjkMPUVuvZBiY/+joe2wHYfs/N4aDgUEXiwWcbQREN7KqrG71m etaQ== 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=Ec49Y1Ch4Y7DbynL5qJ3/M6jv5kHIuiLATbynFYdEYk=; fh=/uzPeU29QQMA0kPNfjvxWjW5zMDjK6l0w3z4RztXhM0=; b=y5j0KGmky/5gDuoJ3hIT2mU2W0/32+pk+dKP9tOg8djXo7fKVNtgQodw1WUhXE8bNv eDmst8m1ipugmdpqp2g9rihjWPYLJ8Y8tPr/D8OAVu5Uy/Tdv7pN2Rq6fDm1DyxsWqeS QZRx12qDx7up7g+vS8uX/BBKmCew+epilIZmpjn6UgcydT+pFihk6Yy5TDCINyeT8YqX O8PQxEroVGTehM1ymAN7U6z+UnxJYSruCM+3SkjQiYfVMCrTdqygkuBVSYT4IaX9Lpqf TnfNwvW2Ik0SdAjpyYD9RBoMkh9VocgGCp06FZdsA/AC/PSxW7wgBszUf9jiNQu1pNDs mATg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dehLBIGr; spf=pass (google.com: domain of linux-kernel+bounces-5408-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5408-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id h12-20020ac8514c000000b004258582ed33si24275688qtn.692.2023.12.19.06.44.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 06:44:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5408-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dehLBIGr; spf=pass (google.com: domain of linux-kernel+bounces-5408-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5408-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id CA5171C248F8 for ; Tue, 19 Dec 2023 14:44:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 301AF1C29C; Tue, 19 Dec 2023 14:44:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dehLBIGr" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 648B01C282; Tue, 19 Dec 2023 14:44:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B5A9EC433C8; Tue, 19 Dec 2023 14:44:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702997061; bh=Ec49Y1Ch4Y7DbynL5qJ3/M6jv5kHIuiLATbynFYdEYk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dehLBIGr1LajE1OtvLVTLPVToTCjSzGsWdAe/pHVJeX2MIrC9m1mPTvooMTQrt3ta 7RGV4aXSoxoCh+Xnx0YICqWv36ry11nHS/nzEb8E87JqaOK6O/XvQtbWdjvWtFdlFk Ax4IumnD102EC7x7VhIiWz1tdIygL5RL82izs263RsC/22KrDePCqEiQffo0bzg/fx IH02+GzjOlMJyhx/ApVqSUrufavub2gGPQRrSNemUpbfH1eoTb1/7OlF+Izlp0YFig o46oeV75pUDtP1526DL2IImMqbrWtaAdCOgm36G8fWwsiUQCOCxzS0D6au1TxDVNBI BlUl90OFPwCbA== Date: Tue, 19 Dec 2023 14:44:17 +0000 From: Conor Dooley To: Baoquan He 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, akpm@linux-foundation.org, joe@perches.com, nathan@kernel.org Subject: Re: [PATCH v4 5/7] kexec_file, ricv: print out debugging message if required Message-ID: <20231219-twitch-many-ca8877857182@spud> References: <20231213055747.61826-1-bhe@redhat.com> <20231213055747.61826-6-bhe@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="s/6JoYHenWk4BZK6" Content-Disposition: inline In-Reply-To: <20231213055747.61826-6-bhe@redhat.com> --s/6JoYHenWk4BZK6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > Here replace pr_debug() with the newly added kexec_dprintk() in kexec_file > loading related codes. >=20 > 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. >=20 > And also remove kexec_image_info() because the content has been printed > out in generic code. >=20 > 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. Reviewed-by: Conor Dooley Cheers, Conor. --s/6JoYHenWk4BZK6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZYGsQQAKCRB4tDGHoIJi 0m1fAP9g+8AFIV/8mpsN7yszSR98AoukUk319L4Cyd7Ffhkl6wEA7poQh+JBuAOa YQJL75j4TedEPF5Y6iyMMP3w1MeKMAs= =JnLd -----END PGP SIGNATURE----- --s/6JoYHenWk4BZK6--