Searched hist:e8d61f7d91901f577030f6a45a71cf389b96d9dc (Results 1 – 3 of 3) sorted by relevance
| /rk3399_ARM-atf/plat/xilinx/zynqmp/include/ |
| H A D | plat_private.h | e8d61f7d91901f577030f6a45a71cf389b96d9dc Thu May 11 09:28:13 UTC 2023 Prasad Kummari <prasad.kummari@amd.com> fix(zynqmp): handling of type el3 interrrupts
The array type_el3_interrupt_table is defined for MAX_INTR_EL3(128) elements and only two interrupts - ARM_IRQ_SEC_SGI_7(15), IRQ_TTC3_1(77) are being handled. Current implementation is consuming 1024 bytes which can be optimized for the number of interrupts to be handled. The current array is replaced with the array of struct zynmp_intr_info_type_el3_t (id and handler as member) and with maximum number of interrupts to be handled as the size of array (MAX_INTR_EL3 = 2). User is expected to adjust MAX_INTR_EL3 based on how many interrupts are handled in TF-A. With the updated implementation, a reduction of 960 bytes is observed. Versal and Versal NET are using similar implementation introduced by commit e497421d7f1e ("feat(versal): add infrastructure to handle multiple interrupts") and commit 0654ab7f7544 ("feat(versal-net): add support for platform management").
Signed-off-by: Prasad Kummari <prasad.kummari@amd.com> Change-Id: I07aa388d38ac3ff3c0d25decbe0719087b27ee18
|
| H A D | zynqmp_def.h | e8d61f7d91901f577030f6a45a71cf389b96d9dc Thu May 11 09:28:13 UTC 2023 Prasad Kummari <prasad.kummari@amd.com> fix(zynqmp): handling of type el3 interrrupts
The array type_el3_interrupt_table is defined for MAX_INTR_EL3(128) elements and only two interrupts - ARM_IRQ_SEC_SGI_7(15), IRQ_TTC3_1(77) are being handled. Current implementation is consuming 1024 bytes which can be optimized for the number of interrupts to be handled. The current array is replaced with the array of struct zynmp_intr_info_type_el3_t (id and handler as member) and with maximum number of interrupts to be handled as the size of array (MAX_INTR_EL3 = 2). User is expected to adjust MAX_INTR_EL3 based on how many interrupts are handled in TF-A. With the updated implementation, a reduction of 960 bytes is observed. Versal and Versal NET are using similar implementation introduced by commit e497421d7f1e ("feat(versal): add infrastructure to handle multiple interrupts") and commit 0654ab7f7544 ("feat(versal-net): add support for platform management").
Signed-off-by: Prasad Kummari <prasad.kummari@amd.com> Change-Id: I07aa388d38ac3ff3c0d25decbe0719087b27ee18
|
| /rk3399_ARM-atf/plat/xilinx/zynqmp/ |
| H A D | bl31_zynqmp_setup.c | e8d61f7d91901f577030f6a45a71cf389b96d9dc Thu May 11 09:28:13 UTC 2023 Prasad Kummari <prasad.kummari@amd.com> fix(zynqmp): handling of type el3 interrrupts
The array type_el3_interrupt_table is defined for MAX_INTR_EL3(128) elements and only two interrupts - ARM_IRQ_SEC_SGI_7(15), IRQ_TTC3_1(77) are being handled. Current implementation is consuming 1024 bytes which can be optimized for the number of interrupts to be handled. The current array is replaced with the array of struct zynmp_intr_info_type_el3_t (id and handler as member) and with maximum number of interrupts to be handled as the size of array (MAX_INTR_EL3 = 2). User is expected to adjust MAX_INTR_EL3 based on how many interrupts are handled in TF-A. With the updated implementation, a reduction of 960 bytes is observed. Versal and Versal NET are using similar implementation introduced by commit e497421d7f1e ("feat(versal): add infrastructure to handle multiple interrupts") and commit 0654ab7f7544 ("feat(versal-net): add support for platform management").
Signed-off-by: Prasad Kummari <prasad.kummari@amd.com> Change-Id: I07aa388d38ac3ff3c0d25decbe0719087b27ee18
|