Re: [PATCH] x86/cpuid-policy: Add AMD SVM CPUID leaf to featureset

2024-04-22 Thread Jan Beulich
On 22.04.2024 17:09, Jan Beulich wrote: > On 17.04.2024 15:22, George Dunlap wrote: >> --- a/xen/arch/x86/cpu/common.c >> +++ b/xen/arch/x86/cpu/common.c >> @@ -477,6 +477,8 @@ static void generic_identify(struct cpuinfo_x86 *c) >> c->x86_capability[FEATURESET_e7d] =

Re: [PATCH] x86/cpuid-policy: Add AMD SVM CPUID leaf to featureset

2024-04-22 Thread Jan Beulich
On 17.04.2024 15:22, George Dunlap wrote: > Currently, the CPUID leaf for SVM features (extd 0xa.edx) is manually > twiddled: > > - hvm_max_policy takes host_policy and clamps it to supported >features (with some features unilaterally enabled because they're >always emulated > > -

[PATCH] x86/cpuid-policy: Add AMD SVM CPUID leaf to featureset

2024-04-17 Thread George Dunlap
Currently, the CPUID leaf for SVM features (extd 0xa.edx) is manually twiddled: - hvm_max_policy takes host_policy and clamps it to supported features (with some features unilaterally enabled because they're always emulated - hvm_default_policy is copied from there - When