Re: [PATCH v2 1/8] drivers: introduce Secure Monitor uclass

2023-09-20 Thread Simon Glass
Hi Alexey, On Mon, 11 Sept 2023 at 10:35, Alexey Romanov wrote: > > At the moment, we don't have a common API for working with > SM, only the smc_call() function. This approach is not generic > and difficult to configure and maintain. > > This patch adds UCLASS_SM with the generic API: > > - sm_c

[PATCH v2 1/8] drivers: introduce Secure Monitor uclass

2023-09-11 Thread Alexey Romanov
At the moment, we don't have a common API for working with SM, only the smc_call() function. This approach is not generic and difficult to configure and maintain. This patch adds UCLASS_SM with the generic API: - sm_call() - sm_call_write() - sm_call_read() These functions operate with struct pt