tools/arch/x86/intel_sdsi: Add current meter support
authorDavid E. Box <david.e.box@linux.intel.com>
Thu, 11 Apr 2024 02:58:56 +0000 (19:58 -0700)
committerHans de Goede <hdegoede@redhat.com>
Mon, 29 Apr 2024 08:52:02 +0000 (10:52 +0200)
commitf24644581ba92c901bbc2b69a1a6f6d178ee59d4
treebcaa006cca52fd8dcbf24edf93c5221f31bd5ea2
parent53310fe98c7b7a48b31e8e6e556a25a1238a7691
tools/arch/x86/intel_sdsi: Add current meter support

Add support to read the 'meter_current' file. The display is the same as
the 'meter_certificate', but will show the current snapshot of the
counters.

Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20240411025856.2782476-10-david.e.box@linux.intel.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
tools/arch/x86/intel_sdsi/intel_sdsi.c