summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2020-05-25Adjust fwrandom() to return 0 for sucess, -1 for failureTheo de Raadt
2020-05-25add wsmoused support to efifbJonathan Gray
from John Carmack
2020-05-25Add a comment explaining the interaction between kcovclose() andanton
kcov_exit().
2020-05-25Use <dev/clock_subr.h> in mcclock(4).Visa Hankala
Tested on Yeeloong. Looks good to miod@
2020-05-25Use <dev/clock_subr.h> in mfokclock(4).Visa Hankala
Looks good to miod@
2020-05-25Pass boothowto from the bootloader to the kernel on octeon.Visa Hankala
OK deraadt@
2020-05-25Mix board information into the entropy pool.Visa Hankala
The data are static but they introduce differences between systems. OK deraadt@
2020-05-25regenPatrick Wildt
2020-05-25ThingM blink(1)Patrick Wildt
2009-12-25By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2009-11-26By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2020-05-25change wsdisplay attribute type from long to uint32_tJonathan Gray
miod explained it was initially a long as it was thought drivers may need to allocate storage but in practice they don't need more than 32 bits for an attribute. suggested and reviewed by miod@
2020-05-25rename wsdisplay alloc_attr() to pack_attr()Jonathan Gray
Suggested by John Carmack. miod agrees a rename would make sense and explained it was initially thought drivers may need to allocate storage but in practice they don't need more than 32 bits for an attribute. ok mpi@
2020-05-25Kill unused cdev_pc_init().Martin Pieuchot
ok kettenis@, visa@
2020-05-25Unfortunately, breaks UDP NFS under volume, when used on the src machine.Theo de Raadt
backout until resolved.
2020-05-25Add support for write operations to diskstrategy().Theo de Raadt
2020-05-25The dependencies were insufficient.Theo de Raadt
2020-05-23Increase chances of getting a successful PCIe link on the i.MX8MM.Patrick Wildt
Hold the reset GPIO for 100ms instead of 20ms, and also directly continue setting up the link instead of waiting for another 20ms. This brings us in line with what Linux is doing and removes the 10% risk of em(4) not showing up on my HummingBoard Pulse. ok kettenis@
2020-05-23Look at the openbsd,boothowto property and bring the bootarg parsingMark Kettenis
code in line with arm64. ok deraadt@
2020-05-23Add a little bit of const-ness.Mark Kettenis
2020-05-23Define PTE bits.Mark Kettenis
2020-05-23Clean up the code that implements the OPAL API.Mark Kettenis
2020-05-23Implement kqueue(2) support.Martin Pieuchot
inputs & ok kettenis@
2020-05-23Implement kqfilter matching the corresponding poll routine.Martin Pieuchot
ok kettenis@
2020-05-23Fix typo in a comment that originated in wpi(4) and has spread elsewhere.Stefan Sperling
2020-05-23remove ifdef'd out tc fb cnattach bitsJonathan Gray
miod@ agrees this can go
2020-05-23Define PPB_IO_32BIT. Should have been part of the commit to mvkpcie(4)Patrick Wildt
that improved bridge emulation, but unfortunately was forgotten. From kettenis@
2020-05-23Use a distinct trap code with retguard on mips64.Visa Hankala
This lets the kernel detect retguard traps and send SIGABRT instead of SIGEMT. SIGEMT does not indicate correctly the nature of the error (stack overflow, violation of control flow). It can confuse the user to restart the program without further investigation. Prompted by and OK deraadt@ OK mortimer@
2020-05-23remove more cfb and sfb bitsJonathan Gray
2020-05-23remove cfb and sfb alpha tc fb driversJonathan Gray
These were removed from files.alpha 1.105 in 2017 and the rcons bits they reference were removed in 2006. removal suggested by miod@
2020-05-23Prevent km_alloc() from returning garbage if pagelist is empty.jan
ok bluhm@, visa@
2020-05-23Add RB_GOODRANDOM passed from bootloader to kernel in boothowto. IndicatesTheo de Raadt
confidence 'a great seed' was loaded, otherwise the kernel should assume at best a 'ok seed' or 'weak seed'. This mechanism is being kept vague and simple intentionally. Existing bootloaders won't set it, of course. discussed with kettenis
2020-05-22Improve emulation of bridge config space.Mark Kettenis
ok patrick@
2020-05-22Improve resetting PCIe devices by making use of the reset-gpios property,Patrick Wildt
which is supposed to be PERST. Before issuing PERST, we must disable link training. This makes my PCIe device come up reliably after warm reboots. Promped by, with feedback from and ok kettenis@
2020-05-22Enable link training just before triggering the actual training.Mark Kettenis
Inspired by a proposed fix for Linux mainline.
2020-05-22Fill complete trap frame.Mark Kettenis
2020-05-22Panic on unhandled traps (which for now is all of them).Mark Kettenis
2020-05-22Reboot (unconditionally for now).Mark Kettenis
2020-05-22regenPatrick Wildt
2020-05-22Add Atheros QCA986x/988x PCI ID.Patrick Wildt
2020-05-22Add some very simple trap handling.Mark Kettenis
2020-05-22Enable option FFS2 on RAMDISK; ok aoyama@ deraadt@Otto Moerbeek
2020-05-22Add support for the Marvell Xenon SDHC. This is used on the ArmadaPatrick Wildt
3700 and 8040 SoCs and allows me to use an SD card as storage on the Turris Mox. It also should make eMMC/SD show up on the MACCHIATObin. ok kettenis@
2020-05-22Add pre/post hooks for bus clock changes to sdhc(4). These will bePatrick Wildt
used by sdhc(4) attachment drivers to do additional MD initialization. ok kettenis@
2020-05-22Use the parsed address and interrupt information fromMark Kettenis
struct acpi_attach_args. tpm(4) tested by kn@ ok jmatthew@
2020-05-22Attach mvpinctrl(4) to the Armada 3700's NB as well. As a consequencePatrick Wildt
mvclock(4) cannot attach to the NB's xtal clock anymore. Instead, have mvpinctrl(4) attach the xtal clock. With this we can use the SD card detect pins on the Turris Mox. ok kettenis@
2020-05-22Always defer attaching the mvneta(4) interfaces. Otherwise thisPatrick Wildt
leads to unsorted interface lists in ifconfig and the installer, depending on hardware configuration. ok kettenis@
2020-05-22And add the node to the struct. Sometimes I maybe shouldn't try splitingPatrick Wildt
up diffs before committing.
2020-05-22Actually store the node in the softc. Missed chunk from the previousPatrick Wildt
commit.
2020-05-22Some sdhc(4) on FDT use a card-detect GPIO or have a non-removable flag.Patrick Wildt
If those properties exist, use those to detect a card. ok kettenis@