Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-05-23 | remove the function pointer from mbufs. this memory is shared with data | Ted Unangst | |
via unions, and we don't want to make it easy to control the target. instead an integer index into an array of acceptable functions is used. drivers using custom functions must register them to receive an index. ok deraadt | |||
2016-05-23 | Print the name from the corresponding FDT node to make identifying simplebus(4) | Mark Kettenis | |
instances easier. ok jsg@, patrick@ | |||
2016-05-23 | Fix shutdown sequence. | Marcus Glocker | |
2016-05-23 | Some of our fan scaling calculations with the muK temperature unit above | Marcus Glocker | |
59 degC require temporary values larger than 32bit signed. Therefore bump those involved variables to int64_t and replace imin/imax with ulmin/ulmax to get proper results. | |||
2016-05-23 | build armv7 efiboot | Jonathan Gray | |
2016-05-23 | install into mdec | Jonathan Gray | |
2016-05-23 | Change openprom into a pseudo-device, because not all arm platforms | Theo de Raadt | |
will have it. This is a bit of a hack. Maybe it should attach off mainbus as a proper fake device, but that would have more tendrils.. checked by jsg | |||
2016-05-21 | Implement openprom(4) for armv7. | Mark Kettenis | |
ok deraadt@ | |||
2016-05-21 | Dynamically attach imxiic(4) and use the FDT to enumerate devices on i2c | Mark Kettenis | |
busses. Users of the CuBox-i and Hummingboard now need to boot with an FDT to see the RTC. ok jsg@, patrick@ | |||
2016-05-21 | Make the TX path of cnmac(4) MP-safe and add some ifq oactive logic. | Visa Hankala | |
Feedback from dlg@, ok mpi@ | |||
2016-05-21 | panic() if an incoming packet does not consist of one buffer. This | Visa Hankala | |
makes the number of buffers visible. | |||
2016-05-21 | Copy dtb files to miniroots and install disk. Increase the ramdisk size | Jonathan Gray | |
and force long filenames on the first mount of fat 16 filesystems so this works. U-boot scripts have not yet been changed to load these files. ok kettenis@ | |||
2016-05-21 | hand-massage sendsig() and sys_sigreturn() to be much more similar | Theo de Raadt | |
2016-05-21 | hand-massage sendsig() and sys_sigreturn() to be much more similar | Theo de Raadt | |
2016-05-21 | hand-massage sendsig() and sys_sigreturn() to be much more similar. | Theo de Raadt | |
ok guenther kettenis | |||
2016-05-20 | Add compatible string to board id mappings for almost all of the other | Jonathan Gray | |
board ids we match on. ok patrick@ | |||
2016-05-20 | Add a workaround for software reset described in the TI docs where we | Jonathan Gray | |
have to poll for software reset bits to be set after writing before polling for them to clear. This seems to resolve problems with ommmc sometimes not attaching properly with recent u-boot versions. Adapted from FreeBSD svn rev 275950. ok kettenis@ | |||
2016-05-20 | Ooops, fix the OpenBSD tag. | Marcus Glocker | |
2016-05-20 | Hook up smu(4) to the thermal management framework. | Marcus Glocker | |
ok kettenis | |||
2016-05-20 | Add a thermal management framework for macppc which controls the fan speed | Marcus Glocker | |
based on the temperature sensor values. A driver can register it fans or temperature sensors there. Ported from FreeBSD. ok deraadt kettenis | |||
2016-05-20 | Change the identification string to "nxp,pcf8523" as this is what is stored | Mark Kettenis | |
in the FDT. | |||
2016-05-20 | Attempt to allocate 32MB at the lowest address that is aligned on a 256MB | Mark Kettenis | |
border. Our kernel currently relies on being loaded at the start of physical memory. Hopefully this algorithm achieves that. In the future I hope to make it possible to load the kernel at any 256MB aligned border such that the algorithm works even if the lowest 32MB are not available. | |||
2016-05-20 | Please int3 guards around unused debug splx versions so we can stop | Theo de Raadt | |
paying attention to those specific aligns. ok mlarkin | |||
2016-05-20 | Set "openbsd.bootduid" property of "/chosen" to the DUID of the boot disk. | Mark Kettenis | |
ok patrick@, jsg@ | |||
2016-05-20 | For FDT-based boots, look for a "openbsd,bootduid" property of the /chosen | Mark Kettenis | |
node. If it is present, copy its value into the bootduid variable for DUID-based boot disk selection. ok patrick@, jsg@ | |||
2016-05-20 | split the ACPI resume trampoline into code and data pages, and protect | Mike Larkin | |
with proper permissions. Same treatment was done on amd64 last year, i386 is catching up. This diff has been in snaps for a few days, no regressions reported. ok deraadt@ | |||
2016-05-20 | add init_mainbus() hooks for the other armv7 platforms | Jonathan Gray | |
2016-05-19 | Make fdt_node_add_property() behave like fdt_node_set_property() if the | Mark Kettenis | |
property already exists. | |||
2016-05-19 | Fix the previous commit which made work queue entries get released too | Visa Hankala | |
early. octeon_eth_recv() will release them in case of packet drop. | |||
2016-05-19 | Disable dynamic short buffering to make all RX data land on buffers | Visa Hankala | |
taken from the packet data pool. | |||
2016-05-19 | Remove the PHYTEC phyFLEX support code, patrick says he no longer | Jonathan Gray | |
has the hardware for the eval kit. ok patrick@ | |||
2016-05-19 | Match compatible strings for utilite which identifies as "cm-fx6" in | Jonathan Gray | |
fdt/u-boot, and nitrogen6x which shares a board id with sabre lite but has a different compatible string. ok patrick@ kettenis@ | |||
2016-05-19 | Use OF_is_compatible(9). Simplifies the code and should make pci within | Mark Kettenis | |
a guest domain on a Fujitsu M10 work. | |||
2016-05-19 | Implement OF_is_compatible(9). | Mark Kettenis | |
2016-05-18 | Introduce a per-platform init_mainbus() hook that can be used to attach | Mark Kettenis | |
platform-specific devices to mainbus before we start walking the FDT. ok patrick@ | |||
2016-05-18 | Save and restore 'gbr' register when enter/leaving the kernel, and use | Philip Guenther | |
it for the TCB pointer. Eliminate __cerror. "looks good" kettenis@, testing and ok deraadt@ | |||
2016-05-18 | Remove unused probe function. | Mark Kettenis | |
ok patrick@ | |||
2016-05-18 | tabs vs spaces | Mike Larkin | |
2016-05-18 | add a check for the acpi trampoline data page to match the code check | Mike Larkin | |
already there. | |||
2016-05-18 | Split i386 mp hatch trampoline into code and data pages, and protect each | Mike Larkin | |
with proper W^X policy. The same thing was done for amd64 late last year, catching i386 up now. Diff has been in snaps for a few days with no reported fallout. ok deraadt@ | |||
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 | |