Home | History | Annotate | Download | only in alchemy
History log of /src/sys/arch/mips/alchemy/au_icu.c
RevisionDateAuthorComments
 1.31  04-Jan-2021  thorpej malloc(9) -> kmem(9)
 1.30  10-Nov-2019  chs branches: 1.30.8;
in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.
 1.29  14-Jan-2012  kiyohara branches: 1.29.48;
+ Fix IPL_VM sr_bits for alchemy_ipl_sr_map. Alchemy peripherals connects to
MIPS_INT_MASK_[0-3].
+ Also add IPL_DDB.
 1.28  10-Jul-2011  matt branches: 1.28.2; 1.28.6;
Fix machine/ includes
 1.27  01-Jul-2011  dyoung #include <sys/bus.h> instead of <machine/bus.h>.
 1.26  20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.25  31-May-2009  martin branches: 1.25.4; 1.25.6; 1.25.8;
Per discussion with <simonb> also block the interrupts from icu 1 for
splvm(), even if we don't currently support any handlers for gpio
interrupts.
 1.24  31-May-2009  martin Block MIPS_INT_MASK_1 for splvm() too - if_aumac.c establishes it's
interrupt handler at icu 0 req 1, which needs to be blocked by splvm().
 1.23  28-Apr-2008  martin branches: 1.23.18;
Remove clause 3 and 4 from TNF licenses
 1.22  06-Dec-2007  ad branches: 1.22.12; 1.22.14; 1.22.16;
Make it compile.
 1.21  21-Dec-2006  yamt branches: 1.21.10; 1.21.22; 1.21.24; 1.21.30; 1.21.32;
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.20  02-Oct-2006  gdamore Fix incorrect code which ignored "req", causing all interrupts to get
assigned to request 0. With this change, ethernet interrupts are assigned
to req1, seperately from req0. This potentially gives better performance
by shortening the list of handlers walked somewhat.
 1.19  25-Mar-2006  gdamore branches: 1.19.8; 1.19.10;
Clean up some code and ensure that the ICU registers start out with sane
values.
 1.18  23-Feb-2006  gdamore branches: 1.18.2; 1.18.4; 1.18.6;
Sprinkle wbflush() to ensure register writes are pushed thru the cpu write
buffer.
Clear and set WAKEUP properly.
 1.17  10-Feb-2006  simonb Fix bogus gcc uninitialised warnings - they're not needed for one of the
variables.
Update a comment to match changed code.
 1.16  10-Feb-2006  gdamore Fix error calling interrupt too many times (found with vmstat -e).
Replace "&&" with "&" when doing bit mask operations. Doh!
 1.15  10-Feb-2006  gdamore Add au_intr_enable() and au_intr_disable() API to allow for split interrupts
(e.g. PCMCIA leaves GPIO interrupt masked and reenables them soft interrupt.)
Add checks for masked interrupts before calling the handler.
When removing last interrupt handler, mask off interrupts completely using
MASK_CLEAR and WAKEUP_CLEAR. Tested on dbau1500.
 1.14  09-Feb-2006  gdamore au_icu.c is in mips/ and should not depend on evbmips intr handler struct.
convert various u_int32_t to preferred uint32_t.
 1.13  06-Feb-2006  gdamore Fix up incorrect ICU reporting, add processor specific switch tables for
IRQ routing and such.

Closes PR port-evbmips/31992.
Reviewed by simonb@, matt@, and izumi@
 1.12  24-Dec-2005  perry branches: 1.12.2; 1.12.4; 1.12.6;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.11  11-Dec-2005  christos merge ktrace-lwp.
 1.10  09-Jun-2005  he branches: 1.10.2;
Rename local variable `cpu_intr' to `cpu_int' to avoid shadowing.
 1.9  13-Feb-2004  wiz Uppercase CPU, plural is CPUs.
 1.8  27-Oct-2003  simonb More bogus uninitialised warnings.
 1.7  15-Jul-2003  lukem __KERNEL_RCSID()
 1.6  25-May-2003  tsutsui branches: 1.6.2;
