Hi!
This is the follow up to V2:
https://lore.kernel.org/lkml/20230728105650.565799744@xxxxxxxxxxxxx
which addresses the review feedback and some fallout reported on and
off-list.
TLDR:
This reworks the way how topology information is evaluated via CPUID
in preparation for a larger topology management overhaul to address
shortcomings of the current code vs. hybrid systems and systems which make
use of the extended topology domains in leaf 0x1f. Aside of that it's an
overdue spring cleaning to get rid of accumulated layers of duct tape and
haywire.
What changed vs. V2:
- Decoded and fixed the fallout vs. XEN/PV reported by Juergen. Thanks to
Juergen for the remote hand debugging sessions!
That's addressed in the first two new patches in this series. Summary:
XEN/PV booted by pure chance since the addition of SMT control 5 years
ago.
- Fixed the off by one in the AMD parser which was debugged by Michael
- Addressed review comments from various people
As discussed in:
https://lore.kernel.org/lkml/BYAPR21MB16889FD224344B1B28BE22A1D705A@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
....
https://lore.kernel.org/lkml/87r0omjt8c.ffs@tglx
this series unfortunately brings the Hyper-V BIOS inconsistency into
effect, which results in a slight performance impact. The L3 association
which "worked" so far by exploiting the inconsistency of the Linux topology
code is not longer supportable as we really need to get the actual short
comings of our topology management addressed in a consistent way.
The series is based on V3 of the APIC cleanup series:
https://lore.kernel.org/lkml/20230801103042.936020332@xxxxxxxxxxxxx
and also available on top of that from git:
git://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git topo-cpuid-v3
Thanks,
tglx
Attachment:
OpenPGP_0xB0DE9DD628BF132F.asc
Description: OpenPGP public key
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature