Searched hist:"223 a6284b8a0a3ead884a7f0cf333a464d32e319" (Results 1 – 2 of 2) sorted by relevance
| /rk3399_ARM-atf/plat/xilinx/zynqmp/pm_service/ |
| H A D | pm_api_ioctl.h | 223a6284b8a0a3ead884a7f0cf333a464d32e319 Tue Dec 21 09:39:59 UTC 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 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
|
| H A D | pm_api_ioctl.c | 223a6284b8a0a3ead884a7f0cf333a464d32e319 Tue Dec 21 09:39:59 UTC 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 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
|