summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2018-08-03Also attach as a regulator if the FDT provides the fixed voltage value.Mark Kettenis
Restore fixed voltage at reboot time to prevent hangs after a warm reset if DVFS is active.
2018-08-03Implement single-stepping. Based on an earlier diff from drahn@.Mark Kettenis
Disable userland debug communication access while there. ok patrick@
2018-08-03Implement DVFS support.Mark Kettenis
ok patrick@
2018-08-03wrap long linesTheo de Raadt
2018-08-03Enable mue(4).Kevin Lo
Tested on Orange Pi Plus 2E (armv7) and Orange Pi PC 2 (arm64). ok jsg@
2018-08-03revert 1.133 and part of 1.131Peter Hessler
the stack doesn't always fill in the paramaters correctly reported by many
2018-08-03Account when the next nd6_timer_to is scheduled in nd6_timer()Florian Obser
otherwise nd6_llinfo_settimer() might wrongly assume that a timeout is already scheduled earlier and not schedule one itself. This in turn lead to the neighbor cache no longer updating because neighbor solicitations were not send. Observed by many. OK kn
2018-08-03- use memset() for for clearing hashtblKevin Lo
- the switch case for IFM_100_TX was the same code as for IFM_1000_T so it can be rolled into one. From Michael W. Bombardieri
2018-08-03ni_pledge flags are a uint64_t not an int - don't initialize with an int.Bob Beck
2018-08-03Add mue(4), a driver for Microchip LAN75xx/LAN78xx 10/100/1000 USB EthernetKevin Lo
adapters. "go ahead commit it" deraadt@
2018-08-02Grammar fix in comment.rob
ok deraadt@
2018-08-02Enable ssdfb(4) at I2C.Patrick Wildt
2018-08-02Add I2C attachment code to ssdfb(4). The difference between the I2CPatrick Wildt
and SPI bus is simply how to let the chip know it's a command or data transfer. Otherwise we push the very same bits.
2018-08-02Add delay when increasing the voltage of a regulator that has aMark Kettenis
"regulator-ramp-delay" property to guerantee that the target voltage has been reached when regulator_set_voltage(9) returns. ok patrick@
2018-08-02Fix panic when we attempt to mess with "." but have a flags mismatchBob Beck
so unveil_check_final returns an error - in this case we can't just VOP_UNLOCK the parent we have to know we are dealing with "." found by anton@ - thanks
2018-08-01On AMD CPUs, If the LFENCE serialization MSR bit is already set, thenBryan Steele
we don't need to uncondtionally set it. Worksaround a suspected bug in newer Linux KVM, which may trigger a #GP fault on writes to this MSR. ok mlarkin@
2018-08-01Fix various RK3399 clocks and add support for getting the clock frequencyMark Kettenis
of the clocks that we can set. Assign clock rates (and parents) based on the "assigned-clocks" device tree property, but only on RK3399 for now as the code for the other Rockchip SoCs isn't quite ready yet. Last but not least, fixup a mistake on the firmware for the Theobroma Systems RK3399-Q7 module such that the "big" cluster uses BPLL as intended.
2018-08-01Implement a partial update mechanism. Since the SPI-connected displayPatrick Wildt
cannot read the framebuffer memory, we have to push the framebuffer to the display. ssdfb(4) will now be able to update only a certain region region of the framebuffer as soon as there is infrastructure to trigger it.
2018-07-31Display color depth alongside resolution when attaching simplefb(4).Frederic Cambus
OK kettenis@, deraadt@
2018-07-31Stop reversing bytes read from the framebuffer. That was added sincePatrick Wildt
the 8x16 font showed horizontally flipped characters, but as it turns out the issue is that with 8-bit wide fonts we use optimized rasops code that apparently writes out the character with reversed bitorder.
2018-07-31Implement setting the voltage of the regulators.Mark Kettenis
2018-07-31Correctly set the dividers for the clock of the "big" cores.Mark Kettenis
2018-07-31Fix setting the voltage; the code was using the wrong variable as a step size.Mark Kettenis
Includes some cosmetic fixes as well.
2018-07-30If we keep the BIOS framebuffer, stick to the desired framebuffer sizeMark Kettenis
instead of using the actual framebuffer size. This fixes a problem seen on various Apple machines where the BIOS framebuffer is bigger than the actual display. ok jcs@, mpi@
2018-07-30regenMartin Pieuchot
2018-07-30Unlock sendmsg(2), sendto(2), recvfrom(2) and recvmsg(2).Martin Pieuchot
ok kettenis@, sthen@, deraadt@, visa@, krw@
2018-07-30Fix a NULL-pointer dereference when calling open() on a cloned device with writeanton
permissions and the flags include O_TRUNC|O_SHLOCK. ok deraadt@
2018-07-30define WSMOUSE_TYPE_TOUCHPAD so non-elantech drivers can stopJoshua Stein
claiming to be elantech devices
2018-07-30syncTheo de Raadt
2018-07-30rename 2nd argument of unveil from vague "flags" to "permissions";Theo de Raadt
man page change will follow
2018-07-30Use the MI interrupt enable/distable API instead of the MD one on i386 andMark Kettenis
remove the MD API. ok deraadt@
2018-07-30Use FNONBLOCK instead of SS_NBIO to check/indicate that the I/O modeMartin Pieuchot
for sockets is non-blocking. This allows us to G/C SS_NBIO. Having to keep the two flags in sync in a mp-safe way is complicated. This change introduce a behavior change in sosplice(), it can now always block. However this should not matter much due to the socket lock being taken beforhand. ok bluhm@, benno@, visa@
2018-07-30Inline trivial uaudio_id_name(). From Michael Bombardieri, thanks.Alexandre Ratchov
"looks good" kn@
2018-07-30Don't ask drivers to join a wifi network before an AP has been chosen.Stefan Sperling
Should fix a panic with bwfm(4) reported by mlarkin@ ok phessler@
2018-07-30Add support for the GIC v3 ITS and use it to implement MSI support forMark Kettenis
rkpcie(4). ok patrick@
2018-07-30When converting the bios memory map to memory clusters, clip segments atJonathan Matthew
the 512GB mark as the direct map cannot address memory past that point. ok kettenis@ (quite a while ago)
2018-07-30Add ssdfb(4), a driver for the SSD1309 controller that drives anPatrick Wildt
128x64 OLED display. With the typical 8x16 font we get 4 rows with 16 characters each on it. The controller can be driven using I2C, 3-wire and 4-wire SPI. This commit includes support for the 4-wire protocol. ok deraadt@
2018-07-30apply the loop settle delay to handling of loop up and loop reset events,Jonathan Matthew
so hotplug can be more reliable too.
2018-07-30extend the loop settle time to 200ms, and adjust the check so that we'llJonathan Matthew
actually break out once the loop has been up for that long.
2018-07-30KNFTheo de Raadt
2018-07-30Allow for us to do a CREATE style lookup on a read only filesystemBob Beck
if and only if we are unveil doing it. Fixes an issue noticed by kn@ where unveil would fail with EROFS on a read only filesystem
2018-07-30activate unveil for testingTheo de Raadt
ok kibbles and bits
2018-07-29revert accidentally changed prototypeBob Beck
2018-07-29Don't exceed UNVEIL_MAX_VNODES with a long path now that we saveBob Beck
the traversed vnodes - noticed and fixed by semarie@
2018-07-29Make sure we don't count looking at .. as a componentBob Beck
as a descending match. Noticed by Stuart Cassoff <3d0g@bell.net>
2018-07-28delete unused ps_uvactive, since active checks are done against the ptrTheo de Raadt
from semarie
2018-07-28Add function to convert a PCI device "tag" into a PCIe requester ID.Mark Kettenis
ok patrick@, mlarkin@, deraadt@
2018-07-28Make use of PCI_FLAGS_MSI_ENABLED such that drivers for hardware with brokenMark Kettenis
MSI support can selectively disable the use of MSI.
2018-07-27Use the MI interrupt enable/distable API instead of the MD one on amd64 andMark Kettenis
remove the MD API. ok guenther@, deraadt@, mpi@
2018-07-27Add SIOCSIFMTU to the wroute pledge.bket
This is required by, for example, slaacd(8) (which has been pledged) to set MTU on an interface. OK florian@, deraadt@