OpenBSD cvs log

created 2020-11-21T19:15:41Z
begin 2020-07-04T00:00:00Z
end 2020-07-05T00:00:00Z
path src/sys
commits 14

date 2020-07-04T06:06:16Z
author procter
files src/sys/net/if_wg.c log diff annotate
message Permit the stack to check transport and network checksums. Although the link
provides stronger integrity checks, it needn't cover the end-to-end transport
path. And it is in any case a layer violation for one layer to disable the
checks of another. Skipping the network check saved ~2.4% +/- ~0.2% of cp_time
(sys+intr) on the forwarding path of a 1Ghz AMD G-T40N (apu1). Other checksum
speedups exist which do not skip the check.

ok claudio@ kn@ stsp@

date 2020-07-04T08:06:07Z
author anton
files src/sys/dev/dt/dt_dev.c log diff annotate
src/sys/dev/dt/dtvar.h log diff annotate
src/sys/kern/kern_tc.c log diff annotate
message It's been agreed upon that global locks should be expressed using
capital letters in locking annotations. Therefore harmonize the existing
annotations.

Also, if multiple locks are required they should be delimited using
commas.

ok mpi@

date 2020-07-04T08:06:08Z
author anton
files src/sys/kern/kern_timeout.c log diff annotate
src/sys/net/if_var.h log diff annotate
src/sys/sys/filedesc.h log diff annotate
src/sys/sys/proc.h log diff annotate
src/sys/sys/timetc.h log diff annotate
message It's been agreed upon that global locks should be expressed using
capital letters in locking annotations. Therefore harmonize the existing
annotations.

Also, if multiple locks are required they should be delimited using
commas.

ok mpi@

date 2020-07-04T08:33:43Z
author visa
files src/sys/kern/kern_event.c log diff annotate
message Use klist_invalidate() in knote_processexit()

This leaves knote_remove() for kqueue's internal use. As a result,
knote_remove() is used to drop knotes from the knlist of a single
kqueue instance. klist_invalidate() clears knotes from a klist that
can contain entries from different kqueue instances.

Use FILTEROP_ISFD to control how klist_invalidate() treats knotes,
to preserve the current behaviour of knote_processexit(). All the
existing callers of klist_invalidate() are fd-based. The existing code
rewires and activates knotes to give userspace a clear indication that
the state of the fd has changed. In knote_processexit(), any remaining
knotes in ps_klist are non-fd-based (EVFILT_SIGNAL). Those are dropped
without notifying userspace.

OK mpi@

date 2020-07-04T09:00:09Z
author visa
files src/sys/arch/octeon/dev/cn30xxgmx.c log diff annotate
src/sys/arch/octeon/dev/cn30xxgmxvar.h log diff annotate
src/sys/arch/octeon/dev/if_cnmac.c log diff annotate
message Remove no-op cn30xxgmx_reset_board().

date 2020-07-04T10:19:09Z
author mpi
files src/sys/dev/dt/dt_prov_syscall.c log diff annotate
src/sys/dev/dt/dtvar.h log diff annotate
message Do the same as libc, store "-1" in the return value when a syscall failed.

Simplify the logic by always exporting the return value and errno in the
syscall profiler.

date 2020-07-04T10:39:25Z
author mglocker
files src/sys/dev/pckbc/pms.c log diff annotate
message Fix intermittent failing device initialization seen on some Synaptics
devices which has been re-introduced by pms.c revision 1.92.

ok tb@

date 2020-07-04T13:01:16Z
author kettenis
files src/sys/arch/arm64/dev/efi.c log diff annotate
src/sys/arch/arm64/dev/mainbus.c log diff annotate
message OF_finddevice() returns -1 upon failure. Fix various checks of the return
value. Makes things work again on the rpi3.

ok jsg@

date 2020-07-04T16:27:00Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/trap.c log diff annotate
message Set dsisr member of the trapframe struct to a defined value before falling
through into the data storage interrupt when handing a data segment
interrupt.

date 2020-07-04T16:41:23Z
author krw
files src/sys/dev/ic/siop.c log diff annotate
src/sys/dev/ic/siop_common.c log diff annotate
message Nestle all sc_c.sc_link initialization near config_found() invocation.

date 2020-07-04T16:49:20Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/autoconf.c log diff annotate
message Fill in nam2blk array.

date 2020-07-04T18:50:55Z
author krw
files src/sys/dev/isa/wds.c log diff annotate
message Nestle all sc_link initialization near config_found() invocation.

date 2020-07-04T21:07:23Z
author kettenis
files src/sys/arch/powerpc64/conf/files.powerpc64 log diff annotate
message Use block device numbers instead of character device numbers.

date 2020-07-04T21:08:11Z
author kettenis
files src/sys/arch/powerpc64/conf/RAMDISK log diff annotate
message Bump the size of the ramdisk.