summaryrefslogtreecommitdiff
path: root/sys/arch/octeon
AgeCommit message (Collapse)Author
2017-09-21Ensure proper order of register accesses by readback after write.Visa Hankala
This fixes spurious interrupts seen on CN7360.
2017-09-17Do not print "cpuX launched" any longer. This reduces dmesg spamVisa Hankala
on multicore systems.
2017-09-12Remove option DDB_STRUCTINFO. Now that ddb(4) is CTF aware, similarMartin Pieuchot
functionnalities are available in GENERIC. ok jasper@, deraadt@, guenther@, dlg@
2017-09-08If you use sys/param.h, you don't need sys/types.hTheo de Raadt
2017-09-06Allow two GMX instances on CN70xx/CN71xx to enable all portsVisa Hankala
on the E300 boards.
2017-09-04Let octmmc(4) attach on revision 7890 controller.Visa Hankala
2017-09-02Let the kernel utilize the FPU if one is available, even when theVisa Hankala
FPUEMUL option is enabled. This benefits OCTEON III systems which can run floating-point operations natively. Feedback from and OK miod@; he also helped with testing. Tested on octeon without FPU (CN5020, CN6120) and with FPU (CN7130), as well as on sgi/IP27 (MP R16000), sgi/IP32 (R5000), and loongson (3A1000).
2017-08-28swap ualea for urngJasper Lievisse Adriaanse
2017-08-26Use macros for Config1 bits.Visa Hankala
2017-08-19Equalize the use of LINKFLAGS and STRIPFLAGS with other mips64 ports.Visa Hankala
2017-08-19Use --warn-common when linking.Visa Hankala
2017-08-19Put ${LD} in double quotes in MAKE_GAP, like has been done elsewhere.Visa Hankala
2017-08-13Fix a dereference of a bogus pointer.Visa Hankala
2017-08-12Use ctfstrip(1) by default to strip kernels.Martin Pieuchot
ok deraadt@, jasper@
2017-08-12Add a dummy (for now) <machine/reloc.h> for mips64 to fix build.Visa Hankala
OK guenther@
2017-08-09Clear any pending (edge-triggered) interrupts at setup to avoidVisa Hankala
spurious interrupts with newly established handlers.
2017-08-01Add a driver for the OCTEON USB3 controller bridge.Visa Hankala
OK kettenis@, jmatthew@
2017-07-31Replace OCTEON_MAXCPUS with MAXCPUS to avoid redundancy.Visa Hankala
2017-07-31Assume edge triggering by default for robustness, as is doneVisa Hankala
in octcit(4).
2017-07-30Bump VM_PHYSSEG_MAX.Visa Hankala
2017-07-30Bump MAXCPUS on octeon.Visa Hankala
2017-07-30Define MAXCPUS per mips64 port.Visa Hankala
2017-07-30Add a driver for CIU3. Not quite finished yet, but good enough for now.Visa Hankala
2017-07-29There is no RTC on the E300 boards.Visa Hankala
2017-07-29Replace a complex `if' condition with a list.Visa Hankala
OK pirofti@
2017-07-28Add a driver for the OCTEON SATA controller bridge.Visa Hankala
OK deraadt@, jasper@, kettenis@
2017-07-28Add a workaround that allows the use of sys/dev/fdt code on octeon.Visa Hankala
OK kettenis@
2017-07-25rework octuctl and its children to attach via fdtJonathan Matthew
ok visa@
2017-07-25Remove leftovers of a past softintr mechanism.Visa Hankala
OK mpi@, kettenis@
2017-07-18Stop automatically regenerating gap.o (and hence linking a new kernel)Theo Buehler
whenever make is issued. Only do this when there are actual source changes below /sys. This restores the behavior prior to the KARL implementation. Problem noticed and patiently explained by mpi implementation with a lot of help from espie ok mpi, espie, deraadt
2017-07-16Pass the linker from make environment to makegap.sh. This is (only)Visa Hankala
a partial solution to cross compiling the kernel with KARL. OK deraadt@ a while ago
2017-07-15iobus_h is unused, remove it.Visa Hankala
2017-07-13Add a driver for the CIB interrupt controller. Certain deviceVisa Hankala
controllers need it on CN70xx/CN71xx.
2017-07-13Add handling for the third interrupt summary vector,Visa Hankala
needed by upcoming work.
2017-07-13Get cpuid from `ci' to avoid an extra function call.Visa Hankala
2017-07-12Reorganize separate configuration fields into per-CPU structsVisa Hankala
to compact the data indexing. This additionally improves the cache locality of the data.
2017-07-10Keep refusing SDIO initialization. The driver cannot work properlyVisa Hankala
with SDIO because it does not handle card interrupts.
2017-07-07Add logic for running SD commands. Tested with a few different makesVisa Hankala
of MMC/SD memory.
2017-07-07Fix function name in panic message.Visa Hankala
2017-07-03Attach com(4) using fdt on octeon.Visa Hankala
The relevant part of uartbus(4) is made part of the com(4) glue to avoid extra maneuvers in the code.
2017-07-03Add the first UART into the fdt blob.Visa Hankala
2017-06-29put SYSTEM_SWAP_DEP out of its misery, it died in 1997, along with config.oldMarc Espie
"go for it" deraadt@
2017-06-29Always use the maximum permissible frame size for Rx size limit.Visa Hankala
This lets a change of interface MTU take effect immediately without link cycling and brings cnmac(4) into line with other jumbo frame capable NIC drivers. Prompted by Joe Holden on misc@ OK dlg@
2017-06-26Arrange a phandle for the "ciu" node.Visa Hankala
2017-06-25dull dependency for copying makegap.sh to obj, so that installsTheo de Raadt
without src and comp work. That is what we've designed for, but since we always have src and comp on our systems it is so easy to slide... problem first noted by rpe.
2017-06-22Generate a gap.link script, and use that to generate gap.o. On multi-ABITheo de Raadt
architectures we must also link against a gapdummy.o to repair the ABI of the resulting .o file. Woe is me. Also repair install: target to update the linkkit & hash when a kernel is installed. ok rpe tb mlarkin and tested by others also
2017-06-19Fix the timecounter register on CN72xx/CN73xx.Visa Hankala
2017-06-19Use octeon_model_family() for SoC identification as in the restVisa Hankala
of the code.
2017-06-19Use type register_t instead of __register_t. Drop unneeded __unused.Visa Hankala
2017-06-19There is no RTC on the E1000 board.Visa Hankala