Home | History | Annotate | Download | only in ep93xx
History log of /src/sys/arch/arm/ep93xx/ep93xx_intr.c
RevisionDateAuthorComments
 1.28  02-May-2023  jmcneill TS7200: Defer event counter registration until after evcnt is initialized

Patch from Lloyd Parkes <lloyd@must-have-coffee.gen.nz> in PR# kern/57386
 1.27  21-Nov-2021  skrll branches: 1.27.4;
Trailing whitespace.
 1.26  20-Nov-2020  thorpej malloc(9) -> kmem(9)
 1.25  10-Nov-2019  chs branches: 1.25.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.24  08-Apr-2015  ozaki-r branches: 1.24.18;
Include sys/lwp.h instead of arm/cpu.h

sys/lwp.h is preferred because arm/cpu.h has a dependency on sys/lwp.h.

Suggested by skrll@ and matt@
 1.23  07-Apr-2015  ozaki-r Add missing #include <arm/cpu.h>
 1.22  26-Mar-2014  christos branches: 1.22.6;
kill sprintf
 1.21  02-Mar-2014  joerg GC ipending.
 1.20  18-Dec-2013  skrll Remove unused variable
 1.19  18-Aug-2013  matt <arm/locore.h> fallout (fixes some include ordering errors)
 1.18  12-Nov-2012  skrll branches: 1.18.2;
C99 types
 1.17  02-Aug-2012  skrll branches: 1.17.2;
Remove irqframe and replace with identical trapframe.
 1.16  01-Jul-2011  dyoung branches: 1.16.2;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.15  20-Dec-2010  matt Move counting of faults, traps, intrs, soft[intr]s, syscalls, and nswtch
from uvmexp to per-cpu cpu_data and move them to 64bits. Remove unneeded
includes of <uvm/uvm_extern.h> and/or <uvm/uvm.h>.
 1.14  13-Jun-2010  tsutsui Apply fixes for PR port-arm/43339:
Set proper IPL_SOFTfoo values even in !FAST_SOFTINTS case.
Some assertions in MI code expect they have unique values,
per comments from rmind@.

Also cleanup various "interrupt hierarchy" code since IPL_NONE and
IPL_SOFTfoo should not be set by any hardware interrupt establish functions.

Ok'ed by mrg@, tested on shark and hpcarm.
 1.13  28-Apr-2008  martin branches: 1.13.20; 1.13.22;
Remove clause 3 and 4 from TNF licenses
 1.12  27-Apr-2008  matt Merge kernel changes in matt-armv6 to HEAD.
 1.11  06-Jan-2008  matt branches: 1.11.6; 1.11.8; 1.11.10;
Truly kill current_intr_depth once and for all.
 1.10  06-Jan-2008  matt Cleanup softint lossage.
 1.9  03-Dec-2007  ad branches: 1.9.6;
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.8  24-Nov-2006  wiz branches: 1.8.8; 1.8.24; 1.8.26; 1.8.28; 1.8.30; 1.8.36;
s/heirarchy/hierarchy/, from Zafer.
 1.7  24-Dec-2005  perry branches: 1.7.20; 1.7.22;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.6  12-Nov-2005  hamajima delete dummy entries for vmstat. (unnecessary since May 2005)
 1.5  12-Nov-2005  hamajima add new EP93xx device drivers.
epgpio: GPIO Interface (support gpio(4))
epled: LED on epgpio
eppcic: PCMCIA Interface
eprtc: Realtime clock
epwdog: Watchdog timer

changes
ep93xx_intr: add dummy entries to keep vmstat happy.
epclk: I use Timer1 and generate 100Hz if set.
epe: attach epclk and epgpio first.
fetch the Ethernet address from property if set.
I use config flags and modify MDCDIV.
 1.4  14-Aug-2005  joff Fix argument mismatch (clockframe * vs. irqframe *) in ep93xx_intr_dispatch() that
has been causing compile failures.
 1.3  05-Jan-2005  joff branches: 1.3.4; 1.3.12;
Avoid duplicate IRQ deliveries by processing at most 1 IRQ for each VIC read
 1.2  29-Dec-2004  joff Fix the potential recursion processing soft interrupts that was eating
all the stack.
 1.1  22-Dec-2004  joff ep93xx processor VIC interrupt controller support
 1.3.12.4  21-Jan-2008  yamt sync with head
 1.3.12.3  07-Dec-2007  yamt sync with head
 1.3.12.2  30-Dec-2006  yamt sync with head.
 1.3.12.1  21-Jun-2006  yamt sync with head.
 1.3.4.4  11-Dec-2005  christos Sync with head.
 1.3.4.3  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.3.4.2  17-Jan-2005  skrll Sync with HEAD.
 1.3.4.1  05-Jan-2005  skrll file ep93xx_intr.c was added on branch ktrace-lwp on 2005-01-17 19:29:12 +0000
 1.7.22.1  10-Dec-2006  yamt sync with head.
 1.7.20.1  12-Jan-2007  ad Sync with head.
 1.8.36.2  18-Feb-2008  mjf Sync with HEAD.
 1.8.36.1  08-Dec-2007  mjf Sync with HEAD.
 1.8.30.3  28-Jan-2008  matt Given the that there are only 4 IPLs (ignoring soft IPLs), a number of
cleanups can be done:
Remove _SPL_* aliases.
Don't store irqmasks in ci_cpl, just make it an ipl level.
Add fast softint switching support.
 1.8.30.2  09-Jan-2008  matt sync with HEAD
 1.8.30.1  09-Nov-2007  matt Make all the evbarm kernels build again. Fix lossage from rebase.
 1.8.28.2  20-Jan-2008  chris Sync to HEAD.
 1.8.28.1  01-Jan-2008  chris Sync with HEAD.
 1.8.26.1  09-Dec-2007  jmcneill Sync with HEAD.
 1.8.24.2  28-Feb-2008  rjs Sync with HEAD.
 1.8.24.1  26-Dec-2007  rjs Sync with HEAD.
 1.8.8.1  03-Dec-2007  ad Sync with HEAD.
 1.9.6.1  08-Jan-2008  bouyer Sync with HEAD
 1.11.10.2  11-Aug-2010  yamt sync with head.
 1.11.10.1  16-May-2008  yamt sync with head.
 1.11.8.1  18-May-2008  yamt sync with head.
 1.11.6.1  02-Jun-2008  mjf Sync with HEAD.
 1.13.22.2  05-Mar-2011  rmind sync with head
 1.13.22.1  03-Jul-2010  rmind sync with head
 1.13.20.1  17-Aug-2010  uebayasi Sync with HEAD.
 1.16.2.3  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.16.2.2  16-Jan-2013  yamt sync with (a bit old) head
 1.16.2.1  30-Oct-2012  yamt sync with head
 1.17.2.3  03-Dec-2017  jdolecek update from HEAD
 1.17.2.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.17.2.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.18.2.2  18-May-2014  rmind sync with head
 1.18.2.1  28-Aug-2013  rmind sync with head
 1.22.6.2  06-Jun-2015  skrll Sync with HEAD
 1.22.6.1  06-Apr-2015  skrll Sync with HEAD
 1.24.18.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.25.8.1  14-Dec-2020  thorpej Sync w/ HEAD.
 1.27.4.1  02-May-2023  martin Pull up following revision(s) (requested by jmcneill in ticket #155):

sys/arch/arm/ep93xx/ep93xx_intr.c: revision 1.28
sys/arch/arm/ep93xx/ep93xxvar.h: revision 1.7
sys/arch/evbarm/tsarm/tsarm_machdep.c: revision 1.36

TS7200: Defer event counter registration until after evcnt is initialized

Patch from Lloyd Parkes in PR kern/57386

RSS XML Feed