OpenBSD cvs log

created 2020-11-14T23:40:27Z
begin 2020-11-07T00:00:00Z
end 2020-11-08T00:00:00Z
path src/sys
commits 5

date 2020-11-07T03:49:06Z
author jsg
files src/sys/dev/pci/drm/drm_vma_manager.c log diff annotate
src/sys/dev/pci/drm/include/drm/drm_vma_manager.h log diff annotate
src/sys/dev/pci/drm/include/linux/rwlock_types.h log diff annotate
src/sys/dev/pci/drm/include/linux/spinlock.h log diff annotate
message change from rwlock(9) to mutex(9) for linux rwlocks

Linux rwlocks are read/write spin locks which don't sleep.
Fixes a panic claudio@ reported with a WITNESS kernel on inteldrm(4)
'panic: acquiring blockable sleep lock with spinlock or critical section
held (rwlock) drmvma'

Patch from kettenis@ with a small tweak from me. ok kettenis@

date 2020-11-07T05:24:20Z
author gnezdo
files src/sys/kern/kern_sysctl.c log diff annotate
src/sys/sys/sysctl.h log diff annotate
src/sys/ufs/ffs/ffs_vfsops.c log diff annotate
message Convert ffs_sysctl to sysctl_bounded_args

Requires sysctl_bounded_arr branch to support sysctl_rdint.
The read-only variables are marked by an empty range of [1, 0].

OK millert@

date 2020-11-07T09:51:40Z
author denis
files src/sys/net/rtable.c log diff annotate
src/sys/net/rtable.h log diff annotate
src/sys/net/rtsock.c log diff annotate
src/sys/netinet/in_pcb.c log diff annotate
src/sys/netinet6/in6_src.c log diff annotate
message Rework source IP address setting.

- Move most of the processing out of rtable.c (reasonnable tb@, ok bluhm@)
- Remove memory allocation, store pointer to existing ifaddr
- Fix tunnel interface handling

looks fine mpi@

date 2020-11-07T16:12:20Z
author deraadt
files src/sys/arch/alpha/alpha/trap.c log diff annotate
message multiple reads of pmap_emulate_reference() don't show any reason for it
to need KERNE_LOCK. Been testing this for about 3 weeks.

date 2020-11-07T21:42:47Z
author patrick
files src/sys/dev/fdt/imxccm.c log diff annotate
src/sys/dev/fdt/imxccm_clocks.h log diff annotate
message Add clock support for i.MX8MP. This variant uses essentially the
same layout as the i.MX8MM, which means that all supported clocks
so far have the same selection of parents and allows reusing the
i.MX8MM code.