Skip to content

Commit bd17863

Browse files
basuamdij-intel
authored andcommitted
platform/x86/amd: amd_3d_vcache: Add sysfs ABI documentation
Add documentation for the amd_3d_vcache sysfs bus platform driver interface so that userspace applications can use it to change mode preferences, either frequency or cache. Co-developed-by: Perry Yuan <perry.yuan@amd.com> Signed-off-by: Perry Yuan <perry.yuan@amd.com> Co-developed-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Reviewed-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> Reviewed-by: Armin Wolf <W_Armin@gmx.de> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com> Link: https://lore.kernel.org/r/20241112170307.3745777-3-Basavaraj.Natikar@amd.com Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
1 parent 5a67c0d commit bd17863

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
What: /sys/bus/platform/drivers/amd_x3d_vcache/AMDI0101:00/amd_x3d_mode
2+
Date: November 2024
3+
KernelVersion: 6.13
4+
Contact: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
5+
Description: (RW) AMD 3D V-Cache optimizer allows users to switch CPU core
6+
rankings dynamically.
7+
8+
This file switches between these two modes:
9+
- "frequency" cores within the faster CCD are prioritized before
10+
those in the slower CCD.
11+
- "cache" cores within the larger L3 CCD are prioritized before
12+
those in the smaller L3 CCD.

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -978,6 +978,7 @@ M: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
978978
R: Mario Limonciello <mario.limonciello@amd.com>
979979
L: platform-driver-x86@vger.kernel.org
980980
S: Supported
981+
F: Documentation/ABI/testing/sysfs-bus-platform-drivers-amd_x3d_vcache
981982
F: drivers/platform/x86/amd/x3d_vcache.c
982983

983984
AMD ADDRESS TRANSLATION LIBRARY (ATL)

0 commit comments

Comments
 (0)