History log of /netbsd/sys/arch/mips/cavium/octeon_cpunode.c (Results 1 – 22 of 22)
Revision Date Author Comments
# 6338fbfa 03-Mar-2022 riastradh <riastradh@NetBSD.org>

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.


# beecddb6 07-Aug-2021 thorpej <thorpej@NetBSD.org>

Merge thorpej-cfargs2.


# 2e429d79 03-Aug-2021 andvar <andvar@NetBSD.org>

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


# 3bee0c11 24-Apr-2021 thorpej <thorpej@NetBSD.org>

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 a

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?).

show more ...


# f93cab9b 28-Jul-2020 simonb <simonb@NetBSD.org>

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.


# 38fc0518 22-Jul-2020 jmcneill <jmcneill@NetBSD.org>

Initialize PageMask and Wired registers on secondary processors.


# 558cd8a4 21-Jul-2020 simonb <simonb@NetBSD.org>

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


# f8ad0e9a 19-Jul-2020 simonb <simonb@NetBSD.org>

KNF whitespace nits.


# 5adeaabf 17-Jul-2020 jmcneill <jmcneill@NetBSD.org>

Remove 2 CPU limit in OCTEON interrupt controller driver.


# ad312671 23-Jun-2020 simonb <simonb@NetBSD.org>

Minor tweaks and cleanup.


# 6524f3f8 23-Jan-2018 maya <maya@NetBSD.org>

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


# 6703a211 22-Jan-2018 maya <maya@NetBSD.org>

Fix RCSID (hopefully)


# ea14f32c 19-Aug-2016 skrll <skrll@NetBSD.org>

Fix insn #2 printf in octeon_fixup_cpu_info_references


# d5e76914 19-Aug-2016 skrll <skrll@NetBSD.org>

Remove useless cast


# 191eb312 19-Aug-2016 martin <martin@NetBSD.org>

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


# f694fbd0 11-Jul-2016 matt <matt@NetBSD.org>

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


# ae6f70c1 11-Jul-2016 skrll <skrll@NetBSD.org>

Fix an aprint_normal


# 06155dc1 10-Jun-2015 matt <matt@NetBSD.org>

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.


# 98ffd984 09-Jun-2015 martin <martin@NetBSD.org>

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


# 14e0bf31 06-Jun-2015 matt <matt@NetBSD.org>

Use ci_nmi_stack


# 15985086 06-Jun-2015 matt <matt@NetBSD.org>

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


# d3d7d9a1 01-Jun-2015 matt <matt@NetBSD.org>

Rework cavium support in preparation for MULTIPROCESSOR support