summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2017-08-30Use endpoint 5 for chaoskey, it should have been 5 from the start, thisAaron Bieber
puts us in line with the linux driver. Also add a DPRINTF for endpoints. "i'd say go for it" jasper@
2017-08-30Decode pin mux configuration correctly in gpio(4) support code such thatMark Kettenis
we knock out the correct pins. Sptted by Artturi Alm.
2017-08-30Prefer copyin32() to copyin() when fetching instructionsVisa Hankala
from user space. This improves performance slightly. Discussed with miod@
2017-08-30Report the rebuild state properly, so that in the case of a rebuildPatrick Wildt
the sensor does not show the drive state as "unknown". ok phessler@
2017-08-29add _MEASURE_RATE bits from uonerng(4)Jasper Lievisse Adriaanse
tested by abieber@
2017-08-29rename sc_pipe to sc_outpipe to indicate it's direction as there'll come anJasper Lievisse Adriaanse
sc_inpipe too
2017-08-29In previous change, misconfigured APICs were not being repaired.Theo de Raadt
noticed by Andrew Daugherity ok kettenis
2017-08-29remove uneeded includes after recent fdt header changesJonathan Gray
2017-08-29"urng" is needed on the file lines... or these end up in all kernels,Theo de Raadt
including ramdisks without usb support...
2017-08-29Remove old deactivated pledge path code. A replacement mechanism isTheo de Raadt
being brewed. ok beck
2017-08-28Fix a memory leak in an error path. Coverity CID 1453042.Jonathan Gray
ok visa@
2017-08-28swap ualea for urngJasper Lievisse Adriaanse
2017-08-28swap ualea for urngJasper Lievisse Adriaanse
2017-08-28Add urng(4) which supports various USB RNG devices. Instead of adding oneJasper Lievisse Adriaanse
driver per device, start bundling them into a single driver. urng(4) supports the device currently supported by ualea(4) and adds support for the Altusmetrum ChaosKey 1.0, by abieber@ This was tested by abieber@ with a ChaosKey and Sean Levy with an Alea II ok abieber@ deraadt@ naddy@
2017-08-28tyop and whitespace nitJasper Lievisse Adriaanse
2017-08-28Add rkpmic(4), a driver for the RK808 Power Management IC. For now, thisMark Kettenis
driver only provides support for the RTC embedded on this device. Support for the voltage regulators will come later. With this diff the Firefly-RK3399 gains a proper clock (if you connect a battery to the board).
2017-08-28regenStefan Sperling
2017-08-28Add PCI device IDs for audio and USB OTG devices found on Atom z8300 SoC.Stefan Sperling
ok jsg@ kettenis@
2017-08-28Fix clang warnings; ok guenther@ deraadt@Otto Moerbeek
(guenther says: code could need a rewrite using writev(2) though)
2017-08-27Add rkiic(4) a driver for the i2c controllers found on the Rockchip RK3399.Mark Kettenis
2017-08-27Add mvpxa(4), a driver for the SDHC compliant controller onPatrick Wildt
the ARMADA 38x series (SolidRun ClearFog, Turris Omnia). ok kettenis@
2017-08-27Enable generic sdhc(4) on FDT attachment driver.Patrick Wildt
ok kettenis@
2017-08-27arm64 performance: use cache zeroing function in pmap_zero_page()Dale Rahn
This improves page zeroing (a rather common occurance) by over 8x. ok kettenis@, phessler@, tom@
2017-08-27Add glass console support for arm64. This uses the "stdout-path" propertyMark Kettenis
of the /chosen node in the device tree to decide whether the framebuffer should be used as the console device. Most, if not all, machines will have that set to use a serial console and there is no easy way yet to change that. ok jsg@
2017-08-27Make it possible for iwm_stop() to sleep by always running it inStefan Sperling
a process context. In interrupt context, schedule the init task instead of calling iwm_stop() directly. ok procter@
2017-08-27Clear second return register on exec.Mark Kettenis
ok guenther@
2017-08-27Add RK3399 i2c-related clocks and fix a typo.Mark Kettenis
2017-08-27always use %s to print a non-constant string; ok deraadt@ guenther@Otto Moerbeek
2017-08-27Rely on the hardware to clear hazards on octeon.Visa Hankala
2017-08-27Revisit 2q queue sizes. Limit the hot queue to 1/20th the cache size upBob Beck
to a max of 4096 pages. Limit the warm and cold queues to half the cache. This allows us to more effectively notice re-interest in buffers instead of losing it in a large hot queue. Discussed and shown with claudio@ and benno@ at tk217
2017-08-26bug fixUlf Brosziewski
2017-08-26Mark decimal constants as unsigned to avoid gcc warning.Mark Kettenis
2017-08-26Use copyin32() instead of a direct memory load when fetching a branchVisa Hankala
instruction for branch emulation. This ensures the userspace memory access is properly guarded and that TLB faults are handled. In order not to complicate the interface of MipsEmulateBranch(), each caller now has to provide the branch instruction for the function. Feedback from miod@
2017-08-26Use macros for Config1 bits.Visa Hankala
2017-08-26Add supporting for adjusting the CPU core clock frequency on RK3399.Mark Kettenis
Use this to bump up the clock of the "LITTLE" cluster on the Firefly-RK3399 to 1.2 GHz to make the board a bit more usable.
2017-08-26regenAaron Bieber
2017-08-26Add device ID for Altusmetrum ChaosKey 1.0Aaron Bieber
OK jasper@
2017-08-25Add missing OpenBSD CVS tagPatrick Wildt
2017-08-25Reduce the delay before scrolling starts.Ulf Brosziewski
2017-08-25Add mvneta(4), a driver for the Ethernet controller on the ArmadaPatrick Wildt
38x series (SoliodRun ClearFog, Turris Omnia) and the 37xx series (ESPRESSObin). Also add mvmdio(4), which is used to talk to the MDIO bus. ok kettenis@
2017-08-25Add mvmpic(4), a driver for the interrupt controller that sits betweenPatrick Wildt
the ARM Generic Interrupt Controller and the Ethernet controller on the Armada 388 (SolidRun ClearFog, Turris Omnia). ok kettenis@
2017-08-25Add mvpinctrl(4), a driver to configure pins on Marvell SoCs. For now,Patrick Wildt
only the Armada 388 (SolidRun ClearFog, Turris Omnia) is supported. ok kettenis@
2017-08-25Query the lower coordinate limits.Ulf Brosziewski
2017-08-25If SMAP is present, clear PSL_AC on kernel entry and interrupt so thatPhilip Guenther
only the code in copy{in,out}* that need it run with it set. Panic if it's set on entry to trap() or syscall(). Prompted by Maxime Villard's NetBSD work. ok kettenis@ mlarkin@ deraadt@
2017-08-25Fix pmap_extract() to return false when there is a page table pageVisa Hankala
but no mapping for the input user virtual address.
2017-08-25unbreak tree: move comment out of #define. sorryTheo Buehler
2017-08-25Add rktemp(4), a driver for the temperature sensors on the Rockchip RK3399Mark Kettenis
SoC.
2017-08-25Add comments explaining why the out-of-bounds access in CID 1453077 can'tTheo Buehler
happen. ok mestre, stsp
2017-08-25vmm: fix some wrong debug printf format specifiersMike Larkin
diff provided by Martijn van Duren, thanks
2017-08-24Fix a memory leak in an error path. Coverity CID 1453101.Jonathan Gray