Patch "MIPS: SNI: Fix SCSI interrupt" has been added to the 5.8-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

    MIPS: SNI: Fix SCSI interrupt

to the 5.8-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:
     mips-sni-fix-scsi-interrupt.patch
and it can be found in the queue-5.8 subdirectory.

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



commit 3c96dea5170b18e041ada2bb8628bfe2bc074aa4
Author: Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx>
Date:   Wed Sep 2 23:32:14 2020 +0200

    MIPS: SNI: Fix SCSI interrupt
    
    [ Upstream commit baf5cb30fbd1c22f6aa03c081794c2ee0f5be4da ]
    
    On RM400(a20r) machines ISA and SCSI interrupts share the same interrupt
    line. Commit 49e6e07e3c80 ("MIPS: pass non-NULL dev_id on shared
    request_irq()") accidently dropped the IRQF_SHARED bit, which breaks
    registering SCSI interrupt. Put back IRQF_SHARED and add dev_id for
    ISA interrupt.
    
    Fixes: 49e6e07e3c80 ("MIPS: pass non-NULL dev_id on shared request_irq()")
    Signed-off-by: Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/arch/mips/sni/a20r.c b/arch/mips/sni/a20r.c
index 0ecffb65fd6d1..b09dc844985a8 100644
--- a/arch/mips/sni/a20r.c
+++ b/arch/mips/sni/a20r.c
@@ -222,8 +222,8 @@ void __init sni_a20r_irq_init(void)
 		irq_set_chip_and_handler(i, &a20r_irq_type, handle_level_irq);
 	sni_hwint = a20r_hwint;
 	change_c0_status(ST0_IM, IE_IRQ0);
-	if (request_irq(SNI_A20R_IRQ_BASE + 3, sni_isa_irq_handler, 0, "ISA",
-			NULL))
+	if (request_irq(SNI_A20R_IRQ_BASE + 3, sni_isa_irq_handler,
+			IRQF_SHARED, "ISA", sni_isa_irq_handler))
 		pr_err("Failed to register ISA interrupt\n");
 }
 



[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