OpenBSD cvs log

created 2023-05-01T01:01:14Z
begin 2023-04-26T00:00:00Z
end 2023-04-27T00:00:00Z
path src/sys
commits 23

date 2023-04-26T00:14:21Z
author jan
files src/sys/net/if.c log diff annotate
src/sys/net/if_vlan.c log diff annotate
src/sys/net/if_vlan_var.h log diff annotate
message Also set TSO flag on vlan interfaces.

with tweaks from bluhm, claudio and dlg

I fine with it from claudio
looks good to me from dlg

ok bluhm

date 2023-04-26T06:52:45Z
author gnezdo
files src/sys/sys/syslog.h log diff annotate
message Declare sendsyslog to match its man page

This simplifies syzkaller revival after the removal of __syscall.

OK bluhm, millert, deraadt

date 2023-04-26T08:38:51Z
author bentley
files src/sys/dev/usb/uts.c log diff annotate
message Fix typo in comment: default scalue values -> default scale values

date 2023-04-26T09:19:47Z
author bentley
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c log diff annotate
message Rotate the console in amdgpu when there is an orientation quirk.

ok jsg@

date 2023-04-26T09:39:56Z
author dv
files src/sys/arch/amd64/amd64/Attic/vmm.c log diff annotate
src/sys/arch/amd64/amd64/vmm_machdep.c log diff annotate
message Unbreak vmm on Intel. Mistakenly enabled CET on non-CET systems.

Found by anton@ & jsg@

date 2023-04-26T09:53:55Z
author beck
files src/sys/nfs/nfs_vnops.c log diff annotate
message Fix missing splbio() needed in nfs

ok claudio@ kettenis@

date 2023-04-26T10:00:37Z
author beck
files src/sys/nfs/nfs_vnops.c log diff annotate
message Don't redeclare s, it's already there.

noticed by miod@
ok kettenis@

date 2023-04-26T10:52:55Z
author mlarkin
files src/sys/arch/amd64/amd64/lapic.c log diff annotate
message whitespace fix

