| #
03d6625f |
| 08-Jan-2026 |
Dennis Ries <dennis.ries@missinglinkelectronics.com> |
drivers: versal_net: Add OCP driver
On Versal NET devices (only) PLM Firmware has a module called XilOCP, providing services related to the Open Compute Project (OCP) security standards (PCR handlin
drivers: versal_net: Add OCP driver
On Versal NET devices (only) PLM Firmware has a module called XilOCP, providing services related to the Open Compute Project (OCP) security standards (PCR handling, Device Management Endorsement, Attestation).
This commit adds functions which are more or less equivalent to the XilOCP client side API offers.
Since most Versal and Versal NET drivers more or less re-implement rather similar handling of struct versal_ipi_cmd, this commit also adds and hereby proposes a new set of helper functions for commonly used operations on struct versal_ipi_cmd. With these versal_ipi_cmd_*() functions data words ("Values") and "IPI buffers" can easily be "pushed" onto a struct versal_ipi_cmd.
For now, only this OCP driver makes use of these versal_ipi_cmd_*() functions. Thus they have been placed directly in versal_ocp.c instead of having them located in a separate drivers/ file, like drivers/versal_ipi_cmd.c [1].
Link: https://github.com/OP-TEE/optee_os/pull/7726#issuecomment-4237954478 [1] Signed-off-by: Dennis Ries <dennis.ries@missinglinkelectronics.com> Signed-off-by: Joachim Foerster <joachim.foerster@missinglinkelectronics.com> Reviewed-by: Nathan Menhorn <nathan.menhorn@amd.com> Tested-by: Nathan Menhorn <nathan.menhorn@amd.com> Reviewed-by: Sean McGinn <sean.mcginn@amd.com> Reviewed-by: Lucas Kiker <lucas.kiker@amd.com> Reviewed-by: Sindhu Raveendra <Sindhu.Raveendra@amd.com> Reviewed-by: Clemens Nasenberg <clemens.nasenberg@amd.com> Reviewed-by: Jorge Ramirez-Ortiz <jorge.ramirez@oss.qualcomm.com>
show more ...
|