From mboxrd@z Thu Jan 1 00:00:00 1970 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 C3ECF32B988; Tue, 25 Nov 2025 17:55:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764093315; cv=none; b=e7LO7FVN2eQkAakeLwL+9XmsElLL9EexGcW5Zx7NNwF/xD4aR9kRIWVXF4IiaeZPkvhNdYQZt7hNslmjMFTQo4a2eCljnU4VQTh6juP0tlDM4Xa87o/M5Bi1h5OdKvvF8E7weL2A6x3iha6PO1joHBgvJYe65Jpd5KBuSmn6cCM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764093315; c=relaxed/simple; bh=epd08UzdMlvmzqtj+HCY9DpuXClNxvJWcZbzRWQ7yAE=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=SDadgOCSbMU+tkuYZ6w66bVWhUgz43XFIY9+cZJOtbehN/YNQ7HV0rcTKYHG1QKlALyp+pLP0YtQJDQ7mBNIASZJ3wygXDkRIL6Otnk/18nLCUufl1fBvzCZVpOpAsL4X5iJaK+OpabFrjf+lsUjZHaM580Shy1og8ldMbIglC0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=jewHqN6Q; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="jewHqN6Q" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 30E0DC116B1; Tue, 25 Nov 2025 17:55:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1764093314; bh=epd08UzdMlvmzqtj+HCY9DpuXClNxvJWcZbzRWQ7yAE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=jewHqN6Q8JXpkrnO8xyEZ+THGP+SCskynQdPSBGorR64+rzOhymUYJF2Nnflkb09L j4ZZ06SBTvDITg6FkFftLX0gVpDGQFBe2AZCLGI54GSYXYsYNiai9ioh1taHDTwwLs ciKmZp1ML+SBY75bu4ZrIfPhWOIL9x0vhyvsDa+o= Date: Tue, 25 Nov 2025 09:55:13 -0800 From: Andrew Morton To: Baoquan He Cc: Pingfan Liu , kexec@lists.infradead.org, linux-integrity@vger.kernel.org, Mimi Zohar , Roberto Sassu , Alexander Graf , Steven Chen , stable@vger.kernel.org Subject: Re: [PATCHv2 1/2] kernel/kexec: Change the prototype of kimage_map_segment() Message-Id: <20251125095513.d71dcf5aca95db49008cbc25@linux-foundation.org> In-Reply-To: References: <20251106065904.10772-1-piliu@redhat.com> <20251124141620.eaef984836fe2edc7acf9179@linux-foundation.org> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-integrity@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 25 Nov 2025 12:54:39 +0800 Baoquan He wrote: > On 11/24/25 at 02:16pm, Andrew Morton wrote: > > On Thu, 6 Nov 2025 14:59:03 +0800 Pingfan Liu wrote: > > > > > The kexec segment index will be required to extract the corresponding > > > information for that segment in kimage_map_segment(). Additionally, > > > kexec_segment already holds the kexec relocation destination address and > > > size. Therefore, the prototype of kimage_map_segment() can be changed. > > > > Could we please have some reviewer input on thee two patches? > > I have some concerns about the one place of tiny code change, and the > root cause missing in log. And Mimi sent mail to me asking why this bug > can'e be seen on her laptop, I told her this bug can only be triggered > on system where CMA area exists. I think these need be addressed in v3. Great, thanks, I'll drop this version.