]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(versal): add infrastructure to handle multiple interrupts
authorTanmay Shah <tanmay.shah@amd.com>
Fri, 26 Aug 2022 22:06:00 +0000 (15:06 -0700)
committerJoanna Farley <joanna.farley@arm.com>
Tue, 13 Sep 2022 07:22:47 +0000 (09:22 +0200)
commite497421d7f1e13d15313d1ca71a8e91f370cce1e
tree3cd3bfd27c25a4251b957b31aded9bd6f4e9502e
parent5897e135445e2bf3345297fbe9971a113506d714
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
plat/xilinx/versal/bl31_versal_setup.c
plat/xilinx/versal/include/plat_private.h
plat/xilinx/versal/include/versal_def.h
plat/xilinx/versal/pm_service/pm_api_sys.c
plat/xilinx/versal/pm_service/pm_api_sys.h
plat/xilinx/versal/pm_service/pm_svc_main.c