RE: [PATCH v2 7/7] x86/resctrl: Determine if Sub-NUMA Cluster is enabled and initialize.

Luck, Tony
2023-06-29T15:57:24Z

>> +static const struct x86_cpu_id snc_cpu_ids[] __initconst = {
>> + X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_X, 0),
>> + X86_MATCH_INTEL_FAM6_MODEL(SAPPHIRERAPIDS_X, 0),
>> + X86_MATCH_INTEL_FAM6_MODEL(EMERALDRAPIDS_X, 0),
>> + {}
>> +};
>
> Cascade Lake and Skylake also seem to support Sub-NUMA cluster.
> At least in my environment(Intel(R) Xeon(R) Gold 6254 CPU @ 3.10GHz),
> Sub-NUMA cluster is supported.

Shaopeng TAN,

This is true. But MSR_RMID_SNC_CONFIG (0xCA0) is not implemented
for CPUs before ICELAKE.

-Tony