Remove the IMF_READ_INTERRUPT_ID build option
The IMF_READ_INTERRUPT_ID build option enables a feature where the interrupt
ID of the highest priority pending interrupt is passed as a parameter to the
interrupt handler registered for that type of interrupt. This additional read
of highest pending interrupt id from GIC is problematic as it is possible that
the original interrupt may get deasserted and another interrupt of different
type maybe become the highest pending interrupt. Hence it is safer to prevent
such behaviour by removing the IMF_READ_INTERRUPT_ID build option.

The `id` parameter of the interrupt handler `interrupt_type_handler_t` is
now made a reserved parameter with this patch. It will always contain
INTR_ID_UNAVAILABLE.

Fixes ARM-software/tf-issues#307

Change-Id: I2173aae1dd37edad7ba6bdfb1a99868635fa34de
1 parent b39908a commit 5471841870074043dc53f2bd1a52bc48970038e2
@Soby Mathew Soby Mathew authored on 27 Oct 2015
Showing 7 changed files
View
bl31/aarch64/runtime_exceptions.S
View
bl31/bl31.mk
View
docs/interrupt-framework-design.md
View
docs/porting-guide.md
View
docs/user-guide.md
View
services/spd/opteed/opteed_main.c
View
services/spd/tspd/tspd_main.c