arm-trusted-firmware/plat/xilinx/versal/pm_service
Ronak Jain da6e654bc8 feat(versal): get version for ATF related EEMI APIs
The patch does below things.

1. As per current implementation, when Linux send a request to ATF to
 get the version of APIs which are implemented in ATF then ATF wasn't
 returning any version because there is a check for LIBPM module id.
 The ATF is used to return version for the APIs which are implemented
 in the firmware only.

 Hence moved this switch-case before checking module id to get ATF
 version.

 Also, no need to pass Linux request to the firmware for the APIs
 which are implemented in ATF instead return success after updating
 version.

2. As per current implementation, higher 16-bit is used for ATF
 version and lower 16-bit is used for firmware version. Now, removed
 16-bit shift operation and send complete word i.e. 32-bit to Linux
 user as there is no user who checks ATF version.

3. Add bit mask support in the feature check PM EEMI API for QUERY and
 IOCTL ids.

Change-Id: Icdca3de6659f3b673b81a423ed79a3c20b678768
Signed-off-by: Ronak Jain <ronak.jain@xilinx.com>
Signed-off-by: Tanmay Shah <tanmay.shah@xilinx.com>
2022-04-27 01:44:11 +02:00
..
pm_api_sys.c feat(versal): get version for ATF related EEMI APIs 2022-04-27 01:44:11 +02:00
pm_api_sys.h feat(versal): get version for ATF related EEMI APIs 2022-04-27 01:44:11 +02:00
pm_client.c fix(xilinx): fix coding style violations 2022-03-09 09:14:33 +01:00
pm_defs.h feat(versal): get version for ATF related EEMI APIs 2022-04-27 01:44:11 +02:00
pm_node.h xilinx: Add support to send PM API to PMC using IPI for versal 2020-01-15 11:01:37 -08:00
pm_svc_main.c feat(versal): get version for ATF related EEMI APIs 2022-04-27 01:44:11 +02:00
pm_svc_main.h plat: send an sgi to communicate to linux 2021-04-22 22:47:17 +02:00