x86,fs/resctrl: Move the resctrl filesystem code to live in /fs/resctrl
authorJames Morse <james.morse@arm.com>
Thu, 15 May 2025 16:58:54 +0000 (16:58 +0000)
committerBorislav Petkov (AMD) <bp@alien8.de>
Fri, 16 May 2025 12:36:09 +0000 (14:36 +0200)
commit7168ae330e8105296210b2b2d31d791d5c073345
tree68c3fd4ab5666df408ca75e81dc6f239fdf80379
parentf6b25be204b8661e4c32fa770a4c9e3a113ee325
x86,fs/resctrl: Move the resctrl filesystem code to live in /fs/resctrl

Resctrl is a filesystem interface to hardware that provides cache
allocation policy and bandwidth control for groups of tasks or CPUs.

To support more than one architecture, resctrl needs to live in /fs/.

Move the code that is concerned with the filesystem interface to
/fs/resctrl.

Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Reviewed-by: Fenghua Yu <fenghuay@nvidia.com>
Tested-by: Fenghua Yu <fenghuay@nvidia.com>
Tested-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/20250515165855.31452-25-james.morse@arm.com
21 files changed:
Documentation/arch/x86/index.rst
Documentation/arch/x86/resctrl.rst [deleted file]
Documentation/filesystems/index.rst
Documentation/filesystems/resctrl.rst [new file with mode: 0644]
MAINTAINERS
arch/x86/kernel/cpu/resctrl/Makefile
arch/x86/kernel/cpu/resctrl/ctrlmondata.c
arch/x86/kernel/cpu/resctrl/internal.h
arch/x86/kernel/cpu/resctrl/monitor.c
arch/x86/kernel/cpu/resctrl/monitor_trace.h [deleted file]
arch/x86/kernel/cpu/resctrl/pseudo_lock.c
arch/x86/kernel/cpu/resctrl/pseudo_lock_trace.h
arch/x86/kernel/cpu/resctrl/rdtgroup.c
fs/resctrl/Kconfig
fs/resctrl/ctrlmondata.c
fs/resctrl/internal.h
fs/resctrl/monitor.c
fs/resctrl/monitor_trace.h
fs/resctrl/pseudo_lock.c
fs/resctrl/pseudo_lock_trace.h [deleted file]
fs/resctrl/rdtgroup.c