]> www.infradead.org Git - linux.git/commit
platform/x86/intel/vsec: Add PMT read callbacks
authorDavid E. Box <david.e.box@linux.intel.com>
Thu, 25 Jul 2024 12:23:41 +0000 (08:23 -0400)
committerHans de Goede <hdegoede@redhat.com>
Mon, 12 Aug 2024 14:21:31 +0000 (16:21 +0200)
commite92affc74cd8624a548b380af7364be037adef35
treecf2cf4546ac25891898b12041615f28b1bc4a370
parentfc9aef4382c02774662da3d7e1de8ba224e04f80
platform/x86/intel/vsec: Add PMT read callbacks

Some PMT providers require device specific actions before their telemetry
can be read. Provide assignable PMT read callbacks to allow providers to
perform those actions.

Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Link: https://lore.kernel.org/r/20240725122346.4063913-3-michael.j.ruhl@intel.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/intel/vsec.c
include/linux/intel_vsec.h