summaryrefslogtreecommitdiff
path: root/sys/arch/octeon
AgeCommit message (Collapse)Author
2019-05-08Enable ucrcom(4) on all architectures that have uslcom(4).Mark Kettenis
ok deraadt@
2019-05-06Fix thinko in previous. The .bss clearing was overzealous and overwroteVisa Hankala
a part of the free memory list, terminating it prematurely.
2019-05-05Use the .bss for the bootstrap stack of mips_init(). This way the memoryVisa Hankala
region is properly allocated by the firmware. Move the .bss clearing to locore.S because the section has to be ready when the stack is taken into use. This additionally makes the C environment more consistent at the start of mips_init().
2019-04-23Add a driver for OCTEON two-wire serial interface.Visa Hankala
Not enabled yet because of a conflict with octrtc(4).
2019-04-20libsa's memcpy() is actually memmove(). make a proper memmove(), and giveTheo de Raadt
memcpy() correct behaviour. This also brings the bcopy() macro into line.
2019-04-14Instead of using COPTS=-Oz (and similar) in make environment to forceTheo de Raadt
tightly-built ramdisk kernels, set the option in per-arch Makefile.inc based upon SMALL_KERNEL
2019-04-10crank versionsTheo de Raadt
2019-04-10change marks[] array to uint64_t, so the code can track full 64-bitTheo de Raadt
details from the ELF header instead of faking it. Proposal from mlarkin, tested on most architectures already
2019-04-08crank version; looks good deraadtFlorian Obser
2019-04-01fast track ddb> reboot command to skip anything which might panic again.Ted Unangst
ok deraadt
2019-03-22umbg now supports DCF600USB as well; adjust comment. from weerd@Stuart Henderson
2019-03-21Remove struct intrhand. It is no longer used on octeon.Visa Hankala
2019-03-21Remove an unused header.Visa Hankala
2019-03-17Remember to detach the event counter when disestablishingVisa Hankala
an interrupt handler.
2019-03-17Replace a hand-rolled linked list with SLIST.Visa Hankala
2019-03-17Let each interrupt controller driver choose how to implementVisa Hankala
intr_barrier(9). With this change, the barrier should finally work properly with cnmac(4) interrupts that have been assigned to secondary cores.
2019-03-17Move intr_barrier(9) to the platform level so that it can be customized.Visa Hankala
2019-03-16Unify the top-level structure of interrupt handles. This helpsVisa Hankala
when implementing interrupt-specific logic for intr_barrier(9).
2019-03-16Fix incorrect flag.Visa Hankala
2019-03-16Include header <sys/evcount.h> where event counters are used, so thatVisa Hankala
header <machine/intr.h> can eventually stop including it on octeon.
2019-03-15Use a locally defined intrhand in octciu.c to ease future changes.Visa Hankala
2019-03-14Fix the balancing of work queue interrupts.Visa Hankala
The value of `ncpusfound' no longer reflects the number of cores that will be utilized by the kernel; it can be larger if secondary cores have not been enabled by the firmware. This can lead to incorrect assignment of work queue interrupts, making certain cnmac(4) ports unable to receive packets. This is a regression introduced in r1.108 of octeon/machdep.c. Correct the problem by using `ncpus' for the balancing. All secondary cores have been attached and the value is final by the time work queue interrupt handlers are set up. Network issue reported by krw@
2019-03-10Use SMR instead of reference counting for session reclamation.Visa Hankala
This reduces the need of atomic operations. The lookup tree still requires serialization, though.
2019-01-14Remove obsolete symbols.sort target.Visa Hankala
OK deraadt@
2019-01-13Handle card detect GPIO.Visa Hankala
2019-01-13Pass timeout in seconds instead of ticks.Visa Hankala
2019-01-12Add a driver for OCTEON GPIO controller.Visa Hankala
2019-01-12Attach the AHCI controller bridge driver even if the AHCI controllerVisa Hankala
node is not present in fdt.
2019-01-07tweak ohci_checkrev so it doesnt print a leading comma and space.David Gwynne
it assumes that it always followed an interrupt string, but we don't print that on fdt. having the bus responsible for the whitespace means the fdt glue can print a colon to separate the bus info from checkrev output, while every other glue keeps the comma. ok deraadt@
2019-01-05match arm64 and armv7 and print unconfigured simplebus devices on octeonJonathan Gray
ok and tested by visa@
2019-01-03Fix .end symbol.Visa Hankala
From Mikhael Skvortsov
2018-12-18Figure out the number of available CPUs using system fuse registers.Visa Hankala
This makes `ncpusfound' independent of kernel boot parameters. The kernel still needs the help of the firmware to spin up secondary CPUs, so the `coremask' or `numcores' boot parameter is still needed for multicore operation. Tested on CN5020, CN6120, CN7130 and CN7360.
2018-12-18Accept DUID as a root disk specifier.Visa Hankala
Example boot command: bootoctlinux rootdev=e7f5137a2eb9a085 numcores=4
2018-12-16Fix pool ipl to prevent a deadlock scenario.Visa Hankala
While here, make the pool use the default memory alignment. The default setting is good enough for the driver and the hardware.
2018-12-04Add processor IDs for several OCTEON II and III SoCs.Visa Hankala
2018-10-31Bring over gapdummy.c changes from amd64/amr64/armv7/i386.Mark Kettenis
ok deraadt@, mortimer@, visa@
2018-09-14add gapdummy.c to the "clean" target like other generated filesChristian Weisgerber
ok visa@ jsg@ phessler@
2018-08-22Enable uscom(4) where uslcom(4) is already present.Martin Pieuchot
Based on a submisison from Jan Klemkow.
2018-08-20Remove unused spllock().Visa Hankala
OK deraadt@ mpi@
2018-08-09Define __HAVE_ACPI on arm64 and __HAVE_FDT on arm64, armv7 and octeonPatrick Wildt
so that we can include firmware-dependant code in generic drivers to be able to extract metadata information like MAC addresses and out-of-band interrupts from the ACPI/FDT tables. ok kettenis@
2018-08-06Give the FDT interrupt API a more generic naming by replacing thePatrick Wildt
arm_intr_* prefix with fdt_intr_*. ok kettenis@
2018-06-18Improve indentation and variable naming.Visa Hankala
2018-06-18Fix build with DEBUG_PCI_CONF.Visa Hankala
From jj@
2018-06-13Make octeon kernels compile with DEBUG.Visa Hankala
Based on a diff from jj@. Thank you!
2018-06-01Add a kludge that fixes the build until com_fdt.c is ready for octeon.Visa Hankala
2018-05-30Add sizes for free() for octeon.Frederic Cambus
OK deraadt@, visa@
2018-05-05Enable octcrypto(4).Visa Hankala
2018-05-04Add a common rules file for ofw sources to help keep the configurationsVisa Hankala
of fdt-enabled platforms in sync. OK deraadt@
2018-05-02Fix build. The power domain API is needed by r1.9 of xhci_fdt.c.Visa Hankala
2018-04-28replace add_*_randomness with enqueue_randomness()Jasper Lievisse Adriaanse
this gets rid of the source annotation which doesn't really add anything other than adding complexitiy. randomess is generally good enough that the few extra bits that the source type would add are not worth it. ok mikeb@ deraadt@