The NetBSD Project

CVS log for src/sys/arch/mips/rmi/rmixl_intr.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / mips / rmi

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.15 / (download) - annotate - [select for diffs], Thu Sep 29 07:00:47 2022 UTC (18 months, 2 weeks ago) by skrll
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.14: +2 -3 lines
Diff to previous 1.14 (colored) to selected 1.6 (colored)

Remove unnecessary include of <sys/malloc.h>.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Sep 29 06:59:44 2022 UTC (18 months, 2 weeks ago) by skrll
Branch: MAIN
Changes since 1.13: +4 -4 lines
Diff to previous 1.13 (colored) to selected 1.6 (colored)

Trailing whitespace

Revision 1.13 / (download) - annotate - [select for diffs], Sat Apr 9 23:34:50 2022 UTC (2 years ago) by riastradh
Branch: MAIN
Changes since 1.12: +5 -3 lines
Diff to previous 1.12 (colored) to selected 1.6 (colored)

mips/rmixl: Insert appropriate membars around IPIs.

Revision 1.8.12.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:28 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.8: +6 -7 lines
Diff to previous 1.8 (colored) next main 1.9 (colored) to selected 1.6 (colored)

update from HEAD

Revision 1.8.30.2 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:32 2016 UTC (7 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.8.30.1: +7 -7 lines
Diff to previous 1.8.30.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored) to selected 1.6 (colored)

Sync with HEAD

Revision 1.12 / (download) - annotate - [select for diffs], Fri Aug 26 15:45:48 2016 UTC (7 years, 7 months ago) by skrll
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored) to selected 1.6 (colored)

Adjust evbmips_iointr to pass a clockframe pointer and use it for
pwmclock @ voyager.

Suggested by matt@

Hi macallan!

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Sat Aug 6 00:19:06 2016 UTC (7 years, 8 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored) next main 1.11 (colored) to selected 1.6 (colored)

Sync with HEAD

Revision 1.11 / (download) - annotate - [select for diffs], Mon Aug 1 18:09:50 2016 UTC (7 years, 8 months ago) by dholland
Branch: MAIN
CVS Tags: pgoyette-localcount-20160806
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored) to selected 1.6 (colored)

PR 51384 David Binderman: don't shift into the void

Revision 1.10 / (download) - annotate - [select for diffs], Sat Apr 23 10:15:30 2016 UTC (7 years, 11 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160726, nick-nhusb-base-20160907, nick-nhusb-base-20160529
Branch point for: pgoyette-localcount
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored) to selected 1.6 (colored)

Merge nick-nhusb

- API / infrastructure changes to support memory management changes.
- Memory management improvements and bug fixes.
- HCDs should now be MP safe
- conversion to KERNHIST based debug
- FS/LS isoc support on ehci(4).
- conversion to kmem(9)
- Some USB 3 support - mostly from Takahiro HAYASHI (t-hash).
- interrupt transfers now get proper DMA operations
- general bug fixes
    - kern/48308
    - uhub status notification improvements
    - umass(4) probe fix (applied to HEAD already)
    - ohci(4) short transfer fix

