mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-18 12:19:11 +08:00
tools/arch/x86: intel_sdsi: Add Intel On Demand text
Intel Software Defined Silicon (SDSi) is now officially known as Intel On 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.com Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
committed by
Hans de Goede
parent
3088258ea7
commit
334599bccb
@@ -1,7 +1,7 @@
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
/*
|
||||
* sdsi: Intel Software Defined Silicon tool for provisioning certificates
|
||||
* and activation payloads on supported cpus.
|
||||
* sdsi: Intel On Demand (formerly Software Defined Silicon) tool for
|
||||
* provisioning certificates and activation payloads on supported cpus.
|
||||
*
|
||||
* See https://github.com/intel/intel-sdsi/blob/master/os-interface.rst
|
||||
* for register descriptions.
|
||||
@@ -150,7 +150,7 @@ static void sdsi_list_devices(void)
|
||||
}
|
||||
|
||||
if (!found)
|
||||
fprintf(stderr, "No sdsi devices found.\n");
|
||||
fprintf(stderr, "No On Demand devices found.\n");
|
||||
}
|
||||
|
||||
static int sdsi_update_registers(struct sdsi_dev *s)
|
||||
@@ -206,7 +206,7 @@ static int sdsi_read_reg(struct sdsi_dev *s)
|
||||
printf("\n");
|
||||
printf("PPIN: 0x%lx\n", s->regs.ppin);
|
||||
printf("Enabled Features\n");
|
||||
printf(" SDSi: %s\n", !!s->regs.en_features.sdsi ? "Enabled" : "Disabled");
|
||||
printf(" On Demand: %s\n", !!s->regs.en_features.sdsi ? "Enabled" : "Disabled");
|
||||
printf("Authorization Failure Count\n");
|
||||
printf(" AKC Failure Count: %d\n", s->regs.auth_fail_count.key_failure_count);
|
||||
printf(" AKC Failure Threshold: %d\n", s->regs.auth_fail_count.key_failure_threshold);
|
||||
@@ -428,7 +428,7 @@ static int sdsi_provision_akc(struct sdsi_dev *s, char *bin_file)
|
||||
return ret;
|
||||
|
||||
if (!s->regs.en_features.sdsi) {
|
||||
fprintf(stderr, "SDSi feature is present but not enabled. Unable to provision");
|
||||
fprintf(stderr, "On Demand feature is present but not enabled. Unable to provision");
|
||||
return -1;
|
||||
}
|
||||
|
||||
@@ -458,7 +458,7 @@ static int sdsi_provision_cap(struct sdsi_dev *s, char *bin_file)
|
||||
return ret;
|
||||
|
||||
if (!s->regs.en_features.sdsi) {
|
||||
fprintf(stderr, "SDSi feature is present but not enabled. Unable to provision");
|
||||
fprintf(stderr, "On Demand feature is present but not enabled. Unable to provision");
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user