History log of /openbsd-current/sys/arch/octeon/include/intr.h
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.22 05-Sep-2019 visa

Implement splassert() on mips64.


# 1.21 05-Sep-2019 visa

Adjust interrupt priority levels on mips64 so that priorities
of soft interrupts are lower than priorities of hard interrupts.
This allows the delivery of hard interrupts while soft interrupts
are masked.


Revision tags: OPENBSD_6_5_BASE
# 1.20 21-Mar-2019 visa

Remove struct intrhand. It is no longer used on octeon.


# 1.19 17-Mar-2019 visa

Let each interrupt controller driver choose how to implement
intr_barrier(9).

With this change, the barrier should finally work properly with
cnmac(4) interrupts that have been assigned to secondary cores.


Revision tags: OPENBSD_6_4_BASE
# 1.18 20-Aug-2018 visa

Remove unused spllock().

OK deraadt@ mpi@


# 1.17 06-Aug-2018 patrick

Give the FDT interrupt API a more generic naming by replacing the
arm_intr_* prefix with fdt_intr_*.

ok kettenis@


Revision tags: OPENBSD_6_3_BASE
# 1.16 22-Jan-2018 mpi

Include <sys/mutex.h> instead of <machine/mutex.h>

required by upcoming MI mutex change.


# 1.15 02-Nov-2017 visa

Assign each cnmac(4) port its own input work group, and assign
the interrupt processing of each work group to one of the available
CPUs. This enables some parallelism in the early stages of packet Rx.


Revision tags: OPENBSD_6_2_BASE
# 1.14 28-Jul-2017 visa

Add a workaround that allows the use of sys/dev/fdt code on octeon.

OK kettenis@


# 1.13 25-Jul-2017 visa

Remove leftovers of a past softintr mechanism.

OK mpi@, kettenis@


# 1.12 18-Jun-2017 visa

Split octeon interrupt code into a glue layer and a CIU driver.
This makes possible to add drivers for other interrupt controllers
on the platform.

The glue layer has been derived from arm64/armv7.


# 1.11 18-Jun-2017 visa

Drop unnecessary call to octeon_setintrmask(). The function gets called
by the splx() handler.


# 1.10 11-Jun-2017 visa

Define register_splx_handler() in one place.


# 1.9 06-Apr-2017 visa

Extend the fdt interrupt API a little.


Revision tags: OPENBSD_6_1_BASE
# 1.8 08-Dec-2016 visa

Add a routine for setting up interrupt handlers using fdt.

ok kettenis@


Revision tags: OPENBSD_6_0_BASE
# 1.7 06-Mar-2016 mpi

Rename mips64's trap_frame into trapframe.

For coherency with other archs and in order to use it in MI code.

ok visa@, tobiasu@


Revision tags: OPENBSD_5_9_BASE
# 1.6 26-Sep-2015 visa

Let MP-safe interrupt handlers run without the kernel lock on octeon.

ok kettenis@


# 1.5 13-Sep-2015 kettenis

intr_barrier(9) for loongson, octeon and sgi.


Revision tags: OPENBSD_5_8_BASE
# 1.4 08-Jul-2015 dlg

unify the mutex implementations on all the mips64 platforms.

this basically copies the sgi implementation to mips64 and removes
it from the rest. this way they get an optimised UP mutex implementation
and correct asserts on all platforms.

ok miod@ jmatthew@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE
# 1.3 17-May-2013 kettenis

Add a dummy IPL_MPSAFE definition.

ok miod@, mikeb@


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.2 08-May-2011 syuu

obio renamed iobus, moved interrupt handler code to dev/octeon_intr.c


Revision tags: OPENBSD_4_9_BASE
# 1.1 20-Sep-2010 syuu

Initial revision


# 1.20 21-Mar-2019 visa

Remove struct intrhand. It is no longer used on octeon.


# 1.19 17-Mar-2019 visa

Let each interrupt controller driver choose how to implement
intr_barrier(9).

With this change, the barrier should finally work properly with
cnmac(4) interrupts that have been assigned to secondary cores.


Revision tags: OPENBSD_6_4_BASE
# 1.18 20-Aug-2018 visa

Remove unused spllock().

OK deraadt@ mpi@


# 1.17 06-Aug-2018 patrick

Give the FDT interrupt API a more generic naming by replacing the
arm_intr_* prefix with fdt_intr_*.

ok kettenis@


Revision tags: OPENBSD_6_3_BASE
# 1.16 22-Jan-2018 mpi

Include <sys/mutex.h> instead of <machine/mutex.h>

required by upcoming MI mutex change.


# 1.15 02-Nov-2017 visa

Assign each cnmac(4) port its own input work group, and assign
the interrupt processing of each work group to one of the available
CPUs. This enables some parallelism in the early stages of packet Rx.


Revision tags: OPENBSD_6_2_BASE
# 1.14 28-Jul-2017 visa

Add a workaround that allows the use of sys/dev/fdt code on octeon.

OK kettenis@


