irqchip/stm32-exti: Skip secure events
authorAntonio Borneo <antonio.borneo@foss.st.com>
Mon, 15 Apr 2024 13:49:20 +0000 (15:49 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 22 Apr 2024 22:28:15 +0000 (00:28 +0200)
commitc00a4cb15a90668684d60bc4ff768a23558dadb9
tree6c23c200f83467caf5d3eea2348d94bb3fd43fdf
parent06d7e914cada8fccc6e30275b5cf5cca68fc385b
irqchip/stm32-exti: Skip secure events

Secure OS can reserve some EXTI events, marking them as "secure" by setting
the corresponding bit in register SECCFGR (aka TZENR).  These events cannot
be used by Linux.

Read the list of reserved events and check it during interrupt domain
allocation.

Signed-off-by: Antonio Borneo <antonio.borneo@foss.st.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20240415134926.1254428-6-antonio.borneo@foss.st.com
drivers/irqchip/irq-stm32-exti.c