aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorHarini T <harini.t@amd.com>2025-09-29 13:07:23 +0530
committerJassi Brar <jassisinghbrar@gmail.com>2025-10-06 18:14:01 -0500
commitbb160e791ab15b89188a7a19589b8e11f681bef3 (patch)
treed24aecb86839c4a297a96afec27528b320d39eac /scripts/bpf_doc.py
parentmailbox: zynqmp-ipi: Fix out-of-bounds access in mailbox cleanup loop (diff)
downloadlinux-bb160e791ab15b89188a7a19589b8e11f681bef3.tar.gz
linux-bb160e791ab15b89188a7a19589b8e11f681bef3.zip
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 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions