OpenBSD cvs log

created 2022-02-02T10:38:14Z
begin 2022-01-20T00:00:00Z
end 2022-01-21T00:00:00Z
path src/sys
commits 11

date 2022-01-20T03:43:30Z
author jsg
files src/sys/kern/kern_pledge.c log diff annotate
message initial support for drm sync files, fences associated with file
descriptors for explicit fencing

tested with libdrm's amdgpu_test syncobj timeline tests and vkcube on
intel broadwell with Mesa 21.3 (which hangs without sync file support
after the 'anv: Assume syncobj support' Mesa commit)

feedback and ok visa@

date 2022-01-20T03:43:31Z
author jsg
files src/sys/dev/pci/drm/drm_linux.c log diff annotate
src/sys/dev/pci/drm/i915/gem/i915_gem_shmem.c log diff annotate
src/sys/dev/pci/drm/include/linux/file.h log diff annotate
src/sys/dev/pci/drm/include/linux/sync_file.h log diff annotate
src/sys/sys/file.h log diff annotate
message initial support for drm sync files, fences associated with file
descriptors for explicit fencing

tested with libdrm's amdgpu_test syncobj timeline tests and vkcube on
intel broadwell with Mesa 21.3 (which hangs without sync file support
after the 'anv: Assume syncobj support' Mesa commit)

feedback and ok visa@

date 2022-01-20T06:33:03Z
author jsg
files src/sys/dev/pci/drm/drm_linux.c log diff annotate
message xa_pool is protected by xa_lock mtx so drop pool ipl to IPL_NONE

date 2022-01-20T07:49:25Z
author visa
files src/sys/dev/dt/dt_dev.c log diff annotate
message dt: Add frame skip parameters for octeon

OK mpi@

date 2022-01-20T10:18:26Z
author jsg
files src/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c log diff annotate
message drm/amd/display: explicitly set is_dsc_supported to false before use

From Mario Limonciello
ce258c74f8d95e81ce65f53775fcdcbc8ca090da in linux 5.15.y/5.15.16
63ad5371cd1e379519395c49a4b6a652c36c98e5 in mainline linux

date 2022-01-20T11:06:57Z
author bluhm
files src/sys/arch/amd64/amd64/identcpu.c log diff annotate
src/sys/kern/kern_descrip.c log diff annotate
src/sys/kern/kern_sched.c log diff annotate
src/sys/kern/subr_pool.c log diff annotate
src/sys/net/rtsock.c log diff annotate
src/sys/netinet/in_pcb.h log diff annotate
src/sys/netinet/ip_esp.c log diff annotate
message Shifting signed integers left by 31 is undefined behavior in C.
found by kubsan; joint work with tobhe@; OK miod@

date 2022-01-20T13:12:07Z
author jsg
files src/sys/dev/pci/pcidevs log diff annotate
message add Tiger Lake H ids
from 11th Generation Intel Core Processor Datasheet 631121-009
some ids from thfr@'s Dell Precision 7560
and ymtc nvme found in jcs@'s Huawei MateBook X (2020)

date 2022-01-20T13:12:48Z
author jsg
files src/sys/dev/pci/pcidevs.h log diff annotate
src/sys/dev/pci/pcidevs_data.h log diff annotate
message regen

date 2022-01-20T14:02:51Z
author tobhe
files src/sys/arch/powerpc/powerpc/trap.c log diff annotate
message Don't return uninitialized stack memory on copyin() error.
Found with clang static analyzer.

ok gkoehler@

date 2022-01-20T17:11:30Z
author bluhm
files src/sys/kern/subr_prf.c log diff annotate
message snprintf(9) allows NULL string if size is 0. But doing NULL pointer
arithmetic is undefined behavior. Check that size is positive
before adding to pointer. While there, use NUL char for string
termination.
found by kubsan; joint work with tobhe@; OK millert@

date 2022-01-20T17:13:12Z
author bluhm
files src/sys/net/pfkeyv2_convert.c log diff annotate
message pfkey import_flow() must do the NULL check before doing pointer
arithmetic.
found by kubsan; joint work with tobhe@; OK millert@