- Sep 26, 2023
-
-
Balint Dobszay authored
Refactor the driver to use the new Trusted Services RPC ABI. Remove the capabilty of handling multiple RPC ABIs based on SP UUID, the scope of the driver is Trusted Services only so this feature is not needed. Change the user space interface to get aligned with the requirements of the new RPC mechanism. Signed-off-by:
Balint Dobszay <balint.dobszay@arm.com> Change-Id: I29d4d4a2790568b85e8f2d5f1f631f1dc2c73acb
-
- Jan 27, 2023
-
-
Balint Dobszay authored
Signed-off-by:
Balint Dobszay <balint.dobszay@arm.com> Change-Id: Ifa6ac7db3240cbd85c55a2b69999a453619e53db
-
Balint Dobszay authored
The in-kernel interface of the FF-A driver has changed with the v6.1 kernel release. The FF-A operations are now split into multiple groups, and instead of using the ffa_dev_ops_get() function now the ops struct can be reached directly. This patch introduces wrapper functions around the FF-A operations to enable using the new in-kernel interface in a backwards compatible way. Signed-off-by:
Balint Dobszay <balint.dobszay@arm.com> Change-Id: I0dc2b3eaa46516c071d75f12211a1ee68083fb2e
-
- Aug 31, 2022
-
-
Balint Dobszay authored
Add the Secure Enclave Proxy SP [1] UUID to the driver's compatibility list. This enables communicating with the SP, since it uses the TS RPC protocol no further changes are necessary. Link: [1]: https://git.trustedfirmware.org/TS/trusted-services.git/tree/deployments/se-proxy?h=integration Signed-off-by:
Balint Dobszay <balint.dobszay@arm.com> Change-Id: I5f318b22f1659e9440f83b5660df5d9cd90137c6
-
The tee shm pool has changed in commit d88e0493a054 of the Linux kernel in a breaking way. Instead of having a pool manager with two pools now only a single pool is being used. This patch adds support for the simplified shm pool while maintaining compatibility with earlier kernel versions too. Signed-off-by:
Imre Kis <imre.kis@arm.com> Change-Id: I7bc8b5e5e1ca8c0552ec9e78023a62cd1ebd154c
-
Balint Dobszay authored
Replace the current DebugFS and custom ioctl based FF-A user-space interface with an implementation which uses the TEE subsystem. Currently the new TEE driver supports Trusted Services specific protocol and enables communication with PSA Secure Partitions. The design allows extending the TEE driver with other protocols in the future when demand arises. The main intention of the change is to break away from the proof-of-concept nature of the previous implementation, coming from the debug nature of DebugFS (it is disabled in release builds), and the foreseeable challenges of up-streaming a new user-space API. Signed-off-by:
Balint Dobszay <balint.dobszay@arm.com> Change-Id: If2a59d5ca15eebeb30dad229fb99207aadc13d93
-
During probing, the FF-A device was always set to 32bit even while running on a 64bit OS. Change this by only setting the device to 32bit if we are running a 32bit system. Signed-off-by:
Jelle Sels <jelle.sels@arm.com>
-
Balint Dobszay authored
Pass the required memory region size as an argument, instead of using hardcoded value. Signed-off-by:
Balint Dobszay <balint.dobszay@arm.com> Change-Id: Id7d1ee7f87ea635603800978666b64da975997f9
-
Shared memory regions are referenced by the memory handle instead of the destination ID. Signed-off-by:
Imre Kis <imre.kis@arm.com> Change-Id: Id10ba15322a62bbda3694c007ba6fb63ca7f693a
-
Balint Dobszay authored
This module is a generic test component, which doesn't contain any specific code for a specific SP. Therefore having the compatible SP UUIDs hardcoded is a drawback. This commit enables defining the UUIDs (which can be bound to this driver) when loading the module. Example: insmod arm-ffa-user.ko uuid_str_list=\ "d9df52d5-16a2-4bb2-9aa4-d26d3b84e8c0",\ "dc1eef48-b17a-4ccf-ac8b-dfcff7711b14" Signed-off-by:
Balint Dobszay <balint.dobszay@arm.com> Change-Id: I5861ac2c1d8f1d8c6704b1abb3a44391d4834568
-
Balint Dobszay authored
Signed-off-by:
Balint Dobszay <balint.dobszay@arm.com> Change-Id: Ie397323ec83babb0d7c5d6db455ea9b855c1fd5d
-
Balint Dobszay authored
This contains non backwards compatible changes to the user space API, therefore the module version major number is increased. Signed-off-by:
Balint Dobszay <balint.dobszay@arm.com> Change-Id: Ieb899ed754a8b4ca31720746f1b287bce617418b
-
Balint Dobszay authored
Signed-off-by:
Balint Dobszay <balint.dobszay@arm.com> Change-Id: I7b54b0068f39b181feac7cd58c644493f2e65582
-
Balint Dobszay authored
The FF-A driver operations are currently not accessible from user space. This commit adds a thin layer using a DebugFS interface to expose them. It is a temporary workaround for the OP-TEE team, prototyping S-EL0 Secure Partitions and OP-TEE as S-EL1 SPMC. Change-Id: Ic15a3acf07d74139b37af4aee3a69de634056ba6 Signed-off-by:
Balint Dobszay <balint.dobszay@arm.com>
-
- Jan 28, 2021
-
-
Gyorgy Szing authored
Signed-off-by:
Gyorgy Szing <Gyorgy.Szing@arm.com>
-