]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86/resctrl: Remove the rdt_mon_features global variable
authorTony Luck <tony.luck@intel.com>
Fri, 5 Sep 2025 21:34:02 +0000 (16:34 -0500)
committerBorislav Petkov (AMD) <bp@alien8.de>
Mon, 15 Sep 2025 09:55:50 +0000 (11:55 +0200)
commit63cc9811aa874e6fab671599ba93a989f4f93a5d
tree5fe3474e6958fa5518ecfe6ffbc4d6d63767676b
parentd257cc2e5c8bb8236cb161360d6c0529fd442712
x86/resctrl: Remove the rdt_mon_features global variable

rdt_mon_features is used as a bitmask of enabled monitor events. A monitor
event's status is now maintained in mon_evt::enabled with all monitor events'
mon_evt structures found in the filesystem's mon_event_all[] array.

Remove the remaining uses of rdt_mon_features.

Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Babu Moger <babu.moger@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Link: https://lore.kernel.org/cover.1757108044.git.babu.moger@amd.com
arch/x86/include/asm/resctrl.h
arch/x86/kernel/cpu/resctrl/core.c
arch/x86/kernel/cpu/resctrl/monitor.c