OpenBSD cvs log

created 2021-03-14T00:57:27Z
begin 2021-03-08T00:00:00Z
end 2021-03-09T00:00:00Z
path src/sys
commits 13

date 2021-03-08T05:57:34Z
author deraadt
files src/sys/kern/exec_elf.c log diff annotate
message Remove the workaround which identified Go executables, and permitted them
to do syscalls directly. Go executables now use shared libc like all other
dynamic binaries. This makes the "where are syscalls done from" checker
strict for all binaries, and also opens the door to change the underlying
syscall ABI to the kernel in the future very easily (if we find cause).
ok jsing

date 2021-03-08T10:12:05Z
author mpi
files src/sys/kern/kern_exec.c log diff annotate
src/sys/kern/kern_exit.c log diff annotate
src/sys/kern/kern_sig.c log diff annotate
message Kill SINGLE_PTRACE and use SINGLE_SUSPEND which has almost the same semantic.

single_thread_set() is modified to explicitly indicated when waiting until
sibling threads are parked is required. This is obviously not required if
a traced thread is switching away from a CPU after handling a STOP signal.

ok claudio@

date 2021-03-08T10:54:53Z
author mpi
files src/sys/kern/kern_sig.c log diff annotate
message Move a KERNEL_ASSERT_LOCKED() from single_thread_clear() to cursig().

Ze big lock is currently necessary to ensure that two sibling threads
are not racing against each other when processing signals. However it
is not strickly necessary to unpark sibling threads.

ok claudio@

date 2021-03-08T11:16:26Z
author kettenis
files src/sys/arch/arm64/arm64/pmap.c log diff annotate
src/sys/arch/arm64/include/pmap.h log diff annotate
message Revise the ASID allocation sheme to avoid a hang when running out of free
ASIDs. This should only happen on systems with 8-bit ASIDs, which are
currently unsupported in OpenBSD.

The new scheme uses "generations". Whenever we run out of ASIDs we bump
the generation and flush the complete TLB. The pmaps of processes that
are currently on the CPU are carried over into the new generation. This
implementation relies on the scheduler lock to make sure this happens
without any (known) races.

ok patrick@, mpi@

date 2021-03-08T12:53:35Z
author kurt
files src/sys/dev/fdt/rkpmic.c log diff annotate
message Add support for rk809 as seen on the Rock Pi N10 with the rk3399pro. Add
support for multiple linear ranges for voltage regulators and use for all
rkpmic ICs.

ok kettenis@

date 2021-03-08T13:48:56Z
author kettenis
files src/sys/dev/acpi/sdhc_acpi.c log diff annotate
message Add support for sdhc(4) on Raspberry Pi in ACPI mode.

ok patrick@

date 2021-03-08T14:35:57Z
author jcs
files src/sys/dev/usb/fido.c log diff annotate
src/sys/dev/usb/ucycom.c log diff annotate
src/sys/dev/usb/ugold.c log diff annotate
src/sys/dev/usb/uhid.c log diff annotate
src/sys/dev/usb/uhidev.c log diff annotate
src/sys/dev/usb/uhidev.h log diff annotate
src/sys/dev/usb/ujoy.c log diff annotate
src/sys/dev/usb/umt.c log diff annotate
src/sys/dev/usb/uoaklux.c log diff annotate
src/sys/dev/usb/uoakrh.c log diff annotate
src/sys/dev/usb/uoakv.c log diff annotate
src/sys/dev/usb/upd.c log diff annotate
src/sys/dev/usb/uslhcom.c log diff annotate
src/sys/dev/usb/uthum.c log diff annotate
src/sys/dev/usb/utrh.c log diff annotate
src/sys/dev/usb/utwitch.c log diff annotate
message Allow uhidev child devices to claim selective report ids

There may be multiple matching devices on a single uhidev device but
the first device that responds to UHIDEV_CLAIM_ALLREPORTID will
block the others from attaching.

Change this to UHIDEV_CLAIM_MULTIPLE_REPORTID and require any
devices wanting some/all report ids to fill in the claimed array in
uhidev_attach_arg with just the reports it needs. uhidev can then
run match routines for other drivers with the available report ids.

ok anton

date 2021-03-08T14:37:08Z
author jcs
files src/sys/dev/usb/usbdevs log diff annotate
message Add Surface Pro Type Cover

from Fredrik Engberg

date 2021-03-08T14:37:21Z
author jcs
files src/sys/dev/usb/usbdevs.h log diff annotate
src/sys/dev/usb/usbdevs_data.h log diff annotate
message regen

date 2021-03-08T14:39:34Z
author jcs
files src/sys/dev/usb/umstc.c log diff annotate
message Add another Type Cover device

from Fredrik Engberg

date 2021-03-08T16:49:07Z
author florian
files src/sys/netinet6/nd6.c log diff annotate
message We no longer "accept" RAs in the kernel, delete misleading comment.

date 2021-03-08T18:09:15Z
author claudio
files src/sys/kern/kern_exec.c log diff annotate
src/sys/kern/kern_exit.c log diff annotate
src/sys/kern/kern_sig.c log diff annotate
message Revert commitid: AZrsCSWEYDm7XWuv;

Kill SINGLE_PTRACE and use SINGLE_SUSPEND which has almost the same semantic.

This diff did not properly kill SINGLE_PTRACE and broke RAMDISK kernels.

date 2021-03-08T20:56:10Z
author patrick
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/RAMDISK log diff annotate
message Enable ixl(4).