Age | Commit message (Collapse) | Author |
|
Update the TEE driver external component to refer to the new v2 branch.
Also, remove the temporary TEE implemenation ID define from the Linux
RPC caller since now we can get it from the driver's header file again.
Signed-off-by: Balint Dobszay <balint.dobszay@arm.com>
Change-Id: I1d9bf640932769e52822606fa3af01e192b16cd5
|
|
This commit merges the 'tforg/topics/ts-rpc' into integration. The
change overhauls the RPC layer implement the following changes:
- allow RPC compatibility check be adding versioning to the RPC layer
- allow multiple memory shares between FF-A endpoints. (This was a
concerning limitation for NWd endpoints where multiple clients
may operate).
- add service discovery support. After this change all SPs use the
same FF-A UUID. This means the FF-A UUID identifies the protocol and
not the service as before. As a result, to locate a service further
discovery is needed on top of FF-A discovery. This is implemented
in the RPC layer for performance reasons.
- update discovery implementation and add the new discovery step
needed after service locator locates the SP.
- change protocol encoding types to be represented as dedicated
interfaces of an SP. This removes encoding type identifiers and
replaces these with service UUIDs.
- add RPC ABI documentation
Change-Id: I7fbb28b17d44b04578595c8725674624297f01a0
Signed-off-by: Gyorgy Szing <Gyorgy.Szing@arm.com>
|
|
Add documentation for the protocol layers of trusted services, the RPC
layer and TS RPC layer in particular. The patch also includes the
complete description of the TS RPC ABI and behavior.
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I77031702b6a512d0b8edb0c826adeb2d762cecb3
|
|
Cover error handler branches of the direct message request and response
handlers in the SPMC by sending various invalid messages from the tests
SPs.
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I0d0baacb49bf84bc34addbc10c2bca653da1e6bc
|
|
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I1277dbd58d75a41f7dc955289144e0c9ac4b4466
|
|
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I8e8541ae88750f5c46644829744da6850fbaa651
|
|
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I6309ec81dbe614fbf68a2df4dfa250c19183d033
|
|
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I217a8c2b9875819f913a84b4a28808465f952727
|
|
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I8513f40c8437da397d7b2a7bae8ce6dec937d3d3
|
|
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I9904ef58cbaf71365b80796fdd7e2fd0cfff6f92
|
|
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I9adf7f50c71f8d7fbcc04f9ade18344dda2c3315
|
|
Signed-off-by: Balint Dobszay <balint.dobszay@arm.com>
Change-Id: Id7f20a878469e9a06cf14b37afbec8a06d8fca9d
|
|
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: Id3a0986a0b15bfd40038e1eb04ad6c4a78b1701c
|
|
Signed-off-by: Balint Dobszay <balint.dobszay@arm.com>
Change-Id: I3cc85e63e7029c7185d40a0e51a1620f1be100bc
|
|
Signed-off-by: Balint Dobszay <balint.dobszay@arm.com>
Change-Id: Ic9355e20cec6974b04ebd94d6e26bbc4ce618f48
|
|
Signed-off-by: Balint Dobszay <balint.dobszay@arm.com>
Change-Id: Ie538f9a732dc4e4092207a6f88ebedc4bcf205c4
|
|
Signed-off-by: Balint Dobszay <balint.dobszay@arm.com>
Change-Id: Icf120cb06c60b412accbd709bb22bffb3f613d12
|
|
Signed-off-by: Balint Dobszay <balint.dobszay@arm.com>
Change-Id: I8ea37d05ac9a3b055c8186b6bac9742bfa0d6612
|
|
Signed-off-by: Balint Dobszay <balint.dobszay@arm.com>
Change-Id: I041c35523d2e39dffd25ff05502a8d5b7c79ebd8
|
|
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I9a453e76d3424f3cf56864a4daf2c8b09f715024
|
|
Change ffa_call_ep to ts_rpc_endpoint_sp.
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I297fea525f6a8772d7bc5c8cd39a3711c243c843
|
|
Change ffa_call_ep to ts_rpc_endpoint_sp.
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I27263372fb416b0f640b70e2f9404ce187e074d6
|
|
Change ffa_call_ep to ts_rpc_endpoint_sp.
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I1c08c9c6fbfdee424752b437de9b0ba667b84592
|
|
Change ffa_call_ep to ts_rpc_endpoint_sp.
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I98da158882bcc0e1e10d97a170d769028ccc4329
|
|
Change ffa_call_ep to ts_rpc_endpoint_sp.
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I9a51b24db378358f6ed0bb94e7edba1994087401
|
|
Change ffa_call_ep to ts_rpc_endpoint_sp.
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I1700b0e8fc776f05fcde3b637fd2206cba5f6e69
|
|
Change ffa_call_ep to ts_rpc_endpoint_sp.
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I349024ece446824a772d413617b3b07937c47e02
|
|
Change ffa_call_ep to ts_rpc_endpoint_sp and update crypto service
locator query.
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: Id7139107c7364af43f74ee806702ad9d99a68439
|
|
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: Ib8e1e0f9f47d35e85e73e320a30a25176f5cc916
|
|
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: Ic38f75f1397c8f166abc517f370dd99a7fea1b87
|
|
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: Id8f00875716b0cc3e8f7a6995ec1a4fc1376979e
|
|
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I8d3eb07f126a052b0eb27f28e00b731b6259b959
|
|
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I6c370e8dc14f2262a2502995f655888a80d69c7b
|
|
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: Id99d8b095ee1221fdf4486dd109c222dfce51c94
|
|
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: Ibf19ae43a95c9ecf67f2f0966209e3cf34afb4d0
|
|
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I17aaf6408dece9f391b19f4f8ee0a24407f2463d
|
|
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I3291d9478ac981790e9248c29efc1cd9e91ee2d4
|
|
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: Ib0e9a86656f7fc16234d011487d39eefad13c063
|
|
The components is already dead code and with the RPC related changes it
becomes unusable.
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I8876884d46a81bbcf6f9bab0d8c18955e551fe1b
|
|
Also align storage factories to find the endpoints using the
rpc_caller_session's features.
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: Ie716452a70655b5ab0b8c1e771f002b00fbb81c6
|
|
Modify secure storage service handlers to use the new RPC interface.
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: Ic03914a5dda8a927d52b57f179779ce11d47afe5
|
|
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I1810d07f094d40a667ee3779156af80b7161ee44
|
|
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I88097987434e94b7a47a2b77efb4c20b8f6a39ab
|
|
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I7e8527c9217b95b4792f2dd24d9bccab2b81ee82
|
|
Fixing multiple mock store issues in order to pass all PSA ITS API host
tests.
* Deny calls with 0 uid
* Handle WRITE_ONCE flags
* Handle data_offset argument in get calls
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I63b1812482bf9e98a0ca69fc5d14757346efafae
|
|
Initialize members in declaration order to prevent compiler warning in
struct fmp. Also delete img_info member in fmp destructor to resolve
memory leak.
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I43c9bf1afb7f01f4b79908aa6dfa611f074b35bd
|
|
Allow configuring the CMake generator used for external components. By
default use the generator the main project is using.
For details see the documentation in tools/cmake/common/LazyFetch.cmake.
Change-Id: Ie01ea1ae533cf7a40c1f09808de2ad2e83a09db3
Signed-off-by: Gyorgy Szing <Gyorgy.Szing@arm.com>
|
|
Extend LazyFetch to allow building external components in verbose
mode to help debugging issues. Both the configuration phase and the
build pase can be made versbose with cmake or environemnt variables.
For details see tools/cmake/common/LazyFetch.cmake.
Change-Id: Ifa13904cf5692778cc1b1d56757e4c95539fc24a
Signed-off-by: Gyorgy Szing <Gyorgy.Szing@arm.com>
|
|
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: Ieb2e5ebdce689bcb5a9d3565b348c6a5f9d0353b
|
|
Implement dummy rpc_caller_interface in PSA IPC caller and export an
interface which matches the openamp functions.
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: Iaf30d1fe4607cc4e04c8859524eabe2d0f6bb31b
|