[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2vxz3438smvs.fsf@kernel.org>
Date: Tue, 10 Feb 2026 15:18:15 +0100
From: Pratyush Yadav <pratyush@...nel.org>
To: Mike Rapoport <rppt@...nel.org>
Cc: Jordan Richards <jordanrichards@...gle.com>, Pasha Tatashin
<pasha.tatashin@...een.com>, Pratyush Yadav <pratyush@...nel.org>, Shuah
Khan <shuah@...nel.org>, Jason Miu <jasonmiu@...gle.com>, David Matlack
<dmatlack@...gle.com>, linux-mm@...ck.org, linux-kernel@...r.kernel.org,
linux-kselftest@...r.kernel.org
Subject: Re: [PATCH v2 2/2] selftests/liveupdate: add end to end test
infrastructure and scripts
On Sun, Feb 08 2026, Mike Rapoport wrote:
> Hi Jordan,
>
> On Thu, Feb 05, 2026 at 10:23:29PM +0000, Jordan Richards wrote:
>> From: Pasha Tatashin <pasha.tatashin@...een.com>
>>
>> Add the end to end testing infrastructure required to verify the
>> liveupdate feature. This includes a custom init process, a test
>> orchestration script, and a batch runner.
>>
>> The framework consists of:
>>
>> init.c:
>> A lightweight init process that manages the kexec lifecycle.
>> It mounts necessary filesystems, determines the current execution
>> stage (1 or 2) via the kernel command line, and handles the
>> kexec_file_load() sequence to transition between kernels.
>>
>> luo_test.sh:
>> The primary KTAP-compliant test driver. It handles:
>> - Kernel configuration merging and building.
>> - Cross-compilation detection for x86_64 and arm64.
>> - Generation of the initrd containing the test binary and init.
>> - QEMU execution with automatic accelerator detection (KVM, HVF,
>> or TCG).
>>
>> run.sh:
>> A wrapper script to discover and execute all `luo_*.c`
>> tests across supported architectures, providing a summary of
>> pass/fail/skip results.
>>
>> Signed-off-by: Pasha Tatashin <pasha.tatashin@...een.com>
>
> I think you also need
> Co-developed-by: Jordan Richards <jordanrichards@...gle.com>
>
>> Signed-off-by: Jordan Richards <jordanrichards@...gle.com>
>
> With nolibc fixes Thomas requested:
>
> Reviewed-by: Mike Rapoport (Microsoft) <rppt@...nel.org>
I didn't look too closely, but at a quick skim, LGTM.
Acked-by: Pratyush Yadav (Google) <pratyush@...nel.org>
--
Regards,
Pratyush Yadav
Powered by blists - more mailing lists