| a6dd46ae | 06-Jun-2025 |
Naman Trivedi <naman.trivedimanojbhai@amd.com> |
fix(xilinx): validate Node ID in PM callback events
The PM_NOTIFY_CB is used to notify both events and errors from the PLM firmware. The values of events and errors can overlap, they can be distingu
fix(xilinx): validate Node ID in PM callback events
The PM_NOTIFY_CB is used to notify both events and errors from the PLM firmware. The values of events and errors can overlap, they can be distinguished using the Node ID, which is included in the callback payload.
Currently, when an EVENT_CPU_PWRDWN notification is received, TF-A powers down cores without validating the Node ID. This leads to incorrect behavior, as TFA powers down cores even when an error occurs that shares the same event value.
Add a Node ID check to differentiate between events and errors to fix this issue.
Change-Id: I4b92e0e1dac0c41a39f98efdf545bda7d64acba8 Signed-off-by: Naman Trivedi <naman.trivedimanojbhai@amd.com>
show more ...
|
| 2f8856fa | 06-Jun-2025 |
Naman Trivedi <naman.trivedimanojbhai@amd.com> |
fix(xilinx): add macro to extract node class from node ID
Introduce the NODECLASS() macro to extract the node class from a given node ID. This helps in filtering nodes based on their class as encode
fix(xilinx): add macro to extract node class from node ID
Introduce the NODECLASS() macro to extract the node class from a given node ID. This helps in filtering nodes based on their class as encoded in the ID.
Change-Id: I0e55b68a0103a99748df93b6fe9a3f1df4a7cca4 Signed-off-by: Naman Trivedi <naman.trivedimanojbhai@amd.com>
show more ...
|
| adbcd85e | 29-May-2025 |
Joanna Farley <joanna.farley@arm.com> |
Merge changes from topic "xlnx_versal_custom_sip" into integration
* changes: feat(versal): add hooks for mmap and early setup refactor(zynqmp): refactor custom sip service |
| bc11248a | 26-May-2025 |
Joanna Farley <joanna.farley@arm.com> |
Merge changes from topic "xlnx_versal_misra_fixes_series_3" into integration
* changes: fix(xilinx): resolve misra rule 16.3 violations fix(xilinx): resolve misra rule 2.5 violations fix(xilin
Merge changes from topic "xlnx_versal_misra_fixes_series_3" into integration
* changes: fix(xilinx): resolve misra rule 16.3 violations fix(xilinx): resolve misra rule 2.5 violations fix(xilinx): resolve misra rule 4.6 violations fix(xilinx): resolve misra rule 12.2 violations fix(xilinx): resolve misra rule 10.1 violations fix(xilinx): resolve misra rule 8.13 violations fix(xilinx): resolve misra rule 4.5 violations fix(xilinx): resolve misra rule 16.4 violations
show more ...
|
| a335cd91 | 22-Apr-2025 |
Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com> |
fix(xilinx): resolve misra rule 16.3 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.16.3: - An unconditional break statement shall terminate every switch-clause. - Fix:
fix(xilinx): resolve misra rule 16.3 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.16.3: - An unconditional break statement shall terminate every switch-clause. - Fix: - Added break statement in default clause to comply with MISRA.
Change-Id: Ie1ed38be671d5788096b2addba8e9a8fbcc4f2ec Signed-off-by: Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com>
show more ...
|
| 93db9e61 | 16-Apr-2025 |
Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com> |
fix(xilinx): resolve misra rule 2.5 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.2.5: - A project should not contain unused macro declarations. - Fix: - Removed unus
fix(xilinx): resolve misra rule 2.5 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.2.5: - A project should not contain unused macro declarations. - Fix: - Removed unused macro declarations.
Change-Id: I2b9deda95d1a3927ab8b4e2c8a41bd85acb62be3 Signed-off-by: Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com>
show more ...
|
| 6df7184e | 10-Apr-2025 |
Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com> |
fix(xilinx): resolve misra rule 4.6 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.4.6: - Typedefs that indicate size and signedness should be used in place of the b
fix(xilinx): resolve misra rule 4.6 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.4.6: - Typedefs that indicate size and signedness should be used in place of the basic numerical types. - Fix: - Used typedefs that indicate size and signedness in place of basic numerical types and updated return type of function wherever needed.
Change-Id: Ifde2379ee3f9d5ab30ef695d99f59591af575aba Signed-off-by: Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com>
show more ...
|
| f78c5970 | 10-Apr-2025 |
Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com> |
fix(xilinx): resolve misra rule 12.2 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.12.2: - The right hand operand of a shift operator shall lie in the range zero to
fix(xilinx): resolve misra rule 12.2 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.12.2: - The right hand operand of a shift operator shall lie in the range zero to one less than the width in bits of the essential type of the left hand operand. - Fix: - Type casted left operand to a larger width than shift.
Change-Id: I662ff57e52d1260e2f1a0de595f19a9143714892 Signed-off-by: Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com>
show more ...
|
| 7d0eb0e1 | 23-Apr-2025 |
Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com> |
fix(xilinx): resolve violations generated with IPI_CRC_CHECK enabled
Fix below MISRA violations generated with IPI_CRC_CHECK enabled: - MISRA-C rule 8.3 - Made same parameter names in function dec
fix(xilinx): resolve violations generated with IPI_CRC_CHECK enabled
Fix below MISRA violations generated with IPI_CRC_CHECK enabled: - MISRA-C rule 8.3 - Made same parameter names in function declaration and definition. - MISRA-C rule 12.2 - Type casted left operand to a larger width than shift. - MISRA-C rule 15.6 - Added braces for if statements.
Change-Id: I90c5723e77431cc29b9896425ce1be94df44c042 Signed-off-by: Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com>
show more ...
|
| c314a0b3 | 09-Apr-2025 |
Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com> |
fix(xilinx): resolve misra rule 10.1 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.10.1: - Operands shall not be of an inappropriate essential type. - Fix: - Made ope
fix(xilinx): resolve misra rule 10.1 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.10.1: - Operands shall not be of an inappropriate essential type. - Fix: - Made operands of the same type.
Change-Id: I30a01cc0938603defba7572e9f4dd9ebe6d74a9c Signed-off-by: Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com>
show more ...
|
| cd60ab79 | 09-Apr-2025 |
Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com> |
fix(xilinx): resolve misra rule 8.13 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.8.13: - A pointer should point to a const-qualified type whenever possible. - Fix:
fix(xilinx): resolve misra rule 8.13 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.8.13: - A pointer should point to a const-qualified type whenever possible. - Fix: - Made constant pointer wherever the object it points to doesn't change.
Change-Id: I16c87dcc2b3a49c70c1e60f25aa361f1f13bda13 Signed-off-by: Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com>
show more ...
|
| 2993166d | 09-Apr-2025 |
Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com> |
fix(xilinx): resolve misra rule 4.5 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.4.5: - Identifiers in the same name space with overlapping visibility should be ty
fix(xilinx): resolve misra rule 4.5 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.4.5: - Identifiers in the same name space with overlapping visibility should be typographically unambiguous. - Fix: - Renamed PM_RET_ERROR_NOFEATURE to PM_RET_ERROR_IOCTL_NOT_SUPPORTED and removed unnecessary macro definitions.
Change-Id: I6f03e619979685df7418fbccad7b0934d136776e Signed-off-by: Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com>
show more ...
|
| ea3ec865 | 09-Apr-2025 |
Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com> |
fix(xilinx): resolve misra rule 16.4 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.16.4: - Every switch statement shall have a non-empty default label. - Fix: - Modif
fix(xilinx): resolve misra rule 16.4 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.16.4: - Every switch statement shall have a non-empty default label. - Fix: - Modified logic to comply with MISRA guidelines.
Change-Id: Ifd5f27763481f532affad6eb39ce6319dd6e95fc Signed-off-by: Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com>
show more ...
|
| 72b9f52d | 10-Apr-2025 |
Prasad Kummari <prasad.kummari@amd.com> |
feat(versal): add hooks for mmap and early setup
Add early setup hooks through custom_early_setup() and provide a mechanism to support custom memory mapping, including the extension of the memory ma
feat(versal): add hooks for mmap and early setup
Add early setup hooks through custom_early_setup() and provide a mechanism to support custom memory mapping, including the extension of the memory map via custom_mmap_add(). This change may also require alignment of the MAX_XLAT_TABLE and MAX_XLAT_TABLES macros. These can be defined within the custom_pkg.mk makefile as follows:
MAX_MMAP_REGIONS := XY $(eval $(call add_define,MAX_MMAP_REGIONS)) MAX_XLAT_TABLES := XZ $(eval $(call add_define,MAX_XLAT_TABLES))
If PLATFORM_STACK_SIZE is not already defined, a default value should be used. This allows for configurability of the stack size across different interfaces, such as custom packages. The custom_early_setup() function enables early low-level operations to bring the system into a correct state. Support for a custom SiP service is also added. A basic implementation of custom_smc_handler() is provided by the platform, while the actual definition is expected to be supplied by the custom package. This feature is designed for use by external libraries, such as those that require status checking. This code introduces a generic framework for integrating custom logic via the $(CUSTOM_PKG_PATH)/custom_pkg.mk makefile, including optional support for custom SMC functionality, which is determined by the custom package.
Change-Id: If9107b32c8c1ca4026d0a2980901e841fc6e03f7 Signed-off-by: Prasad Kummari <prasad.kummari@amd.com>
show more ...
|
| c429afa2 | 02-May-2025 |
Joanna Farley <joanna.farley@arm.com> |
Merge changes from topic "xlnx_versal_misra_fixes" into integration
* changes: fix(xilinx): resolve misra rule 2.3 violations fix(xilinx): resolve misra rule 2.7 violations fix(xilinx): resolv
Merge changes from topic "xlnx_versal_misra_fixes" into integration
* changes: fix(xilinx): resolve misra rule 2.3 violations fix(xilinx): resolve misra rule 2.7 violations fix(xilinx): resolve misra rule 8.6 violations fix(xilinx): resolve misra rule 11.3 violations fix(xilinx): resolve misra rule 2.2 violations fix(xilinx): resolve misra rule 15.7 violations
show more ...
|
| 55f6ea4d | 16-Apr-2025 |
Prasad Kummari <prasad.kummari@amd.com> |
refactor(zynqmp): refactor custom sip service
Refactored the custom SIP service code and relocated it to a common directory to support additional platforms and enhance code readability. Renamed ZYNQ
refactor(zynqmp): refactor custom sip service
Refactored the custom SIP service code and relocated it to a common directory to support additional platforms and enhance code readability. Renamed ZYNQMP_SIP_SVC_CUSTOM to a generic SOC_SIP_SVC_CUSTOM for better with other across SoCs
Change-Id: Id114f717d0397e257a831c7d5b67104c2c766d09 Signed-off-by: Prasad Kummari <prasad.kummari@amd.com>
show more ...
|
| 13304d30 | 29-Apr-2025 |
Joanna Farley <joanna.farley@arm.com> |
Merge "feat(versal-net): add SDEI support" into integration |
| 31e6117b | 29-Apr-2025 |
Joanna Farley <joanna.farley@arm.com> |
Merge "fix(xilinx): resolve misra rule 8.4 violations" into integration |
| 470dd8b4 | 21-Mar-2025 |
Harrison Mutai <harrison.mutai@arm.com> |
fix(xilinx): update tsp_early_platform_setup prototype
The prototype for tsp_early_platform_setup has been redefined. Update the platform implementation to match the new function signature and ensur
fix(xilinx): update tsp_early_platform_setup prototype
The prototype for tsp_early_platform_setup has been redefined. Update the platform implementation to match the new function signature and ensure compatibility with the updated TSP interface.
Change-Id: I428577c5e92911db3bc6f1ac81b127b44cb136e4 Signed-off-by: Harrison Mutai <harrison.mutai@arm.com>
show more ...
|
| 10510c98 | 10-Apr-2025 |
Amit Nagal <amit.nagal@amd.com> |
feat(versal-net): add SDEI support
Add basic SDEI support with following configuration settings: - SGI 8 as the source IRQ. - Special Private event 0. - One private and shared dynamic event used in
feat(versal-net): add SDEI support
Add basic SDEI support with following configuration settings: - SGI 8 as the source IRQ. - Special Private event 0. - One private and shared dynamic event used in tftf verification for SDEI support. - SDEI support is off by default.
Change-Id: I7cfafb84c3fc053ec67258698cf749e63486fe18 Signed-off-by: Amit Nagal <amit.nagal@amd.com>
show more ...
|
| 139a5d05 | 18-Apr-2025 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge changes I86959e67,I0b0d1d36,I5b5267f4,I056c8710,I3474aa97 into integration
* changes: chore: fix preprocessor checks refactor: convert arm platforms to use the generic GIC driver refacto
Merge changes I86959e67,I0b0d1d36,I5b5267f4,I056c8710,I3474aa97 into integration
* changes: chore: fix preprocessor checks refactor: convert arm platforms to use the generic GIC driver refactor(gic): promote most of the GIC driver to common code refactor: make arm_gicv2.c and arm_gicv3.c common refactor(fvp): use more arm generic code for gicv3
show more ...
|
| 198636d8 | 17-Apr-2025 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge "fix(versal-net): enable PSCI reset2 interface" into integration |
| 35d18d8d | 07-Jan-2025 |
Boyan Karatotev <boyan.karatotev@arm.com> |
refactor: make arm_gicv2.c and arm_gicv3.c common
These files were meant to be platform specific, but they are generic enough that a range of platforms find them useful. However, refactoring them is
refactor: make arm_gicv2.c and arm_gicv3.c common
These files were meant to be platform specific, but they are generic enough that a range of platforms find them useful. However, refactoring them is difficult as their use is platform specific. So copy them to a generic place and redirect platforms to them.
The new copies will remain for compatibility for platforms that don't want to or can't take up upcoming refactors and the old copies can be drastically refactored to make them more widely applicable.
Change-Id: I056c8710cdda4d8a81b324d392762c29e02cdae1 Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
show more ...
|
| 09abae06 | 24-Mar-2025 |
Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com> |
fix(xilinx): resolve misra rule 2.3 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.2.3: - A project should not contain unused type declarations. - Fix: - Removed unuse
fix(xilinx): resolve misra rule 2.3 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.2.3: - A project should not contain unused type declarations. - Fix: - Removed unused code.
Change-Id: Ica5982fe83485da79ac18d45b44e66f5f37fb6e7 Signed-off-by: Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com>
show more ...
|
| d87b0ce3 | 24-Mar-2025 |
Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com> |
fix(xilinx): resolve misra rule 2.7 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.2.7: - There should be no unused parameters in functions. - Fix: - Type casted unuse
fix(xilinx): resolve misra rule 2.7 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.2.7: - There should be no unused parameters in functions. - Fix: - Type casted unused parameters to void.
Change-Id: I940109631dbabfbd960c1bc7b183cf865ff312c9 Signed-off-by: Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com>
show more ...
|