date 2023-04-26T12:25:12Z
author bluhm
files src/sys/uvm/uvm_map.c log diff annotate
src/sys/uvm/uvm_map.h log diff annotate
message Backout previous commit:
Do not grab the `vmmaplk' recursively, prevent a self-deadlock.
It causes panic: uvm_map_pageable_wire: stale map
Found by regress/misc/posixtestsuite conformance/interfaces/mmap/18-1
requested by deraadt@

date 2023-04-26T12:30:24Z
author kettenis
files src/sys/arch/arm64/arm64/trap.c log diff annotate
message Properly handle userland branch target traps.

ok deraadt@, patrick@

date 2023-04-26T14:39:42Z
author kettenis
files src/sys/dev/ofw/fdt.c log diff annotate
message Fix my email address.

date 2023-04-26T15:11:21Z
author mlarkin
files src/sys/arch/amd64/amd64/vmm_machdep.c log diff annotate
src/sys/arch/amd64/conf/files.amd64 log diff annotate
src/sys/arch/amd64/include/vmmvar.h log diff annotate
src/sys/dev/vmm/vmm.c log diff annotate
src/sys/dev/vmm/vmm.h log diff annotate
message Refactor MD/MI parts of vmm.

ok dv, deraadt

date 2023-04-26T15:13:52Z
author beck
files src/sys/kern/vfs_bio.c log diff annotate
message Fix splassert noticed by sthen

Called wrong incore when not holding bio.

ok claudio@

date 2023-04-26T15:13:59Z
author mlarkin
files src/sys/arch/amd64/amd64/Attic/vmm.c log diff annotate
message vmm.c -> vmm_machdep.c (remove old file)

date 2023-04-26T15:34:31Z
author mlarkin
files src/sys/arch/amd64/amd64/vmm_machdep.c log diff annotate
message Integrate r1.339 of vmm.c which I missed during the previous MI/MD split

---
revision 1.339
date: 2023/04/22 18:27:28; author: guenther; state: Exp; lines: +3 -3; commitid: ajtkYPSAhtJdB488;
Rename the XCR0_* #defines to XFEATURE_* and add the new supervisor-state
features: while all are appropriate for xsaves/xrstors, the
supervisor-state features aren't for xcr0 but rather for the new XSS_MSR,
making the current names kinda confusing.

Add #defines for masking bits for xcr0 vs XSS.

Add and report the new XSAVE_XFD xsave subfeature bit.
---

date 2023-04-26T15:40:33Z
author kn
files src/sys/net/route.c log diff annotate
message typofix rttimer comment

date 2023-04-26T15:40:51Z
author mlarkin
files src/sys/arch/amd64/amd64/vmm_machdep.c log diff annotate
message Incorporate r1.140 and r1.141 of vmm.c:

date 2023-04-26T16:09:44Z
author kn
files src/sys/net/route.c log diff annotate
message Remove +20y old rt_timer_init() comment

Obsolete since last year's r1.411 "Rework the rttimer code."
OK claudio

date 2023-04-26T16:13:19Z
author mlarkin
files src/sys/dev/vmm/vmm.h log diff annotate
message Reodrer some things to fix vmctl/vmd builds after the vmm MI/MD split

date 2023-04-26T16:53:58Z
author claudio
files src/sys/arch/amd64/amd64/db_trace.c log diff annotate
src/sys/arch/arm64/arm64/db_trace.c log diff annotate
src/sys/arch/hppa/hppa/db_interface.c log diff annotate
src/sys/arch/i386/i386/db_trace.c log diff annotate
message Implement dt(4) utrace support on amd64 and i386.

This adds stacktrace_save_utrace() to extract and save the userland stack
which is stubbed out on most archs. alpha and riscv64 do not even implement
dt(4) and stacktrace_save_at() so the stubs are excluded there.

Additionally add a new ioctl DTIOCGETAUXBASE which allows btrace to
fetch the AUX_BASE vallue from the AUX vector of a process.

OK mpi@ (some time ago) discussed with kettenis@

date 2023-04-26T16:53:59Z
author claudio
files src/sys/arch/mips64/mips64/trap.c log diff annotate
src/sys/arch/powerpc/ddb/db_trace.c log diff annotate
src/sys/arch/powerpc64/powerpc64/db_trace.c log diff annotate
src/sys/arch/sparc64/sparc64/db_trace.c log diff annotate
src/sys/dev/dt/dt_dev.c log diff annotate
src/sys/dev/dt/dt_prov_profile.c log diff annotate
src/sys/dev/dt/dtvar.h log diff annotate
src/sys/sys/stacktrace.h log diff annotate
message Implement dt(4) utrace support on amd64 and i386.

This adds stacktrace_save_utrace() to extract and save the userland stack
which is stubbed out on most archs. alpha and riscv64 do not even implement
dt(4) and stacktrace_save_at() so the stubs are excluded there.

Additionally add a new ioctl DTIOCGETAUXBASE which allows btrace to
fetch the AUX_BASE vallue from the AUX vector of a process.

OK mpi@ (some time ago) discussed with kettenis@

date 2023-04-26T19:54:35Z
author mvs
files src/sys/net/if.c log diff annotate
src/sys/net/pf_ioctl.c log diff annotate
src/sys/net/route.c log diff annotate
src/sys/net/route.h log diff annotate
message Introduce `rtlabel_mtx' mutex(9) to protect route labels storage. This
time kernel and net locks are held in various combination to protect it.
We don't want to put kernel lock to all the places. Netlock also can't
be used because rtfree(9) which calls rtlabel_unref() has unknown
netlock state within.

This new `rtlabel_mtx' mutex(9) protects `rt_labels' list and `label'
entry dereference. Since we don't export 'rt_label' structure, keep this
lock private to net/route.c. For this reason rtlabel_id2name() now
copies label string to externally passed buffer instead of returning
address of `rt_labels' list data. This is the way which rtlabel_id2sa()
already works.

ok bluhm@

date 2023-04-26T21:37:46Z
author patrick
files src/sys/dev/ofw/ofw_misc.c log diff annotate
message Fix phy_enable_prop_idx() to retrieve the property length with the passed
property name instead of "phys".

ok dlg@