arm: remove passing trapframe to intr_ipi_dispatch()

This was needed before INTRNG was in place and handling the push of
curthread->td_intr_frame.  Since INTRNG now handles this, there is no
longer and need for playing around with the frame inside IPI interrupts.
This commit is contained in:
Elliott Mitchell 2022-12-14 13:59:17 -08:00 committed by Andrew Turner
parent c7e5e9dc41
commit d7e3b05b0d
7 changed files with 7 additions and 7 deletions

View File

@ -573,7 +573,7 @@ arm_gic_intr(void *arg)
#ifdef SMP
/* Call EOI for all IPI before dispatch. */
gic_c_write_4(sc, GICC_EOIR, irq_active_reg);
intr_ipi_dispatch(sgi_to_ipi[gi->gi_irq], tf);
intr_ipi_dispatch(sgi_to_ipi[gi->gi_irq]);
goto next_irq;
#else
device_printf(sc->gic_dev, "SGI %u on UP system detected\n",

View File

@ -141,7 +141,7 @@ intr_ipi_lookup(u_int ipi)
}
void
intr_ipi_dispatch(u_int ipi, struct trapframe *tf)
intr_ipi_dispatch(u_int ipi)
{
struct intr_ipi *ii;

View File

@ -369,7 +369,7 @@ bcm_lintc_ipi_dispatch(struct bcm_lintc_softc *sc, u_int cpu,
#else
dsb();
#endif
intr_ipi_dispatch(ipi, tf);
intr_ipi_dispatch(ipi);
}
}
#endif

View File

@ -55,7 +55,7 @@
typedef void intr_ipi_send_t(void *, cpuset_t, u_int);
typedef void intr_ipi_handler_t(void *);
void intr_ipi_dispatch(u_int, struct trapframe *);
void intr_ipi_dispatch(u_int);
void intr_ipi_send(cpuset_t, u_int);
void intr_ipi_setup(u_int, const char *, intr_ipi_handler_t *, void *,

View File

@ -631,7 +631,7 @@ arm_gic_v3_intr(void *arg)
/* Call EOI for all IPI before dispatch. */
gic_icc_write(EOIR1, (uint64_t)active_irq);
#ifdef SMP
intr_ipi_dispatch(sgi_to_ipi[gi->gi_irq], tf);
intr_ipi_dispatch(sgi_to_ipi[gi->gi_irq]);
#else
device_printf(sc->dev, "SGI %ju on UP system detected\n",
(uintmax_t)(active_irq - GIC_FIRST_SGI));

View File

@ -915,7 +915,7 @@ intr_ipi_lookup(u_int ipi)
* source mapped.
*/
void
intr_ipi_dispatch(u_int ipi, struct trapframe *tf)
intr_ipi_dispatch(u_int ipi)
{
struct intr_ipi *ii;

View File

@ -45,7 +45,7 @@ arm_irq_memory_barrier(uintptr_t irq)
}
#ifdef SMP
void intr_ipi_dispatch(u_int, struct trapframe *);
void intr_ipi_dispatch(u_int);
#endif
#ifdef DEV_ACPI