Searched hist:a7eff3477dcf3624c74f5217419b1a27b7ebd2aa (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/services/std_svc/sdei/ |
| H A D | sdei_main.c | a7eff3477dcf3624c74f5217419b1a27b7ebd2aa Thu Oct 26 10:14:21 UTC 2023 Manish Pandey <manish.pandey2@arm.com> fix(sdei): ensure that interrupt ID is valid
As per SDEI spec (section 5.1.14.1), SDEI_INTERRUPT_BIND interface expects a valid PPI or SPI. SGI's are not allowed to be bounded. Current check in the code only checks for an SGI and returns invalid ID. This check is insufficient as it will not catch architecturally invalid interrupt IDs.
Modify the check to ensure that interrupt is either PPI or SPI.
Signed-off-by: Manish Pandey <manish.pandey2@arm.com> Change-Id: I52eb0a6d7f88a12f6816cff9b68fb3a7ca12cbb7
|