> Convert every possible CPU's decrypted section after per-CPU setup and > before the boot CPU registers its buffers. This replaces KVM's object > loop and shares VMware steal-time storage without a driver conversion > path or readiness state. > > UP KVM registers inside setup_arch(), so convert before guest_late_init() > there and move VMware's UP registration to that hook. Stop boot on a > conversion failure: inconsistent page state must not be published to the > hypervisor. Host SME keeps its existing mappings. Skip Hyper-V vTOM > per-CPU storage: its visibility callbacks require later Hyper-V > initialization. > > Suggested-by: Kiryl Shutsemau <[email protected]> > Link: https://lore.kernel.org/r/aqqGUAX65s4LdJkr@thinkstation > Link: https://lore.kernel.org/r/aqvxQoIoYhJTZpAC@thinkstation > Signed-off-by: Zack Rusin <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great! -- Sashiko AI review ยท https://sashiko.dev/#/patchset/[email protected]?part=6
