x86/kexec: Pass bitmask for CR4 bits to preserve from kernel C code
The relocate_kernel() function masks out all but PAE and LA57 bits from
the CR4 register... and also the MCE bit for TDX guests, where disabling
MCE may not be permitted.
The conditional disabling of CR4_MCE is currently implemented by the use
of ALTERNATIVE() in the assembler code.
In order to allow a future patch to move relocate_kernel() to a data
section and avoid objtool having opinions about it, eliminate the use
of ALTERNATIVE() by passing the bitmask in from C code.
Suggested-by: Josh Poimboeuf <jpoimboe@kernel.org> Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>