Commit 4ea62915 authored by David E. Box's avatar David E. Box Committed by Hans de Goede

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: default avatarDavid E. Box <david.e.box@linux.intel.com>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20221119002343.1281885-2-david.e.box@linux.intel.comSigned-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent c5ad454a
...@@ -4,21 +4,21 @@ KernelVersion: 5.18 ...@@ -4,21 +4,21 @@ KernelVersion: 5.18
Contact: "David E. Box" <david.e.box@linux.intel.com> Contact: "David E. Box" <david.e.box@linux.intel.com>
Description: Description:
This directory contains interface files for accessing Intel This directory contains interface files for accessing Intel
Software Defined Silicon (SDSi) features on a CPU. X On Demand (formerly Software Defined Silicon or SDSi) features
represents the socket instance (though not the socket ID). on a CPU. X represents the socket instance (though not the
The socket ID is determined by reading the registers file socket ID). The socket ID is determined by reading the
and decoding it per the specification. registers file and decoding it per the specification.
Some files communicate with SDSi hardware through a mailbox. Some files communicate with On Demand hardware through a
Should the operation fail, one of the following error codes mailbox. Should the operation fail, one of the following error
may be returned: codes may be returned:
========== ===== ========== =====
Error Code Cause Error Code Cause
========== ===== ========== =====
EIO General mailbox failure. Log may indicate cause. EIO General mailbox failure. Log may indicate cause.
EBUSY Mailbox is owned by another agent. EBUSY Mailbox is owned by another agent.
EPERM SDSI capability is not enabled in hardware. EPERM On Demand capability is not enabled in hardware.
EPROTO Failure in mailbox protocol detected by driver. EPROTO Failure in mailbox protocol detected by driver.
See log for details. See log for details.
EOVERFLOW For provision commands, the size of the data EOVERFLOW For provision commands, the size of the data
...@@ -54,8 +54,8 @@ KernelVersion: 5.18 ...@@ -54,8 +54,8 @@ KernelVersion: 5.18
Contact: "David E. Box" <david.e.box@linux.intel.com> Contact: "David E. Box" <david.e.box@linux.intel.com>
Description: Description:
(WO) Used to write an Authentication Key Certificate (AKC) to (WO) Used to write an Authentication Key Certificate (AKC) to
the SDSi NVRAM for the CPU. The AKC is used to authenticate a the On Demand NVRAM for the CPU. The AKC is used to authenticate
Capability Activation Payload. Mailbox command. a Capability Activation Payload. Mailbox command.
What: /sys/bus/auxiliary/devices/intel_vsec.sdsi.X/provision_cap What: /sys/bus/auxiliary/devices/intel_vsec.sdsi.X/provision_cap
Date: Feb 2022 Date: Feb 2022
...@@ -63,17 +63,18 @@ KernelVersion: 5.18 ...@@ -63,17 +63,18 @@ KernelVersion: 5.18
Contact: "David E. Box" <david.e.box@linux.intel.com> Contact: "David E. Box" <david.e.box@linux.intel.com>
Description: Description:
(WO) Used to write a Capability Activation Payload (CAP) to the (WO) Used to write a Capability Activation Payload (CAP) to the
SDSi NVRAM for the CPU. CAPs are used to activate a given CPU On Demand NVRAM for the CPU. CAPs are used to activate a given
feature. A CAP is validated by SDSi hardware using a previously CPU feature. A CAP is validated by On Demand hardware using a
provisioned AKC file. Upon successful authentication, the CPU previously provisioned AKC file. Upon successful authentication,
configuration is updated. A cold reboot is required to fully the CPU configuration is updated. A cold reboot is required to
activate the feature. Mailbox command. fully activate the feature. Mailbox command.
What: /sys/bus/auxiliary/devices/intel_vsec.sdsi.X/state_certificate What: /sys/bus/auxiliary/devices/intel_vsec.sdsi.X/state_certificate
Date: Feb 2022 Date: Feb 2022
KernelVersion: 5.18 KernelVersion: 5.18
Contact: "David E. Box" <david.e.box@linux.intel.com> Contact: "David E. Box" <david.e.box@linux.intel.com>
Description: Description:
(RO) Used to read back the current State Certificate for the CPU (RO) Used to read back the current state certificate for the CPU
from SDSi hardware. The State Certificate contains information from On Demand hardware. The state certificate contains
about the current licenses on the CPU. Mailbox command. information about the current licenses on the CPU. Mailbox
command.
...@@ -157,13 +157,13 @@ config INTEL_RST ...@@ -157,13 +157,13 @@ config INTEL_RST
as usual. as usual.
config INTEL_SDSI config INTEL_SDSI
tristate "Intel Software Defined Silicon Driver" tristate "Intel On Demand (Software Defined Silicon) Driver"
depends on INTEL_VSEC depends on INTEL_VSEC
depends on X86_64 depends on X86_64
help help
This driver enables access to the Intel Software Defined Silicon This driver enables access to the Intel On Demand (formerly Software
interface used to provision silicon features with an authentication Defined Silicon) interface used to provision silicon features with an
certificate and capability license. authentication certificate and capability license.
To compile this driver as a module, choose M here: the module will To compile this driver as a module, choose M here: the module will
be called intel_sdsi. be called intel_sdsi.
......
// SPDX-License-Identifier: GPL-2.0 // SPDX-License-Identifier: GPL-2.0
/* /*
* Intel Software Defined Silicon driver * Intel On Demand (Software Defined Silicon) driver
* *
* Copyright (c) 2022, Intel Corporation. * Copyright (c) 2022, Intel Corporation.
* All Rights Reserved. * All Rights Reserved.
...@@ -586,5 +586,5 @@ static struct auxiliary_driver sdsi_aux_driver = { ...@@ -586,5 +586,5 @@ static struct auxiliary_driver sdsi_aux_driver = {
module_auxiliary_driver(sdsi_aux_driver); module_auxiliary_driver(sdsi_aux_driver);
MODULE_AUTHOR("David E. Box <david.e.box@linux.intel.com>"); MODULE_AUTHOR("David E. Box <david.e.box@linux.intel.com>");
MODULE_DESCRIPTION("Intel Software Defined Silicon driver"); MODULE_DESCRIPTION("Intel On Demand (SDSi) driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment