Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | add cd9660, msdos, and inet6 support | 2020-08-04 | 1 | -1/+4 | ||
| | ||||||
* | Initialize per-pmap lock. | 2020-08-04 | 1 | -1/+2 | ||
| | ||||||
* | On POWER9 use the "darn" instruction and feed its output as entropy into | 2020-08-04 | 1 | -1/+28 | ||
| | | | | | | the random subsystem. ok deraadt@ | |||||
* | add more scsi devices, observed by gkoehler | 2020-08-03 | 3 | -3/+21 | ||
| | ||||||
* | Only invalidate "user" SLB entry if it is currently set. | 2020-07-30 | 1 | -5/+7 | ||
| | ||||||
* | Change kernel SLB setup code to avoid the (theoretical) possibility to | 2020-07-25 | 1 | -22/+45 | ||
| | | | | enter duplicate mappings. | |||||
* | Remove bge(4) and brgphy(4) as the bootloader doesn't include network support | 2020-07-24 | 1 | -4/+1 | ||
| | | | | of any kind. Speeds up booting a bit. | |||||
* | Implement BOOT_QUIET option that supresses kernel printf output to the | 2020-07-24 | 1 | -1/+3 | ||
| | | | | | | | | console. When the kernel panics, print console output is enabled such that we see those messages. Use this option for the powerpc64 boot kernel. ok visa@, deraadt@ | |||||
* | Free SLB descriptors when we destroy a pmap. | 2020-07-23 | 1 | -4/+6 | ||
| | ||||||
* | Bump MAXCPUS (for MULTIPROCESSOR kernels) to 48, which seems to be the | 2020-07-23 | 1 | -2/+2 | ||
| | | | | maximum numbers of cores available in any POWER9 system. | |||||
* | Enter DDB directly when we encounter an unhandled trap such that we | 2020-07-23 | 1 | -1/+7 | ||
| | | | | can inspect the state corresponding to that trap. | |||||
* | Use per-pmap lock to protect userland SLB handling. | 2020-07-23 | 3 | -23/+40 | ||
| | ||||||
* | Fix typo in previous commit such that the code is actually compiled in. | 2020-07-23 | 1 | -2/+2 | ||
| | ||||||
* | Handle the case where we can sleep (and therefore switch CPUs) while | 2020-07-23 | 1 | -5/+14 | ||
| | | | | handling kernel traps. | |||||
* | Make switching CPUs in DDB work. | 2020-07-22 | 6 | -19/+301 | ||
| | ||||||
* | Actually try to evict a PTE from a different slot instead of failing to | 2020-07-22 | 1 | -1/+3 | ||
| | | | | evict the same PTE 16 times because the PTE is wired. | |||||
* | Don't grab the kernel lock for mpsafe interrupts. | 2020-07-22 | 1 | -3/+14 | ||
| | ||||||
* | Implement IPIs. | 2020-07-22 | 6 | -34/+202 | ||
| | ||||||
* | Remove debugging printf in critical section. This doesn't play well with | 2020-07-22 | 1 | -3/+1 | ||
| | | | | the hash lock on MULTIPROCESSOR kernels. | |||||
* | Add missing mplock.h file. | 2020-07-22 | 1 | -0/+10 | ||
| | ||||||
* | GENERIC.MP | 2020-07-21 | 2 | -0/+10 | ||
| | ||||||
* | Add code to spin up the secondary CPUs. | 2020-07-21 | 5 | -12/+223 | ||
| | ||||||
* | Implement copyin32(). | 2020-07-21 | 1 | -1/+7 | ||
| | ||||||
* | Add OPAL_START_CPU. | 2020-07-21 | 2 | -2/+5 | ||
| | ||||||
* | For now, grab the kernel lock to do SLB management for userland processes. | 2020-07-21 | 1 | -1/+7 | ||
| | ||||||
* | Make pmap ready for GENERIC.MP. | 2020-07-21 | 2 | -23/+74 | ||
| | ||||||
* | Attach secondary CPUs early like we now do on arm64. | 2020-07-21 | 1 | -4/+4 | ||
| | ||||||
* | Add missing KERNEL_LOCK() and KERNEL_UNLOCK() calls. | 2020-07-21 | 1 | -1/+3 | ||
| | ||||||
* | improve accuracy of kexec_subr.o dependency | 2020-07-20 | 1 | -2/+2 | ||
| | ||||||
* | Add uvm_map_inentry call, to detect stack pivots at trap time. | 2020-07-20 | 1 | -2/+6 | ||
| | | | | ok kettenis | |||||
* | kexec_subr.S will need assym.h built beforehands | 2020-07-19 | 1 | -1/+2 | ||
| | ||||||
* | Enable xhci(4) in the BOOT kernel. While there is some USB-related | 2020-07-19 | 1 | -2/+2 | ||
| | | | | | flakiness, this doesn't actually seem to be related to booting an OpenBSD kernel straight from the bootloader kernel. | |||||
* | Make /dev/ksyms work. | 2020-07-18 | 1 | -2/+4 | ||
| | ||||||
* | Load kernel as an initrd such that we have symbols in ddb. | 2020-07-18 | 1 | -4/+29 | ||
| | ||||||
* | Use the same names as the 64-bit PowerPC ELF ABI for the relocations. | 2020-07-18 | 1 | -117/+141 | ||
| | ||||||
* | enter stand | 2020-07-18 | 1 | -2/+2 | ||
| | ||||||
* | Improve kernel linker script. Split binary in a .text, .rodata and .data | 2020-07-18 | 2 | -6/+34 | ||
| | | | | | | | | | | segment, but continue to cover these with a single PT_LOAD segment such that we can continue to load kernels from the firmware Linux kernel. This is important since our bootloader is a stripped down OpenBSD kernel as well. Proper page protections are installed by pmap_bootstrap(). This allows us to add "relro" sections to the .rodata segment. | |||||
* | Pass boothowto and bootduid parameters to the booted kernel via the | 2020-07-18 | 4 | -36/+38 | ||
| | | | | | | device tree. Make sure the RB_GOODRANDOM flag only gets set if we read a non-stale /etc/random.seed and we actually filled an .openbsd.randomdata segment. | |||||
* | Pay attention to "openbsd,boothowto" and "openbsd,bootduid" properties | 2020-07-17 | 1 | -1/+9 | ||
| | | | | like we do on arm64 and armv7. | |||||
* | Fix definition of KIOC_GETBOOTDUID ioctl. | 2020-07-17 | 1 | -2/+2 | ||
| | ||||||
* | First stab at a bootloader for OpenBSD/powerpc64. | 2020-07-16 | 10 | -4/+1354 | ||
| | | | | | | | | Based on the same principle (and mostly copied from) the bootloader written by visa@ for OpenBSD/octeon. Needed because the petitboot environment provided by the OpenPower firmware is unsuitable for loading OpenBSD kernels properly. | |||||
* | Add BOOT kernel config. | 2020-07-16 | 2 | -0/+60 | ||
| | ||||||
* | Add a pseudo-driver to "kexec" an OpenBSD/powerpc64 kernel. Heavily | 2020-07-16 | 6 | -4/+283 | ||
| | | | | | based on the octboot driver that we use for octeon. To be used in the bootloader kernel. | |||||
* | Reset firmware state upon reboot. | 2020-07-16 | 1 | -2/+16 | ||
| | ||||||
* | Since the page tables could be larger than 256MB allow for multiple | 2020-07-16 | 1 | -4/+6 | ||
| | | | | segments to map them. | |||||
* | powerpc64 has the sysctl's for power control, so it can use the | 2020-07-15 | 1 | -0/+122 | ||
| | | | | | apmd/apm combo for -L/-H and such. (it gets all the rest of the mess too) ok kettenis | |||||
* | Add a forward declaration of struct cpu_info. | 2020-07-15 | 1 | -1/+3 | ||
| | | | | Fixes build of RAMDISK kernels. | |||||
* | Use SENSOR_ENERGY as the type of energy sensors. | 2020-07-15 | 1 | -2/+2 | ||
| | ||||||
* | Print real/avail mem like we do on all other architectures. | 2020-07-14 | 1 | -2/+7 | ||
| | ||||||
* | Make INTx interupts work. | 2020-07-14 | 1 | -2/+20 | ||
| |