Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-05-18 | Accept cnmac as a valid rootdev from uboot on octeon. | Visa Hankala | |
Example: rootdev=/dev/cnmac0 Patch from Kim Lidstrom, thanks! | |||
2016-05-18 | Remove unnecessary cast of buflen to u_int in sockargs(). This was | Todd C. Miller | |
missed when buflen was promoted to size_t. OK tedu@ | |||
2016-05-17 | Allow sendsyslog(2) with LOG_CONS even when /dev/console has not | Alexander Bluhm | |
been opened during init(8). Only log with cnwrite() if cn_devvp exists, otherwise use cnputc() as fallback. While there move extern declarations to dev/cons.h. input and OK deraadt@ | |||
2016-05-17 | Backout the previous fix for the sendsyslog(2) with LOG_CONS solution. | Alexander Bluhm | |
Permanently holding /dev/console open in the kernel works only until init(8) calls revoke(2). After that the console device vnode cannot be used anymore. It still resulted in a hanging init(8) if it tried to syslog(3) something. With the backout also dmesg -s works again. | |||
2016-05-17 | Fix a few more warnings such that this compiles again. | Mark Kettenis | |
2016-05-17 | Enable -Wall -Werror. Fix warnings uncovered by this. | Mark Kettenis | |
Set board IDs for i.IMX6 boards based on the "compatible" property of the root node for now to ease the transition to full FDT support in the kernel. | |||
2016-05-17 | Add support for passing an FDT. The bootloader will update the "bootargs" | Mark Kettenis | |
property of the "/chosen" node to pass arguments to the kernel. | |||
2016-05-17 | Change the random event buffer from a queue to an endless ring. This way | Ted Unangst | |
we don't drop any events when the queue is full. They are instead mixed into previous events. The mixing function selected is addition instead of xor to reduce the possibility that new values effectively erase existing ones. Convert some types to u_int to ensure defined overflow. ok deraadt djm | |||
2016-05-17 | remove VOP_CLOSE and vput that will be handled in the epilogue. | Ted Unangst | |
part of a diff by bytevolcano. ok jung | |||
2016-05-17 | Completely skip link-layer address resolution and NUD on gif(4). | Martin Pieuchot | |
Tested by naddy@ | |||
2016-05-17 | Plug some gaping holes in the v4l2 ioctl interfaces that would leak kernel | Mark Kettenis | |
memory to a local user. Found by Patrick Keshisian. Fix a potential integer overflow issue in related code while I'm there. ok mglocker@, deraadt@ | |||
2016-05-17 | Document NOLOCK, from Michal Mazurek. | Martin Pieuchot | |
2016-05-17 | Enable the pcf8523 RTC on Hummingboard and CuBox-i. | Mark Kettenis | |
ok patrick@ | |||
2016-05-16 | Attempt to clear the OS flag when we attach. | Mark Kettenis | |
2016-05-16 | Add pcfrtc(4). | Mark Kettenis | |
2016-05-16 | Make this actually work. This makes the following changes: | Mark Kettenis | |
- Move most of the bus setup stuff to imxiic_i2c_acquire_bus() - Move the teardown to imxiic_i2c_release_bus() - Always clear the IIF flag - Allow cmd and data for write operations. Some i2c operations are still rejected, but this works well enough to use pcfrtc(4). ok patrick@ | |||
2016-05-16 | Use OF_is_compatible(9) here. | Mark Kettenis | |
ok patrick@ | |||
2016-05-16 | Introduce OF_is_compatible(9), a convenience function to check the "compatible" | Mark Kettenis | |
property of an OFW/FDT node. ok deraadt@, pactrick@ | |||
2016-05-16 | POSTREAD needs to flush the D-cache since speculative loads might (and do) | Mark Kettenis | |
bring back cache lines after a PREREAD. Eliminates random data corruption on my CuBox-i4Pro. ok jsg@ | |||
2016-05-16 | Driver for the NXP PCF8523 Real Time Clock. | Mark Kettenis | |
2016-05-16 | Implement membar(9) for armv5. As there are no barrier instructions in | Jonathan Gray | |
armv5 this is just a "memory" clobber hint to the compiler. ok kettenis@ | |||
2016-05-16 | fix perms (previous cleanup commit introduced part of an unrelated change) | Mike Larkin | |
2016-05-16 | enable reception and transmission of jumbo frames. | David Gwynne | |
xge can go up to 9622 bytes in a frame. support for rx ring moderation is coming. from marisa emerson | |||
2016-05-16 | spaces -> tabs | Mike Larkin | |
2016-05-16 | default to int3 padding if we ever introduce ENTRY/NENTRY pads here | Mike Larkin | |
ok deraadt@ | |||
2016-05-16 | place .globals further up, to reduce confusion | Theo de Raadt | |
2016-05-16 | Pad end of code in the MP trampoline with int3 instead of 0x0 as it is | Mike Larkin | |
certain we don't want an intentional sled here either. ok deraadt@ | |||
2016-05-16 | Use int3 padding instead of nop in the ACPI resume trampoline, as it is | Mike Larkin | |
certain no intentional nop sled is required here. ok deraadt@ | |||
2016-05-15 | Implement TCB_{GET,SET} using PAL_{rd,wr}unique. | Philip Guenther | |
Inline asm from NetBSD testing deraadt@ | |||
2016-05-15 | Give the 32-bit and 64-bit EFI boatloaders different names such that we can | Mark Kettenis | |
tell which one we're using. ok deraadt@, krw@ | |||
2016-05-15 | Sync with the ADMA2 implementation in imxesdhc(4): | Mark Kettenis | |
Map the ADMA2 descriptor table use BUS_DMA_COHERENT and add a missing bus_dmamap_sync(9). Doesn't really fix anything, but adding the missing sync makes the code more correct. Using BUS_DMA_COHERENT avoids some cache flushes on architectures that implement it. | |||
2016-05-15 | Map the ADMA2 descriptor table use BUS_DMA_COHERENT and add a missing | Mark Kettenis | |
bus_dmamap_sync(9). Doesn't really fix anything, but adding the missing sync makes the code more correct. Using BUS_DMA_COHERENT avoids some cache flushes. | |||
2016-05-15 | remove chroot(2) from allowed syscalls under pledge(2). | Sebastien Marie | |
please note that chrooted process are still possible with pledge(2), but only if the chroot(2) is done *before* calling pledge(2). Once pledged, no more chroot(2) call are permitted. | |||
2016-05-14 | Since GetTime() doesn't work on U-Boot, use timer events to simulate a clock | Mark Kettenis | |
that ticks at every second. This makes the boot prompt timeout work. | |||
2016-05-14 | Move rpm read to a own function analog pwm read. No functional change. | Marcus Glocker | |
ok kettenis | |||
2016-05-14 | Fix typo; M_NOWAIT should be EX_NOWAIT. Fortunately this was harmless. | Mark Kettenis | |
2016-05-14 | Add support for pwm fans. | Marcus Glocker | |
ok kettenis | |||
2016-05-14 | Handle boot options, and pass the boot device to the kernel. The boot device | Mark Kettenis | |
is currently hardcoded to be sd0. Still need to figure out how we will do proper boot device selection when we start using the FDT. | |||
2016-05-14 | Make getsecs() return 0 if EFI doesn't tell us the time. | Mark Kettenis | |
2016-05-14 | Tell the kernel where its symbols are. | Mark Kettenis | |
2016-05-14 | Load the kernel at the address pre-allocated by the EFI bootloader. | Mark Kettenis | |
2016-05-14 | Need some startup assembly code as well. | Mark Kettenis | |
2016-05-14 | Initial stab at an EFI bootloader for armv7. Bits and pieces from FreeBSD | Mark Kettenis | |
and our amd64 EFI bootloader. The current code works on a 2GB CuBox-i, but probably not on anything else. It needs a u-boot with EFI loader support. | |||
2016-05-14 | Return correct rpm values for all fans. | Marcus Glocker | |
ok kettenis | |||
2016-05-13 | Unbreak build when AUDIO_DEBUG is defined: fix printf(9) format | Alexandre Ratchov | |
mistakes. | |||
2016-05-13 | contrary to documentation and other implementations, kevent was preventing | Ted Unangst | |
a process from watching other users' procs. but there are no secrets here. remove that check. at the same time, note that as far as pledge is concerned, while most of kevent is a "stdio" type operation, process monitoring belongs to the "proc" family, so add an additional check here. ok deraadt millert | |||
2016-05-12 | If writing the control register fails, bail out without attaching any sensors. | Mark Kettenis | |
From Marcus Glocker, who has an Apple G5 machine where an advertised sensor isn't there, and plodding on creates annoying dmesg spam. | |||
2016-05-12 | Fix "comma at end of enumerator list" warnings | David Coppa | |
Sure stsp@ | |||
2016-05-12 | Remove bogus rw_exit() call. | Mark Kettenis | |
2016-05-11 | delete SROP mitigation debug code; it works | Theo de Raadt | |