]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/resctrl: Add node-scope to the options for feature scope
authorTony Luck <tony.luck@intel.com>
Fri, 28 Jun 2024 21:56:05 +0000 (14:56 -0700)
committerBorislav Petkov (AMD) <bp@alien8.de>
Tue, 2 Jul 2024 17:49:54 +0000 (19:49 +0200)
commit1a171608ee8d40d22d604303e42f033c69151123
treed7540a990d276d54f6a3e913a28778b7ea458c94
parentcae2bcb6a2c691ef7b537ad07e9819a5ed645bcc
x86/resctrl: Add node-scope to the options for feature scope

Currently supported resctrl features are all domain scoped the same as the
scope of the L2 or L3 caches.

Add RESCTRL_L3_NODE as a new option for features that are scoped at the
same granularity as NUMA nodes. This is needed for Intel's Sub-NUMA
Cluster (SNC) feature where monitoring features are divided between
nodes that share an L3 cache.

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-6-tony.luck@intel.com
arch/x86/kernel/cpu/resctrl/core.c
include/linux/resctrl.h