aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/device.c
diff options
context:
space:
mode:
authorMike Rapoport (Microsoft) <[email protected]>2025-07-27 08:37:33 +0000
committerAndrew Morton <[email protected]>2025-08-02 19:01:41 +0000
commitb753522bed0b7e388a643f58d91bd81d8849ba43 (patch)
treefa771664945a3ce15715139e57fb2a97bd454fc1 /rust/helpers/device.c
parentdelaytop: enhance error logging and add PSI feature description (diff)
downloadkernel-b753522bed0b7e388a643f58d91bd81d8849ba43.tar.gz
kernel-b753522bed0b7e388a643f58d91bd81d8849ba43.zip
kho: add test for kexec handover
Testing kexec handover requires a kernel driver that will generate some data and preserve it with KHO on the first boot and then restore that data and verify it was preserved properly after kexec. To facilitate such test, along with the kernel driver responsible for data generation, preservation and restoration add a script that runs a kernel in a VM with a minimal /init. The /init enables KHO, loads a kernel image for kexec and runs kexec reboot. After the boot of the kexeced kernel, the driver verifies that the data was properly preserved. [[email protected]: fix section mismatch] Link: https://lkml.kernel.org/r/[email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Mike Rapoport (Microsoft) <[email protected]> Cc: Alexander Graf <[email protected]> Cc: Changyuan Lyu <[email protected]> Cc: Pasha Tatashin <[email protected]> Cc: Pratyush Yadav <[email protected]> Cc: Shuah Khan <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'rust/helpers/device.c')
0 files changed, 0 insertions, 0 deletions