Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x86: update the AMD L3 APIC ID sharing quirk for Family 19h (Zen3)
CPU models with less cores still have missing APIC IDs part of each L3, which means we cannot divide by the real number of cores to find the cache ID. We previously hardwired the number of cores from Zen1/2 (up to 4 HT cores per L3), let's do something clean that works for Zen3 (up to 8). And it's actually similar to what the kernel does in cacheinfo_amd_init_llc_id(). The Hygon quirk might need the same cleanup if they release a Zen3 clone in the future. Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
- Loading branch information