diff options
author | Armin Wolf <W_Armin@gmx.de> | 2023-10-19 15:51:22 +0200 |
---|---|---|
committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2023-10-25 12:29:44 +0300 |
commit | 02a258ac3ebf8a530d340ec24a694c13ac9d25c0 (patch) | |
tree | e98b2d91e5782324f9f5e35f5f0ddbe62fcd226c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 858bd78c9d324781217bb42a87766ca9194809ca (diff) |
platform/x86/amd/hsmp: Fix iomem handling
Since the metrics table is marked as io memory, use memcpy_fromio()
when copying its contents.
Compile-tested only.
Fixes: 5150542b8ec5 ("platform/x86/amd/hsmp: add support for metrics tbl")
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20231019135122.21774-1-W_Armin@gmx.de
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions