Commit 7168ae33 authored by James Morse's avatar James Morse Committed by Borislav Petkov (AMD)
Browse files

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: default avatarJames Morse <james.morse@arm.com>
Signed-off-by: default avatarBorislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: default avatarReinette Chatre <reinette.chatre@intel.com>
Reviewed-by: default avatarFenghua Yu <fenghuay@nvidia.com>
Tested-by: default avatarFenghua Yu <fenghuay@nvidia.com>
Tested-by: default avatarTony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/20250515165855.31452-25-james.morse@arm.com
parent f6b25be2
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -31,7 +31,6 @@ x86-specific Documentation
   pti
   mds
   microcode
   resctrl
   tsx_async_abort
   buslock
   usb-legacy-support
+1 −0
Original line number Diff line number Diff line
@@ -113,6 +113,7 @@ Documentation for filesystem implementations.
   qnx6
   ramfs-rootfs-initramfs
   relay
   resctrl
   romfs
   smb/index
   spufs/index
+1 −1
Original line number Diff line number Diff line
@@ -20424,7 +20424,7 @@ M: Tony Luck <tony.luck@intel.com>
M:	Reinette Chatre <reinette.chatre@intel.com>
L:	linux-kernel@vger.kernel.org
S:	Supported
F:	Documentation/arch/x86/resctrl*
F:	Documentation/filesystems/resctrl.rst
F:	arch/x86/include/asm/resctrl.h
F:	arch/x86/kernel/cpu/resctrl/
F:	fs/resctrl/
+0 −1
Original line number Diff line number Diff line
@@ -5,4 +5,3 @@ obj-$(CONFIG_RESCTRL_FS_PSEUDO_LOCK) += pseudo_lock.o

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