# 1.13 25-Jul-2017 visa

Remove leftovers of a past softintr mechanism.

OK mpi@, kettenis@


# 1.12 18-Jun-2017 visa

Split octeon interrupt code into a glue layer and a CIU driver.
This makes possible to add drivers for other interrupt controllers
on the platform.

The glue layer has been derived from arm64/armv7.


# 1.11 18-Jun-2017 visa

Drop unnecessary call to octeon_setintrmask(). The function gets called
by the splx() handler.


# 1.10 11-Jun-2017 visa

Define register_splx_handler() in one place.


# 1.9 06-Apr-2017 visa

Extend the fdt interrupt API a little.


Revision tags: OPENBSD_6_1_BASE
# 1.8 08-Dec-2016 visa

Add a routine for setting up interrupt handlers using fdt.

ok kettenis@


Revision tags: OPENBSD_6_0_BASE
# 1.7 06-Mar-2016 mpi

Rename mips64's trap_frame into trapframe.

For coherency with other archs and in order to use it in MI code.

ok visa@, tobiasu@


Revision tags: OPENBSD_5_9_BASE
# 1.6 26-Sep-2015 visa

Let MP-safe interrupt handlers run without the kernel lock on octeon.

ok kettenis@


# 1.5 13-Sep-2015 kettenis

intr_barrier(9) for loongson, octeon and sgi.


Revision tags: OPENBSD_5_8_BASE
# 1.4 08-Jul-2015 dlg

unify the mutex implementations on all the mips64 platforms.

this basically copies the sgi implementation to mips64 and removes
it from the rest. this way they get an optimised UP mutex implementation
and correct asserts on all platforms.

ok miod@ jmatthew@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE
# 1.3 17-May-2013 kettenis

Add a dummy IPL_MPSAFE definition.

ok miod@, mikeb@


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.2 08-May-2011 syuu

obio renamed iobus, moved interrupt handler code to dev/octeon_intr.c


Revision tags: OPENBSD_4_9_BASE
# 1.1 20-Sep-2010 syuu

Initial revision


# 1.18 20-Aug-2018 visa

Remove unused spllock().

OK deraadt@ mpi@


# 1.17 06-Aug-2018 patrick

Give the FDT interrupt API a more generic naming by replacing the
arm_intr_* prefix with fdt_intr_*.

ok kettenis@


Revision tags: OPENBSD_6_3_BASE
# 1.16 22-Jan-2018 mpi

Include <sys/mutex.h> instead of <machine/mutex.h>

required by upcoming MI mutex change.


# 1.15 02-Nov-2017 visa

Assign each cnmac(4) port its own input work group, and assign
the interrupt processing of each work group to one of the available
CPUs. This enables some parallelism in the early stages of packet Rx.


Revision tags: OPENBSD_6_2_BASE
# 1.14 28-Jul-2017 visa

Add a workaround that allows the use of sys/dev/fdt code on octeon.

OK kettenis@


# 1.13 25-Jul-2017 visa

Remove leftovers of a past softintr mechanism.

OK mpi@, kettenis@


# 1.12 18-Jun-2017 visa

Split octeon interrupt code into a glue layer and a CIU driver.
This makes possible to add drivers for other interrupt controllers
on the platform.

The glue layer has been derived from arm64/armv7.


# 1.11 18-Jun-2017 visa

Drop unnecessary call to octeon_setintrmask(). The function gets called
by the splx() handler.


# 1.10 11-Jun-2017 visa

Define register_splx_handler() in one place.


# 1.9 06-Apr-2017 visa

Extend the fdt interrupt API a little.


Revision tags: OPENBSD_6_1_BASE
# 1.8 08-Dec-2016 visa

Add a routine for setting up interrupt handlers using fdt.

ok kettenis@


Revision tags: OPENBSD_6_0_BASE
# 1.7 06-Mar-2016 mpi

Rename mips64's trap_frame into trapframe.

For coherency with other archs and in order to use it in MI code.

ok visa@, tobiasu@


Revision tags: OPENBSD_5_9_BASE
# 1.6 26-Sep-2015 visa

Let MP-safe interrupt handlers run without the kernel lock on octeon.

ok kettenis@


# 1.5 13-Sep-2015 kettenis

intr_barrier(9) for loongson, octeon and sgi.


Revision tags: OPENBSD_5_8_BASE
# 1.4 08-Jul-2015 dlg

unify the mutex implementations on all the mips64 platforms.

this basically copies the sgi implementation to mips64 and removes
it from the rest. this way they get an optimised UP mutex implementation
and correct asserts on all platforms.

ok miod@ jmatthew@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE
# 1.3 17-May-2013 kettenis

Add a dummy IPL_MPSAFE definition.

ok miod@, mikeb@


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.2 08-May-2011 syuu

obio renamed iobus, moved interrupt handler code to dev/octeon_intr.c


Revision tags: OPENBSD_4_9_BASE
# 1.1 20-Sep-2010 syuu

Initial revision


# 1.16 22-Jan-2018 mpi

