Home | History | Annotate | Download | only in include
History log of /src/sys/arch/newsmips/include/intr.h
RevisionDateAuthorComments
 1.27  14-Oct-2018  tsutsui Add NWS-4000 support.

Based on nonaka@'s porting effort back in 2002.
See announcement on port-newsmips@ for more details:
http://mail-index.netbsd.org/port-newsmips/2018/10/13/msg000231.html
 1.26  21-Jul-2016  christos branches: 1.26.14; 1.26.16;
Don't include <mips/locore.h> in <machine/intr.h>, introduces circular
dependencies; instead include it in the 4 driver files that need it,
and reorder it in machdep.c
 1.25  20-Feb-2011  matt branches: 1.25.14; 1.25.32; 1.25.36;
Merge forward matt-nb5-mips64
Adapt to new interrupt/spl framework
 1.24  10-Apr-2009  tsutsui branches: 1.24.4; 1.24.6; 1.24.8;
Include <sys/evcnt.h> instead of <sys/device.h> for struct evcnt
to avoid recursive dependency.
 1.23  28-Apr-2008  martin branches: 1.23.8; 1.23.14; 1.23.18;
Remove clause 3 and 4 from TNF licenses
 1.22  03-Dec-2007  ad branches: 1.22.14; 1.22.16; 1.22.18;
Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.
 1.21  17-Oct-2007  garbled branches: 1.21.2;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.20  17-Jun-2007  tsutsui branches: 1.20.8; 1.20.10;
Move declaretions of _spl*() and _{clr,set}softintr() functions
(which are in mips/locore.S) into <mips/locore.h>
from various MD files.
 1.19  16-Feb-2007  ad branches: 1.19.6; 1.19.8; 1.19.14;
Remove spllowersoftclock() and CLKF_BASEPRI(), and always dispatch callouts
via a soft interrupt. In the near future, softclock will be run from process
context.
 1.18  21-Dec-2006  yamt merge yamt-splraiseipl branch.

- finish implementing splraiseipl (and makeiplcookie).
http://mail-index.NetBSD.org/tech-kern/2006/07/01/0000.html
- complete workqueue(9) and fix its ipl problem, which is reported
to cause audio skipping.
- fix netbt (at least compilation problems) for some ports.
- fix PR/33218.
 1.17  11-Dec-2005  christos branches: 1.17.20; 1.17.22;
merge ktrace-lwp.
 1.16  06-Feb-2005  tsutsui branches: 1.16.6;
Change u_int -> uint32_t, u_char,char -> uint8_t where appropriate.
 1.15  06-Feb-2005  tsutsui Misc cleanup:
- ANSI function decls
- remove __P()
- u_intNN_t -> uintNN_t
- remove register decls
- bcopy -> memcpy, strcpy
- bzero -> memset
- bcmp -> memcmp
- use malloc(9) with M_ZERO
- some KNF
etc.
 1.14  25-Oct-2003  tsutsui branches: 1.14.8; 1.14.10;
Switch to use MI mk48txx(4) and todr(9) for MK48T02 todclocks on newsmips.
 1.13  25-May-2003  tsutsui branches: 1.13.2;
Add MI softintr(9) support with common mips/softintr.c.
 1.12  10-May-2003  tsutsui - Prepare common structures for interrupt handler and share them between
Hyper-bus and AP-bus.
- Use LIST rather than static array for interrupt dispatcher.
 1.11  13-Apr-2001  thorpej branches: 1.11.8;
Remove the use of splimp() from the NetBSD kernel. splnet()
and only splnet() is allowed for the protection of data structures
used by network devices.
 1.10  14-Jan-2001  thorpej branches: 1.10.2;
Make sure everybody has an splvm() and equate it with splimp() (splimp()
is the historical name for this interrupt level, and the historical name
is going to go away in the near future).
 1.9  22-Aug-2000  thorpej Add spllock(). See spl(9) for details.
 1.8  21-Aug-2000  thorpej Make sure we provide splsched() as described in spl(9).
 1.7  14-Apr-2000  tsubai Adapt cpu_intr change.
 1.6  31-Dec-1999  tsubai Add zs softint definition. (I forgot to commit this...)
 1.5  22-Dec-1999  tsubai First cut of news5000 support.
