[PATCH 0/2] mailbox: pcc: Fix shared-memory teardown race

Christian Loehle posted 2 patches 3 weeks, 1 day ago
drivers/mailbox/pcc.c | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
[PATCH 0/2] mailbox: pcc: Fix shared-memory teardown race
Posted by Christian Loehle 3 weeks, 1 day ago
Breno’s fix frees the PCC channel before unmapping shared memory, ensuring
the IRQ is disabled first. The second patch serializes channel release and
request so a new mapping cannot be unmapped by the old release.

(I'm happy to have my patch folded into Breno's if that's preferred.)

Breno Leitao (1):
  mailbox: pcc: Free the channel before unmapping the shared memory

Christian Loehle (1):
  mailbox: pcc: Serialize channel updates with shared memory teardown

 drivers/mailbox/pcc.c | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

-- 
2.34.1

Re: [PATCH 0/2] mailbox: pcc: Fix shared-memory teardown race
Posted by Sudeep Holla 3 weeks, 1 day ago
Hi Jassi,

On Thu, Sep 03, 2026 at 12:13:26PM +0100, Christian Loehle wrote:
> Breno’s fix frees the PCC channel before unmapping shared memory, ensuring
> the IRQ is disabled first. The second patch serializes channel release and
> request so a new mapping cannot be unmapped by the old release.
> 

Can you please pull these couple of patches as fixes for v7.3 when
possible ?

-- 
Regards,
Sudeep