Re: [PATCH 2/6] x86/boot: Adjust MSR_ARCH_CAPS handling for the Host policy

2023-05-16 Thread Jan Beulich
On 15.05.2023 16:42, Andrew Cooper wrote: > We are about to move MSR_ARCH_CAPS into featureset, but the order of > operations (copy raw policy, then copy x86_capabilitiles[] in) will end up > clobbering the ARCH_CAPS value currently visible in the Host policy. > > To avoid this transient breakage,

[PATCH 2/6] x86/boot: Adjust MSR_ARCH_CAPS handling for the Host policy

2023-05-15 Thread Andrew Cooper
We are about to move MSR_ARCH_CAPS into featureset, but the order of operations (copy raw policy, then copy x86_capabilitiles[] in) will end up clobbering the ARCH_CAPS value currently visible in the Host policy. To avoid this transient breakage, read from raw_cpu_policy rather than modifying it i