diff options
| author | Suma Hegde <suma.hegde@amd.com> | 2024-10-21 11:14:20 +0000 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2024-10-22 13:36:50 +0300 |
| commit | d9a621ebddf2d3351db4ae5df2547b48647d4c11 (patch) | |
| tree | fc3b39c9eb27e948b85831885e4fa1852eeb8690 /tools/perf/scripts/python | |
| parent | platform/x86/amd/hsmp: Create wrapper function init_acpi() (diff) | |
| download | linux-d9a621ebddf2d3351db4ae5df2547b48647d4c11.tar.gz linux-d9a621ebddf2d3351db4ae5df2547b48647d4c11.zip | |
platform/x86/amd/hsmp: Convert amd_hsmp_rdwr() to a function pointer
This is in preparation to ACPI, Non-ACPI split.
amd_hsmp_rdwr() is used to access HSMP protocol registers.
ACPI and Non-ACPI use different methods to access these registers.
Now that code is split and common functionality is kept in hsmp.c
we need to define a function pointer to handle these functions separately.
Signed-off-by: Suma Hegde <suma.hegde@amd.com>
Reviewed-by: Naveen Krishna Chatradhi <naveenkrishna.chatradhi@amd.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20241021111428.2676884-3-suma.hegde@amd.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
