| e497421d | 26-Aug-2022 |
Tanmay Shah <tanmay.shah@amd.com> |
feat(versal): add infrastructure to handle multiple interrupts
Only one hardcode interrupt handler is supported as of now. This is IPI interrupt between APU and PMC processor. This patch adds infras
feat(versal): add infrastructure to handle multiple interrupts
Only one hardcode interrupt handler is supported as of now. This is IPI interrupt between APU and PMC processor. This patch adds infrastructure to register multiple interrupt handlers. This infrastructure was used and tested for two interrupts and so, interrupt id and handler container size is 2 which is defined by MAX_INTR_EL3. Interrupt id is not used as container index due to size constraints. User is expected to adjust MAX_INTR_EL3 based on how many interrupts are handled in TF-A
Signed-off-by: Tanmay Shah <tanmay.shah@amd.com> Change-Id: Id49d94f6773fbb6874ccf89c0d12572efc7e678e
show more ...
|
| 19f92c4c | 31-Jul-2022 |
Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> |
fix(versal): resolve misra 10.1 warnings
MISRA Violation: MISRA-C: 2012 R.10.1 -The operand to the operator does not have an essentially unsigned type.
Signed-off-by: Venkatesh Yadav Abbarapu <venk
fix(versal): resolve misra 10.1 warnings
MISRA Violation: MISRA-C: 2012 R.10.1 -The operand to the operator does not have an essentially unsigned type.
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> Change-Id: I4873a620086dfd6f636fe730165a9d13a29e9652
show more ...
|
| 205c7ad4 | 12-Jul-2022 |
Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> |
feat(versal): get the handoff params using IPI
Use the IPI command GET_HANDOFF_PARAM to get the TF-A handoff params, rather than using the PLM's PPU RAM area. With this approach this resolves the is
feat(versal): get the handoff params using IPI
Use the IPI command GET_HANDOFF_PARAM to get the TF-A handoff params, rather than using the PLM's PPU RAM area. With this approach this resolves the issue when XPPU is enabled.
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> Reviewed-by: Michal Simek <michal.simek@amd.com> Change-Id: I6828c391ad696d2d36e994684aa21b023711ba2d
show more ...
|
| fcf6f469 | 14-Dec-2021 |
Tanmay Shah <tanmay.shah@xilinx.com> |
feat(versal): add SMCCC call TF_A_PM_REGISTER_SGI
This call is used to register and reset SGI interrupt. Before this functionality was performed using IOCTL_REGISTER_SGI pm_ioctl EEMI call. It's not
feat(versal): add SMCCC call TF_A_PM_REGISTER_SGI
This call is used to register and reset SGI interrupt. Before this functionality was performed using IOCTL_REGISTER_SGI pm_ioctl EEMI call. It's not correct use of PM_IOCTL as it is not EEMI functionality. Instead this new SMCCC call will be handled by TF-A specific handler.
Change-Id: If2408af38b889d29a5c584e8eec5f1672eab4fb5 Signed-off-by: Tanmay Shah <tanmay.shah@xilinx.com>
show more ...
|
| 0b151872 | 23-Mar-2022 |
Tanmay Shah <tanmay.shah@xilinx.com> |
fix(versal): fix coverity scan warnings
- Fix memory overrun issue - include header file to fix Unknown macro warning
Change-Id: Ibe6fd206f44fbc22de746d255ff17c2b2325cd7b Signed-off-by: Tanmay Shah
fix(versal): fix coverity scan warnings
- Fix memory overrun issue - include header file to fix Unknown macro warning
Change-Id: Ibe6fd206f44fbc22de746d255ff17c2b2325cd7b Signed-off-by: Tanmay Shah <tanmay.shah@xilinx.com>
show more ...
|
| da6e654b | 04-Feb-2022 |
Ronak Jain <ronak.jain@xilinx.com> |
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
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>
show more ...
|
| d34a5db8 | 21-Oct-2021 |
Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> |
feat(versal): enhance PM_IOCTL EEMI API to support additional arg
Currently, SMC handler is limited to parsing 5 arguments (1 API ID + 4 32-bit command args). Extend this handling to support one mor
feat(versal): enhance PM_IOCTL EEMI API to support additional arg
Currently, SMC handler is limited to parsing 5 arguments (1 API ID + 4 32-bit command args). Extend this handling to support one more 32-bit command argument which is necessary to support new IOCTL IDs for secure read/write interface.
Note that, this change is completely transparent and does not affect existing functionality of any of the EEMI APIs.
Change-Id: I72016620eeeaf598f14853512120bfb30bb9a3e9 Signed-off-by: Izhar Ameer Shaikh <izhar.ameer.shaikh@xilinx.com> Signed-off-by: Tanmay Shah <tanmay.shah@xilinx.com>
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 ...
|