firmware: arm_ffa: Refactoring and initial/minor v1.1 update
Status from this message: Applied to sudeep.holla/linux (for-next/ffa), thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest10 patches 4 repliesApplied
- v210 patches 9 repliesSuperseded
- v19 patches 18 repliesSuperseded
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | firmware: arm_ffa: Add pointer to the ffa_dev_ops in struct ffa_devdrivers/ drivers/ include/ | +9 | 0 replies | |
| 2/10 | tee: optee: Drop ffa_ops in optee_ffa structure using ffa_dev->ops directlydrivers/ drivers/ | +5 | 0 replies | |
| 3/10 | firmware: arm_ffa: Remove ffa_dev_ops_get()drivers/ include/ | +0 | 0 replies | |
| 4/10 | firmware: arm_ffa: Add support for querying FF-A featuresdrivers/ | +26 | 0 replies | |
| 5/10 | firmware: arm_ffa: Use FFA_FEATURES to detect if native versions are supporteddrivers/ | +16 | 0 replies | |
| 6/10 | firmware: arm_ffa: Make memory apis ffa_device independentdrivers/ drivers/ include/ | +5 | 0 replies | |
| 7/10 | firmware: arm_ffa: Rename ffa_dev_ops as ffa_opsdrivers/ drivers/ drivers/ +1 more | +13 | 0 replies | |
| 8/10 | firmware: arm_ffa: Add v1.1 get_partition_info supportdrivers/ include/ | +36 | 1 reply | |
| 9/10 | firmware: arm_ffa: Set up 32bit execution mode flag using partiion propertydrivers/ include/ | +14 | 2 replies | |
| 10/10 | firmware: arm_ffa: Split up ffa_ops into info, message and memory operationsdrivers/ drivers/ include/ | +45 | 0 replies |
Reviews trailers per patch
9 of 10 patches have a Reviewed-by or Acked-by.
| Patch | Jens Wiklander | Sumit Garg |
|---|---|---|
| 1/10 | R-b | |
| 2/10 | R-b | R-b |
| 3/10 | R-b | |
| 4/10 | R-b | |
| 5/10 | R-b | |
| 6/10 | A-b | |
| 7/10 | R-b | R-b |
| 8/10 | R-b | |
| 9/10 | ||
| 10/10 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 00/10] firmware: arm_ffa: Refactoring and initial/minor v1.1 update
Hi All,
This series is just some refactoring in preparation to add FF-A v1.1 support. It doesn't have any memory layout or notification changes supported in v1.1 yet.
Regards,
Sudeep
v2[2]->v3:
- Fixed the logic to set 32bit mode which was wrong.
- Ensured that we advance each partition info size by returned size even if the size is greater than the partition_info structure, we will still just copy the right size.
v1[1]->v2[2]:
- Merged dropping of ffa_ops in optee_ffa structure and using ffa_dev->ops into single patch
- Added separate patch(didn't fit any patch strictly to fit in) to rename ffa_dev_ops as ffa_ops as suggested by Sumit
- Fixed some minor comments, handling size > structure size in partition_info_get and added extra parameter to ffa_features to get both possible output/interface properties.
[1] https://lore.kernel.org/all/20220830100700.344594-1-sudeep.holla(a)arm.com
[2] https://lore.kernel.org/all/20220902124032.788488-1-sudeep.holla(a)arm.com
Sudeep Holla (10):
firmware: arm_ffa: Add pointer to the ffa_dev_ops in struct ffa_dev
tee: optee: Drop ffa_ops in optee_ffa structure using ffa_dev->ops directly
firmware: arm_ffa: Remove ffa_dev_ops_get()
firmware: arm_ffa: Add support for querying FF-A features
firmware: arm_ffa: Use FFA_FEATURES to detect if native versions are supported
firmware: arm_ffa: Make memory apis ffa_device independent
firmware: arm_ffa: Rename ffa_dev_ops as ffa_ops
firmware: arm_ffa: Add v1.1 get_partition_info support
firmware: arm_ffa: Set up 32bit execution mode flag using partiion property
firmware: arm_ffa: Split up ffa_ops into info, message and memory operations
drivers/firmware/arm_ffa/bus.c | 4 +- drivers/firmware/arm_ffa/driver.c | 131 +++++++++++++++++++++++------- drivers/tee/optee/ffa_abi.c | 46 +++++------ drivers/tee/optee/optee_private.h | 1 - include/linux/arm_ffa.h | 36 +++++--- 5 files changed, 151 insertions(+), 67 deletions(-)
--
2.37.3