lkml.org 
[lkml]   [2023]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [patch V4 28/41] x86/cpu: Provide a sane leaf 0xb/0x1f parser
Date
On Wed, Aug 16 2023 at 12:09, Rui Zhang wrote:
>> +       } else if (tscan->c->topo.initial_apicid != sl.x2apic_id) {
>> +               pr_warn_once(FW_BUG "CPUID leaf 0x%x subleaf %d APIC
>> ID mismatch %x != %x\n",
>> +                            leaf, subleaf, tscan->c-
>> >topo.initial_apicid, sl.x2apic_id);
>> +       }
>> +
>
> Maybe worth a warning somewhere if sl.x2apic_shift !=
> x86_topo_system.dom_shifts[dom], because invariant x2apic_shift (for
> the same level) among different CPUs is critical for this patch series.
> And I do see variant x2apic_shift on an Intel AlderLake NUC, which has
> been identified to be a microcode bug later.

Yes, we can do that.

\
 
 \ /
  Last update: 2023-08-17 11:12    [W:0.083 / U:0.612 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site