| bb1768c6 | 09-Mar-2022 |
Michal Simek <michal.simek@xilinx.com> |
fix(xilinx): fix coding style violations
Fix coding style violations and alignments: - Remove additional newlines in headers - Remove additional newlines in code - Add newline to separate variable f
fix(xilinx): fix coding style violations
Fix coding style violations and alignments: - Remove additional newlines in headers - Remove additional newlines in code - Add newline to separate variable from the code - Use the same indentation in platform.mk - Align function parameters - Use tabs for indentation in kernel-doc format
Signed-off-by: Michal Simek <michal.simek@xilinx.com> Change-Id: I0b12804ff63bc19778e8f21041f9accba5b488b9
show more ...
|
| 4cb2ec2a | 08-Mar-2022 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge changes I18d47384,Icc3c7424,I73f20d82,I07325644,Iff10ad26, ... into integration
* changes: fix(zynqmp): query node status to power up APU feat(zynqmp): pm_api_clock_get_num_clocks cleanup
Merge changes I18d47384,Icc3c7424,I73f20d82,I07325644,Iff10ad26, ... into integration
* changes: fix(zynqmp): query node status to power up APU feat(zynqmp): pm_api_clock_get_num_clocks cleanup feat(zynqmp): add feature check support fix(zynqmp): use common interface for eemi apis feat(zynqmp): add support to get info of xilfpga feat(zynqmp): pass ioctl calls to firmware
show more ...
|
| ea04b3fe | 03-Mar-2022 |
Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> |
fix(versal): fix the incorrect log message
When the atf-handoff-params are updated we are returning FSBL_HANDOFF_SUCCESS, but the return condition is wrongly updated and added a error log which is i
fix(versal): fix the incorrect log message
When the atf-handoff-params are updated we are returning FSBL_HANDOFF_SUCCESS, but the return condition is wrongly updated and added a error log which is incorrect. Fixing the incorrect log message.
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> Change-Id: I44ebbb861831b86afcb87f09ddb2e23614393c28
show more ...
|
| b35b5567 | 15-Apr-2021 |
Ravi Patel <ravi.patel@xilinx.com> |
fix(zynqmp): query node status to power up APU
If APU is in suspending state and if wakeup request comes then PMUFW returns error which is not handled at ATF side.
To fix this, get the APU node sta
fix(zynqmp): query node status to power up APU
If APU is in suspending state and if wakeup request comes then PMUFW returns error which is not handled at ATF side.
To fix this, get the APU node status before calling wakeup and return error if found in suspending state.
Here, we can not handle the error code of pm_req_wakeup() from PMUFW because ATF is already calling pm_client_wakeup() before calling pm_req_wakeup().
Signed-off-by: Ravi Patel <ravi.patel@xilinx.com> Signed-off-by: Ronak Jain <ronak.jain@xilinx.com> Change-Id: I18d47384e46e22ae49e804093ad0641b7a6349e2
show more ...
|
| e682d38b | 02-Feb-2022 |
Michal Simek <michal.simek@xilinx.com> |
feat(zynqmp): pm_api_clock_get_num_clocks cleanup
There is no reason to have even one additional useless line that's why remove it.
Signed-off-by: Michal Simek <michal.simek@xilinx.com> Signed-off-
feat(zynqmp): pm_api_clock_get_num_clocks cleanup
There is no reason to have even one additional useless line that's why remove it.
Signed-off-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Ronak Jain <ronak.jain@xilinx.com> Change-Id: Icc3c74249dfe64173aa5c88fb0f9ffe7576fc2aa
show more ...
|
| 223a6284 | 21-Dec-2021 |
Ronak Jain <ronak.jain@xilinx.com> |
feat(zynqmp): add feature check support
This API returns version of supported APIs.
Here, there are three cases to check API version by using feature check implementation.
1. Completely implemente
feat(zynqmp): add feature check support
This API returns version of supported APIs.
Here, there are three cases to check API version by using feature check implementation.
1. Completely implemented in TF-A: I mean the EEMI APIs which are completely implemented in the TF-A only. So check those IDs and return appropriate version for the same. Right now, it is base version.
2. Completely implemented in firmware: I mean the EEMI APIs which are completely implemented in the firmware only. Here, TF-A only passes Linux request to the firmware to get the version of supported API. So check those IDs and send request to firmware to get the version and return to Linux if the version is supported or return the error code if the feature is not supported.
3. Partially implemented (Implemented in TF-A and firmware both): First check dependent EEMI API version with the expected version in the TF-A. If the dependent EEMI API is supported in firmware then return its version and check with the expected version in the TF-A. If the version matches then check for the actual requested EEMI API version. If the version is supported then return version of API implemented in TF-A.
Signed-off-by: Ronak Jain <ronak.jain@xilinx.com> Change-Id: I73f20d8222c518df1cda7879548b408b130b5b2e
show more ...
|
| a469c1e1 | 21-Jan-2022 |
Ronak Jain <ronak.jain@xilinx.com> |
fix(zynqmp): use common interface for eemi apis
Currently all EEMI API has its own implementation in TF-A which is redundant. Most EEMI API implementation in TF-A does same work. It prepares payload
fix(zynqmp): use common interface for eemi apis
Currently all EEMI API has its own implementation in TF-A which is redundant. Most EEMI API implementation in TF-A does same work. It prepares payload received from kernel, sends payload to firmware, receives response from firmware and send response back to kernel.
So use common interface for EEMI APIs which has similar functionality. This will optimize TF-A code.
Signed-off-by: Ronak Jain <ronak.jain@xilinx.com> Change-Id: I07325644a1fae80211f2588d5807c21973f6d48f
show more ...
|
| cc077c22 | 13-Jan-2022 |
Nava kishore Manne <nava.manne@xilinx.com> |
feat(zynqmp): add support to get info of xilfpga
Adds support to get the xilfpga library version and feature list info.
Signed-off-by: Nava kishore Manne <nava.manne@xilinx.com> Signed-off-by: Rona
feat(zynqmp): add support to get info of xilfpga
Adds support to get the xilfpga library version and feature list info.
Signed-off-by: Nava kishore Manne <nava.manne@xilinx.com> Signed-off-by: Ronak Jain <ronak.jain@xilinx.com> Change-Id: Iff10ad2628a6a90230c18dc3aebf9dde89f53ecd
show more ...
|
| 76ff8c45 | 12-Oct-2021 |
Rajan Vaja <rajan.vaja@xilinx.com> |
feat(zynqmp): pass ioctl calls to firmware
Firmware supports new IOCTL for different purposes. To avoid maintaining new IOCTL IDs in ATF, pass IOCTL call to firmware for IOCTL IDs implemented in fir
feat(zynqmp): pass ioctl calls to firmware
Firmware supports new IOCTL for different purposes. To avoid maintaining new IOCTL IDs in ATF, pass IOCTL call to firmware for IOCTL IDs implemented in firmware.
Signed-off-by: Rajan Vaja <rajan.vaja@xilinx.com> Signed-off-by: Ronak Jain <ronak.jain@xilinx.com> Change-Id: Ie14697c8da9581b0f695f4d33f05161ece558385
show more ...
|
| cf86fa1b | 02-Mar-2022 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge "feat(zynqmp): increase the max xlat tables when debug build is enabled" into integration |
| 4c4b9615 | 02-Mar-2022 |
Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> |
feat(zynqmp): increase the max xlat tables when debug build is enabled
Update the MAX_XLAT_TABLES as the memory map has been added for the dtb to accomodate in DDR address.
Signed-off-by: Venkatesh
feat(zynqmp): increase the max xlat tables when debug build is enabled
Update the MAX_XLAT_TABLES as the memory map has been added for the dtb to accomodate in DDR address.
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> Change-Id: I46225673f40f123cdab38efefb038604da119b58
show more ...
|
| 18e2a79f | 30-Jan-2022 |
Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> |
feat(versal): remove the time stamp configuration
Remove the time stamp and system counter configuration, as this configuration is already done by the first stage bootloader.
Signed-off-by: Venkate
feat(versal): remove the time stamp configuration
Remove the time stamp and system counter configuration, as this configuration is already done by the first stage bootloader.
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> Change-Id: I41554dc2e14d97954bff299df9740a5efa30fad9
show more ...
|
| 9b4ed0af | 05-Feb-2022 |
Giulio Benetti <giulio.benetti@benettiengineering.com> |
feat(plat/zynqmp): fix section `coherent_ram' will not fit in region `RAM'
Actually BL31_LIMIT is set to 0xffffffff but that doesn't work correctly with bl31.ld since ". = ALIGN(((1) << (12)));" wil
feat(plat/zynqmp): fix section `coherent_ram' will not fit in region `RAM'
Actually BL31_LIMIT is set to 0xffffffff but that doesn't work correctly with bl31.ld since ". = ALIGN(((1) << (12)));" will try to fill aligned up to 0x100000000 included, but the RAM size is 0xffffffff, so this leads to this build error: ``` bl31.elf section `coherent_ram' will not fit in region `RAM' /home/br-user/git/upstream/ci-tests/zynqmp_zcu102/host/bin/aarch64-buildroot-linux-uclibc-ld: region `RAM' overflowed by 1 byte ``` So let's move BR31_LIMIT to 0x100000000 giving 1 byte more room to fill RAM up to the end.
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Change-Id: Ic0edb8ed159e013f60598a9dd4f50adbf656b38d
show more ...
|
| 2c791499 | 20-Dec-2021 |
Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> |
feat(versal): add UART1 as console
Currently only UART0 is handled as console device, fix the code to support UART1 as console also.
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xili
feat(versal): add UART1 as console
Currently only UART0 is handled as console device, fix the code to support UART1 as console also.
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> Change-Id: Ifcd3c331cf6ce4afb0074357c92fc4addb9438b6
show more ...
|
| ea66e4af | 20-Dec-2021 |
Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> |
feat(zynqmp): add uart1 as console
Currently only UART0 is handled as console device, fix the code to support UART1 as console also.
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xili
feat(zynqmp): add uart1 as console
Currently only UART0 is handled as console device, fix the code to support UART1 as console also.
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> Change-Id: I08f69b65b78b967ceb7159f4a467aa5982b1f791
show more ...
|
| 67abd476 | 07-Dec-2021 |
Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> |
feat(plat/zynqmp): disable the -mbranch-protection flag
With new gcc11.2 by default the -mbranch-protection is set to "standard" which is leading to increase the text section by 4Kb. As the ZynqMP u
feat(plat/zynqmp): disable the -mbranch-protection flag
With new gcc11.2 by default the -mbranch-protection is set to "standard" which is leading to increase the text section by 4Kb. As the ZynqMP uses the ARMv8 architecture, so there is no impact when we disable the branch protection. These instructions do not provide the branch protection in architectures before Armv8.3-A.
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> Acked-by: Michal Simek <michal.simek@xilinx.com> Change-Id: I36f7a55abf99f50df2ee265255598d83b1f480c6
show more ...
|
| 93d46256 | 24-Aug-2021 |
Abhyuday Godhasara <abhyuday.godhasara@xilinx.com> |
fix(plat/xilinx/versal): resolve misra R10.6
MISRA Violation: MISRA-C:2012 R.10.6 - The value of a composite expression shall not be assigned to an object with wider essential type
Signed-off-by:
fix(plat/xilinx/versal): resolve misra R10.6
MISRA Violation: MISRA-C:2012 R.10.6 - The value of a composite expression shall not be assigned to an object with wider essential type
Signed-off-by: Abhyuday Godhasara <abhyuday.godhasara@xilinx.com> Change-Id: Ia0d13c3cfeb13d22b6fc7e8869cc713218302973
show more ...
|
| a62c40d4 | 20-Aug-2021 |
Abhyuday Godhasara <abhyuday.godhasara@xilinx.com> |
fix(plat/xilinx/versal): resolve misra R14.4
MISRA Violation: MISRA-C:2012 R.14.4 - The controlling expression of an if statement and the controlling expression of an iteration-statement shall hav
fix(plat/xilinx/versal): resolve misra R14.4
MISRA Violation: MISRA-C:2012 R.14.4 - The controlling expression of an if statement and the controlling expression of an iteration-statement shall have essentially Boolean type.
Signed-off-by: Abhyuday Godhasara <abhyuday.godhasara@xilinx.com> Change-Id: I8cf821a42015858200cc0c514600012c8f61061f
show more ...
|
| 526a1fd1 | 20-Aug-2021 |
Abhyuday Godhasara <abhyuday.godhasara@xilinx.com> |
fix(plat/xilinx/versal): resolve misra R17.7
MISRA Violation: MISRA-C:2012 R.17.7 - The value returned by a function having non-void return type shall be used ((void) missing for discarded return
fix(plat/xilinx/versal): resolve misra R17.7
MISRA Violation: MISRA-C:2012 R.17.7 - The value returned by a function having non-void return type shall be used ((void) missing for discarded return value.).
Signed-off-by: Abhyuday Godhasara <abhyuday.godhasara@xilinx.com> Change-Id: I1e6a598b9fe6c571a3e5010ee832ef860dfe491d
show more ...
|
| b2bb3efb | 13-Aug-2021 |
Abhyuday Godhasara <abhyuday.godhasara@xilinx.com> |
fix(plat/xilinx/versal): resolve misra R10.3
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 e
fix(plat/xilinx/versal): resolve misra R10.3
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
Signed-off-by: Abhyuday Godhasara <abhyuday.godhasara@xilinx.com> Change-Id: I9c6dd8dba40db8067b46947ceff295732648612a
show more ...
|
| 0623dcea | 11-Aug-2021 |
Abhyuday Godhasara <abhyuday.godhasara@xilinx.com> |
fix(plat/xilinx/versal): resolve misra R7.2
MISRA Violation: MISRA-C:2012 R.7.2 - A "u" or "U" suffix shall be applied to all integer constants that are represented in an unsigned type
Signed-off
fix(plat/xilinx/versal): resolve misra R7.2
MISRA Violation: MISRA-C:2012 R.7.2 - A "u" or "U" suffix shall be applied to all integer constants that are represented in an unsigned type
Signed-off-by: Abhyuday Godhasara <abhyuday.godhasara@xilinx.com> Change-Id: Iaf6db75e42913ddceccb803426287d0c47d7f31d
show more ...
|
| bc2637e3 | 11-Aug-2021 |
Abhyuday Godhasara <abhyuday.godhasara@xilinx.com> |
fix(plat/xilinx/versal): resolve misra R15.7
MISRA Violation: MISRA-C:2012 R.15.7 - All if . . else if constructs shall be terminated with an else statement
Signed-off-by: Abhyuday Godhasara <abhyu
fix(plat/xilinx/versal): resolve misra R15.7
MISRA Violation: MISRA-C:2012 R.15.7 - All if . . else if constructs shall be terminated with an else statement
Signed-off-by: Abhyuday Godhasara <abhyuday.godhasara@xilinx.com> Change-Id: Iea32e32b5683f7accd7fac8d557957f05ed0f5c5
show more ...
|
| b9fa2d9f | 09-Aug-2021 |
Abhyuday Godhasara <abhyuday.godhasara@xilinx.com> |
fix(plat/xilinx/versal): resolve misra R15.6
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: Abhyud
fix(plat/xilinx/versal): resolve misra R15.6
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: Abhyuday Godhasara <abhyuday.godhasara@xilinx.com> Change-Id: If1ccaa2f254ac85a329295de501e2b5558e8ff43
show more ...
|
| 775bf1bb | 05-Aug-2021 |
Abhyuday Godhasara <abhyuday.godhasara@xilinx.com> |
fix(plat/xilinx/versal): resolve misra R10.1 in pm services
MISRA Violation: MISRA-C:2012 R.10.1 - Operands shall not be of an inappropriate essential type.
Signed-off-by: Abhyuday Godhasara <abhyu
fix(plat/xilinx/versal): resolve misra R10.1 in pm services
MISRA Violation: MISRA-C:2012 R.10.1 - Operands shall not be of an inappropriate essential type.
Signed-off-by: Abhyuday Godhasara <abhyuday.godhasara@xilinx.com> Change-Id: I67b5788054a136be8d764472c5d85528a5c4272f
show more ...
|
| 5dada622 | 05-Aug-2021 |
Abhyuday Godhasara <abhyuday.godhasara@xilinx.com> |
fix(plat/xilinx/versal): resolve misra R20.7 in pm services
MISRA Violation: MISRA-C:2012 R.20.7 - Expressions resulting from the expansion of macro parameters shall be enclosed in parentheses
Si
fix(plat/xilinx/versal): resolve misra R20.7 in pm services
MISRA Violation: MISRA-C:2012 R.20.7 - Expressions resulting from the expansion of macro parameters shall be enclosed in parentheses
Signed-off-by: Abhyuday Godhasara <abhyuday.godhasara@xilinx.com> Change-Id: Id913c556cab955c798809ad2bd08ca3e48e2231a
show more ...
|