The NetBSD Project

CVS log for src/sys/arch/mips/cavium/octeon_intr.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.27 / (download) - annotate - [select for diffs], Sat Apr 9 23:34:40 2022 UTC (9 months, 2 weeks ago) by riastradh
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.26: +7 -3 lines
Diff to previous 1.26 (colored)

mips/cavium: Insert appropriate membars around IPIs.

Revision 1.26 / (download) - annotate - [select for diffs], Sat Mar 26 19:38:00 2022 UTC (10 months ago) by riastradh
Branch: MAIN
Changes since 1.25: +4 -12 lines
Diff to previous 1.25 (colored)

mips/cavium: Simplify membars around interrupt establishment.

Previously I used xc_barrier to ensure the initialization of the
struct octeon_intrhand was witnessed on all CPUs before publishing
it, in order to avoid needing any barrier on the usage side to be
issued by the interrupt handler.

But there's no need to avoid atomic_load_consume at time of
interrupt: on MIPS it's the same as atomic_load_relaxed anyway, so
there's no additional memory barrier cost here.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Mar 23 23:24:21 2022 UTC (10 months ago) by riastradh
Branch: MAIN
Changes since 1.24: +20 -9 lines
Diff to previous 1.24 (colored)

mips/cavium: Fix membars around establishing interrupt handlers.

Revision 1.24 / (download) - annotate - [select for diffs], Tue Aug 18 07:41:41 2020 UTC (2 years, 5 months ago) by skrll
Branch: MAIN
CVS Tags: 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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

Fix MULTIPROCESSOR build

