Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

platform/x86/intel/sdsi: Add Intel On Demand text

Intel Software Defined Silicon (SDSi) is now officially known as Intel
On Demand. Add On Demand to the description in the kconfig, documentation,
and driver source.

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-2-david.e.box@linux.intel.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>

authored by

David E. Box and committed by
Hans de Goede
4ea62915 c5ad454a

+25 -24
+19 -18
Documentation/ABI/testing/sysfs-driver-intel_sdsi
··· 4 4 Contact: "David E. Box" <david.e.box@linux.intel.com> 5 5 Description: 6 6 This directory contains interface files for accessing Intel 7 - Software Defined Silicon (SDSi) features on a CPU. X 8 - represents the socket instance (though not the socket ID). 9 - The socket ID is determined by reading the registers file 10 - and decoding it per the specification. 7 + On Demand (formerly Software Defined Silicon or SDSi) features 8 + on a CPU. X represents the socket instance (though not the 9 + socket ID). The socket ID is determined by reading the 10 + registers file and decoding it per the specification. 11 11 12 - Some files communicate with SDSi hardware through a mailbox. 13 - Should the operation fail, one of the following error codes 14 - may be returned: 12 + Some files communicate with On Demand hardware through a 13 + mailbox. Should the operation fail, one of the following error 14 + codes may be returned: 15 15 16 16 ========== ===== 17 17 Error Code Cause 18 18 ========== ===== 19 19 EIO General mailbox failure. Log may indicate cause. 20 20 EBUSY Mailbox is owned by another agent. 21 - EPERM SDSI capability is not enabled in hardware. 21 + EPERM On Demand capability is not enabled in hardware. 22 22 EPROTO Failure in mailbox protocol detected by driver. 23 23 See log for details. 24 24 EOVERFLOW For provision commands, the size of the data ··· 54 54 Contact: "David E. Box" <david.e.box@linux.intel.com> 55 55 Description: 56 56 (WO) Used to write an Authentication Key Certificate (AKC) to 57 - the SDSi NVRAM for the CPU. The AKC is used to authenticate a 58 - Capability Activation Payload. Mailbox command. 57 + the On Demand NVRAM for the CPU. The AKC is used to authenticate 58 + a Capability Activation Payload. Mailbox command. 59 59 60 60 What: /sys/bus/auxiliary/devices/intel_vsec.sdsi.X/provision_cap 61 61 Date: Feb 2022 ··· 63 63 Contact: "David E. Box" <david.e.box@linux.intel.com> 64 64 Description: 65 65 (WO) Used to write a Capability Activation Payload (CAP) to the 66 - SDSi NVRAM for the CPU. CAPs are used to activate a given CPU 67 - feature. A CAP is validated by SDSi hardware using a previously 68 - provisioned AKC file. Upon successful authentication, the CPU 69 - configuration is updated. A cold reboot is required to fully 70 - activate the feature. Mailbox command. 66 + On Demand NVRAM for the CPU. CAPs are used to activate a given 67 + CPU feature. A CAP is validated by On Demand hardware using a 68 + previously provisioned AKC file. Upon successful authentication, 69 + the CPU configuration is updated. A cold reboot is required to 70 + fully activate the feature. Mailbox command. 71 71 72 72 What: /sys/bus/auxiliary/devices/intel_vsec.sdsi.X/state_certificate 73 73 Date: Feb 2022 74 74 KernelVersion: 5.18 75 75 Contact: "David E. Box" <david.e.box@linux.intel.com> 76 76 Description: 77 - (RO) Used to read back the current State Certificate for the CPU 78 - from SDSi hardware. The State Certificate contains information 79 - about the current licenses on the CPU. Mailbox command. 77 + (RO) Used to read back the current state certificate for the CPU 78 + from On Demand hardware. The state certificate contains 79 + information about the current licenses on the CPU. Mailbox 80 + command.
+4 -4
drivers/platform/x86/intel/Kconfig
··· 157 157 as usual. 158 158 159 159 config INTEL_SDSI 160 - tristate "Intel Software Defined Silicon Driver" 160 + tristate "Intel On Demand (Software Defined Silicon) Driver" 161 161 depends on INTEL_VSEC 162 162 depends on X86_64 163 163 help 164 - This driver enables access to the Intel Software Defined Silicon 165 - interface used to provision silicon features with an authentication 166 - certificate and capability license. 164 + This driver enables access to the Intel On Demand (formerly Software 165 + Defined Silicon) interface used to provision silicon features with an 166 + authentication certificate and capability license. 167 167 168 168 To compile this driver as a module, choose M here: the module will 169 169 be called intel_sdsi.
+2 -2
drivers/platform/x86/intel/sdsi.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * Intel Software Defined Silicon driver 3 + * Intel On Demand (Software Defined Silicon) driver 4 4 * 5 5 * Copyright (c) 2022, Intel Corporation. 6 6 * All Rights Reserved. ··· 586 586 module_auxiliary_driver(sdsi_aux_driver); 587 587 588 588 MODULE_AUTHOR("David E. Box <david.e.box@linux.intel.com>"); 589 - MODULE_DESCRIPTION("Intel Software Defined Silicon driver"); 589 + MODULE_DESCRIPTION("Intel On Demand (SDSi) driver"); 590 590 MODULE_LICENSE("GPL");