Revision 1.8.30.1 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:47 2015 UTC (8 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.8: +3 -4 lines
Diff to previous 1.8 (colored) to selected 1.6 (colored)

Sync with HEAD

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jun 10 22:31:00 2015 UTC (8 years, 10 months ago) by matt
Branch: MAIN
CVS Tags: nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921
Changes since 1.8: +3 -4 lines
Diff to previous 1.8 (colored) to selected 1.6 (colored)

Transition from __cpuset_t to kcpuset_t *.  This brings the local pmap one
step closer to uvm/pmap, its eventual replacement.  Tested on ERLITE MP kernel.

Revision 1.1.2.39 / (download) - annotate - [select for diffs], Fri Feb 14 18:38:16 2014 UTC (10 years, 2 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.38: +2 -2 lines
Diff to previous 1.1.2.38 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.6 (colored)

Change KASSERTMSG/KDASSERTMSG to use varadic arguments like HEAD.
panic -> vpanic, add panic wrapper to vpanic.

Revision 1.1.2.38 / (download) - annotate - [select for diffs], Tue Nov 5 18:43:31 2013 UTC (10 years, 5 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.37: +215 -33 lines
Diff to previous 1.1.2.37 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

Add XLP2XX support.

Revision 1.1.2.37 / (download) - annotate - [select for diffs], Sat Dec 15 03:05:56 2012 UTC (11 years, 4 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.36: +2 -2 lines
Diff to previous 1.1.2.36 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

Add initial support for XLP II (XLP2XX/XLP1XX).

Revision 1.1.2.36 / (download) - annotate - [select for diffs], Mon Feb 27 17:03:36 2012 UTC (12 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.35: +7 -13 lines
Diff to previous 1.1.2.35 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

Add a test for recursive IPIs.
use __builtin_clzll

Revision 1.1.2.35 / (download) - annotate - [select for diffs], Thu Jan 19 08:05:24 2012 UTC (12 years, 3 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.34: +12 -9 lines
Diff to previous 1.1.2.34 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

Change struct rmixl_cpu_softc to cpu_softc and remove casts.
Fix IPIs.
More FMN cleanup.

Revision 1.1.2.34 / (download) - annotate - [select for diffs], Wed Jan 4 16:17:53 2012 UTC (12 years, 3 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.33: +33 -31 lines
Diff to previous 1.1.2.33 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

Rework Fast Messaging Network support (it's now lockless).
Workaround a problem with bus 0 BAR sizing causing the registers behind
the BAR to become inaccessible.
Move much/most of the startup code from evbmips/rmixl/machdep to
mips/rmi/rmixl_machdep.c
Move the code to find the XLP variant to the early boot so it can be used
early.
8bit and 16bit accessed to PCI bus 0 cause cache errors so chagne the access
of pci mem to 32bits.

Revision 1.1.2.33 / (download) - annotate - [select for diffs], Sat Dec 31 08:20:43 2011 UTC (12 years, 3 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.32: +16 -26 lines
Diff to previous 1.1.2.32 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

Switch to using IST_<foo> instead of private enums.

Revision 1.1.2.32 / (download) - annotate - [select for diffs], Sat Dec 31 07:53:12 2011 UTC (12 years, 3 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.31: +258 -73 lines
Diff to previous 1.1.2.31 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

XLP8xx and XLP3xx have different IRT layouts.

Revision 1.1.2.31 / (download) - annotate - [select for diffs], Sat Dec 24 01:57:54 2011 UTC (12 years, 3 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.30: +605 -258 lines
Diff to previous 1.1.2.30 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

Add XLP support (i2c, console, pci, sdhc works).

Revision 1.8 / (download) - annotate - [select for diffs], Tue Sep 27 01:02:34 2011 UTC (12 years, 6 months ago) by jym
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, agc-symver-base, agc-symver
Branch point for: tls-maxphys, nick-nhusb
Changes since 1.7: +6 -6 lines
Diff to previous 1.7 (colored) to selected 1.6 (colored)

Modify *ASSERTMSG() so they are now used as variadic macros. The main goal
is to provide routines that do as KASSERT(9) says: append a message
to the panic format string when the assertion triggers, with optional
arguments.

Fix call sites to reflect the new definition.

Discussed on tech-kern@. See
http://mail-index.netbsd.org/tech-kern/2011/09/07/msg011427.html

Revision 1.7 / (download) - annotate - [select for diffs], Sun Jul 10 23:13:22 2011 UTC (12 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.6: +8 -11 lines
Diff to previous 1.6 (colored)

Fix machine/ includes

Revision 1.6 / (download) - annotate - [selected], Fri Jul 1 19:01:30 2011 UTC (12 years, 9 months ago) by dyoung
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

#include <sys/bus.h> instead of <machine/bus.h>.

Revision 1.2.8.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:09 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.2: +775 -415 lines
Diff to previous 1.2 (colored) next main 1.3 (colored) to selected 1.6 (colored)

Sync with HEAD.

Revision 1.2.6.3 / (download) - annotate - [select for diffs], Tue May 31 03:04:11 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.2.6.2: +6 -9 lines
Diff to previous 1.2.6.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.6 (colored)

sync with head

Revision 1.5 / (download) - annotate - [select for diffs], Fri Apr 29 21:58:27 2011 UTC (12 years, 11 months ago) by matt
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, cherry-xenmp
Changes since 1.4: +8 -11 lines
Diff to previous 1.4 (colored) to selected 1.6 (colored)

minor constification, format cleanups

Revision 1.1.2.30 / (download) - annotate - [select for diffs], Fri Apr 29 08:26:32 2011 UTC (12 years, 11 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.29: +55 -53 lines
Diff to previous 1.1.2.29 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

Major merge to/from current.
Adds MIPS32/MIPS64 R2 support (24k, 74k, etc.) including COP0_USERLOCAL
Adds support for emulation of rdhwr $3,$29 instruction.
Major cleanup of SMP code.  (stable on multi-core / single thread per core)
llsc locking code only used in MP capable kernels.

Revision 1.2.6.2 / (download) - annotate - [select for diffs], Thu Apr 21 01:41:13 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.2.6.1: +17 -23 lines
Diff to previous 1.2.6.1 (colored) to branchpoint 1.2 (colored) to selected 1.6 (colored)

sync with head

Revision 1.4 / (download) - annotate - [select for diffs], Thu Apr 14 05:16:00 2011 UTC (13 years ago) by cliff
Branch: MAIN
Changes since 1.3: +19 -25 lines
Diff to previous 1.3 (colored) to selected 1.6 (colored)

- in evbmips_iointr(), call assembly function rmixl_eirr_ack()
to ack the EIRR, instead of using a bunch of asm() here.
- in rmixl_ipi_intr(), remove overly paranoid assert that the given
IPI request is pending; if the request is clear, it was previously processed.
- in rmixl_vecnames_common[], give ipi vectors unique (numbered) names

Revision 1.2.6.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:51:10 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.2: +782 -413 lines
Diff to previous 1.2 (colored) to selected 1.6 (colored)

sync with head

Revision 1.2.10.1 / (download) - annotate - [select for diffs], Sat Mar 5 15:09:51 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.2: +782 -413 lines
Diff to previous 1.2 (colored) next main 1.3 (colored) to selected 1.6 (colored)

Sync with HEAD

Revision 1.3 / (download) - annotate - [select for diffs], Sun Feb 20 07:48:37 2011 UTC (13 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: bouyer-quota2-nbase
Changes since 1.2: +783 -414 lines
Diff to previous 1.2 (colored) to selected 1.6 (colored)

Merge forward from matt-nb5-mips64.

Revision 1.1.2.29 / (download) - annotate - [select for diffs], Tue Feb 8 22:37:36 2011 UTC (13 years, 2 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.28: +3 -3 lines
Diff to previous 1.1.2.28 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

- in rmixl_intr_init_clk, use MIPS_INT_MASK_SHIFT instead of 8
when calculating vector number for clock.

Revision 1.1.2.28 / (download) - annotate - [select for diffs], Tue Feb 8 21:27:15 2011 UTC (13 years, 2 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.27: +25 -25 lines
Diff to previous 1.1.2.27 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

- use mutex_obj_alloc() instead of declaring locks statically

Revision 1.1.2.27 / (download) - annotate - [select for diffs], Tue Feb 8 19:50:22 2011 UTC (13 years, 2 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.26: +4 -6 lines
Diff to previous 1.1.2.26 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

- remove sc_ih_clk, sc_ih_fmn, sc_ih_ipi from struct rmixl_cpu_softc;
they were unused just taking up space
- rmixl_intr_init_clk() and rmixl_intr_init_ipi() are now type void

Revision 1.1.2.26 / (download) - annotate - [select for diffs], Tue Feb 8 06:04:20 2011 UTC (13 years, 2 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.25: +7 -7 lines
Diff to previous 1.1.2.25 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

- distinguish between cpuid and cpu index.

Revision 1.1.2.25 / (download) - annotate - [select for diffs], Sat Feb 5 06:11:47 2011 UTC (13 years, 2 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.24: +65 -35 lines
Diff to previous 1.1.2.24 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

- include opt_multiprocessor.h for MULTIPROCESSOR dependency
- use seperate vectors for various IPI tags, instead of all piling on one.
this theoretically allows different functions to interrupt at different
priorities.  the fmn vector number got rippled up in the process.
- add rmixl_ipi_lock to serialize access to RMIXL_PIC_IPIBASE
- add rmixl_intr_lock to serialize access to rest of PIC and rmixl_intrhand[]
- include mips/cpuset.h and use CPUSET_* macros for cpus_running &etc.

Revision 1.1.2.24 / (download) - annotate - [select for diffs], Mon Sep 20 19:41:05 2010 UTC (13 years, 7 months ago) by cliff
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231
Changes since 1.1.2.23: +5 -4 lines
Diff to previous 1.1.2.23 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

- rmixl_intrhand_t is valid only if ih_func is non-NULL;
set valid at end of rmixl_vec_establish and
set invalid at start of rmixl_vec_disestablish
to allow lockless check if valid in dispatch.

Revision 1.1.2.23 / (download) - annotate - [select for diffs], Thu Aug 26 20:09:33 2010 UTC (13 years, 7 months ago) by rmind
Branch: matt-nb5-mips64
Changes since 1.1.2.22: +3 -3 lines
Diff to previous 1.1.2.22 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

Fix non-DEBUG/DIAGNOSTIC builds of RMI mips64.

Revision 1.1.2.22 / (download) - annotate - [select for diffs], Thu Jun 10 00:41:43 2010 UTC (13 years, 10 months ago) by cliff
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-k15
Changes since 1.1.2.21: +21 -13 lines
Diff to previous 1.1.2.21 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

- remove rmixl_spl_init_cpu calls from rmixl_intr_init_cpu
because rmixl_intr_init_cpu only runs on cpu#0.
rmixl_spl_init_cpu calls are now done in cpu_rmixl_atach (for cpu#0)
or cpu_rmixl_hatch (for other cpus).
- in evbmips_iointr, be sure to mask out count/compare interrupt
along with softints (these are handled elsewhere)
and improve coments
- fix bug in rmixl_send_ipi: 'cpus_running' is bit-indexed
by ci_index, not ci_cpuid

Revision 1.1.2.21 / (download) - annotate - [select for diffs], Fri May 28 22:14:53 2010 UTC (13 years, 10 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.20: +5 -7 lines
Diff to previous 1.1.2.20 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

rmixl_spl.S:
- where possible, stop using CP0 STATUS to disable all interrupts,zero EIMR instead.  more efficient since less meddling with CP0.
assume STATUS[IE] is normally set.
- add rmixl_spl_init_cpu(), to initialize cp0 interrupt control for this cpu

rmixl_intr.c:
- rmixl_intr_init_cpu() calls rmixl_spl_init_cpu()
to set up CP0 interrupt controls for this cpu

Revision 1.1.2.20 / (download) - annotate - [select for diffs], Fri May 21 23:35:42 2010 UTC (13 years, 11 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.19: +331 -285 lines
Diff to previous 1.1.2.19 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

- rename IRT based interrupts to "pic int ..."
- rename rmixl_vecnames_common to "vec ..."
- move ipl_eimr_map table print into rmixl_ipl_eimr_map_print()
- consolidate debug print funcs at the end of the file
- 'irq' -- being somewhat ambiguous -- renamed to 'irt' throughout
  to reflect use as IRT index
- IRT-based interrupts are moved to EIRR/EIMR vectors (bits) 32..63
  to avoid all opverlap with EIRR/EIMR bits 0..7 which are CAUSE[8..15].
  To date this has been a non-issue since we aren't using the
  watchdog or timers there.  non-IRT interrupts (FMN and IPI) are moved
  to unused portion vectors 8, 9
- in rmixl_intr_init_cpu, instead of writing 0 to EIRR, ack with bits read
  (excluding CAUSE[8..15] bits) as defense against possible stale
  interrupts inherited from firmware (paranoid -- we aren't seeing any).
- rmixl_irt_establish gets a 'vec' arg for use in IRTENTRYC1 reg
  (no longer assume vec = irt)
- set/clear irq bits in ipl_eimr_map[] during interrupt establish/disestablish
- in evbmips_iointr(), mask off ints enabled at higher ipl; we only
  dispatch interrupts at highest enabling ipl.

Revision 1.1.2.19 / (download) - annotate - [select for diffs], Thu May 6 20:48:39 2010 UTC (13 years, 11 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.18: +46 -5 lines
Diff to previous 1.1.2.18 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

fix pcie IRQ assignments for XLS2xx

Revision 1.1.2.18 / (download) - annotate - [select for diffs], Sat May 1 06:13:34 2010 UTC (13 years, 11 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.17: +7 -5 lines
Diff to previous 1.1.2.17 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

in evbmips_iointr() for RMI, where we ack the EIRR,
replace (relatively expensive) splhigh()/splx()
protection with (more efficient) EIMR-based disable/restore.

Revision 1.1.2.17 / (download) - annotate - [select for diffs], Mon Apr 12 22:40:55 2010 UTC (14 years ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.16: +23 -9 lines
Diff to previous 1.1.2.16 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

- establishing an ISR now takes 'mpsafe' arg
- obtain/release kernel lock around calls to non-mpsafe ISRs

Revision 1.1.2.16 / (download) - annotate - [select for diffs], Mon Mar 29 23:35:24 2010 UTC (14 years ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.15: +69 -5 lines
Diff to previous 1.1.2.15 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

- add IRT-based interrupt names for XLR
- rmixl_intr_string() calls chip-type-specific functions
to get appropriate names table

Revision 1.1.2.15 / (download) - annotate - [select for diffs], Sun Mar 21 21:25:30 2010 UTC (14 years, 1 month ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.14: +438 -294 lines
Diff to previous 1.1.2.14 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

- rework to make full use of RMI extended interrupt management
provided by EIRR/EIMR registers
- depends on rmixl_spl.S
- add support for IRT based interrupt routing; for now we are still routing
all IRT interrupts to CPU#0.
- note that count/compare clock, IPI and FMN are handled by each CPU since
these are local interrupt sources.
- further changes are still needed for XLR and XLP support

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:41 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.2.4.1: +703 -0 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.6 (colored)

sync with head

Revision 1.1.2.14 / (download) - annotate - [select for diffs], Sun Feb 28 03:28:01 2010 UTC (14 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.13: +3 -2 lines
Diff to previous 1.1.2.13 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

Add #define __INTR_PRIVATE

Revision 1.1.2.13 / (download) - annotate - [select for diffs], Tue Feb 23 20:24:37 2010 UTC (14 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.12: +12 -9 lines
Diff to previous 1.1.2.12 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

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.

Revision 1.1.2.12 / (download) - annotate - [select for diffs], Tue Feb 16 08:13:57 2010 UTC (14 years, 2 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.11: +2 -3 lines
Diff to previous 1.1.2.11 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

Add __HAVE_PREEMPTION support for NetBSD/mips.  Kill IPL_PREEMPT since it
isn't needed.

Revision 1.1.2.11 / (download) - annotate - [select for diffs], Mon Feb 15 07:37:36 2010 UTC (14 years, 2 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.10: +12 -26 lines
Diff to previous 1.1.2.10 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

Adapt to the new interrupt framework for NetBSD/mips.

Revision 1.1.2.10 / (download) - annotate - [select for diffs], Sat Feb 6 03:10:14 2010 UTC (14 years, 2 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.9: +7 -4 lines
Diff to previous 1.1.2.9 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

- when establishing an intr, if malloc fails, be sure to splx on the way out
- in interrupt dispatch, when ack-ing EIRR, preserve the softint bits

Revision 1.1.2.9 / (download) - annotate - [select for diffs], Sat Feb 6 02:59:04 2010 UTC (14 years, 2 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.8: +5 -5 lines
Diff to previous 1.1.2.8 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

A little constification and remove some old softintr cruft.

Revision 1.1.2.8 / (download) - annotate - [select for diffs], Fri Jan 29 00:24:14 2010 UTC (14 years, 2 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.7: +42 -24 lines
Diff to previous 1.1.2.7 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

- be more thorough about 'mips_cpu_id' based variations
- rip out pcie interrupt related debug stuff
- start thinking about MULTIPROCESSOR IRT entries in rmixl_intr_irt_init()

Revision 1.1.2.7 / (download) - annotate - [select for diffs], Wed Jan 20 09:04:35 2010 UTC (14 years, 3 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.6: +4 -4 lines
Diff to previous 1.1.2.6 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

Adjust things to the new world order.

Revision 1.2.4.1, Mon Dec 14 00:46:07 2009 UTC (14 years, 4 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.2: +0 -703 lines
FILE REMOVED

file rmixl_intr.c was added on branch yamt-nfs-mp on 2010-03-11 15:02:41 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Mon Dec 14 00:46:07 2009 UTC (14 years, 4 months ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-base
Branch point for: yamt-nfs-mp, rmind-uvmplock, jruoho-x86intr, bouyer-quota2
Changes since 1.1: +703 -0 lines
Diff to previous 1.1 (colored) to selected 1.6 (colored)

Merge from matt-nb5-mips64
Merge mips-specific arch files.

Revision 1.1.2.6 / (download) - annotate - [select for diffs], Sat Dec 12 00:18:34 2009 UTC (14 years, 4 months ago) by cliff
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20091211
Changes since 1.1.2.5: +83 -26 lines
Diff to previous 1.1.2.5 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

- in ipl_sr_bits[], ensure ints for unused vectors are always disabled
  and ensure that MIPS_INT_MASK_5 (clock) is enabled as needed
- break IRT entry management out into routines;
  this allows e.g. setup of IRT entry for clock without all the
  rest of rmixl_intr_irt_establish()
- evbmips_intr_init() now creates IRT entry for mips3 clock interrupt

Revision 1.1.2.5 / (download) - annotate - [select for diffs], Fri Nov 13 05:27:09 2009 UTC (14 years, 5 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.4: +6 -2 lines
Diff to previous 1.1.2.4 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

- KASSERT this interrupt code being used on XLS family CPU

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Mon Nov 9 10:03:04 2009 UTC (14 years, 5 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.3: +294 -63 lines
Diff to previous 1.1.2.3 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

- multiple changes; make interrupts work

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Fri Sep 25 22:27:02 2009 UTC (14 years, 6 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.2: +2 -21 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

chop out some test printf's

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Fri Sep 25 22:22:09 2009 UTC (14 years, 6 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.1: +254 -139 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

rmixl gets interrupt support

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Sun Sep 13 03:27:38 2009 UTC (14 years, 7 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1: +315 -0 lines
Diff to previous 1.1 (colored) to selected 1.6 (colored)

add netbsd support for RMI XLS6ATX_7A board and XL SoC family

Revision 1.1, Sun Sep 13 03:27:38 2009 UTC (14 years, 7 months ago) by cliff
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8
Branch point for: matt-nb5-mips64
FILE REMOVED

file rmixl_intr.c was initially added on branch matt-nb5-mips64.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>