Home | History | Annotate | Download | only in cavium
History log of /src/sys/arch/evbmips/cavium/machdep.c
RevisionDateAuthorComments
 1.25  05-Mar-2024  thorpej Move the at-shutdown call to resettodr() from cpu_reboot() to kern_reboot().

It's a small step, but it's a step.
 1.24  05-May-2021  simonb The watchdog setup code isn't used (yet), so don't compile in the
octeon_nmi_stack that it uses either.
 1.23  17-Aug-2020  simonb branches: 1.23.6;
Add some compile time asserts for endianness on boards/systems that
only support a single endianness.
 1.22  28-Jul-2020  simonb 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.21  22-Jul-2020  simonb Add option to use the early bitbang console. Enable this for now
while debugging MP.
Print out the core mask value passed in by Uboot.
 1.20  19-Jul-2020  simonb Reserve space for all CPU cores (incorrect logic).
Reserve a full page for each core, not incorrect 4096 (from skrll@).
 1.19  19-Jul-2020  simonb Call fdtbus_intr_init() during startup.
 1.18  16-Jul-2020  jmcneill FDT support for Cavium OCTEON MIPS SoCs. WIP.
 1.17  13-Jul-2020  simonb Copy "mach reset" logic from arm32 recently added by jmcneill@. The
previous MIPS "mach reset" DDB command was hard-coded for Octeon Cavium
CPUs only.
 1.16  20-Jun-2020  simonb Add some rudimentary boot args parsing. Can handle "root=" as well
normal -1adsqvxz flags. "root=" is limited to cnmacN devices so far;
should be extended to allow arbitary SD devices (and other devices?).
 1.15  19-Jun-2020  simonb Don't include now non-existant "opt_cavium.h".
 1.14  15-Jun-2020  simonb Finish CPU core support for Octeon Cavium CN70XX:
- decode actual CPU name
- per CPU core reset logic (partially adapted from OpenBSD)
- handle Octeon 3 ioclock rate differences to other cores (from OpenBSD)
 1.13  05-Jun-2020  simonb Now that we don't zero out the second link in the U-boot bootmem
descripter, use that to configure free memory.
 1.12  04-Jun-2020  simonb Only clear BSS up to "end" symbol, not all the way to mips_round_page(end).
U-Boot puts some data immediately after the BSS section cleared in the ELF
segments, and we don't want to overwrite that.

XXX: Stop using mips_round_page(end) on all MIPS?
 1.11  31-May-2020  simonb Finish rename of all Cavium Octeon device driver functions, structs etc from
"octeon_foo" to "octfoo" (missed octeon_uart + entries in iobus config).
 1.10  28-Dec-2016  mrg branches: 1.10.14;
add an OCTEON_MEMSIZE option to override the uboot provided memory
size. limiting this to 256 avoids an annoying uvm freelist problem on
the 512mb erlite, partly described here:

http://mail-index.netbsd.org/tech-kern/2016/12/20/msg021358.html
 1.9  22-Dec-2016  cherry switch all ports to use uvm_init.c:uvm_md_init()

uvm_setpagesize() is now subsumed within this funciton.
 1.8  20-Oct-2016  martin Rin Okuyama in PR port-evbmips/51563: wait for console input after halting
the machine.
 1.7  26-Aug-2016  skrll Trailing whitespace
 1.6  11-Jul-2016  matt branches: 1.6.2;
Use pmap_kenter flags to create cached/uncached entries.
#include <mips/locore.h> when appropriate
 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  04-Jun-2015  matt branches: 1.4.2;
If booting a MULTIPROCESSOR kernel, use the llsc atomic primitives
 1.3  01-Jun-2015  matt Rework cavium support in preparation for MULTIPROCESSOR support
 1.2  18-May-2015  matt Set cpu model.
 1.1  29-Apr-2015  hikaru 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.
 1.4.2.6  05-Feb-2017  skrll Sync with HEAD
 1.4.2.5  05-Dec-2016  skrll Sync with HEAD
 1.4.2.4  05-Oct-2016  skrll Sync with HEAD
 1.4.2.3  22-Sep-2015  skrll Sync with HEAD
 1.4.2.2  06-Jun-2015  skrll Sync with HEAD
 1.4.2.1  04-Jun-2015  skrll file machdep.c was added on branch nick-nhusb on 2015-06-06 14:39:59 +0000
 1.6.2.2  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.6.2.1  04-Nov-2016  pgoyette Sync with HEAD
 1.10.14.2  03-Dec-2017  jdolecek update from HEAD
 1.10.14.1  28-Dec-2016  jdolecek file machdep.c was added on branch tls-maxphys on 2017-12-03 11:36:08 +0000
 1.23.6.1  13-May-2021  thorpej Sync with HEAD.

RSS XML Feed