The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.22 / (download) - annotate - [select for diffs], Thu Mar 3 06:27:41 2022 UTC (2 years, 1 month ago) by riastradh
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.21: +3 -3 lines
Diff to previous 1.21 (colored)

mips: Carefully use device_set_private for cpuN.

But don't do it in cpu_attach_common because the callers aren't set
up right -- instead leave a comment about what's wrong, to be dealt
with later.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Aug 7 16:18:59 2021 UTC (2 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)

Merge thorpej-cfargs2.

Revision 1.19.8.1 / (download) - annotate - [select for diffs], Wed Aug 4 02:44:15 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Adapt to CFARGS().

Revision 1.20 / (download) - annotate - [select for diffs], Tue Aug 3 23:12:14 2021 UTC (2 years, 8 months ago) by andvar
Branch: MAIN
CVS Tags: thorpej-futex2-base, thorpej-futex2
Changes since 1.19: +4 -2 lines
Diff to previous 1.19 (colored)

Fix various typos in comments. Also add missing NetBSD RCS Id in some of these files.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:42 2021 UTC (2 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-cfargs2-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-cfargs2
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
  actually needed.
- Don't be explicit about what interface attribute is attaching if
  the device only has one.  (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
  situations, making is visibly easier to see when indirect config is
  in play, and allowing for future change in semantics.  (As of now,
  this is just a wrapper around config_match(), but that is an
  implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance.  This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).

Revision 1.18.4.1 / (download) - annotate - [select for diffs], Sun Mar 21 21:09:03 2021 UTC (3 years ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Give config_found() the same variadic arguments treatment as
config_search().  This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls.  Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jul 28 00:35:38 2020 UTC (3 years, 8 months ago) by simonb
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base
Branch point for: thorpej-cfargs
Changes since 1.17: +7 -6 lines
Diff to previous 1.17 (colored)

Change cpus_booted back to a simple variable instead of a kcpuset.
octeon_cpu_spinup() was trying to set CPU status immediately on kernel
startup _well_ before the kcpuset was initialised.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Jul 22 15:01:18 2020 UTC (3 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.16: +8 -1 lines
Diff to previous 1.16 (colored)

Initialize PageMask and Wired registers on secondary processors.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Jul 21 06:01:10 2020 UTC (3 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.15: +10 -3 lines
Diff to previous 1.15 (colored)

Support "boot -1" to start an MP kernel in uniprocessor mode.
Sort sys/* includes while here.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Jul 19 08:58:35 2020 UTC (3 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.14: +5 -2 lines
Diff to previous 1.14 (colored)

KNF whitespace nits.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jul 17 21:59:30 2020 UTC (3 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.13: +4 -3 lines
Diff to previous 1.13 (colored)

Remove 2 CPU limit in OCTEON interrupt controller driver.

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

Minor tweaks and cleanup.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jan 23 06:57:49 2018 UTC (6 years, 2 months ago) by maya
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, 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, 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, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.11: +3 -1 lines
Diff to previous 1.11 (colored)

if 0 out unused code which is currently breaking my local builds

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jan 22 21:56:46 2018 UTC (6 years, 2 months ago) by maya
Branch: MAIN
Changes since 1.10: +1 -1 lines
Diff to previous 1.10 (colored)

Fix RCSID (hopefully)

Revision 1.10.14.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:27 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.10.14.1: +477 -0 lines
Diff to previous 1.10.14.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

update from HEAD

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:31 2016 UTC (7 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.1.2.3: +23 -18 lines
Diff to previous 1.1.2.3 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD

Revision 1.10.14.1, Fri Aug 19 10:20:42 2016 UTC (7 years, 7 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.10: +0 -477 lines
FILE REMOVED

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

Revision 1.10 / (download) - annotate - [select for diffs], Fri Aug 19 10:20:42 2016 UTC (7 years, 7 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, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, 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, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: tls-maxphys
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Fix insn #2 printf in octeon_fixup_cpu_info_references

Revision 1.9 / (download) - annotate - [select for diffs], Fri Aug 19 10:19:15 2016 UTC (7 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Remove useless cast

Revision 1.8 / (download) - annotate - [select for diffs], Fri Aug 19 07:51:29 2016 UTC (7 years, 7 months ago) by martin
Branch: MAIN
Changes since 1.7: +3 -1 lines
Diff to previous 1.7 (colored)

Typo in #ifdef - the per cpu wdog softint wasn't initialized.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jul 11 16:15:35 2016 UTC (7 years, 9 months ago) by matt
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount
Changes since 1.6: +15 -12 lines
Diff to previous 1.6 (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.6 / (download) - annotate - [select for diffs], Mon Jul 11 08:09:15 2016 UTC (7 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.5: +1 -1 lines
Diff to previous 1.5 (colored)

Fix an aprint_normal

Revision 1.1.2.3 / (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.1.2.2: +250 -20 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored)

Sync with HEAD

Revision 1.5 / (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-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921
Changes since 1.4: +8 -6 lines
Diff to previous 1.4 (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.4 / (download) - annotate - [select for diffs], Tue Jun 9 12:10:08 2015 UTC (8 years, 10 months ago) by martin
Branch: MAIN
Changes since 1.3: +1 -0 lines
Diff to previous 1.3 (colored)

Reenable preemption before returning an error when trying to set the
watchdog to an invalid period.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Jun 6 21:44:16 2015 UTC (8 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

Use ci_nmi_stack

Revision 1.2 / (download) - annotate - [select for diffs], Sat Jun 6 20:52:16 2015 UTC (8 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.1: +244 -17 lines
Diff to previous 1.1 (colored)

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

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:01 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.1.2.1: +242 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)

Sync with HEAD

Revision 1.1.2.1, Mon Jun 1 22:55:12 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.1: +0 -242 lines
FILE REMOVED

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

Revision 1.1 / (download) - annotate - [select for diffs], Mon Jun 1 22:55:12 2015 UTC (8 years, 10 months ago) by matt
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606
Branch point for: nick-nhusb

Rework cavium support in preparation for MULTIPROCESSOR support

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>