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 7915E259C for ; Sat, 26 Jul 2025 23:16:09 +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=1753571769; cv=none; b=C1MrI4xZ5QEqarwWyuOqZ0Mt4sY/M+DgNI5w23+iTttC+NB9N/Nec+h0Yd/bDfP3f3dba0O9BEgLsI0afErQAEW28zk0ru6PzHgRqCHA55qOL84jb5a8WXsfeh6+gpZcOI3rNQ3queub+zcqIzliElTFDzPuCkpb7lDmY259e/o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753571769; c=relaxed/simple; bh=bcGSUe3vGjwTHlE40AngSkmPP7MgvCG1qbNdieLytKA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=NDayFKOwWzampGR/6yc68MsInWoIHkTjqQzifmnZiE8zit71P+r4LHWT/03Pwr6p9+jT8fFBEvfGqOolYSB3OPwnbNUVpn/DGxwb4HJ50mEZ50aeGwmbkjiQ4l6v1Xq9OmlW7enEUCbmQZHljz66nnf4ZUclQeaS0pcXDgY9FlM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dS0VXLSR; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dS0VXLSR" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C75E7C4CEED; Sat, 26 Jul 2025 23:16:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1753571769; bh=bcGSUe3vGjwTHlE40AngSkmPP7MgvCG1qbNdieLytKA=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=dS0VXLSRNyiV/iwr8iSUrFnmOBgu2IW1NVrlJgCWYMBsTASNZMgDHRBc8LqR0yEYE jQgY//d6tuodV4h49Eh7RIBkv2NCDvyZluFCuR/FcViFAXwumDWj0wFH8sbyAwK2Sk XoE5hYZVV4WU9aDYUcoCbyzXoMYZIAniGtnGec/C42oWGprpkvOKDspc/xhu/0jLtl Gg+PRPBiGaQ6oF2WLU7fOw+QsuGBGikC5WMiihTpH0X+BYloirGmfemHIjUL/j2tKa VWlZuGiSvPRVIee+mLcFl7pBykKMRjJLKD4ZStB/a+Ol3aIX+0hATD3gCKFVrtzAD4 H5zUoMezNKQnQ== Message-ID: <2e4f4201-7856-4753-bde7-4d71ca876389@kernel.org> Date: Sat, 26 Jul 2025 19:16:07 -0400 Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 4/4] bootlinux: add support for A/B kernel testing To: Luis Chamberlain Cc: Daniel Gomez , kdevops@lists.linux.dev References: <20250726011653.2622672-1-mcgrof@kernel.org> <20250726011653.2622672-5-mcgrof@kernel.org> Content-Language: en-US From: Chuck Lever Organization: kernel.org In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 7/26/25 6:46 PM, Luis Chamberlain wrote: > On Sat, Jul 26, 2025 at 01:21:16PM -0700, Luis Chamberlain wrote: >> Maybe we should enable CONFIG_IKCONFIG and CONFIG_IKCONFIG_PROC and >> to enhance this further perhaps we can also add either upstream to Linux >> or on kdevops an equivalent sha256sum of the config. So if not upstream >> on Linux we'd add to the kdevops kconfig cat linux/.config | sha256sum >> and I'd hope that $(zcat /proc/config.gz | sha256sum) on the runtime on >> the booted target DUT would match. > > Actually, augmenting the upstream way to append the version to *also* > append a checksum of the kernel config would be even more deterministic. > But this is getting out of hand in terms of how long that string would > get. I wonder if a) do we care about that long lenght b) if we should > have more information just printed on the kernel boot like this > metadata. Then uname -c or something could be added to, to help us get > the config checksum used. Well, we are basically looking for a way to identify which release is under test (or which RPM should be installed). Maybe the 12-hexit hash plus the build date is unique enough? -- Chuck Lever