summaryrefslogtreecommitdiff
path: root/Documentation/peci/peci.rst
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2024-06-28 14:56:18 -0700
committerBorislav Petkov (AMD) <bp@alien8.de>2024-07-02 20:02:11 +0200
commit13488150f5e2a9b84a335ae18bee33a918ead85d (patch)
treed7c270a79092cd0c691071e00db0104fd8d2bcd9 /Documentation/peci/peci.rst
parent21b362cc762aabb3e8496d33d7b4538154c95a0b (diff)
x86/resctrl: Detect Sub-NUMA Cluster (SNC) mode
There isn't a simple hardware bit that indicates whether a CPU is running in Sub-NUMA Cluster (SNC) mode. Infer the state by comparing the number of CPUs sharing the L3 cache with CPU0 to the number of CPUs in the same NUMA node as CPU0. Add the missing definition of pr_fmt() to monitor.c. This wasn't noticed before as there are only "can't happen" console messages from this file. [ bp: Massage commit message. ] Signed-off-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Reviewed-by: Reinette Chatre <reinette.chatre@intel.com> Tested-by: Babu Moger <babu.moger@amd.com> Link: https://lore.kernel.org/r/20240628215619.76401-19-tony.luck@intel.com
Diffstat (limited to 'Documentation/peci/peci.rst')
0 files changed, 0 insertions, 0 deletions