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] = cpuid_edx(0x80000007);
>>      if (c->extended_cpuid_level >= 0x80000008)
>>              c->x86_capability[FEATURESET_e8b] = cpuid_ebx(0x80000008);
>> +    if (c->extended_cpuid_level >= 0x8000000a)
>> +            c->x86_capability[FEATURESET_ead] = cpuid_edx(0x8000000a);
>>      if (c->extended_cpuid_level >= 0x80000021)
>>              c->x86_capability[FEATURESET_e21a] = cpuid_eax(0x80000021);
> 
> Aiui this is needed right in this change because of calculate_host_policy()
> deriving from boot_cpu_data.x86_capability. What I'd have expected in
> addition (going forward: instead) is an adjustment to
> x86_cpu_policy_fill_native().

I'm sorry, but no, there should be no need to adjust that function.

Jan

Reply via email to