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-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 | Enable the pcf8523 RTC on Hummingboard and CuBox-i. | Mark Kettenis | |
ok patrick@ | |||
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 | 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 | 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 | 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 | 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-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-11 | delete SROP mitigation debug code; it works | Theo de Raadt | |
2016-05-11 | remove hppa64 port, which we never got going beyond broken single users. | Theo de Raadt | |
hppa reverse-stack gives us a valuable test case, but most developers don't have a 2nd one to proceed further with this. ok kettenis | |||
2016-05-11 | fix compile issues in MD sigreturn(2) | Peter Hessler | |
OK deraadt@ | |||
2016-05-11 | fix sigcookie value, address was off due to trapframe nesting | Theo de Raadt | |
notice by miod | |||
2016-05-11 | crank to 6.0-beta | Theo de Raadt | |
2016-05-11 | Add the sigcontext cookie clearing block, which was missed in the previous | Theo de Raadt | |
commit. | |||
2016-05-11 | Another attempt to make the mips64 pmap MP-safe. Now at least | Visa Hankala | |
pmap_enter(9), pmap_remove(9) and pmap_page_protect(9) should be safe to use without the kernel lock. No objection from deraadt@ | |||
2016-05-11 | Move EFI header files to a location where they can be used on other | Mark Kettenis | |
architectures besides amd64. ok deraadt@, krw@ | |||
2016-05-10 | SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookie | Theo de Raadt | |
inside the sigcontext. sigreturn(2) checks syscall entry was from the exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie, and clears it to prevent sigcontext reuse. not yet tested on landisk, sparc, *88k, socppc. ok kettenis | |||
2016-05-10 | The hppa trapframe PC is marked (in the low two bits) to indicate a | Theo de Raadt | |
userland addressspace address. Those bits should be masked to callers of the PROC_PC() macro. ok kettenis | |||
2016-05-10 | Fill Xen hypercall page with int3's like the hypervisor does. | Mike Belopuhov | |
Idea from deraadt@ and mlarkin@. | |||
2016-05-09 | 2nd identical definition of PROC_PC macro is not needed | Theo de Raadt | |
from miod | |||
2016-05-08 | Add DMA support. It uses ADMA2 "Internal DMA" that is compatible with the | Mark Kettenis | |
SD Host Controller standard. ok patrick@ | |||
2016-05-07 | Add chvgpio(4), a driver for the GPIO controllers found on Intel's Cherry View | Mark Kettenis | |
SoC. | |||
2016-05-07 | Flush page (through the direct map) before mapping it into AGP. Fixes | Mark Kettenis | |
artifacts seen in X on some G5 machines. Unfortunately not enough to fix G4 machines. With help from Marcus Glocker. ok mpi@ | |||
2016-05-07 | Use a Thread Information Block in both single and multi-threaded programs. | Philip Guenther | |
This stores errno, the cancelation flags, and related bits for each thread and is allocated by ld.so or libc.a. This is an ABI break from 5.9-stable! Make libpthread dlopen'able by moving the cancelation wrappers into libc and doing locking and fork/errno handling via callbacks that libpthread registers when it first initializes. 'errno' *must* be declared via <errno.h> now! Clean up libpthread's symbol exports like libc. On powerpc, offset the TIB/TCB/TLS data from the register per the ELF spec. Testing by various, particularly sthen@ and patrick@ ok kettenis@ | |||
2016-05-07 | Stop printing the "ioapic0: misconfigured as apic..." messages. Basically | Mark Kettenis | |
all modern machines are "misconfigured". We simply have to configure them and it is pointless to complain. | |||
2016-05-07 | set the high speed enable bit if the timing isn't SDMMC_TIMING_LEGACY | Jonathan Gray | |
ok patrick@ kettenis@ | |||
2016-05-07 | add support for changing the bus width and set the 4-bit mode capability | Jonathan Gray | |
ok patrick@ kettenis@ | |||
2016-05-06 | Reset the bus width back to 1-bit when resetting the host. Makes imxesdhc(4) | Mark Kettenis | |
work on the cubox-i, whereu-boot leaves the controller in 4-bit mode. | |||
2016-05-06 | Fix efiboot not to hang with a disk whose block size < 512. | YASUOKA Masahiko | |
Report and diff from Vegar Linge Haaland ok krw |