tools/arch/x86/intel_sdsi: Add current meter supportAdd support to read the 'meter_current' file. The display is the same asthe 'meter_certificate', but will show the current snapshot of thecount
tools/arch/x86/intel_sdsi: Add current meter supportAdd support to read the 'meter_current' file. The display is the same asthe 'meter_certificate', but will show the current snapshot of thecounters.Signed-off-by: David E. Box <david.e.box@linux.intel.com>Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>Link: https://lore.kernel.org/r/20240411025856.2782476-10-david.e.box@linux.intel.comSigned-off-by: Hans de Goede <hdegoede@redhat.com>
show more ...
tools/arch/x86/intel_sdsi: Simplify ascii printingAdd #define for feature length and move NUL assignment from callers toget_feature().Signed-off-by: David E. Box <david.e.box@linux.intel.com>Re
tools/arch/x86/intel_sdsi: Simplify ascii printingAdd #define for feature length and move NUL assignment from callers toget_feature().Signed-off-by: David E. Box <david.e.box@linux.intel.com>Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>Link: https://lore.kernel.org/r/20240411025856.2782476-9-david.e.box@linux.intel.comSigned-off-by: Hans de Goede <hdegoede@redhat.com>
tools/arch/x86/intel_sdsi: Fix meter_certificate decodingFix errors in the calculation of the start position of the counters and inthe display loop. While here, use a #define for the bundle count
tools/arch/x86/intel_sdsi: Fix meter_certificate decodingFix errors in the calculation of the start position of the counters and inthe display loop. While here, use a #define for the bundle count and size.Fixes: 7fdc03a7370f ("tools/arch/x86: intel_sdsi: Add support for reading meter certificates")Signed-off-by: David E. Box <david.e.box@linux.intel.com>Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>Link: https://lore.kernel.org/r/20240411025856.2782476-8-david.e.box@linux.intel.comSigned-off-by: Hans de Goede <hdegoede@redhat.com>
tools/arch/x86/intel_sdsi: Fix meter_show displayFixes sdsi_meter_cert_show() to correctly decode and display the metercertificate output. Adds and displays a missing version field, displays theA
tools/arch/x86/intel_sdsi: Fix meter_show displayFixes sdsi_meter_cert_show() to correctly decode and display the metercertificate output. Adds and displays a missing version field, displays theASCII name of the signature, and fixes the print alignment.Fixes: 7fdc03a7370f ("tools/arch/x86: intel_sdsi: Add support for reading meter certificates")Signed-off-by: David E. Box <david.e.box@linux.intel.com>Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>Link: https://lore.kernel.org/r/20240411025856.2782476-7-david.e.box@linux.intel.comSigned-off-by: Hans de Goede <hdegoede@redhat.com>
tools/arch/x86/intel_sdsi: Fix maximum meter bundle lengthThe maximum number of bundles in the meter certificate was set to 8 whichis much less than the maximum. Instead, since the bundles appear
tools/arch/x86/intel_sdsi: Fix maximum meter bundle lengthThe maximum number of bundles in the meter certificate was set to 8 whichis much less than the maximum. Instead, since the bundles appear at the endof the file, set it based on the remaining file size from the bundle startposition.Fixes: 7fdc03a7370f ("tools/arch/x86: intel_sdsi: Add support for reading meter certificates")Signed-off-by: David E. Box <david.e.box@linux.intel.com>Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>Link: https://lore.kernel.org/r/20240411025856.2782476-6-david.e.box@linux.intel.comSigned-off-by: Hans de Goede <hdegoede@redhat.com>
tools/arch/x86: intel_sdsi: Add support for reading meter certificatesAdd option to read and decode On Demand meter certificates.Link: https://github.com/intel/intel-sdsi/blob/master/meter-certif
tools/arch/x86: intel_sdsi: Add support for reading meter certificatesAdd option to read and decode On Demand meter certificates.Link: https://github.com/intel/intel-sdsi/blob/master/meter-certificate.rstSigned-off-by: David E. Box <david.e.box@linux.intel.com>Reviewed-by: Hans de Goede <hdegoede@redhat.com>Link: https://lore.kernel.org/r/20221119002343.1281885-10-david.e.box@linux.intel.comSigned-off-by: Hans de Goede <hdegoede@redhat.com>
tools/arch/x86: intel_sdsi: Add support for new GUIDThe structure and content of the On Demand registers is based on the GUIDwhich is read from hardware through sysfs. Add support for decoding the
tools/arch/x86: intel_sdsi: Add support for new GUIDThe structure and content of the On Demand registers is based on the GUIDwhich is read from hardware through sysfs. Add support for decoding theregisters of a new GUID 0xF210D9EF.Signed-off-by: David E. Box <david.e.box@linux.intel.com>Link: https://lore.kernel.org/r/20221119002343.1281885-9-david.e.box@linux.intel.comReviewed-by: Hans de Goede <hdegoede@redhat.com>Signed-off-by: Hans de Goede <hdegoede@redhat.com>
tools/arch/x86: intel_sdsi: Read more On Demand registersAdd decoding of the following On Demand register fields:1. NVRAM content authorization error status2. Enabled features: telemetry and att
tools/arch/x86: intel_sdsi: Read more On Demand registersAdd decoding of the following On Demand register fields:1. NVRAM content authorization error status2. Enabled features: telemetry and attestation3. Key provisioning status4. NVRAM update limit5. PCU_CR3_CAPID_CFGLink: https://github.com/intel/intel-sdsi/blob/master/state-certificate-encoding.rstSigned-off-by: David E. Box <david.e.box@linux.intel.com>Reviewed-by: Hans de Goede <hdegoede@redhat.com>Link: https://lore.kernel.org/r/20221119002343.1281885-8-david.e.box@linux.intel.comSigned-off-by: Hans de Goede <hdegoede@redhat.com>
tools/arch/x86: intel_sdsi: Add Intel On Demand textIntel Software Defined Silicon (SDSi) is now officially known as IntelOn Demand. Change text in tool to indicate this.Signed-off-by: David E.
tools/arch/x86: intel_sdsi: Add Intel On Demand textIntel Software Defined Silicon (SDSi) is now officially known as IntelOn Demand. Change text in tool to indicate this.Signed-off-by: David E. Box <david.e.box@linux.intel.com>Reviewed-by: Hans de Goede <hdegoede@redhat.com>Link: https://lore.kernel.org/r/20221119002343.1281885-7-david.e.box@linux.intel.comSigned-off-by: Hans de Goede <hdegoede@redhat.com>
tools/arch/x86: intel_sdsi: Add support for reading state certificatesAdd option to read and decode On Demand state certificates.Link: https://github.com/intel/intel-sdsi/blob/master/state-certif
tools/arch/x86: intel_sdsi: Add support for reading state certificatesAdd option to read and decode On Demand state certificates.Link: https://github.com/intel/intel-sdsi/blob/master/state-certificate-encoding.rstSigned-off-by: David E. Box <david.e.box@linux.intel.com>Reviewed-by: Hans de Goede <hdegoede@redhat.com>Link: https://lore.kernel.org/r/20221119002343.1281885-6-david.e.box@linux.intel.comSigned-off-by: Hans de Goede <hdegoede@redhat.com>
tools arch x86: Add Intel SDSi provisiong toolAdd tool for key certificate and activation payload provisioning onIntel CPUs supporting Software Defined Silicon (SDSi).Signed-off-by: David E. Box
tools arch x86: Add Intel SDSi provisiong toolAdd tool for key certificate and activation payload provisioning onIntel CPUs supporting Software Defined Silicon (SDSi).Signed-off-by: David E. Box <david.e.box@linux.intel.com>Link: https://lore.kernel.org/r/20220225012457.1661574-1-david.e.box@linux.intel.comReviewed-by: Hans de Goede <hdegoede@redhat.com>Signed-off-by: Hans de Goede <hdegoede@redhat.com>