All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] Add support of AMD 3D V-Cache optimizer driver
@ 2024-11-06 11:28 Basavaraj Natikar
  2024-11-06 11:28 ` [PATCH v4 1/2] platform/x86/amd: amd_3d_vcache: Add " Basavaraj Natikar
  2024-11-06 11:28 ` [PATCH v4 2/2] platform/x86/amd: amd_3d_vcache: Add sysfs ABI documentation Basavaraj Natikar
  0 siblings, 2 replies; 6+ messages in thread
From: Basavaraj Natikar @ 2024-11-06 11:28 UTC (permalink / raw)
  To: hdegoede, ilpo.jarvinen, platform-driver-x86
  Cc: perry.yuan, mario.limonciello, Shyam-sundar.S-k, W_Armin,
	Basavaraj Natikar

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="'", Size: 2359 bytes --]

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 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         | 170 ++++++++++++++++++
 5 files changed, 204 insertions(+)
 create mode 100644 Documentation/ABI/testing/sysfs-bus-platform-drivers-amd_x3d_vcache
 create mode 100644 drivers/platform/x86/amd/x3d_vcache.c

-- 
2.25.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-11-06 14:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-06 11:28 [PATCH v4 0/2] Add support of AMD 3D V-Cache optimizer driver Basavaraj Natikar
2024-11-06 11:28 ` [PATCH v4 1/2] platform/x86/amd: amd_3d_vcache: Add " Basavaraj Natikar
2024-11-06 13:47   ` Ilpo Järvinen
2024-11-06 14:15     ` Basavaraj Natikar
2024-11-06 11:28 ` [PATCH v4 2/2] platform/x86/amd: amd_3d_vcache: Add sysfs ABI documentation Basavaraj Natikar
2024-11-06 13:49   ` Ilpo Järvinen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.