OpenBSD cvs log

created 2019-02-03T05:29:23Z
begin 2019-01-31T00:00:00Z
end 2019-02-01T00:00:00Z
path src/sys
commits 8

date 2019-01-31T02:00:27Z
author dlg
files src/sys/net/if_mpe.c log diff annotate
message use "sc" as the name of the softc variable in the ioctl code too.

while there, assign int when declaring the sc variable so the ioctl
paths do less.

date 2019-01-31T05:00:18Z
author cheloha
files src/sys/kern/kern_tc.c log diff annotate
message tc_setclock: Don't rewind the system uptime during resume/unhibernate.

When we come back from suspend/hibernate the BIOS/firmware/whatever can
hand us *any* TOD, so we need to check that the given TOD doesn't set our
boot offset backwards, breaking the monotonicity of e.g. CLOCK_MONOTONIC.
This is trivial to do from the BIOS on most PCs before unhibernating.
There might be other ways it can happen, accidentally or otherwise.

This is a bit messy but it can be made prettier later with a "bintimecmp"
macro or something like that.

Problem confirmed by jmatthew@.

"you are very likely right" deraadt@

date 2019-01-31T05:33:51Z
author tedu
files src/sys/sys/sysctl.h log diff annotate
message remove remnant of jackport

date 2019-01-31T11:38:52Z
author stsp
files src/sys/dev/ic/athn.c log diff annotate
src/sys/dev/ic/athnvar.h log diff annotate
message Enable IQ/ADC calibration in the athn(4) driver.
Code for this was already present, it was just not being called yet.
Tested on AR9280 and AR9271 by jmc@, kevlo@, jmatthew@, juanfra@, and myself.

date 2019-01-31T14:35:06Z
author patrick
files src/sys/arch/arm64/arm64/machdep.c log diff annotate
src/sys/arch/arm64/stand/efiboot/Makefile log diff annotate
src/sys/arch/arm64/stand/efiboot/conf.c log diff annotate
src/sys/arch/arm64/stand/efiboot/disk.h log diff annotate
src/sys/arch/arm64/stand/efiboot/efiboot.c log diff annotate
src/sys/arch/arm64/stand/efiboot/efidev.c log diff annotate
src/sys/arch/arm64/stand/efiboot/efidev.h log diff annotate
src/sys/arch/arm64/stand/efiboot/softraid_arm64.c log diff annotate
src/sys/arch/arm64/stand/efiboot/softraid_arm64.h log diff annotate
message Implement booting from softraid on arm64. This consists of creating a
list of available block devices, so we can also boot from another block
device than the one that efiboot was loaded from. Softraid will then
create a list of volumes by checking the partition table for RAID and
matching softraid metadata. If efiboot was loaded from the same
physical drive as a softraid volume, it will use the soft- raid volume
as boot device and it will ask you to unlock it. The UUID and key of
that boot volume will be passed as FDT properties to the kernel. Those
FDT properties will be zeroed explicitly by the kernel after they have
been passed to the softraid stack.

ok kettenis@

date 2019-01-31T18:01:14Z
author millert
files src/sys/dev/ic/aic79xx.c log diff annotate
src/sys/dev/pci/ahd_pci.c log diff annotate
src/sys/dev/pci/drm/i915/i915_vgpu.c log diff annotate
src/sys/dev/usb/uhci.c log diff annotate
src/sys/dev/wscons/wskbdutil.c log diff annotate
src/sys/net/pipex.c log diff annotate
src/sys/net/pipex_local.h log diff annotate
message Fix compilation of amd64 kernel when optimization is disabled.
C99 inline semantics resulted in undefined symbols.
OK deraadt@ mpi@ dlg@

date 2019-01-31T18:23:27Z
author tedu
files src/sys/kern/kern_time.c log diff annotate
message matthew noticed that some clocks use tfind() which is not mpsafe.
add locking in clock_gettime where needed.
ok cheloha matthew

date 2019-01-31T23:17:26Z
author kettenis
files src/sys/arch/arm64/stand/efiboot/conf.c log diff annotate
message Bump version number to be able to distinguish bootloaders with softraid
support.