Home | History | Annotate | Download | only in cavium
History log of /src/sys/arch/mips/cavium/octeon_cpunode.c
RevisionDateAuthorComments
 1.22  03-Mar-2022  riastradh 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.
 1.21  07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.20  03-Aug-2021  andvar Fix various typos in comments. Also add missing NetBSD RCS Id in some of these files.
 1.19  24-Apr-2021  thorpej branches: 1.19.8;
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?).
 1.18  28-Jul-2020  simonb branches: 1.18.4;
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.
 1.17  22-Jul-2020  jmcneill Initialize PageMask and Wired registers on secondary processors.
 1.16  21-Jul-2020  simonb Support "boot -1" to start an MP kernel in uniprocessor mode.
Sort sys/* includes while here.
 1.15  19-Jul-2020  simonb KNF whitespace nits.
 1.14  17-Jul-2020  jmcneill Remove 2 CPU limit in OCTEON interrupt controller driver.
 1.13  23-Jun-2020  simonb Minor tweaks and cleanup.
 1.12  23-Jan-2018  maya if 0 out unused code which is currently breaking my local builds
 1.11  22-Jan-2018  maya Fix RCSID (hopefully)
 1.10  19-Aug-2016  skrll branches: 1.10.14;
Fix insn #2 printf in octeon_fixup_cpu_info_references
 1.9  19-Aug-2016  skrll Remove useless cast
 1.8  19-Aug-2016  martin Typo in #ifdef - the per cpu wdog softint wasn't initialized.
 1.7  11-Jul-2016  matt 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
 1.6  11-Jul-2016  skrll Fix an aprint_normal
 1.5  10-Jun-2015  matt 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.
 1.4  09-Jun-2015  martin Reenable preemption before returning an error when trying to set the
watchdog to an invalid period.
 1.3  06-Jun-2015  matt Use ci_nmi_stack
 1.2  06-Jun-2015  matt Add wdog support
cleanup IPI and MP support
Add NMI support.
 1.1  01-Jun-2015  matt branches: 1.1.2;
Rework cavium support in preparation for MULTIPROCESSOR support
 1.1.2.4  05-Oct-2016  skrll Sync with HEAD
 1.1.2.3  22-Sep-2015  skrll Sync with HEAD
 1.1.2.2  06-Jun-2015  skrll Sync with HEAD
 1.1.2.1  01-Jun-2015  skrll file octeon_cpunode.c was added on branch nick-nhusb on 2015-06-06 14:40:01 +0000
 1.10.14.2  03-Dec-2017  jdolecek update from HEAD
 1.10.14.1  19-Aug-2016  jdolecek file octeon_cpunode.c was added on branch tls-maxphys on 2017-12-03 11:36:27 +0000
 1.18.4.1  21-Mar-2021  thorpej 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.
 1.19.8.1  04-Aug-2021  thorpej Adapt to CFARGS().

RSS XML Feed