| #
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 ...
|
| #
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 ...
|
| #
172fd24d |
| 11-Apr-2025 |
Joanna Farley <joanna.farley@arm.com> |
Merge changes from topic "xlnx_misra_fixes_versal" into integration
* changes: fix(xilinx): resolve misra rule 8.3 violations fix(xilinx): resolve misra rule 14.4 violation fix(xilinx): resolv
Merge changes from topic "xlnx_misra_fixes_versal" into integration
* changes: fix(xilinx): resolve misra rule 8.3 violations fix(xilinx): resolve misra rule 14.4 violation fix(xilinx): resolve misra rule 10.4 violations fix(xilinx): resolve misra rule 10.3 violations
show more ...
|
| #
bdba3c84 |
| 26-Mar-2025 |
Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com> |
fix(xilinx): resolve misra rule 10.4 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.10.4: - Both operands of an operator in which the usual arithmetic conversions ar
fix(xilinx): resolve misra rule 10.4 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.10.4: - Both operands of an operator in which the usual arithmetic conversions are performed shall have the same essential type category. - Fix: - Made data type same for both the operands.
Change-Id: I0cea19477f3c10265d95ea1d5d2ea151dbf174bb Signed-off-by: Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com>
show more ...
|
| #
72eb16b7 |
| 26-Mar-2025 |
Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com> |
fix(xilinx): resolve misra rule 10.3 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.10.3: - The value of an expression shall not be assigned to an object with a narr
fix(xilinx): resolve misra rule 10.3 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.10.3: - The value of an expression shall not be assigned to an object with a narrower essential type or of a different essential type category. - Fix: - Explicitly type casted to narrower essential type or of a different essential type category.
Change-Id: Ia4258d2d0655f7847f832804a13d182ac0a2a29b Signed-off-by: Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com>
show more ...
|
| #
9ef62bd8 |
| 23-Dec-2024 |
Joanna Farley <joanna.farley@arm.com> |
Merge changes from topic "xlnx_fix_plat_data_types" into integration
* changes: fix(versal2): typecast operands to match data type fix(versal): typecast operands to match data type fix(versal-
Merge changes from topic "xlnx_fix_plat_data_types" into integration
* changes: fix(versal2): typecast operands to match data type fix(versal): typecast operands to match data type fix(versal-net): typecast operands to match data type fix(xilinx): typecast operands to match data type fix(zynqmp): typecast operands to match data type fix(versal-net): typecast operands to match data type fix(versal): typecast operands to match data type fix(xilinx): typecast operands to match data type fix(zynqmp): typecast operands to match data type fix(versal2): typecast expressions to match data type fix(versal-net): typecast expressions to match data type fix(versal): typecast expressions to match data type fix(xilinx): typecast expressions to match data type fix(zynqmp): typecast expressions to match data type fix(zynqmp): align essential type categories fix(zynqmp): typecast expression to match data type fix(xilinx): typecast expression to match data type
show more ...
|
| #
7d15b94b |
| 24-Apr-2024 |
Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> |
fix(xilinx): typecast operands to match data type
This corrects the MISRA violation C2012-10.1: Operands shall not be of an inappropriate essential type. The condition is explicitly checked against
fix(xilinx): typecast operands to match data type
This corrects the MISRA violation C2012-10.1: Operands shall not be of an inappropriate essential type. The condition is explicitly checked against 0U, appending 'U' and typecasting for unsigned comparison.
Change-Id: I675f1b2ac408b70a9ca307fb5161ebb8e597897c Signed-off-by: Nithin G <nithing@amd.com> Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>
show more ...
|
| #
50ab1357 |
| 23-Apr-2024 |
Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> |
fix(xilinx): typecast expression to match data type
This corrects the MISRA violation C2012-10.6: The value of a composite expression shall not be assigned to an object with wider essential type. Ex
fix(xilinx): typecast expression to match data type
This corrects the MISRA violation C2012-10.6: The value of a composite expression shall not be assigned to an object with wider essential type. Explicitly type casted to match the data type of composite expression.
Change-Id: I0fd845496b4d6ac702027eb2075a23b15849f7d6 Signed-off-by: Nithin G <nithing@amd.com> Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>
show more ...
|
| #
dddded14 |
| 01-Nov-2024 |
Joanna Farley <joanna.farley@arm.com> |
Merge changes from topic "xlnx_fix_plat_boolc_fn_ret" into integration
* changes: fix(xilinx): avoid altering function parameters fix(versal-net): ignore the unused function return value fix(z
Merge changes from topic "xlnx_fix_plat_boolc_fn_ret" into integration
* changes: fix(xilinx): avoid altering function parameters fix(versal-net): ignore the unused function return value fix(zynqmp): ignore the unused function return value fix(versal-net): modify conditions to have boolean type fix(versal): modify conditions to have boolean type fix(xilinx): modify conditions to have boolean type fix(zynqmp): modify conditions to have boolean type
show more ...
|
| #
e2230375 |
| 22-Apr-2024 |
Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> |
fix(xilinx): modify conditions to have boolean type
This corrects the MISRA violation C2012-14.4: The controlling expression of an if statement and the controlling expression of an iteration-stateme
fix(xilinx): modify conditions to have boolean type
This corrects the MISRA violation C2012-14.4: The controlling expression of an if statement and the controlling expression of an iteration-statement shall have essentially boolean type. Updated controlling expression to explicitly compare with zero.
Change-Id: I12eb4f4c615131d5ee63425b2ccb4f77f3dffa2e Signed-off-by: Nithin G <nithing@amd.com> Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>
show more ...
|
| #
a539dce9 |
| 29-Oct-2024 |
Joanna Farley <joanna.farley@arm.com> |
Merge changes from topic "xlnx_fix_plat_const_preced" into integration
* changes: fix(versal2): explicitly check operators precedence fix(versal-net): explicitly check operators precedence fix
Merge changes from topic "xlnx_fix_plat_const_preced" into integration
* changes: fix(versal2): explicitly check operators precedence fix(versal-net): explicitly check operators precedence fix(versal): explicitly check operators precedence fix(xilinx): explicitly check operators precedence fix(zynqmp): explicitly check operators precedence fix(versal2): add const qualifier fix(versal): add const qualifier fix(zynqmp): add const qualifier
show more ...
|
| #
8e9a5a51 |
| 22-Apr-2024 |
Nithin G <nithing@amd.com> |
fix(xilinx): explicitly check operators precedence
This corrects the MISRA violation C2012-12.1: The precedence of operators within expressions should be made explicit. Enclosed the subexpression in
fix(xilinx): explicitly check operators precedence
This corrects the MISRA violation C2012-12.1: The precedence of operators within expressions should be made explicit. Enclosed the subexpression in parentheses to maintain the precedence.
Change-Id: I7d68bcd0daec1c5fe448ce889bb5a74dc8a5cc91 Signed-off-by: Nithin G <nithing@amd.com> Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>
show more ...
|
| #
f1b7a99a |
| 23-Jun-2023 |
Joanna Farley <joanna.farley@arm.com> |
Merge "chore(xilinx): follow kernel doc format for functional documentation" into integration
|
| #
de7ed953 |
| 09-Jun-2023 |
Prasad Kummari <prasad.kummari@amd.com> |
chore(xilinx): follow kernel doc format for functional documentation
For TF-A, there is no format specified for functional documentation. For AMD-Xilinx platforms, following kernel-doc format for th
chore(xilinx): follow kernel doc format for functional documentation
For TF-A, there is no format specified for functional documentation. For AMD-Xilinx platforms, following kernel-doc format for the functional documentation to make sure AMD-xilinx documentation is align with actual code.
For example use kernel-doc from linux to call: <linux>/scripts/kernel-doc -man -v 1 >/dev/null file...
Signed-off-by: Prasad Kummari <prasad.kummari@amd.com> Change-Id: Idcc9def408b6c8da35b36f67ef82fc00890e998c
show more ...
|
| #
d84171b4 |
| 20-Apr-2023 |
Joanna Farley <joanna.farley@arm.com> |
Merge "style(xilinx): replace ARM by Arm in copyrights" into integration
|
| #
619bc13e |
| 14-Apr-2023 |
Michal Simek <michal.simek@amd.com> |
style(xilinx): replace ARM by Arm in copyrights
The commit 6bb49c876c75 ("style(hooks): adds Arm copyright style fix") is enforcing proper case for ARM. That's why fix it in plat/xilinx to make sure
style(xilinx): replace ARM by Arm in copyrights
The commit 6bb49c876c75 ("style(hooks): adds Arm copyright style fix") is enforcing proper case for ARM. That's why fix it in plat/xilinx to make sure that pre-commit.copyright won't be touching platform specific files.
Change-Id: I49c66e18d46ed871a6aa128c9b2a403d0cf83416 Signed-off-by: Michal Simek <michal.simek@amd.com>
show more ...
|
| #
601e2d43 |
| 10-Jan-2023 |
Manish Pandey <manish.pandey2@arm.com> |
Merge changes from topic "bk/warnings" into integration
* changes: docs: describe the new warning levels build: add -Wunused-const-variable=2 to W=2 build: include -Wextra in generic builds
Merge changes from topic "bk/warnings" into integration
* changes: docs: describe the new warning levels build: add -Wunused-const-variable=2 to W=2 build: include -Wextra in generic builds docs(porting-guide): update a reference fix(st-usb): replace redundant checks with asserts fix(brcm): add braces around bodies of conditionals fix(renesas): align incompatible function pointers fix(zynqmp): remove redundant api_version check fix: remove old-style declarations fix: unify fallthrough annotations
show more ...
|
| #
f4b8470f |
| 22-Nov-2022 |
Boyan Karatotev <boyan.karatotev@arm.com> |
fix: remove old-style declarations
TF-A wants to eventually enable -Wold-style-definition globally. Convert the rare few instances where this is still the case.
Signed-off-by: Boyan Karatotev <boya
fix: remove old-style declarations
TF-A wants to eventually enable -Wold-style-definition globally. Convert the rare few instances where this is still the case.
Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com> Change-Id: I9c450fc875cf097e6de2ed577ea3b085821c9f5e
show more ...
|
| #
9f8de54b |
| 19-Sep-2022 |
Joanna Farley <joanna.farley@arm.com> |
Merge "fix(zynqmp): resolve the misra 4.6 warnings" into integration
|
| #
15dc3e4f |
| 16-Sep-2022 |
HariBabu Gattem <haribabu.gattem@amd.com> |
fix(zynqmp): resolve the misra 4.6 warnings
MISRA Violation: MISRA-C:2012 R.4.6 - Using basic numerical type int rather than a typedef that includes size and signedness information.
Change-Id: Id85
fix(zynqmp): resolve the misra 4.6 warnings
MISRA Violation: MISRA-C:2012 R.4.6 - Using basic numerical type int rather than a typedef that includes size and signedness information.
Change-Id: Id85e69b29b124052b4a87462ce27fcdfc00c13c9 Signed-off-by: HariBabu Gattem <haribabu.gattem@amd.com>
show more ...
|
| #
febefa4d |
| 14-Sep-2022 |
Joanna Farley <joanna.farley@arm.com> |
Merge changes from topic "xilinx-pm-misc-changes" into integration
* changes: fix(xilinx): update define for ZynqMP specific functions fix(xilinx): remove unnecessary header include fix(xilinx
Merge changes from topic "xilinx-pm-misc-changes" into integration
* changes: fix(xilinx): update define for ZynqMP specific functions fix(xilinx): remove unnecessary header include fix(xilinx): include missing header
show more ...
|
| #
0ee2dc11 |
| 31-Aug-2022 |
Rajan Vaja <rajan.vaja@xilinx.com> |
fix(xilinx): remove unnecessary header include
Platform specific IPI header inclusion is not required in common IPI source file. So remove inclusion of the same.
Signed-off-by: Rajan Vaja <rajan.va
fix(xilinx): remove unnecessary header include
Platform specific IPI header inclusion is not required in common IPI source file. So remove inclusion of the same.
Signed-off-by: Rajan Vaja <rajan.vaja@xilinx.com> Signed-off-by: Michal Simek <michal.simek@amd.com> Change-Id: I6686757f00370c6ec42b5ee2c44ea5cd13da70c0
show more ...
|
| #
fad4a717 |
| 06-May-2022 |
Manish Pandey <manish.pandey2@arm.com> |
Merge changes from topic "xlnx_zynqmp_misra" into integration
* changes: fix(zynqmp): resolve misra R14.4 warnings fix(zynqmp): resolve misra R16.3 warnings fix(zynqmp): resolve misra R15.7 wa
Merge changes from topic "xlnx_zynqmp_misra" into integration
* changes: fix(zynqmp): resolve misra R14.4 warnings fix(zynqmp): resolve misra R16.3 warnings fix(zynqmp): resolve misra R15.7 warnings fix(zynqmp): resolve misra R15.6 warnings fix(zynqmp): resolve misra 7.2 warnings fix(zynqmp): resolve misra R10.3
show more ...
|
| #
16de22d0 |
| 04-May-2022 |
Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> |
fix(zynqmp): resolve misra R15.7 warnings
MISRA Violation: MISRA-C:2012 R.15.7 - All if . . else if constructs shall be terminated with an else statement.
Signed-off-by: Venkatesh Yadav Abbarapu <v
fix(zynqmp): resolve misra R15.7 warnings
MISRA Violation: MISRA-C:2012 R.15.7 - All if . . else if constructs shall be terminated with an else statement.
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> Change-Id: If921ca7c30b2feea6535791aa15f4de7101c3134
show more ...
|
| #
eb0d2b17 |
| 29-Apr-2022 |
Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> |
fix(zynqmp): resolve misra R15.6 warnings
MISRA Violation: MISRA-C:2012 R.15.6 - The body of an iteration-statement or a selection-statement shall be a compound statement.
Signed-off-by: Venkates
fix(zynqmp): resolve misra R15.6 warnings
MISRA Violation: MISRA-C:2012 R.15.6 - The body of an iteration-statement or a selection-statement shall be a compound statement.
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> Change-Id: I0fc8eeac0e592f00297a1ac42a1ba3df1144733b
show more ...
|