platform/x86/intel/pmt: telemetry: Fix fixed region handling
authorDavid E. Box <david.e.box@linux.intel.com>
Wed, 29 Jun 2022 22:13:33 +0000 (15:13 -0700)
committerHans de Goede <hdegoede@redhat.com>
Sat, 2 Jul 2022 09:49:55 +0000 (11:49 +0200)
commitba7e421eee0f98fb2f6aedc83bc5231df64556a1
tree4eb7d4c3e3f1d80db4022fc64b6923cc397472c7
parent99de05043e77cdecc34c09e4fabffdc6d9147c80
platform/x86/intel/pmt: telemetry: Fix fixed region handling

Use the telem_type and the fixed block guid to determine if an entry is a
fixed region. For certain platforms we don't support this.

Cc: Srinivas Pandruvada <srinivas.pandruvada@intel.com>
Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Signed-off-by: Gayatri Kammela <gayatri.kammela@linux.intel.com>
Link: https://lore.kernel.org/r/20220629221334.434307-4-gayatri.kammela@linux.intel.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/intel/pmt/telemetry.c