Searched hist:"1 b4c5002788a6114f29662f49ee8fffcb3ded5aa" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/drivers/ |
| H A D | gic.c | 1b4c5002788a6114f29662f49ee8fffcb3ded5aa Thu Jun 01 11:19:54 UTC 2023 Izhar Nevo <inevo@amazon.com> drivers: gic: prevent accessing unimplemented GIC registers
The GIC method for probing for the highest implemented interrupt ignored is done by writing & reading to GIC registers GICD_ISENABLER<n> & GICD_ICENABLER<n> that are not always implemented. This causes an error indication in GIC register GICT_ERR0_STATUS. To prevent this, Check in GIC register GICD_TYPER how many SPI blocks are implemented and access only implemented registers.
Signed-off-by: Izhar Nevo <inevo@amazon.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
|