Patch "mailbox: omap: Fix mailbox interrupt sharing" has been added to the 6.10-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    mailbox: omap: Fix mailbox interrupt sharing

to the 6.10-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     mailbox-omap-fix-mailbox-interrupt-sharing.patch
and it can be found in the queue-6.10 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit e3b18a25bae05c1d9e6bac9a43d34196eee6f9eb
Author: Andrew Davis <afd@xxxxxx>
Date:   Tue Jun 11 12:04:56 2024 -0500

    mailbox: omap: Fix mailbox interrupt sharing
    
    [ Upstream commit 0a02bc0a34cd53c7fe5bf4bae6efb56ad47677fa ]
    
    Multiple mailbox users can share one interrupt line. This flag was
    mistakenly dropped as part of the FIFO removal. Mark the IRQ as shared.
    
    Reported-by: Beleswar Padhi <b-padhi@xxxxxx>
    Fixes: 3f58c1f4206f ("mailbox: omap: Remove kernel FIFO message queuing")
    Signed-off-by: Andrew Davis <afd@xxxxxx>
    Tested-by: Beleswar Padhi <b-padhi@xxxxxx>
    Signed-off-by: Jassi Brar <jassisinghbrar@xxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/mailbox/omap-mailbox.c b/drivers/mailbox/omap-mailbox.c
index 46747559b438f..7a87424657a15 100644
--- a/drivers/mailbox/omap-mailbox.c
+++ b/drivers/mailbox/omap-mailbox.c
@@ -230,7 +230,8 @@ static int omap_mbox_startup(struct omap_mbox *mbox)
 	int ret = 0;
 
 	ret = request_threaded_irq(mbox->irq, NULL, mbox_interrupt,
-				   IRQF_ONESHOT, mbox->name, mbox);
+				   IRQF_SHARED | IRQF_ONESHOT, mbox->name,
+				   mbox);
 	if (unlikely(ret)) {
 		pr_err("failed to register mailbox interrupt:%d\n", ret);
 		return ret;




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux