| 0ed15f88 | 28-Jul-2025 |
Aniket Sarkar <a-sarkar1@ti.com> |
plat-k3: drivers: Add support for TI mailbox driver
New devices like the AM62L use a mailbox to communicate with the security firmware. Add mailbox driver here to support the mailbox hardware.
Sign
plat-k3: drivers: Add support for TI mailbox driver
New devices like the AM62L use a mailbox to communicate with the security firmware. Add mailbox driver here to support the mailbox hardware.
Signed-off-by: Aniket Sarkar <a-sarkar1@ti.com> Signed-off-by: Suhaas Joshi <s-joshi@ti.com> Reviewed-by: Andrew Davis <afd@ti.com>
show more ...
|
| 40baeb58 | 07-Jul-2025 |
Aniket Sarkar <a-sarkar1@ti.com> |
plat-k3: drivers: Refactor sec_proxy driver
Since the underneath transport layer may or may not always be sec_proxy it doesn't make sense to keep following the k3_sec_proxy_* convention for the TI_S
plat-k3: drivers: Refactor sec_proxy driver
Since the underneath transport layer may or may not always be sec_proxy it doesn't make sense to keep following the k3_sec_proxy_* convention for the TI_SCI message transports. Rename them to something more generic like ti_sci_transport_*.
Signed-off-by: Aniket Sarkar <a-sarkar1@ti.com> Signed-off-by: Suhaas Joshi <s-joshi@ti.com> Reviewed-by: Andrew Davis <afd@ti.com>
show more ...
|
| 6e896c42 | 14-Nov-2025 |
Suhaas Joshi <s-joshi@ti.com> |
plat-k3: drivers: Set SEC_PROXY_MAX_MSG_SIZE to 56
Currently, SEC_PROXY_MAX_MSG_SIZE is set to 60. However, its max size (including the secure header) is 56. Therefore correct this macro.
Signed-of
plat-k3: drivers: Set SEC_PROXY_MAX_MSG_SIZE to 56
Currently, SEC_PROXY_MAX_MSG_SIZE is set to 60. However, its max size (including the secure header) is 56. Therefore correct this macro.
Signed-off-by: Suhaas Joshi <s-joshi@ti.com> Reviewed-by: Andrew Davis <afd@ti.com>
show more ...
|
| a9690ae3 | 01-Aug-2025 |
T Pratham <t-pratham@ti.com> |
plat-k3: drivers: Add TRNG driver support in AM62L
AM62L contains the EIP76D TRNG IP which was also present in the previous K3 devices inside the SA2UL accelerator, so the same driver is being re-us
plat-k3: drivers: Add TRNG driver support in AM62L
AM62L contains the EIP76D TRNG IP which was also present in the previous K3 devices inside the SA2UL accelerator, so the same driver is being re-used here. But the AM62L does not have SA2UL. The SoC specific configurations are being set here for AM62L for enabling TRNG.
Signed-off-by: T Pratham <t-pratham@ti.com> Reviewed-by: Manorit Chawdhry <m-chawdhry@ti.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 405395c4 | 01-Aug-2025 |
T Pratham <t-pratham@ti.com> |
plat-k3: drivers: Move RNG platform error from SA2UL to RNG defines
The error define for RNG base address being not defined for a platform when software PRNG is disabled, is currently handled as a c
plat-k3: drivers: Move RNG platform error from SA2UL to RNG defines
The error define for RNG base address being not defined for a platform when software PRNG is disabled, is currently handled as a case with SA2UL platform config definitions. This is not appropriate as RNG is not needed to be tied up to SA2UL. Moving it to be placed with RNG platform configs where it is more apt.
Signed-off-by: T Pratham <t-pratham@ti.com> Reviewed-by: Manorit Chawdhry <m-chawdhry@ti.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 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 ...
|
| e313f476 | 13-Sep-2023 |
Kamlesh Gurudasani <kamlesh@ti.com> |
plat-k3: drivers: Open TRNG firewall for TIFS
On devices with PLATFORM=k3-am62x, there is only one SA2UL instance, which is being shared between TIFS and OP-TEE.
Blocking access to TRNG from all ot
plat-k3: drivers: Open TRNG firewall for TIFS
On devices with PLATFORM=k3-am62x, there is only one SA2UL instance, which is being shared between TIFS and OP-TEE.
Blocking access to TRNG from all other entities other than OP-TEE is causing firewall exception when being accessed by TIFS.
While there are other platforms with only one sa2ul instance, on AM62x we support low power mode, in which TIFS access TRNG while waking up from deep sleep. On other devices, use of TRNG by TIFS is limited to the time till OP-TEE initializes and firewalls it for other entities.
Allow access to TIFS to use SA2UL TRNG along with OP-TEE.
Signed-off-by: Kamlesh Gurudasani <kamlesh@ti.com> Reviewed-by: Manorit Chawdhry <m-chawdhry@ti.com>
show more ...
|