> > > > > > TBH, I'm not sure that there is actually anything wrong with the > > > new > > > numbering scheme. > > > The topology is reported correctly (e.g. in > > > /sys/devices/system/cpu/cpu0/topology/thread_siblings_list). Yet, > > > the > > > new enumeration does seem to contradict user expectations. > > > > > > > Well, we can say this is a violation of the ACPI spec. > > "OSPM should initialize processors in the order that they appear in > > the > > MADT." even for interleaved LAPIC and X2APIC entries. > > Ah. Thanks. I didn't know that. > > > Maybe we need two steps for LAPIC/X2APIC parsing. > > 1. check if there is valid LAPIC entry by going through all LAPIC > > entries first > > 2. parse LAPIC/X2APIC strictly following the order in MADT. (like > > we do > > before) > > That makes sense to me. > > Thanks, > > --jim Hi, Jim, Please check if below patch restores the CPU IDs or not. thanks, rui