diff options
author | David E. Box <david.e.box@linux.intel.com> | 2023-11-29 14:21:26 -0800 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2023-12-04 14:53:43 +0100 |
commit | 642dd26f58d91f4bb2e2fcaaf178bbc35369b73a (patch) | |
tree | fd191689d731876c9770799b33cc84b586f0a634 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | a01486dc4bb17de976c6d0a4b1ad5f8106525dfb (diff) |
platform/x86/intel/pmc/mtl: Use return value from pmc_core_ssram_init()
Instead of checking for a NULL regbase, use the return value from
pmc_core_ssram_init() to check if PMC discovery was successful. If not, use
the legacy enumeration method (which only works for the primary PMC).
Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20231129222132.2331261-15-david.e.box@linux.intel.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions