Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

work towards unifying interrupt interfaces #1286

Open
wants to merge 23 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
504e9e5
intrcompat: create <machine/interrupt.h> compatibility headers
ehem Jun 8, 2022
c4edffb
intrcompat: add "interrupt_t" typedef for all architectures
ehem Jun 4, 2022
77a5df1
intr/x86: remove #ifndef LOCORE from intr_machdep.h
ehem Oct 24, 2024
d3064e2
intr/powerpc: switch to vector value for interrupt core "irq"
ehem Aug 27, 2023
4fead5c
intrng: add standard interrupt controller interface
ehem Oct 15, 2021
4abdb9f
powerpc: add ability to access intr_event by interrupt number
ehem Oct 15, 2021
714a108
intr/x86: implement standard interrupt interface
ehem Oct 18, 2021
2736a76
kern/intr: switch intr_{get|set}affinity() to using intrtab_lookup()
ehem Oct 15, 2021
8338fd1
kern/intr: switch intr_{get|set}affinity() to using intr_event *
ehem Oct 15, 2021
5d5bcfe
kern/intr: remove "irq" argument from intr_event_create()
ehem Oct 15, 2021
3325c47
intr/x86: remove ->pic_vector(), switch to ->ie_irq
ehem Jun 4, 2022
8d16cb0
x86/msi: remove msi_irq from msi_intsrc structure
ehem Aug 23, 2023
0d5b7ea
arm64/gicv3: implement use of macros for access to structures
ehem Sep 3, 2023
38e676c
arm/gic: implement use of macros for access to structures
ehem Sep 3, 2023
0005e6d
kern/intr: introduce common interrupt table functionality
ehem Jan 25, 2023
cb0931f
kern/intr: introduce standard interrupt table functionality
ehem Jan 25, 2023
1ad93c5
intrng: enable use of common interrupt table functionality
ehem Aug 30, 2023
8055547
intr/powerpc: enable use of common interrupt table functionality
ehem Aug 25, 2023
699716b
x86/intr: enable use of common interrupt table functionality
ehem Aug 31, 2023
c1bf9bf
intrtab: merge configuration
ehem Aug 24, 2023
f7bd286
intrtab: move header #includes to preferred places
ehem Jun 14, 2024
0d4db2f
arm64/gicv3: implement use of new intertab interface
ehem Sep 3, 2023
374c384
arm/gic: implement use of new intertab interface
ehem Sep 3, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sys/amd64/acpica/acpi_wakeup.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

#include <machine/clock.h>
#include <machine/cpu.h>
#include <machine/intr_machdep.h>
#include <machine/interrupt.h>
#include <machine/md_var.h>
#include <x86/mca.h>
#include <machine/pcb.h>
Expand Down
2 changes: 1 addition & 1 deletion sys/amd64/amd64/fpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

#include <machine/cputypes.h>
#include <machine/frame.h>
#include <machine/intr_machdep.h>
#include <machine/interrupt.h>
#include <machine/md_var.h>
#include <machine/pcb.h>
#include <machine/psl.h>
Expand Down
2 changes: 1 addition & 1 deletion sys/amd64/amd64/machdep.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
#include <machine/cpu.h>
#include <machine/cputypes.h>
#include <machine/frame.h>
#include <machine/intr_machdep.h>
#include <machine/interrupt.h>
#include <x86/mca.h>
#include <machine/md_var.h>
#include <machine/metadata.h>
Expand Down
2 changes: 1 addition & 1 deletion sys/amd64/amd64/pmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
#include <vm/uma.h>

#include <machine/asan.h>
#include <machine/intr_machdep.h>
#include <machine/interrupt.h>
#include <x86/apicvar.h>
#include <x86/ifunc.h>
#include <machine/cpu.h>
Expand Down
2 changes: 1 addition & 1 deletion sys/amd64/amd64/trap.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ PMC_SOFT_DEFINE( , , page_fault, write);
#include <vm/vm_extern.h>

#include <machine/cpu.h>
#include <machine/intr_machdep.h>
#include <machine/interrupt.h>
#include <x86/mca.h>
#include <machine/md_var.h>
#include <machine/pcb.h>
Expand Down
2 changes: 1 addition & 1 deletion sys/amd64/ia32/ia32_syscall.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
#include <vm/vm_extern.h>

#include <machine/cpu.h>
#include <machine/intr_machdep.h>
#include <machine/interrupt.h>
#include <machine/md_var.h>

#include <compat/freebsd32/freebsd32_signal.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#ifndef __MACHINE_INTR_MACHDEP_H__
#define __MACHINE_INTR_MACHDEP_H__

#include <x86/intr_machdep.h>
#include <x86/interrupt.h>

/*
* The following data structure holds per-cpu data, and is placed just
Expand Down
2 changes: 1 addition & 1 deletion sys/arm/allwinner/a10/a10_intc.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
#include <sys/systm.h>
#include <sys/sched.h>
#include <machine/bus.h>
#include <machine/intr.h>
#include <machine/interrupt.h>

#include <dev/ofw/openfirm.h>
#include <dev/ofw/ofw_bus.h>
Expand Down
2 changes: 1 addition & 1 deletion sys/arm/allwinner/a10_sramc.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#include <machine/bus.h>
#include <machine/cpu.h>
#include <machine/frame.h>
#include <machine/intr.h>
#include <machine/interrupt.h>

#include <dev/ofw/openfirm.h>
#include <dev/ofw/ofw_bus.h>
Expand Down
2 changes: 1 addition & 1 deletion sys/arm/allwinner/a10_timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#include <sys/timetc.h>
#include <sys/watchdog.h>
#include <machine/bus.h>
#include <machine/intr.h>
#include <machine/interrupt.h>
#include <machine/machdep.h>

#include <dev/ofw/openfirm.h>
Expand Down
2 changes: 1 addition & 1 deletion sys/arm/allwinner/a20/a20_cpu_cfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#include <sys/watchdog.h>
#include <machine/bus.h>
#include <machine/cpu.h>
#include <machine/intr.h>
#include <machine/interrupt.h>

#include <dev/ofw/openfirm.h>
#include <dev/ofw/ofw_bus.h>
Expand Down
2 changes: 1 addition & 1 deletion sys/arm/allwinner/aw_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

#include <machine/bus.h>
#include <machine/resource.h>
#include <machine/intr.h>
#include <machine/interrupt.h>

#include <dev/gpio/gpiobusvar.h>
#include <dev/ofw/ofw_bus.h>
Expand Down
2 changes: 1 addition & 1 deletion sys/arm/allwinner/aw_mp.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
#include <machine/cpu.h>
#include <machine/smp.h>
#include <machine/fdt.h>
#include <machine/intr.h>
#include <machine/interrupt.h>
#include <machine/platformvar.h>

#include <arm/allwinner/aw_mp.h>
Expand Down
2 changes: 1 addition & 1 deletion sys/arm/allwinner/aw_nmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include <sys/proc.h>
#include <sys/rman.h>
#include <machine/bus.h>
#include <machine/intr.h>
#include <machine/interrupt.h>

#include <dev/fdt/fdt_intr.h>
#include <dev/ofw/openfirm.h>
Expand Down
2 changes: 1 addition & 1 deletion sys/arm/allwinner/aw_r_intc.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <sys/bus.h>
#include <sys/kernel.h>
#include <sys/module.h>
#include <machine/intr.h>
#include <machine/interrupt.h>

#include <dev/ofw/openfirm.h>
#include <dev/ofw/ofw_bus.h>
Expand Down
2 changes: 1 addition & 1 deletion sys/arm/allwinner/if_emac.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

#include <machine/bus.h>
#include <machine/resource.h>
#include <machine/intr.h>
#include <machine/interrupt.h>

#include <net/if.h>
#include <net/if_var.h>
Expand Down
2 changes: 1 addition & 1 deletion sys/arm/altera/socfpga/socfpga_a10_manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

#include <machine/bus.h>
#include <machine/cpu.h>
#include <machine/intr.h>
#include <machine/interrupt.h>

#include <arm/altera/socfpga/socfpga_common.h>

Expand Down
2 changes: 1 addition & 1 deletion sys/arm/altera/socfpga/socfpga_manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

#include <machine/bus.h>
#include <machine/cpu.h>
#include <machine/intr.h>
#include <machine/interrupt.h>

#include <arm/altera/socfpga/socfpga_common.h>

Expand Down
2 changes: 1 addition & 1 deletion sys/arm/altera/socfpga/socfpga_mp.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
#include <machine/cpu.h>
#include <machine/smp.h>
#include <machine/fdt.h>
#include <machine/intr.h>
#include <machine/interrupt.h>
#include <machine/platformvar.h>

#include <arm/altera/socfpga/socfpga_mp.h>
Expand Down
2 changes: 1 addition & 1 deletion sys/arm/altera/socfpga/socfpga_rstmgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
#include <machine/bus.h>
#include <machine/fdt.h>
#include <machine/cpu.h>
#include <machine/intr.h>
#include <machine/interrupt.h>

#include <arm/altera/socfpga/socfpga_common.h>
#include <arm/altera/socfpga/socfpga_rstmgr.h>
Expand Down
2 changes: 1 addition & 1 deletion sys/arm/annapurna/alpine/alpine_machdep_mp.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

#include <machine/smp.h>
#include <machine/fdt.h>
#include <machine/intr.h>
#include <machine/interrupt.h>
#include <machine/cpu.h>
#include <machine/platformvar.h>

Expand Down
2 changes: 1 addition & 1 deletion sys/arm/arm/generic_timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

#include <machine/bus.h>
#include <machine/cpu.h>
#include <machine/intr.h>
#include <machine/interrupt.h>
#include <machine/machdep.h>
#include <machine/md_var.h>

Expand Down
Loading
Loading