| dd1fe717 | 04-May-2022 |
Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> |
fix(zynqmp): resolve misra R14.4 warnings
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 essen
fix(zynqmp): resolve misra R14.4 warnings
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: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> Change-Id: I8f3f6f956d1d58ca201fb5895f12bcaabf2afd3b
show more ...
|
| e7e5d303 | 29-Apr-2022 |
Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> |
fix(zynqmp): resolve misra R16.3 warnings
MISRA Violation: MISRA-C:2012 R.16.3 - An unconditional break statement shall terminate every switch-clause.
Signed-off-by: Venkatesh Yadav Abbarapu <venka
fix(zynqmp): resolve misra R16.3 warnings
MISRA Violation: MISRA-C:2012 R.16.3 - An unconditional break statement shall terminate every switch-clause.
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> Change-Id: I96a8b627c593ff1293b725d443531e42368923c5
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 ...
|
| 5bcbd2de | 29-Apr-2022 |
Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> |
fix(zynqmp): resolve misra 7.2 warnings
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:
fix(zynqmp): resolve misra 7.2 warnings
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: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> Change-Id: Ieeff81ed42155c03aebca75b2f33f311279b9ed4
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 ...
|
| 578f468a | 11-Aug-2021 |
Ronak Jain <ronak.jain@xilinx.com> |
feat(plat/xilinx/zynqmp): add support for runtime feature config
Add support for runtime feature configuration which are running on the firmware. Add new IOCTL IDs like IOCTL_SET_FEATURE_CONFIG and
feat(plat/xilinx/zynqmp): add support for runtime feature config
Add support for runtime feature configuration which are running on the firmware. Add new IOCTL IDs like IOCTL_SET_FEATURE_CONFIG and IOCTL_GET_FEATURE_CONFIG for configuring the features.
Signed-off-by: Ronak Jain <ronak.jain@xilinx.com> Change-Id: I976aef15932783a25396b2adeb4c8f140cc87e79
show more ...
|
| c063c5a4 | 24-Jun-2021 |
Abhyuday Godhasara <abhyuday.godhasara@xilinx.com> |
fix(plat/xilinx/zynqmp): use sync method for blocking calls
All API calls except non-blocking should wait for IPI response and read buffer to check return status from firmware. Some of API calls are
fix(plat/xilinx/zynqmp): use sync method for blocking calls
All API calls except non-blocking should wait for IPI response and read buffer to check return status from firmware. Some of API calls are not reading status from IPI payload data. Use sync method which reads actual return status from IPI payload.
Signed-off-by: Abhyuday Godhasara <abhyuday.godhasara@xilinx.com> Change-Id: I78f9c061a80cee6d524ade4ef124ca88ce1848cf
show more ...
|