| #
4c23d627 |
| 28-Jan-2025 |
Olivier Deprez <olivier.deprez@arm.com> |
Merge "fix(spmd): fix build failure due to redefinition" into integration
|
| #
a869e2dc |
| 24-Oct-2024 |
Sudeep Holla <sudeep.holla@arm.com> |
fix(spmd): fix build failure due to redefinition
Clang build breaks with the following warning:
| In file included from services/std_svc/spmd/spmd_logical_sp.c:15: | include/services/el3_spmd
fix(spmd): fix build failure due to redefinition
Clang build breaks with the following warning:
| In file included from services/std_svc/spmd/spmd_logical_sp.c:15: | include/services/el3_spmd_logical_sp.h:15:38: error: redefinition of | typedef 'spmd_spm_core_context_t' is a C11 feature [-Werror,-Wtypedef-redefinition]. | 15 | typedef struct spmd_spm_core_context spmd_spm_core_context_t; | | ^ | services/std_svc/spmd/spmd_private.h:58:3: note: previous definition is here | 58 | } spmd_spm_core_context_t; | | ^ | CC services/std_svc/std_svc_setup.c | 1 error generated. | In file included from services/std_svc/spmd/spmd_main.c:35: | services/std_svc/spmd/spmd_private.h:58:3: error: redefinition of typedef | 'spmd_spm_core_context_t' is a C11 feature [-Werror,-Wtypedef-redefinition] | 58 | } spmd_spm_core_context_t; | | ^ | include/services/el3_spmd_logical_sp.h:15:38: note: previous definition is here | 15 | typedef struct spmd_spm_core_context spmd_spm_core_context_t; | | ^ | 1 error generated.
A structure 'spmd_spm_core_context_t' defined in 'spmd_private.h' is also declared in 'el3_spmd_logical_sp.h' as it is used in a couple of function declarations. These function declarations can be moved to spmd_private.h as they are not needed elsewhere.
Change-Id: Ic6b9a277abe00cb7129f671570abf7255be62dfa Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
show more ...
|
| #
3474340b |
| 05-Apr-2024 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge "fix(spmd): skip NS EL1 context save & restore operations" into integration
|
| #
2d960a11 |
| 29-Jan-2024 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
fix(spmd): skip NS EL1 context save & restore operations
NS EL1 context save and restore is taken by SPMC upon entering and exiting S-EL2
BREAKING CHANGE: Corresponding support is needed in Hafnium
fix(spmd): skip NS EL1 context save & restore operations
NS EL1 context save and restore is taken by SPMC upon entering and exiting S-EL2
BREAKING CHANGE: Corresponding support is needed in Hafnium SPMC
Change-Id: I8524f1229b3e13c2df4e4b5be3f12436289c30c7 Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
show more ...
|
| #
ee7d7f66 |
| 27-Sep-2023 |
Manish Pandey <manish.pandey2@arm.com> |
Merge "fix(spmd): coverity scan issues" into integration
|
| #
b04343f3 |
| 25-Sep-2023 |
Raghu Krishnamurthy <raghu.ncstate@gmail.com> |
fix(spmd): coverity scan issues
Coverity defects fixed by this patch are: *** CID 400208: Performance inefficiencies (PASS_BY_VALUE) /include/services/el3_spmd_logical_sp.h: 108 in ffa_partition_i
fix(spmd): coverity scan issues
Coverity defects fixed by this patch are: *** CID 400208: Performance inefficiencies (PASS_BY_VALUE) /include/services/el3_spmd_logical_sp.h: 108 in ffa_partition_info_regs_get_last_idx()
*** CID 400207: Performance inefficiencies (PASS_BY_VALUE) /services/std_svc/spmd/spmd_logical_sp.c: 359 in ffa_partition_info_regs_get_part_info()
Signed-off-by: Raghu Krishnamurthy <raghu.ncstate@gmail.com> Change-Id: I9597377a8ec3d5519995e1619d99ee7102f33939
show more ...
|
| #
4ede8c39 |
| 14-Aug-2023 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge changes from topic "el3_direct_msg" into integration
* changes: docs(spm): document new build option feat(fvp): spmd logical partition smc handler feat(fvp): add spmd logical partition
Merge changes from topic "el3_direct_msg" into integration
* changes: docs(spm): document new build option feat(fvp): spmd logical partition smc handler feat(fvp): add spmd logical partition feat(spmd): get logical partitions info feat(spmd): add partition info get regs refactor(ff-a): move structure definitions feat(spmd): el3 direct message API feat(spmd): add spmd logical partitions
show more ...
|
| #
95f7f6d8 |
| 23-Apr-2023 |
Raghu Krishnamurthy <raghu.ncstate@gmail.com> |
feat(spmd): get logical partitions info
This patch enables FF-A secure partitions and the SPMC to query EL3 SPMD logical partitions that are present in the system via partition get info regs abi. No
feat(spmd): get logical partitions info
This patch enables FF-A secure partitions and the SPMC to query EL3 SPMD logical partitions that are present in the system via partition get info regs abi. Note that normal world will not be able to see EL3 SPMD logical partitions as per the spec.
Signed-off-by: Raghu Krishnamurthy <raghu.ncstate@gmail.com> Change-Id: I3fca8aed8ae156a559a74521803324c13ae3d55a
show more ...
|
| #
0b850e9e |
| 22-Apr-2023 |
Raghu Krishnamurthy <raghu.ncstate@gmail.com> |
feat(spmd): add partition info get regs
This patch adds support for an EL3 SPMD logical partition to discover secure partitions using the FFA_PARTITION_INFO_GET_REGS abi. It also adds helper functio
feat(spmd): add partition info get regs
This patch adds support for an EL3 SPMD logical partition to discover secure partitions using the FFA_PARTITION_INFO_GET_REGS abi. It also adds helper functions for a logical partition to use the information returned in registers in a meaningful way.
Signed-off-by: Raghu Krishnamurthy <raghu.ncstate@gmail.com> Change-Id: Id69488e7367e17e2dfa6c8e332be3c8d41f6c773
show more ...
|
| #
66bdfd6e |
| 03-Mar-2023 |
Raghu Krishnamurthy <raghu.ncstate@gmail.com> |
feat(spmd): el3 direct message API
This patch implements an API that is exposed to SPMD logical partitions that can be used to send direct messages to a secure partition. It also adds required code
feat(spmd): el3 direct message API
This patch implements an API that is exposed to SPMD logical partitions that can be used to send direct messages to a secure partition. It also adds required code in the SPMD smc handler to complete the direct response appropriately.
Change-Id: I2d0e38415f13ad4fd28f8984d565036b7d3a9e71 Signed-off-by: Raghu Krishnamurthy <raghu.ncstate@gmail.com>
show more ...
|
| #
890b5088 |
| 25-Feb-2023 |
Raghu Krishnamurthy <raghu.ncstate@gmail.com> |
feat(spmd): add spmd logical partitions
Add header file to help with creation of SPMD logical partitions. Also update linker files to create sections to record SPMD logical partitions declared. This
feat(spmd): add spmd logical partitions
Add header file to help with creation of SPMD logical partitions. Also update linker files to create sections to record SPMD logical partitions declared. This follows the same pattern as the EL3 SPMC's logical partitions. This patch also adds initialization of SPMD logical partitions when the SPMD comes up. ENABLE_SPMD_LP is a build flag that is used to enable support for SPMD logical partitions. Note that the approach chosen is to keep SPMD and SPMC logical partition support separate, as opposed to extend the existing SPMC logical partition support since the code would need to have a number of ifdefs and the interactions with various build options such as SPMC_AT_EL3 needs to be accounted for, which would make code more complicated.
Signed-off-by: Raghu Krishnamurthy <raghu.ncstate@gmail.com> Change-Id: I9642ddbf6ea26dd3f4a283baec598d61c07e3661
show more ...
|