diff options
author | Harini T <harini.t@amd.com> | 2025-09-29 13:07:23 +0530 |
---|---|---|
committer | Jassi Brar <jassisinghbrar@gmail.com> | 2025-10-06 18:14:01 -0500 |
commit | bb160e791ab15b89188a7a19589b8e11f681bef3 (patch) | |
tree | d24aecb86839c4a297a96afec27528b320d39eac /lib/mpi | |
parent | 0aead8197fc1a85b0a89646e418feb49a564b029 (diff) |
mailbox: zynqmp-ipi: Fix SGI cleanup on unbind
The driver incorrectly determines SGI vs SPI interrupts by checking IRQ
number < 16, which fails with dynamic IRQ allocation. During unbind,
this causes improper SGI cleanup leading to kernel crash.
Add explicit irq_type field to pdata for reliable identification of SGI
interrupts (type-2) and only clean up SGI resources when appropriate.
Fixes: 6ffb1635341b ("mailbox: zynqmp: handle SGI for shared IPI")
Signed-off-by: Harini T <harini.t@amd.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions