Re: [PATCH] mailbox: tegra-hsp: Clear mailbox before using message

From: Jon Hunter
Date: Wed Nov 27 2024 - 10:56:28 EST




On 27/11/2024 06:20, Kartik Rajput wrote:
From: Pekka Pessi <ppessi@xxxxxxxxxx>

Some clients depend on mailbox being empty before processing the
message. On RT kernel, the thread processing the message may be on
different CPU or running with higher priority than the interrupt
handler thread and they may act on the message before mailbox is
emptied.

Signed-off-by: Pekka Pessi <ppessi@xxxxxxxxxx>
Signed-off-by: Kartik Rajput <kkartik@xxxxxxxxxx>

We should include a fixes tag here. I believe that this would be a good candidate for stable too and so worth CC stable on this.

Thanks!
Jon

--
nvpublic