| #
6b817698 |
| 01-May-2025 |
Andrew Davis <afd@ti.com> |
plat-k3: drivers: ti-sci: Add support for setting KEYREV
Add support for the TI-SCI OTP message TI_SCI_MSG_WRITE_KEYREV. This allows for incrementing the key revision counter.
Signed-off-by: Andrew
plat-k3: drivers: ti-sci: Add support for setting KEYREV
Add support for the TI-SCI OTP message TI_SCI_MSG_WRITE_KEYREV. This allows for incrementing the key revision counter.
Signed-off-by: Andrew Davis <afd@ti.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| #
c2ae7e6a |
| 01-May-2025 |
Andrew Davis <afd@ti.com> |
plat-k3: drivers: ti-sci: Add support for setting SWREV
Add support for the TI-SCI OTP message TI_SCI_MSG_WRITE_SWREV. This allows for incrementing the software revision counter.
Signed-off-by: And
plat-k3: drivers: ti-sci: Add support for setting SWREV
Add support for the TI-SCI OTP message TI_SCI_MSG_WRITE_SWREV. This allows for incrementing the software revision counter.
Signed-off-by: Andrew Davis <afd@ti.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| #
ae0b2678 |
| 13-Nov-2024 |
Manorit Chawdhry <m-chawdhry@ti.com> |
plat-k3: drivers: Add some trace message for TI-SCI calls
These could be good for debugging tracing of TI-SCI messages
Acked-by: Etienne Carriere <etienne.carriere@foss.st.com> Signed-off-by: Manor
plat-k3: drivers: Add some trace message for TI-SCI calls
These could be good for debugging tracing of TI-SCI messages
Acked-by: Etienne Carriere <etienne.carriere@foss.st.com> Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
show more ...
|
| #
bad32466 |
| 13-Nov-2024 |
Manorit Chawdhry <m-chawdhry@ti.com> |
plat-k3: drivers: Remove ti_sci_get_response function
Currently since all the code is under mutex, it makes sense to remove this function and keep it all under ti_sci_do_xfer for easier readability.
plat-k3: drivers: Remove ti_sci_get_response function
Currently since all the code is under mutex, it makes sense to remove this function and keep it all under ti_sci_do_xfer for easier readability.
Acked-by: Etienne Carriere <etienne.carriere@foss.st.com> Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
show more ...
|
| #
c3e91eef |
| 29-Oct-2024 |
Manorit Chawdhry <m-chawdhry@ti.com> |
plat-k3: drivers: Move message_sequence updates inside ti_sci_do_xfer
To avoid potential race condition, set the message_sequence inside ti_sci_do_xfer itself as the send and receive paths are prote
plat-k3: drivers: Move message_sequence updates inside ti_sci_do_xfer
To avoid potential race condition, set the message_sequence inside ti_sci_do_xfer itself as the send and receive paths are protected by a mutex and avoid race conditions on message_sequence.
Acked-by: Etienne Carriere <etienne.carriere@foss.st.com> Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
show more ...
|
| #
0e8b6c80 |
| 08-Oct-2024 |
Manorit Chawdhry <m-chawdhry@ti.com> |
plat-k3: drivers: Add mutex lock for ti_sci_do_xfer
Current TI-SCI calls are not protected by any locks. OP-TEE running on multiple threads can end up receiving different message response then the o
plat-k3: drivers: Add mutex lock for ti_sci_do_xfer
Current TI-SCI calls are not protected by any locks. OP-TEE running on multiple threads can end up receiving different message response then the one they sent due to no queuing model.
*I/TC: Message with sequence ID <> is not expected
Add mutex lock to prevent such issues.
Acked-by: Etienne Carriere <etienne.carriere@foss.st.com> Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
show more ...
|
| #
f185e24b |
| 14-Jun-2023 |
Jorge Ramirez-Ortiz <jorge@foundries.io> |
plat-k3: drivers: add TISCI call to retrieve the Keycnt and Keyrev
Add TISCI call to retrieve the key count and key revision fused during provisioning.
Signed-off-by: Jorge Ramirez-Ortiz <jorge@fou
plat-k3: drivers: add TISCI call to retrieve the Keycnt and Keyrev
Add TISCI call to retrieve the key count and key revision fused during provisioning.
Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| #
30a9709e |
| 13-Jun-2023 |
Jorge Ramirez-Ortiz <jorge@foundries.io> |
plat-k3: drivers: add TISCI call to retrieve the SWREV
This call is only available to OTP_REV_ID_SEC_BRDCFG
Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io> Acked-by: Jerome Forissier <jerom
plat-k3: drivers: add TISCI call to retrieve the SWREV
This call is only available to OTP_REV_ID_SEC_BRDCFG
Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| #
54a8bf15 |
| 16-Jan-2023 |
Manorit Chawdhry <m-chawdhry@ti.com> |
plat-k3: remove duplicate comments
Removing duplicated comments in the existing as well as newly added functions.
Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com> Acked-by: Etienne Carriere <eti
plat-k3: remove duplicate comments
Removing duplicated comments in the existing as well as newly added functions.
Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com> Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| #
2818b478 |
| 07-Dec-2022 |
Manorit Chawdhry <m-chawdhry@ti.com> |
plat-k3: drivers: add TISCI calls for extended OTP
Extended OTP are a set of bits in our efuses that can be programmed for user specific cases which deal with authentication/encryption.
This patch
plat-k3: drivers: add TISCI calls for extended OTP
Extended OTP are a set of bits in our efuses that can be programmed for user specific cases which deal with authentication/encryption.
This patch adds support for calling extended OTP APIs using TISCI.
Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com> Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| #
115198b4 |
| 16-Aug-2022 |
Andrew Davis <afd@ti.com> |
plat-k3: drivers: ti-sci: Do not print error when message not acknowledged
When the system controller firmware denies a request, we are informed of this by the lack of an acknowledge flag in the res
plat-k3: drivers: ti-sci: Do not print error when message not acknowledged
When the system controller firmware denies a request, we are informed of this by the lack of an acknowledge flag in the response. This is not always an error in cases when we are only testing for permissions. Do not print error messages in this path. The TI-SCI API caller will still print the appropriate message if needed.
Signed-off-by: Andrew Davis <afd@ti.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|
| #
aebb77ea |
| 10-May-2022 |
Andrew Davis <afd@ti.com> |
plat-k3: drivers: ti-sci: Add support for setting firewall state
This adds support for the TI-SCI firewall messages: * TI_SCI_MSG_FWL_SET * TI_SCI_MSG_FWL_GET * TI_SCI_MSG_FWL_CHANGE_OWNER
Signe
plat-k3: drivers: ti-sci: Add support for setting firewall state
This adds support for the TI-SCI firewall messages: * TI_SCI_MSG_FWL_SET * TI_SCI_MSG_FWL_GET * TI_SCI_MSG_FWL_CHANGE_OWNER
Signed-off-by: Andrew Davis <afd@ti.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| #
6932fae7 |
| 03-May-2022 |
Andrew Davis <afd@ti.com> |
plat-k3: drivers: ti-sci: Add support for setting device state
This adds support for the TI-SCI TI_SCI_MSG_SET_DEVICE_STATE message.
Signed-off-by: Andrew Davis <afd@ti.com> Acked-by: Jerome Foriss
plat-k3: drivers: ti-sci: Add support for setting device state
This adds support for the TI-SCI TI_SCI_MSG_SET_DEVICE_STATE message.
Signed-off-by: Andrew Davis <afd@ti.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| #
e15d035e |
| 03-Mar-2022 |
Manorit Chawdhry <m-chawdhry@ti.com> |
plat-k3: Initialize Secure Storage with DKEK
K3 HS devices have a randomly generated 256 bit key written into the efuses in TI Factory. This key is called a Key Encryption Key (KEK) and is unique to
plat-k3: Initialize Secure Storage with DKEK
K3 HS devices have a randomly generated 256 bit key written into the efuses in TI Factory. This key is called a Key Encryption Key (KEK) and is unique to each device.
KEK is fed in hardware into the AES engine inside DMSC/SMS. The efuses carrying the KEK are marked as read and write protected. As a result, KEK is only accessible via the AES engine in DMSC/SMS.
System Firmware provides API to obtain a key derived from KEK(DKEK) for encryption/decryption which is accessible through TI-SCI protocol.
The DKEK will be used in K3 SOCs to initialize HUK for Secure Storage.
Adds TI_SCI_MSG_SA2UL_GET_DKEK in TISCI protocol to extract the DKEK from K3 SOCs and initialize HUK.
Further details can be found in the TISCI documentation: https://software-dl.ti.com/tisci/esd/latest/index.html
Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com> Acked-by: Andrew Davis <afd@ti.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|
| #
6650e9ff |
| 03-Mar-2022 |
Manorit Chawdhry <m-chawdhry@ti.com> |
plat-k3: drivers: Add basic support for TI System Control Interface (TI-SCI) protocol
Texas Instruments System Control Interface (TI-SCI) Message Protocol is used in Texas Instruments System on Chip
plat-k3: drivers: Add basic support for TI System Control Interface (TI-SCI) protocol
Texas Instruments System Control Interface (TI-SCI) Message Protocol is used in Texas Instruments System on Chip (SoC) such as those in keystone family K3 SoC to communicate between various compute processors with a central system controller entity.
TISCI message protocol provides support for management of various hardware entities within the SoC. Add support driver to allow communication with system controller entity within the SoC using the Secure Proxy.
Introduce the basic registration and query capability for the driver protocol as part of this change. Subsequent patches add in functionality specific to the TI-SCI features.
Further information can be found in TI-SCI documentation: https://software-dl.ti.com/tisci/esd/latest/index.html
Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com> Acked-by: Andrew Davis <afd@ti.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|