Lines Matching +full:in +full:- +full:kernel

1 .. SPDX-License-Identifier: GPL-2.0-or-later
11 :ref:`concepts <kho-concepts>`. If you have not read
17 KHO is available when the kernel is compiled with ``CONFIG_KEXEC_HANDOVER``
22 To use KHO, please boot the kernel with the ``kho=on`` command line
32 the :ref:`KHO finalization phase <kho-finalization-phase>` ::
34 $ echo 1 > /sys/kernel/debug/kho/out/finalize
36 After this command, the KHO FDT is available in
37 ``/sys/kernel/debug/kho/out/fdt``. Other subsystems may also register
39 ``/sys/kernel/debug/kho/out/sub_fdts/``.
42 use the ``-s`` parameter to use the in-kernel kexec file loader, as user
46 # kexec -l /path/to/bzImage --initrd /path/to/initrd -s
47 # kexec -e
49 The new kernel will boot up and contain some of the previous kernel's state.
52 an early memory reservation, the new kernel will have that memory at the
53 same physical address as the old kernel.
60 $ echo 0 > /sys/kernel/debug/kho/out/active
62 After this command, the KHO FDT is no longer available in
63 ``/sys/kernel/debug/kho/out/fdt``.
69 interfaces may change in the future. They will be moved to sysfs once KHO is
72 ``/sys/kernel/debug/kho/out/finalize``
74 compatible drivers into the next kexec'ed kernel. To do so,
76 which could contain serialized kernel state.
81 When this file contains "1", the system is in the transition
85 ``/sys/kernel/debug/kho/out/fdt``
86 When KHO state tree is finalized, the kernel exposes the
88 state in this file. Kexec user space tooling can use this
91 ``/sys/kernel/debug/kho/out/scratch_len``
97 ``/sys/kernel/debug/kho/out/scratch_phys``
99 can use this file in conjunction to scratch_phys to determine where
102 ``/sys/kernel/debug/kho/out/sub_fdts/``
103 In the KHO finalization phase, KHO producers register their own
106 ``/sys/kernel/debug/kho/in/fdt``
107 When the kernel was booted with Kexec HandOver (KHO),
109 kernel's state is in this file in the format of flattened
113 ``/sys/kernel/debug/kho/in/sub_fdts/``
115 of KHO producers passed from the old kernel.