mirror_ubuntu-kernels/tools/arch/x86
David E. Box 09d70ded6c tools/arch/x86/intel_sdsi: Fix meter_certificate decoding
Fix errors in the calculation of the start position of the counters and in
the display loop. While here, use a #define for the bundle count and size.

Fixes: 7fdc03a737 ("tools/arch/x86: intel_sdsi: Add support for reading meter certificates")
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-8-david.e.box@linux.intel.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2024-04-29 10:52:02 +02:00
..
include S390: 2024-03-15 13:03:13 -07:00
intel_sdsi tools/arch/x86/intel_sdsi: Fix meter_certificate decoding 2024-04-29 10:52:02 +02:00
kcpuid tools/x86/kcpuid: Add .gitignore 2023-05-08 15:53:50 +02:00
lib Two changes to simplify the x86 decoder logic a bit. 2024-03-11 19:13:06 -07:00
tools x86/insn: Make inat-tables.c suitable for pre-decompression code 2020-09-07 19:45:24 +02:00