Skip to content

Commit 7168ae3

Browse files
James Morsebp3tk0v
authored andcommitted
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
1 parent f6b25be commit 7168ae3

File tree

20 files changed

+7663
-7489
lines changed

20 files changed

+7663
-7489
lines changed

Documentation/arch/x86/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ x86-specific Documentation
3131
pti
3232
mds
3333
microcode
34-
resctrl
3534
tsx_async_abort
3635
buslock
3736
usb-legacy-support

Documentation/filesystems/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ Documentation for filesystem implementations.
113113
qnx6
114114
ramfs-rootfs-initramfs
115115
relay
116+
resctrl
116117
romfs
117118
smb/index
118119
spufs/index

MAINTAINERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20424,7 +20424,7 @@ M: Tony Luck <tony.luck@intel.com>
2042420424
M: Reinette Chatre <reinette.chatre@intel.com>
2042520425
L: linux-kernel@vger.kernel.org
2042620426
S: Supported
20427-
F: Documentation/arch/x86/resctrl*
20427+
F: Documentation/filesystems/resctrl.rst
2042820428
F: arch/x86/include/asm/resctrl.h
2042920429
F: arch/x86/kernel/cpu/resctrl/
2043020430
F: fs/resctrl/

arch/x86/kernel/cpu/resctrl/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ obj-$(CONFIG_RESCTRL_FS_PSEUDO_LOCK) += pseudo_lock.o
55

66
# To allow define_trace.h's recursive include:
77
CFLAGS_pseudo_lock.o = -I$(src)
8-
CFLAGS_monitor.o = -I$(src)

0 commit comments

Comments
 (0)