Include <sys/mutex.h> instead of <machine/mutex.h>

required by upcoming MI mutex change.


# 1.15 02-Nov-2017 visa

Assign each cnmac(4) port its own input work group, and assign
the interrupt processing of each work group to one of the available
CPUs. This enables some parallelism in the early stages of packet Rx.


Revision tags: OPENBSD_6_2_BASE
# 1.14 28-Jul-2017 visa

Add a workaround that allows the use of sys/dev/fdt code on octeon.

OK kettenis@


# 1.13 25-Jul-2017 visa

Remove leftovers of a past softintr mechanism.

OK mpi@, kettenis@


# 1.12 18-Jun-2017 visa

Split octeon interrupt code into a glue layer and a CIU driver.
This makes possible to add drivers for other interrupt controllers
on the platform.

The glue layer has been derived from arm64/armv7.


# 1.11 18-Jun-2017 visa

Drop unnecessary call to octeon_setintrmask(). The function gets called
by the splx() handler.


# 1.10 11-Jun-2017 visa

Define register_splx_handler() in one place.


# 1.9 06-Apr-2017 visa

Extend the fdt interrupt API a little.


Revision tags: OPENBSD_6_1_BASE
# 1.8 08-Dec-2016 visa

Add a routine for setting up interrupt handlers using fdt.

ok kettenis@


Revision tags: OPENBSD_6_0_BASE
# 1.7 06-Mar-2016 mpi

Rename mips64's trap_frame into trapframe.

For coherency with other archs and in order to use it in MI code.

ok visa@, tobiasu@


Revision tags: OPENBSD_5_9_BASE
# 1.6 26-Sep-2015 visa

Let MP-safe interrupt handlers run without the kernel lock on octeon.

ok kettenis@


# 1.5 13-Sep-2015 kettenis

intr_barrier(9) for loongson, octeon and sgi.


Revision tags: OPENBSD_5_8_BASE
# 1.4 08-Jul-2015 dlg

unify the mutex implementations on all the mips64 platforms.

this basically copies the sgi implementation to mips64 and removes
it from the rest. this way they get an optimised UP mutex implementation
and correct asserts on all platforms.

ok miod@ jmatthew@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE
# 1.3 17-May-2013 kettenis

Add a dummy IPL_MPSAFE definition.

ok miod@, mikeb@


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.2 08-May-2011 syuu

obio renamed iobus, moved interrupt handler code to dev/octeon_intr.c


Revision tags: OPENBSD_4_9_BASE
# 1.1 20-Sep-2010 syuu

Initial revision


# 1.15 02-Nov-2017 visa

Assign each cnmac(4) port its own input work group, and assign
the interrupt processing of each work group to one of the available
CPUs. This enables some parallelism in the early stages of packet Rx.


Revision tags: OPENBSD_6_2_BASE
# 1.14 28-Jul-2017 visa

Add a workaround that allows the use of sys/dev/fdt code on octeon.

OK kettenis@


# 1.13 25-Jul-2017 visa

Remove leftovers of a past softintr mechanism.

OK mpi@, kettenis@


# 1.12 18-Jun-2017 visa

Split octeon interrupt code into a glue layer and a CIU driver.
This makes possible to add drivers for other interrupt controllers
on the platform.

The glue layer has been derived from arm64/armv7.


# 1.11 18-Jun-2017 visa

Drop unnecessary call to octeon_setintrmask(). The function gets called
by the splx() handler.


# 1.10 11-Jun-2017 visa

Define register_splx_handler() in one place.


# 1.9 06-Apr-2017 visa

Extend the fdt interrupt API a little.


Revision tags: OPENBSD_6_1_BASE
# 1.8 08-Dec-2016 visa

Add a routine for setting up interrupt handlers using fdt.

ok kettenis@


Revision tags: OPENBSD_6_0_BASE
# 1.7 06-Mar-2016 mpi

Rename mips64's trap_frame into trapframe.

For coherency with other archs and in order to use it in MI code.

ok visa@, tobiasu@


Revision tags: OPENBSD_5_9_BASE
# 1.6 26-Sep-2015 visa

Let MP-safe interrupt handlers run without the kernel lock on octeon.

ok kettenis@


# 1.5 13-Sep-2015 kettenis

intr_barrier(9) for loongson, octeon and sgi.


Revision tags: OPENBSD_5_8_BASE
# 1.4 08-Jul-2015 dlg

unify the mutex implementations on all the mips64 platforms.

this basically copies the sgi implementation to mips64 and removes
it from the rest. this way they get an optimised UP mutex implementation
and correct asserts on all platforms.

ok miod@ jmatthew@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE
# 1.3 17-May-2013 kettenis

Add a dummy IPL_MPSAFE definition.

ok miod@, mikeb@


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.2 08-May-2011 syuu

obio renamed iobus, moved interrupt handler code to dev/octeon_intr.c


Revision tags: OPENBSD_4_9_BASE
# 1.1 20-Sep-2010 syuu

Initial revision