[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250822045732.1068103-1-harini.t@amd.com>
Date: Fri, 22 Aug 2025 10:27:29 +0530
From: Harini T <harini.t@....com>
To: <jassisinghbrar@...il.com>, <michal.simek@....com>
CC: <linux-kernel@...r.kernel.org>, <linux-arm-kernel@...ts.infradead.org>,
<git@....com>, Harini T <harini.t@....com>
Subject: [PATCH 0/3] mailbox: zynqmp-ipi: Improve resource cleanup on driver unbind
1. Remove redundant mbox_controller_unregister() call, as
device_unregister() already handles controller cleanup.
2. Fix the mailbox cleanup loop to prevent out-of-bounds array access by
starting at num_mboxes-1.
3. Fix SGI resource cleanup by using an explicit irq_type field for
reliable SGI detection, replacing the unreliable IRQ number check.
Harini T (3):
mailbox: zynqmp-ipi: Remove redundant mbox_controller_unregister()
call
mailbox: zynqmp-ipi: Fix out-of-bounds access in mailbox cleanup loop
mailbox: zynqmp-ipi: Fix SGI cleanup on unbind
drivers/mailbox/zynqmp-ipi-mailbox.c | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
--
2.43.0
Powered by blists - more mailing lists