summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRajvi Jingar <rajvi.jingar@linux.intel.com>2023-12-19 07:22:14 +0300
committerHans de Goede <hdegoede@redhat.com>2023-12-19 18:48:27 +0300
commit1d62ada48d41d72d72232585eed0f3e1136ae1fb (patch)
tree7906bb1abd345398044a1801375b76791cb24d9f /tools/perf/scripts/python/export-to-postgresql.py
parentd79c3c82ee82cc99ffde4c4f5fe69db35bcfb733 (diff)
downloadlinux-1d62ada48d41d72d72232585eed0f3e1136ae1fb.tar.xz
platform/x86/intel/pmc: Add ssram_init flag in PMC discovery in Meteor Lake
If PMC discovery using pmc_core_ssram_init() was unsuccessful for the Meteor Lake platform, the legacy enumeration method is used. In this case pci device struct for the PMC SSRAM is not available and pmc_core_ssram_get_lpm_reqs() will not work. Add ssram_init flag to indicate if the PMC SSRAM initialization was successful or not. Call pmc_core_ssram_get_lpm_reqs() only if the ssram_init flag is set to true. Signed-off-by: Rajvi Jingar <rajvi.jingar@linux.intel.com> Link: https://lore.kernel.org/r/20231219042216.2592029-6-rajvi.jingar@linux.intel.com Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions