Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/sgimips/dev/int.c
RevisionDateAuthorComments
 1.32  21-Nov-2020  thorpej malloc(9) -> kmem(9)
 1.31  29-May-2020  rin branches: 1.31.2;
For struct timecounter, use C99 initializers.
Compile tested. No functional changes intended.
 1.30  10-Nov-2019  chs 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  27-Sep-2018  macallan add event counters for int0 at mainbus
 1.28  18-Feb-2015  macallan branches: 1.28.16; 1.28.18;
switch sgimips to common bus_dma and bus_space in arch/mips/
Tested on O2 and Indy.
Things that are compile-tested only for lack of hardware:
- GIO ethernet cards with PCI bridges
- IP2x hardware not found on Indy
- IP1x
 1.27  03-Jun-2014  macallan branches: 1.27.4;
actually get rid of actually unused variables, still works on my Indy
thanks mrg
 1.26  02-Jun-2014  macallan sprinkle __unused()
 1.25  27-Oct-2012  chs branches: 1.25.10;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.24  01-Jul-2011  dyoung branches: 1.24.2; 1.24.12;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.23  10-Mar-2011  tsutsui Set correct struct clockframe .intr value for hardclock(9).
 1.22  20-Feb-2011  matt Merge forward matt-nb5-mips64
Adapt to new interrupt/spl framework
Deal with arcbios calls being O32 and kernels being N32/N64.
Need to save/restore T8 across arcbios calls.
 1.21  14-Dec-2009  matt branches: 1.21.4; 1.21.6; 1.21.8;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.20  12-Feb-2009  rumble Enable Personal IRIS 4D/20 and 4D/25 support:
- Adapt int(4) to handle the INT1 chip
- Move generic rtc clocks out of hpc/ and into dev/
- Handle the very strangely wired eeprom and other bits in arcemu
- Sprinkle MACH_SGI_IP6 as necessary
- Enable IP6/IP10 devices in GENERIC32_IP12. Yes, the naming is poor but
there's no winning with kernel/hw compatibility on sgimips...

Tested on my 4D/25. Doesn't (appear to) break macallan@'s IP22.
 1.19  23-Aug-2008  tsutsui branches: 1.19.2; 1.19.8; 1.19.12;
KNF and misc cosmetics.
 1.18  26-May-2008  tsutsui branches: 1.18.4;
Remove all initialization of obsolete ci_divisor_recip in
mips struct cpu_info and related macroes.
The member was prepared for a hack in MD microtime(9) implementation
but it has been superseded by MI timecounter(9).
 1.17  09-Jan-2008  wiz branches: 1.17.6; 1.17.8; 1.17.10; 1.17.12;
Fix typo in macro name and comments.
 1.16  29-Dec-2006  rumble branches: 1.16.24; 1.16.30; 1.16.36;
Change printing such that our 'timecounter:' message gets its own line on
IP12.
 1.15  29-Dec-2006  rumble Move the mips1_clock_intr handling into int.c where it belongs.
 1.14  29-Dec-2006  rumble Add i8254 timecounter support for use on IP12.

Now pings aren't 0.000 ms anymore.
 1.13  28-Dec-2006  rumble Sprinkle static.
 1.12  01-Sep-2006  rumble branches: 1.12.2;
Remove the 'FIFO Full' hack for interrupt vector 0.

It is unclear that this interrupt fails to latch as int2_wait_fifo()
depends on it doing so and appears to work. Furthermore, we were previously
unconditionally unmasking the interrupt 0 vector, which led to more
'unexpected interrupt' messages on the console, rather than avoiding them.

Approved by sekiya@.
 1.11  11-Dec-2005  christos branches: 1.11.4; 1.11.8; 1.11.18;
merge ktrace-lwp.
 1.10  18-Oct-2005  tsutsui TAB/space cleanup.
 1.9  08-Jul-2004  sekiya branches: 1.9.2; 1.9.12; 1.9.14;
Fake a FIFO interrupt iff the FIFO interrupt is unmasked. Should eliminate
the "spurious interrupt" messages on machines without grtwo displays.
 1.8  06-Jul-2004  sekiya Add the following to the int driver:

* if the driver hasn't been properly initialized, spin for a bit in wait_fifo()
rather than try to access the local0 status register.
* allow interrupt sharing (from Steve Rumble; necessary for IP20 glass TTY
support).
 1.7  11-Apr-2004  pooka Fix base address for i8254 calibration code. This has the effect of
us writing to the correct addresses and the thing actually working.
 1.6  25-Mar-2004  pooka branches: 1.6.2;
KNF
 1.5  25-Mar-2004  pooka replace terms ip1x and ip2x in comment
 1.4  25-Mar-2004  pooka Sprinkle some #ifdef MIPS3 to be able to compile the port without
