Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/acpi Install the shared PCI INTx interrupt hand...



details:   https://anonhg.NetBSD.org/src/rev/d148dc967131
branches:  trunk
changeset: 1022814:d148dc967131
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Aug 08 12:09:52 2021 +0000

description:
Install the shared PCI INTx interrupt handler at IPL_VM to workaround a
possible interrupt storm at boot. Need to revisit this.

diffstat:

 sys/arch/arm/acpi/acpi_pci_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 52144ca4fa11 -r d148dc967131 sys/arch/arm/acpi/acpi_pci_machdep.c
--- a/sys/arch/arm/acpi/acpi_pci_machdep.c      Sun Aug 08 12:00:30 2021 +0000
+++ b/sys/arch/arm/acpi/acpi_pci_machdep.c      Sun Aug 08 12:09:52 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_pci_machdep.c,v 1.19 2021/08/07 21:27:53 jmcneill Exp $ */
+/* $NetBSD: acpi_pci_machdep.c,v 1.20 2021/08/08 12:09:52 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2018, 2020 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
 #define        _INTR_PRIVATE
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_pci_machdep.c,v 1.19 2021/08/07 21:27:53 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_pci_machdep.c,v 1.20 2021/08/08 12:09:52 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -536,7 +536,7 @@
                pi->pi_pic.pic_ops = &acpi_pci_pic_ops;
                pi->pi_irqbase = pic_add(&pi->pi_pic, PIC_IRQBASE_ALLOC);
                TAILQ_INSERT_TAIL(&acpi_pci_intrs, pi, pi_list);
-               pi->pi_ih = intr_establish_xname(irq, IPL_SCHED, IST_LEVEL | IST_MPSAFE,
+               pi->pi_ih = intr_establish_xname(irq, IPL_VM, IST_LEVEL | IST_MPSAFE,
                    pic_handle_intr, &pi->pi_pic, device_xname(ap->ap_dev));
        }
        if (pi->pi_ih == NULL)



Home | Main Index | Thread Index | Old Index