This series is the latest attempt to support kexec on TDX host following
Dave's suggestion to use a percpu boolean to control WBINVD during
kexec.
Hi Boris/Tom,
As requested, I added the first patch to cleanup the last two 'unsigned
int' parameters of the relocate_kernel() into one 'unsigned int' and pass
flags instead. The patch 2 (patch 1 in v3) also gets updated based on
that. Would you help to review? Thanks.
I tested that both normal kexec and preserve_context kexec works (using
the tools/testing/selftests/kexec/test_kexec_jump.sh). But I don't have
SME capable machine to test.
Hi Tom, I added your Reviewed-by and Tested-by in the patch 2 anyway
since I believe the change is trivial and straightforward). But due to
the cleanup patch, I appreciate if you can help to test the first two
patches again. Thanks a lot!