Use common mips/softintr.c for softintr(9) on evbmips.
Ok'ed by simonb.
 1.5  01-Apr-2003  hpeyerl support active low, level triggered interrupts, needed for ohci front end.
 1.4  17-Nov-2002  simonb Remove reference to mips_int5_evcnt from here; that is port-specific,
not arch-specific.
 1.3  27-Sep-2002  provos remove trailing \n in panic(). approved perry.
 1.2  29-Jul-2002  simonb branches: 1.2.2; 1.2.4; 1.2.6;
Remove some debug code accidently left in.
 1.1  29-Jul-2002  simonb Add support for the the Alchemy Semiconductor Au1x00 series on-chip
devices. Currently the serial ports and ethernet MAC have working
drivers, and this has only been physically tested on the Au1000 CPU,
but these devices should work on the Au1100 and Au1500 CPUs too.
 1.2.6.3  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.2.6.2  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.2.6.1  29-Jul-2002  jdolecek file au_icu.c was added on branch kqueue on 2002-09-06 08:37:18 +0000
 1.2.4.2  31-Aug-2002  gehenna catch up with -current.
 1.2.4.1  29-Jul-2002  gehenna file au_icu.c was added on branch gehenna-devsw on 2002-08-31 13:45:13 +0000
 1.2.2.3  11-Dec-2002  thorpej Sync with HEAD.
 1.2.2.2  18-Oct-2002  nathanw Catch up to -current.
 1.2.2.1  29-Jul-2002  nathanw file au_icu.c was added on branch nathanw_sa on 2002-10-18 02:38:42 +0000
 1.6.2.4  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.6.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.6.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.6.2.1  03-Aug-2004  skrll Sync with HEAD
 1.10.2.3  07-Dec-2007  yamt sync with head
 1.10.2.2  30-Dec-2006  yamt sync with head.
 1.10.2.1  21-Jun-2006  yamt sync with head.
 1.12.6.1  22-Apr-2006  simonb Sync with head.
 1.12.4.1  09-Sep-2006  rpaulo sync with head
 1.12.2.2  01-Mar-2006  yamt sync with head.
 1.12.2.1  18-Feb-2006  yamt sync with head.
 1.18.6.1  28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.18.4.1  19-Apr-2006  elad sync with head - hopefully this will work
 1.18.2.1  01-Apr-2006  yamt sync with head.
 1.19.10.2  22-Oct-2006  yamt sync with head
 1.19.10.1  22-Sep-2006  yamt fix softintr for following ports. (hopefully)
hpcmips
evbmips
algor
arc
ews4800mips
newsmips
 1.19.8.2  12-Jan-2007  ad Sync with head.
 1.19.8.1  18-Nov-2006  ad Sync with head.
 1.21.32.1  08-Dec-2007  ad Sync with head.
 1.21.30.1  08-Dec-2007  mjf Sync with HEAD.
 1.21.24.1  09-Jan-2008  matt sync with HEAD
 1.21.22.1  09-Dec-2007  jmcneill Sync with HEAD.
 1.21.10.1  09-Dec-2007  reinoud Pullup to HEAD
 1.22.16.2  20-Jun-2009  yamt sync with head
 1.22.16.1  16-May-2008  yamt sync with head.
 1.22.14.1  18-May-2008  yamt sync with head.
 1.22.12.1  02-Jun-2008  mjf Sync with HEAD.
 1.23.18.3  28-Feb-2010  matt Add #define __INTR_PRIVATE
 1.23.18.2  23-Feb-2010  matt Instead of a read-only ipl_sr_bits, define a ipl_sr_map struct and fill that
in the interrupt init routine. There's a default ipl_sr_map will operate
correctly, but isn't performant.
 1.23.18.1  15-Feb-2010  matt Adapt to the new interrupt framework for NetBSD/mips.
 1.25.8.1  05-Mar-2011  bouyer Sync with HEAD
 1.25.6.1  06-Jun-2011  jruoho Sync with HEAD.
 1.25.4.1  05-Mar-2011  rmind sync with head
 1.28.6.1  18-Feb-2012  mrg merge to -current.
 1.28.2.1  17-Apr-2012  yamt sync with head
 1.29.48.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.30.8.1  03-Apr-2021  thorpej Sync with HEAD.

RSS XML Feed