| 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 ...
|
| 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 ...
|
| 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 ...
|
| 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 ...
|
| eec03e94 | 21-Mar-2025 |
Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com> |
fix(xilinx): resolve misra rule 8.6 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.8.6: - An identifier with external linkage shall have exactly one external definit
fix(xilinx): resolve misra rule 8.6 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.8.6: - An identifier with external linkage shall have exactly one external definition. - Fix: - Removed redundant function declarations since it is not defined.
Change-Id: If003efbfa08ee6ff4f545605ef34dfd16f33b664 Signed-off-by: Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com>
show more ...
|
| c35fe294 | 21-Mar-2025 |
Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com> |
fix(xilinx): resolve misra rule 11.3 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.11.3: - A cast shall not be performed between a pointer to object type and a poin
fix(xilinx): resolve misra rule 11.3 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.11.3: - A cast shall not be performed between a pointer to object type and a pointer to a different object type. - Fix: - Removed unnecessary cast of pointers.
Change-Id: Iba5dbec0784dcaa86e3a00bd213cbc2711d12029 Signed-off-by: Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com>
show more ...
|
| e5adcfcd | 21-Mar-2025 |
Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com> |
fix(xilinx): resolve misra rule 2.2 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.2.2: - There shall be no dead code. - Fix: - Moved code to macro protected section.
fix(xilinx): resolve misra rule 2.2 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.2.2: - There shall be no dead code. - Fix: - Moved code to macro protected section.
Change-Id: I58b340aa452b67ba765dfe33ff7eb64a4eac8624 Signed-off-by: Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com>
show more ...
|
| fd44cc7e | 19-Mar-2025 |
Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com> |
fix(xilinx): resolve misra rule 15.7 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.15.7: - All if...else if constructs shall be terminated with an else statement. - Fix
fix(xilinx): resolve misra rule 15.7 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.15.7: - All if...else if constructs shall be terminated with an else statement. - Fix: - Convert the final else if into an else statement to comply with MISRA guidelines
Change-Id: I1f54d955958538529a10f146a506ce2a3474f8d7 Signed-off-by: Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com>
show more ...
|
| 4b4080d7 | 18-Mar-2025 |
Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com> |
fix(xilinx): resolve misra rule 8.4 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.8.4: - A compatible declaration shall be visible when an object or function with e
fix(xilinx): resolve misra rule 8.4 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.8.4: - A compatible declaration shall be visible when an object or function with external linkage is defined. - Fix: - Declared variable as static.
Change-Id: I44a022de3d5a62d255e2481dc1f4d1e8df2c7eb0 Signed-off-by: Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com>
show more ...
|
| 3df32f85 | 18-Mar-2025 |
Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com> |
fix(xilinx): resolve misra rule 8.3 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.8.3: - All declarations of an object or function shall use the same names and type
fix(xilinx): resolve misra rule 8.3 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.8.3: - All declarations of an object or function shall use the same names and type qualifiers. - Fix: - Made same name parameters and type qualifiers in function declaration and definition.
Change-Id: Idb4f986cec957102bb4ba1ef22f2e7937aaeb54d Signed-off-by: Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com>
show more ...
|