platform/x86: Intel PMT Telemetry capability driver
authorAlexander Duyck <alexander.h.duyck@linux.intel.com>
Thu, 29 Oct 2020 01:55:35 +0000 (18:55 -0700)
committerLee Jones <lee.jones@linaro.org>
Wed, 4 Nov 2020 11:14:27 +0000 (11:14 +0000)
commit68fe8e6e2c4b04e2733d77834f55a4a0e172b770
treefd24076c3dc32c54a4765382e76359f484941d16
parente2729113ce66d8d21f729b41bc3ed3feaf1acf69
platform/x86: Intel PMT Telemetry capability driver

PMT Telemetry is a capability of the Intel Platform Monitoring Technology.
The Telemetry capability provides access to device telemetry metrics that
provide hardware performance data to users from read-only register spaces.

With this driver present the intel_pmt directory can be populated with
telem<x> devices. These devices will contain the standard intel_pmt sysfs
data and a "telem" binary sysfs attribute which can be used to access the
telemetry data.

Also create a PCI device id list for early telemetry hardware that require
workarounds for known issues.

Signed-off-by: Alexander Duyck <alexander.h.duyck@linux.intel.com>
Co-developed-by: David E. Box <david.e.box@linux.intel.com>
Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/platform/x86/Kconfig
drivers/platform/x86/Makefile
drivers/platform/x86/intel_pmt_telemetry.c [new file with mode: 0644]