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 055641BF58 for ; Sat, 26 Jul 2025 23:34:33 +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=1753572874; cv=none; b=LKT4amUMcUgZ6tnFfyvsTTNQF405fg3RIzSVFGtkcJqtJ8z27GjMAMMyUfXQysAlkNEHss6ZKINrWBwc14CBiI+ZNmV7lcRjXHNsfBWGtFKtnMpsAvCPlMMD/kZlX3bt2iPmyYPVXDJPbiF0voYNrH0cbVPbGqDEhyApYCGfjy0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753572874; c=relaxed/simple; bh=lETZoogC8Mhxpyx7nTj4AM5tE7j4ErhLjrfwV1Or19s=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uhXnW7OlJDDF3bKkTXsFGrDF0Slvkj5z4hvObqz9dVdJMWNmdgwDHRAogQT5UwM34lb0eObu76CnGXeAdwD2uFupb6aedTRjp5NMWTJp2A4n6FJ3TVuWy2pWC4nx47wz/YMKNRRKJjITWjXW3Gb3q5DvkaBsGFUrN5ALdcQIz4k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=YmClHQjx; 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="YmClHQjx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6DFC3C4CEED; Sat, 26 Jul 2025 23:34:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1753572873; bh=lETZoogC8Mhxpyx7nTj4AM5tE7j4ErhLjrfwV1Or19s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YmClHQjxseuQo3IFc5K0pZFzCjH8lxBB2RL7HOLjNuiBLHK85sTcXMe6PK1KP1Bsr uVsnPPW/t2fAiiHUMFgdFCnRGeLASn5BT7MryGkk+CxX8mzyPEHt1ZAf581Em6wQxk 9h5L69vveoziDN1TRuJhSLmaqtpLU7b1GXuUNSg4aqeMZcFoCgVNfu9iuo1fmRqq8l o4hdXKuAVu3880ECeRWf61qWF4Yb92zgDWeV2bfZPgUwPXJnWCoUytNSYUEx92BSf2 jFeXcVWL/ILTB+zdZKXokrnqxTnSbIimoBXUevCf8zxWS8I3PUWn68vv922dscRQzs 2sliNGCQAtiGg== Date: Sat, 26 Jul 2025 16:34:31 -0700 From: Luis Chamberlain To: Chuck Lever Cc: Daniel Gomez , kdevops@lists.linux.dev Subject: Re: [PATCH 4/4] bootlinux: add support for A/B kernel testing Message-ID: References: <20250726011653.2622672-1-mcgrof@kernel.org> <20250726011653.2622672-5-mcgrof@kernel.org> <2e4f4201-7856-4753-bde7-4d71ca876389@kernel.org> Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2e4f4201-7856-4753-bde7-4d71ca876389@kernel.org> On Sat, Jul 26, 2025 at 07:16:07PM -0400, Chuck Lever wrote: > 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? Ah I though you wanted a kernel-commit and config used deterministic thing. So this sounds like something different. Where would this 12-hexit hash come from? The git commit? I guess perhaps I don't understand some other requirements you have yet. Luis