Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add parsing for standard boot options. | 2019-05-18 | 1 | -2/+28 | |
| | |||||
* | Enable ucrcom(4) on all architectures that have uslcom(4). | 2019-05-08 | 1 | -1/+3 | |
| | | | | ok deraadt@ | ||||
* | Fix thinko in previous. The .bss clearing was overzealous and overwrote | 2019-05-06 | 1 | -3/+3 | |
| | | | | a part of the free memory list, terminating it prematurely. | ||||
* | Use the .bss for the bootstrap stack of mips_init(). This way the memory | 2019-05-05 | 2 | -9/+24 | |
| | | | | | | | | 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(). | ||||
* | Add a driver for OCTEON two-wire serial interface. | 2019-04-23 | 2 | -1/+443 | |
| | | | | Not enabled yet because of a conflict with octrtc(4). | ||||
* | libsa's memcpy() is actually memmove(). make a proper memmove(), and give | 2019-04-20 | 1 | -2/+2 | |
| | | | | memcpy() correct behaviour. This also brings the bcopy() macro into line. | ||||
* | Instead of using COPTS=-Oz (and similar) in make environment to force | 2019-04-14 | 1 | -1/+2 | |
| | | | | | tightly-built ramdisk kernels, set the option in per-arch Makefile.inc based upon SMALL_KERNEL | ||||
* | crank versions | 2019-04-10 | 1 | -2/+2 | |
| | |||||
* | change marks[] array to uint64_t, so the code can track full 64-bit | 2019-04-10 | 2 | -5/+6 | |
| | | | | | details from the ELF header instead of faking it. Proposal from mlarkin, tested on most architectures already | ||||
* | crank version; looks good deraadt | 2019-04-08 | 1 | -2/+2 | |
| | |||||
* | fast track ddb> reboot command to skip anything which might panic again. | 2019-04-01 | 1 | -1/+5 | |
| | | | | ok deraadt | ||||
* | umbg now supports DCF600USB as well; adjust comment. from weerd@ | 2019-03-22 | 1 | -2/+2 | |
| | |||||
* | Remove struct intrhand. It is no longer used on octeon. | 2019-03-21 | 1 | -21/+1 | |
| | |||||
* | Remove an unused header. | 2019-03-21 | 1 | -60/+0 | |
| | |||||
* | Remember to detach the event counter when disestablishing | 2019-03-17 | 2 | -2/+4 | |
| | | | | an interrupt handler. | ||||
* | Replace a hand-rolled linked list with SLIST. | 2019-03-17 | 1 | -32/+37 | |
| | |||||
* | Let each interrupt controller driver choose how to implement | 2019-03-17 | 5 | -8/+47 | |
| | | | | | | | intr_barrier(9). With this change, the barrier should finally work properly with cnmac(4) interrupts that have been assigned to secondary cores. | ||||
* | Move intr_barrier(9) to the platform level so that it can be customized. | 2019-03-17 | 1 | -1/+7 | |
| | |||||
* | Unify the top-level structure of interrupt handles. This helps | 2019-03-16 | 1 | -8/+26 | |
| | | | | when implementing interrupt-specific logic for intr_barrier(9). | ||||
* | Fix incorrect flag. | 2019-03-16 | 1 | -2/+2 | |
| | |||||
* | Include header <sys/evcount.h> where event counters are used, so that | 2019-03-16 | 3 | -3/+6 | |
| | | | | header <machine/intr.h> can eventually stop including it on octeon. | ||||
* | Use a locally defined intrhand in octciu.c to ease future changes. | 2019-03-15 | 1 | -9/+23 | |
| | |||||
* | Fix the balancing of work queue interrupts. | 2019-03-14 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | 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@ | ||||
* | Use SMR instead of reference counting for session reclamation. | 2019-03-10 | 1 | -17/+25 | |
| | | | | | This reduces the need of atomic operations. The lookup tree still requires serialization, though. | ||||
* | Remove obsolete symbols.sort target. | 2019-01-14 | 1 | -5/+1 | |
| | | | | OK deraadt@ | ||||
* | Handle card detect GPIO. | 2019-01-13 | 1 | -1/+14 | |
| | |||||
* | Pass timeout in seconds instead of ticks. | 2019-01-13 | 1 | -5/+4 | |
| | |||||
* | Add a driver for OCTEON GPIO controller. | 2019-01-12 | 4 | -3/+201 | |
| | |||||
* | Attach the AHCI controller bridge driver even if the AHCI controller | 2019-01-12 | 1 | -9/+13 | |
| | | | | node is not present in fdt. | ||||
* | tweak ohci_checkrev so it doesnt print a leading comma and space. | 2019-01-07 | 1 | -1/+3 | |
| | | | | | | | | | 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@ | ||||
* | match arm64 and armv7 and print unconfigured simplebus devices on octeon | 2019-01-05 | 1 | -2/+23 | |
| | | | | ok and tested by visa@ | ||||
* | Fix .end symbol. | 2019-01-03 | 1 | -2/+2 | |
| | | | | From Mikhael Skvortsov | ||||
* | Figure out the number of available CPUs using system fuse registers. | 2018-12-18 | 2 | -4/+18 | |
| | | | | | | | | | | 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. | ||||
* | Accept DUID as a root disk specifier. | 2018-12-18 | 1 | -1/+39 | |
| | | | | | | Example boot command: bootoctlinux rootdev=e7f5137a2eb9a085 numcores=4 | ||||
* | Fix pool ipl to prevent a deadlock scenario. | 2018-12-16 | 1 | -2/+2 | |
| | | | | | While here, make the pool use the default memory alignment. The default setting is good enough for the driver and the hardware. | ||||
* | Add processor IDs for several OCTEON II and III SoCs. | 2018-12-04 | 2 | -2/+10 | |
| | |||||
* | Bring over gapdummy.c changes from amd64/amr64/armv7/i386. | 2018-10-31 | 1 | -2/+2 | |
| | | | | ok deraadt@, mortimer@, visa@ | ||||
* | add gapdummy.c to the "clean" target like other generated files | 2018-09-14 | 1 | -2/+2 | |
| | | | | ok visa@ jsg@ phessler@ | ||||
* | Enable uscom(4) where uslcom(4) is already present. | 2018-08-22 | 1 | -1/+3 | |
| | | | | Based on a submisison from Jan Klemkow. | ||||
* | Remove unused spllock(). | 2018-08-20 | 1 | -2/+1 | |
| | | | | OK deraadt@ mpi@ | ||||
* | Define __HAVE_ACPI on arm64 and __HAVE_FDT on arm64, armv7 and octeon | 2018-08-09 | 1 | -1/+5 | |
| | | | | | | | | 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@ | ||||
* | Give the FDT interrupt API a more generic naming by replacing the | 2018-08-06 | 2 | -6/+5 | |
| | | | | | | arm_intr_* prefix with fdt_intr_*. ok kettenis@ | ||||
* | Improve indentation and variable naming. | 2018-06-18 | 1 | -32/+42 | |
| | |||||
* | Fix build with DEBUG_PCI_CONF. | 2018-06-18 | 1 | -5/+5 | |
| | | | | From jj@ | ||||
* | Make octeon kernels compile with DEBUG. | 2018-06-13 | 2 | -6/+3 | |
| | | | | Based on a diff from jj@. Thank you! | ||||
* | Add a kludge that fixes the build until com_fdt.c is ready for octeon. | 2018-06-01 | 3 | -7/+8 | |
| | |||||
* | Add sizes for free() for octeon. | 2018-05-30 | 2 | -7/+7 | |
| | | | | OK deraadt@, visa@ | ||||
* | Enable octcrypto(4). | 2018-05-05 | 1 | -2/+2 | |
| | |||||
* | Add a common rules file for ofw sources to help keep the configurations | 2018-05-04 | 1 | -7/+2 | |
| | | | | | | of fdt-enabled platforms in sync. OK deraadt@ | ||||
* | Fix build. The power domain API is needed by r1.9 of xhci_fdt.c. | 2018-05-02 | 1 | -1/+2 | |
| |