summaryrefslogtreecommitdiffstats
path: root/tools/arch/x86/intel_sdsi/intel_sdsi.c
diff options
context:
space:
mode:
authorDavid E. Box <david.e.box@linux.intel.com>2022-11-18 16:23:38 -0800
committerHans de Goede <hdegoede@redhat.com>2022-11-21 10:55:35 +0100
commita96f1b9c48e56bc82a8cba11020ab29c28bfab51 (patch)
tree5f8d747c06d1deed3b30e455e16e992f35515fa0 /tools/arch/x86/intel_sdsi/intel_sdsi.c
parent25612c0fb22d20142363765ab99b6f87ea3c45cf (diff)
downloadlinux-a96f1b9c48e56bc82a8cba11020ab29c28bfab51.tar.bz2
platform/x86/intel/sdsi: Add meter certificate support
Add support for reading the meter certificate from Intel On Demand hardware. The meter certificate [1] is used to access the utilization metrics of enabled features in support of the Intel On Demand consumption model. Similar to the state certificate, the meter certificate is read by mailbox command. While making similar changes also use the BIN_ATTR_ADMIN_RO helper to create the 'registers' sysfs file. Link: https://github.com/intel-sandbox/debox1.intel_sdsi/blob/gnr-review/meter-certificate.rst [1] Signed-off-by: David E. Box <david.e.box@linux.intel.com> Link: https://lore.kernel.org/r/20221119002343.1281885-5-david.e.box@linux.intel.com Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/arch/x86/intel_sdsi/intel_sdsi.c')
0 files changed, 0 insertions, 0 deletions