Skip to content

Add support of AMD 3D V-Cache optimizer driver

Basavaraj Natikar platform-driver-x86 7 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest2 patches 1 replyIn review
  2. v52 patches 2 repliesSuperseded
  3. v4 posting 2/22 patches 3 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v4 posting 1/20 of 2 patches0 repliesSuperseded
v32 patches8 repliesSuperseded
v22 patches3 repliesSuperseded
v12 patches4 repliesSuperseded

Changes in v6 from the cover letter

- Added error checking for devm_mutex_init.
- Rebased onto the pxd86/for-next branch.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2platform/x86/amd: amd_3d_vcache: Add AMD 3D V-Cache optimizer driverMAINTAINERS drivers/platform/x86/amd/Kconfig drivers/platform/x86/amd/Makefile +1 more+197 -00 replies
2/2platform/x86/amd: amd_3d_vcache: Add sysfs ABI documentationDocumentation/ABI/testing/sysfs-bus-platform-drivers-amd_x3d_vcache MAINTAINERS+13 -00 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchShyam Sundar S KArmin WolfIlpo Järvinen
1/2R-b R-b
2/2R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v6 thread

Cover letter [PATCH v6 0/2] Add support of AMD 3D V-Cache optimizer driver

AMD 3D V-Cache Technology significantly enhances per-core performance by increasing the amount of L3 cache available—up to three times compared to traditional architectures. This large cache allows for quicker access to frequently used data, minimizing latency and boosting overall efficiency in tasks that depend heavily on rapid data retrieval.

To fully leverage this technology, the AMD 3D V-Cache Optimizer has been developed. This patch series introduces two distinct modes: Frequency mode and Cache mode.

Frequency Mode: In this setting, the optimizer prioritizes boosting the clock speed of the cores. This is particularly advantageous for applications and workloads that benefit from higher clock frequencies, enabling faster processing of tasks that are less reliant on cache size.

Cache Mode: Conversely, this mode focuses on maximizing the usage of the expanded L3 cache. For workloads that are cache-sensitive—such as certain gaming applications, data analytics, and other compute-intensive processes—this mode allows the system to take full advantage of the increased cache capacity, improving data throughput and reducing bottlenecks.

Changes in v6:
- Added error checking for devm_mutex_init.
- Rebased onto the pxd86/for-next branch.

Changes in v5:
- Removed the extra line.
- Added the missing #include directives.
- Modified the splitting of the line.
- Changed spaces to tabs.

Changes in v4:
- Directly returned the result of function.

Changes in v3:
- Changed the module parameter visibility to 0.
- Removed the error log message.
- Removed the error condition that will not be triggered.
- Protected the data read case.
- Moved the acpi_check_dsm check before allocation.
- Added PM operations.

Changes in v2:
- Used kfree() instead of ACPI_FREE().
- Changed the ternary operator to an if statement.
- Used acpi_check_dsm().
- Used devm_mutex_init().
- Removed acpi_match_device().
- Removed the string format.

Basavaraj Natikar (2):
platform/x86/amd: amd_3d_vcache: Add AMD 3D V-Cache optimizer driver platform/x86/amd: amd_3d_vcache: Add sysfs ABI documentation

 .../sysfs-bus-platform-drivers-amd_x3d_vcache |  12 ++
 MAINTAINERS                                   |   8 +
 drivers/platform/x86/amd/Kconfig              |  12 ++
 drivers/platform/x86/amd/Makefile             |   2 +
 drivers/platform/x86/amd/x3d_vcache.c         | 176 ++++++++++++++++++
 5 files changed, 210 insertions(+)
 create mode 100644 Documentation/ABI/testing/sysfs-bus-platform-drivers-amd_x3d_vcache
 create mode 100644 drivers/platform/x86/amd/x3d_vcache.c
Signature · 1 line
2.25.1