OpenBSD cvs log

created 2020-01-15T20:04:05Z
begin 2020-01-14T00:00:00Z
end 2020-01-15T00:00:00Z
path src/sys
commits 6

date 2020-01-14T08:17:08Z
author mpi
files src/sys/ufs/ffs/ffs_softdep.c log diff annotate
message Convert custom semaphores to tsleep_nsec(9).

ok bluhm@

date 2020-01-14T08:52:18Z
author mpi
files src/sys/kern/kern_sig.c log diff annotate
src/sys/kern/kern_synch.c log diff annotate
src/sys/kern/sys_futex.c log diff annotate
src/sys/sys/time.h log diff annotate
message Introduce TIMESPEC_TO_NSEC() and use it to convert userland facing
tsleep(9) to tsleep_nsec(9).

ok bluhm@

date 2020-01-14T16:56:32Z
author kettenis
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/dev/fdt/amltemp.c log diff annotate
src/sys/dev/fdt/files.fdt log diff annotate
message Add amltemp(4), a driver for the temperature sensors on various Amlogic SoCs.

date 2020-01-14T20:43:20Z
author kettenis
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/dev/fdt/amlsm.c log diff annotate
src/sys/dev/fdt/files.fdt log diff annotate
message Add amlsm(4), a driver for the "secure monitor" firmware interface.
For now, this driver fetches the "chip id" and feeds this as entropy
to the kernel's random subsystem.

date 2020-01-14T21:38:02Z
author bluhm
files src/sys/nfs/nfs_subs.c log diff annotate
message In nfs_clearcommit() the loops over mnt_vnodelist and v_dirtyblkhd
do not delete anything. So the safe variant of foreach is not
necessary.
OK mpi@ millert@ tedu@

date 2020-01-14T21:49:36Z
author kn
files src/sys/dev/acpi/acpivout.c log diff annotate
message Fix screen brightness adjustment through function keys

Not all machines provide levels that scale linearly, e.g. an ThinkPad X230
has 16 levels of exponential scale that end with [50, 67, 100].

Make acpivout_find_brightness() return the BCL's index instead of its value
such that acpivout_brightness_step() is able to fall back to the lower next
value by index in case the 5% heuristic fails.

Tested by Tracey Emery with an T470s
OK patrick jcs