including MIPS3 code.

for upcoming IP12
 1.3  09-Mar-2004  sekiya Add int2_wait_fifo(), which will idle while awaiting a flag in the interrupt
controller to deassert. Needed for the more interesting features of various
SGI framebuffers.
 1.2  19-Jan-2004  sekiya opt_machtype.h no longer exists.
 1.1  19-Jan-2004  sekiya Attach int0 at mainbus (precedent being the ip32 CRIME device, which handled
interrupts and timer calibration yet is also attached at mainbus).

Introduce the INDY_R4600_CACHE config option, which more accurately describes
the code enabled by this option.

This renders #ifdef IPxx completely obsolete, thus we theoretically can unify
the GENERIC files if a workable load address relocation scheme can be found.
 1.6.2.1  23-Jul-2004  tron Pull up revision 1.7 (requested by rumble in ticket #682):
Fix base address for i8254 calibration code. This has the effect of
us writing to the correct addresses and the thing actually working.
 1.9.14.3  21-Jan-2008  yamt sync with head
 1.9.14.2  30-Dec-2006  yamt sync with head.
 1.9.14.1  21-Jun-2006  yamt sync with head.
 1.9.12.1  16-Sep-2006  ghen Pull up following revision(s) (requested by rumble in ticket #1496):
sys/arch/sgimips/dev/int.c: revision 1.12
Remove the 'FIFO Full' hack for interrupt vector 0.
It is unclear that this interrupt fails to latch as int2_wait_fifo()
depends on it doing so and appears to work. Furthermore, we were previously
unconditionally unmasking the interrupt 0 vector, which led to more
'unexpected interrupt' messages on the console, rather than avoiding them.
Approved by sekiya@.
 1.9.2.5  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.9.2.4  21-Sep-2004  skrll Fix the sync with head I botched.
 1.9.2.3  18-Sep-2004  skrll Sync with HEAD.
 1.9.2.2  03-Aug-2004  skrll Sync with HEAD
 1.9.2.1  08-Jul-2004  skrll file int.c was added on branch ktrace-lwp on 2004-08-03 10:40:00 +0000
 1.11.18.1  06-Sep-2006  riz Pull up following revision(s) (requested by rumble in ticket #110):
sys/arch/sgimips/dev/int.c: revision 1.12
Remove the 'FIFO Full' hack for interrupt vector 0.
It is unclear that this interrupt fails to latch as int2_wait_fifo()
depends on it doing so and appears to work. Furthermore, we were previously
unconditionally unmasking the interrupt 0 vector, which led to more
'unexpected interrupt' messages on the console, rather than avoiding them.
Approved by sekiya@.
 1.11.8.1  03-Sep-2006  yamt sync with head.
 1.11.4.1  09-Sep-2006  rpaulo sync with head
 1.12.2.1  12-Jan-2007  ad Sync with head.
 1.16.36.1  10-Jan-2008  bouyer Sync with HEAD
 1.16.30.1  18-Feb-2008  mjf Sync with HEAD.
 1.16.24.1  23-Mar-2008  matt sync with HEAD
 1.17.12.2  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.17.12.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.17.10.2  11-Mar-2010  yamt sync with head
 1.17.10.1  04-May-2009  yamt sync with head.
 1.17.8.1  04-Jun-2008  yamt sync with head
 1.17.6.2  28-Sep-2008  mjf Sync with HEAD.
 1.17.6.1  02-Jun-2008  mjf Sync with HEAD.
 1.18.4.1  19-Oct-2008  haad Sync with HEAD.
 1.19.12.2  29-Dec-2010  matt Adapt sgimips to the interrupt framework.
 1.19.12.1  10-Sep-2009  matt Add preliminary LP64 support for sgimips
 1.19.8.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.19.2.1  03-Mar-2009  skrll Sync with HEAD.
 1.21.8.1  05-Mar-2011  bouyer Sync with HEAD
 1.21.6.1  06-Jun-2011  jruoho Sync with HEAD.
 1.21.4.2  21-Apr-2011  rmind sync with head
 1.21.4.1  05-Mar-2011  rmind sync with head
 1.24.12.3  03-Dec-2017  jdolecek update from HEAD
 1.24.12.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.24.12.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.24.2.1  30-Oct-2012  yamt sync with head
 1.25.10.1  10-Aug-2014  tls Rebase.
 1.27.4.1  06-Apr-2015  skrll Sync with HEAD
 1.28.18.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.28.18.1  10-Jun-2019  christos Sync with HEAD
 1.28.16.1  30-Sep-2018  pgoyette Ssync with HEAD
 1.31.2.1  14-Dec-2020  thorpej Sync w/ HEAD.

RSS XML Feed