aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorJames Morse <james.morse@arm.com>2025-05-15 16:58:49 +0000
committerBorislav Petkov (AMD) <bp@alien8.de>2025-05-16 12:21:00 +0200
commit279f225951e3c77a1708d77f557b4cc7bdbd76ed (patch)
tree82e49c8441f20e6c188f9f331064da278a6ca9c4 /scripts/lib/kdoc/kdoc_files.py
parentx86/resctrl: Fix types in resctrl_arch_mon_ctx_{alloc,free}() stubs (diff)
downloadlinux-rng-279f225951e3c77a1708d77f557b4cc7bdbd76ed.tar.xz
linux-rng-279f225951e3c77a1708d77f557b4cc7bdbd76ed.zip
x86/resctrl: Move pseudo lock prototypes to include/linux/resctrl.h
The resctrl pseudo-lock feature allows an architecture to allocate data into particular cache portions, which are then treated as reserved to avoid that data ever being evicted. Setting this up is deeply architecture specific as it involves disabling prefetchers etc. It is not possible to support this kind of feature on arm64. Risc-V is assumed to be the same. The prototypes for the architecture code were added to x86's asm/resctrl.h, with other architectures able to provide stubs for their architecture. This forces other architectures to provide identical stubs. Move the prototypes and stubs to linux/resctrl.h, and switch between them using the existing Kconfig symbol. 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: Babu Moger <babu.moger@amd.com> Tested-by: Shaopeng Tan <tan.shaopeng@jp.fujitsu.com> Tested-by: Tony Luck <tony.luck@intel.com> Link: https://lore.kernel.org/20250515165855.31452-20-james.morse@arm.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions