[PATCH v5 10/16] kexec: add KHO support to kexec file loads

2025-03-22 Thread Changyuan Lyu
From: Alexander Graf Kexec has 2 modes: A user space driven mode and a kernel driven mode. For the kernel driven mode, kernel code determines the physical addresses of all target buffers that the payload gets copied into. With KHO, we can only safely copy payloads into the "scratch area". Teach

Re: [PATCH v7 8/8] [DO NOT MERGE] x86/kexec: Add CFI type information to relocate_kernel()

2025-03-22 Thread David Woodhouse
On Wed, 2025-03-19 at 08:47 -0700, Josh Poimboeuf wrote: > > Looking at machine_kexec(), it calls cet_disable() before the indirect > call.  So yeah, it seems fine for relocate_kernel() to not have a CFI > prologue or ENDBR. Yeah. I'm just going to throw that into a branch and forget it for now.