Revision 1.23 / (download) - annotate - [select for diffs], Mon Aug 17 21:00:29 2020 UTC (2 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.22: +32 -8 lines
Diff to previous 1.22 (colored)

IPI_SHOOTDOWN needs to be IPL_SCHED. Spotted by nick.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Aug 5 04:47:35 2020 UTC (2 years, 5 months ago) by simonb
Branch: MAIN
Changes since 1.21: +6 -6 lines
Diff to previous 1.21 (colored)

Apply some static to some symbols.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Aug 5 04:19:11 2020 UTC (2 years, 5 months ago) by simonb
Branch: MAIN
Changes since 1.20: +24 -2 lines
Diff to previous 1.20 (colored)

Target all device interrupts to cpu0.

Patch from skrll@.  Code is conditional, hopefully not needed long term.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Jul 20 14:05:51 2020 UTC (2 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.19: +11 -41 lines
Diff to previous 1.19 (colored)

Simplify IPI handling even more for now and run everything at IPL_HIGH.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jul 20 13:30:41 2020 UTC (2 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.18: +17 -11 lines
Diff to previous 1.18 (colored)

Fix confusion between ipi bitmask and mbox register bit assignments.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Jul 17 21:59:30 2020 UTC (2 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.17: +93 -174 lines
Diff to previous 1.17 (colored)

Remove 2 CPU limit in OCTEON interrupt controller driver.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Jul 17 19:40:47 2020 UTC (2 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.16: +20 -9 lines
Diff to previous 1.16 (colored)

Simplify IPI handling and change IPLs of IPI_HALT, IPI_XCALL, and
IPI_GENERIC from IPL_SCHED to IPL_HIGH.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Jul 17 17:57:16 2020 UTC (2 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.15: +63 -103 lines
Diff to previous 1.15 (colored)

Cleanup handling of multiple banks.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Jul 16 21:33:50 2020 UTC (2 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.14: +115 -51 lines
Diff to previous 1.14 (colored)

Support 128 IRQs instead of 64. This is icky and needs to be cleaned up.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Jun 23 05:14:39 2020 UTC (2 years, 7 months ago) by simonb
Branch: MAIN
Changes since 1.13: +2 -3 lines
Diff to previous 1.13 (colored)

Don't include "opt_octeon.h" any more.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Jun 20 18:48:28 2020 UTC (2 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Nix trailing whitespace.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jun 19 02:23:43 2020 UTC (2 years, 7 months ago) by simonb
Branch: MAIN
Changes since 1.11: +12 -11 lines
Diff to previous 1.11 (colored)

Simplify interrupt definition: remove mostly unused masks and just
configure everything using interrupt numbers.

Revision 1.11 / (download) - annotate - [select for diffs], Sun May 31 06:27:06 2020 UTC (2 years, 7 months ago) by simonb
Branch: MAIN
Changes since 1.10: +8 -8 lines
Diff to previous 1.10 (colored)

Rename all Cavium Octeon device driver functions, structs etc from
"octeon_foo" to "octfoo", except "octeon_eth" becomes "cnmac".

Revision 1.10.12.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:27 2017 UTC (5 years, 1 month ago) by jdolecek
Branch: tls-maxphys
Changes since 1.10.12.1: +630 -0 lines
Diff to previous 1.10.12.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

update from HEAD

Revision 1.3.2.6 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:45 2017 UTC (5 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.3.2.5: +6 -5 lines
Diff to previous 1.3.2.5 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync with HEAD

Revision 1.6.2.3 / (download) - annotate - [select for diffs], Wed Apr 26 02:53:05 2017 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.6.2.2: +6 -5 lines
Diff to previous 1.6.2.2 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Sync with HEAD

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:31 2017 UTC (5 years, 9 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.9: +6 -5 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Sync with HEAD

Revision 1.10.12.1, Thu Mar 30 08:43:40 2017 UTC (5 years, 10 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.10: +0 -630 lines
FILE REMOVED

file octeon_intr.c was added on branch tls-maxphys on 2017-12-03 11:36:27 +0000

Revision 1.10 / (download) - annotate - [select for diffs], Thu Mar 30 08:43:40 2017 UTC (5 years, 10 months ago) by skrll
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, 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-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, 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, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-socketcan-base1, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: tls-maxphys
Changes since 1.9: +6 -5 lines
Diff to previous 1.9 (colored)

Indentation

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:21 2017 UTC (6 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.6.2.1: +4 -2 lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.3.2.5 / (download) - annotate - [select for diffs], Mon Dec 5 10:54:55 2016 UTC (6 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.3.2.4: +6 -4 lines
Diff to previous 1.3.2.4 (colored) to branchpoint 1.3 (colored)

Sync with HEAD

Revision 1.9 / (download) - annotate - [select for diffs], Mon Nov 28 04:18:08 2016 UTC (6 years, 2 months ago) by mrg
Branch: MAIN
CVS Tags: pgoyette-localcount-20170320, pgoyette-localcount-20170107, nick-nhusb-base-20170204, nick-nhusb-base-20161204, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.8: +4 -2 lines
Diff to previous 1.8 (colored)

fix non-DIAG builds.

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:02 2016 UTC (6 years, 2 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

Sync with HEAD

Revision 1.8 / (download) - annotate - [select for diffs], Mon Oct 31 12:27:22 2016 UTC (6 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-localcount-20161104
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored)

Fixup IPI interrupt delivery and splsched mask so that
sys/uvm/pmap/pmap_tlb.c

    541 	KASSERTMSG(ci->ci_cpl >= IPL_SCHED,
    542 	    "%s: cpl (%d) < IPL_SCHED (%d)",
    543 	    __func__, ci->ci_cpl, IPL_SCHED);

doesn't fire.

Revision 1.3.2.4 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:31 2016 UTC (6 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.3.2.3: +46 -43 lines
Diff to previous 1.3.2.3 (colored) to branchpoint 1.3 (colored)

Sync with HEAD

Revision 1.7 / (download) - annotate - [select for diffs], Sat Aug 20 06:31:15 2016 UTC (6 years, 5 months ago) by skrll
Branch: MAIN
CVS Tags: nick-nhusb-base-20161004, localcount-20160914
Changes since 1.6: +4 -3 lines
Diff to previous 1.6 (colored)

Need to set ci_request_ipis otherwise they won't get delivered.

Correct the test for the IPL_HIGH ipis

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jul 12 06:13:39 2016 UTC (6 years, 6 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726
Branch point for: pgoyette-localcount
Changes since 1.5: +4 -2 lines
Diff to previous 1.5 (colored)

#include "opt_multiprocessor.h" as this file has #ifdef MULTIPROCESSOR

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jul 11 16:15:35 2016 UTC (6 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.4: +42 -42 lines
Diff to previous 1.4 (colored)

Change MIPS to use the common pmap code.
Switch to 8KB pages on CPUs with a R4K MMU.
Simplify cache code.
Merge in most of changes from matt-mips64 branch

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:47 2015 UTC (7 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.3.2.2: +117 -16 lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored)

Sync with HEAD

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jun 6 20:52:16 2015 UTC (7 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921
Changes since 1.3: +116 -15 lines
Diff to previous 1.3 (colored)

Add wdog support
cleanup IPI and MP support
Add NMI support.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:01 2015 UTC (7 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.3.2.1: +523 -0 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored)

Sync with HEAD

Revision 1.3.2.1, Mon Jun 1 22:55:12 2015 UTC (7 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.3: +0 -523 lines
FILE REMOVED

file octeon_intr.c was added on branch nick-nhusb on 2015-06-06 14:40:01 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jun 1 22:55:12 2015 UTC (7 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606
Branch point for: nick-nhusb
Changes since 1.2: +279 -195 lines
Diff to previous 1.2 (colored)

Rework cavium support in preparation for MULTIPROCESSOR support

Revision 1.2 / (download) - annotate - [select for diffs], Tue May 19 05:51:16 2015 UTC (7 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.1: +9 -5 lines
Diff to previous 1.1 (colored)

Add per irq evcnt's

Revision 1.1 / (download) - annotate - [select for diffs], Wed Apr 29 08:32:00 2015 UTC (7 years, 9 months ago) by hikaru
Branch: MAIN

Initial import of Cavium Octeon and Octeon Plus SoC and
specifically Ubiquiti Networks EdgeRouter LITE support.
Currently the ethernet and uart are worked.
This support was contributed by Internet Initiative Japan Inc.

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>