Mostly from SHIMIZU Ryo <dejiko@di.gi.charat.org>.
 1.4  17-Oct-1999  tsubai branches: 1.4.2;
Rearrange splxxx (from pmax). Closes PR 8445.
 1.3  05-Aug-1999  thorpej branches: 1.3.2;
Change the semantics of splsoftclock() to be like other spl*() functions,
that is priority is rasied. Add a new spllowersoftclock() to provide the
atomic drop-to-softclock semantics that the old splsoftclock() provided,
and update calls accordingly.

This fixes a problem with using the "rnd" pseudo-device from within
interrupt context to extract random data (e.g. from within the softnet
interrupt) where doing so would incorrectly unblock interrupts (causing
all sorts of lossage).

XXX 4 platforms do not have priority-raising capability: newsmips, sparc,
XXX sparc64, and VAX. This platforms still have this bug until their
XXX spl*() functions are fixed.
 1.2  26-Aug-1998  tsubai Add MD DELAY and spl routines to fit Nisimura's change.
 1.1  08-Jun-1998  tsubai Introduce newsmips_intr_t for intrcnt[].
 1.3.2.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.4.2.3  21-Apr-2001  bouyer Sync with HEAD
 1.4.2.2  18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.4.2.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.10.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.11.8.2  13-Apr-2001  thorpej Remove the use of splimp() from the NetBSD kernel. splnet()
and only splnet() is allowed for the protection of data structures
used by network devices.
 1.11.8.1  13-Apr-2001  thorpej file intr.h was added on branch nathanw_sa on 2001-04-13 23:30:03 +0000
 1.13.2.4  06-Feb-2005  skrll Sync with HEAD.
 1.13.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.13.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.13.2.1  03-Aug-2004  skrll Sync with HEAD
 1.14.10.1  12-Feb-2005  yamt sync with head.
 1.14.8.1  29-Apr-2005  kent sync with -current
 1.16.6.4  07-Dec-2007  yamt sync with head
 1.16.6.3  03-Sep-2007  yamt sync with head.
 1.16.6.2  26-Feb-2007  yamt sync with head.
 1.16.6.1  30-Dec-2006  yamt sync with head.
 1.17.22.2  22-Sep-2006  yamt fix softintr for following ports. (hopefully)
hpcmips
evbmips
algor
arc
ews4800mips
newsmips
 1.17.22.1  21-Sep-2006  yamt - implement splraiseipl for algor, arc, ews4800mips, hpcmips, and newsmips.
- tweak evbmips version to match with others.
XXX i think these ought to be merged.
 1.17.20.1  12-Jan-2007  ad Sync with head.
 1.19.14.1  26-Jun-2007  garbled Sync with HEAD.
 1.19.8.1  11-Jul-2007  mjf Sync with head.
 1.19.6.2  03-Dec-2007  ad Sync with HEAD.
 1.19.6.1  15-Jul-2007  ad Sync with head.
 1.20.10.2  09-Jan-2008  matt sync with HEAD
 1.20.10.1  06-Nov-2007  matt sync with HEAD
 1.20.8.1  09-Dec-2007  jmcneill Sync with HEAD.
 1.21.2.1  08-Dec-2007  mjf Sync with HEAD.
 1.22.18.2  04-May-2009  yamt sync with head.
 1.22.18.1  16-May-2008  yamt sync with head.
 1.22.16.1  18-May-2008  yamt sync with head.
 1.22.14.1  02-Jun-2008  mjf Sync with HEAD.
 1.23.18.1  29-Dec-2010  matt Adapt to the new interrupt framework.
Use mips_set_wbflush instead of playing preprocessor games.
 1.23.14.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.23.8.1  28-Apr-2009  skrll Sync with HEAD.
 1.24.8.1  05-Mar-2011  bouyer Sync with HEAD
 1.24.6.1  06-Jun-2011  jruoho Sync with HEAD.
 1.24.4.1  05-Mar-2011  rmind sync with head
 1.25.36.1  26-Jul-2016  pgoyette Sync with HEAD
 1.25.32.1  05-Oct-2016  skrll Sync with HEAD
 1.25.14.1  03-Dec-2017  jdolecek update from HEAD
 1.26.16.1  10-Jun-2019  christos Sync with HEAD
 1.26.14.1  20-Oct-2018  pgoyette Sync with head

RSS XML Feed