On 28.02.2026 00:16, Andrew Cooper wrote: > Lets just say this took an unreasoanble amount of time and effort to track > down, when trying to move traps_init() earlier during boot. > > When the SYSCALL linkage MSRs are not configured ahead of _svm_cpu_up() on the > BSP, the first context switch into PV uses svm_load_segs() and clobbers the > later-set-up linkage with the 0's cached here, causing hypercalls issues by > the PV guest to enter at 0 in supervisor mode on the user stack. > > Signed-off-by: Andrew Cooper <[email protected]>
Reviewed-by: Jan Beulich <[email protected]>
