platform/x86/intel/pmt: Sapphire Rapids PMT errata fix
authorDavid E. Box <david.e.box@linux.intel.com>
Sat, 5 Nov 2022 03:42:28 +0000 (20:42 -0700)
committerHans de Goede <hdegoede@redhat.com>
Mon, 7 Nov 2022 11:33:49 +0000 (12:33 +0100)
commitbcdfa1f77ea7f67368d20384932a9d1e3047ddd2
tree9a6abd63796f7d2faa323287daa3dc1151505112
parent1598bfa8e1faa932de42e1ee7628a1c4c4263f0a
platform/x86/intel/pmt: Sapphire Rapids PMT errata fix

On Sapphire Rapids, due to a hardware issue affecting the PUNIT telemetry
region, reads that are not done in QWORD quantities and alignment may
return incorrect data. Use a custom 64-bit copy for this region.

Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Link: https://lore.kernel.org/r/20221105034228.1376677-1-david.e.box@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/class.c