OpenBSD cvs log

created 2022-11-13T02:40:11Z
begin 2022-11-06T00:00:00Z
end 2022-11-07T00:00:00Z
path src/sys
commits 13

date 2022-11-06T11:44:30Z
author kettenis
files src/sys/arch/arm64/arm64/support.S log diff annotate
src/sys/arch/arm64/arm64/trap.c log diff annotate
src/sys/arch/arm64/conf/files.arm64 log diff annotate
src/sys/arch/arm64/dev/efi_machdep.c log diff annotate
message Make EFI runtime calls more robust on arm64 as well. While I have not seen
any broken implementations yet, Linux developers claim that arm64 machines
intended to run Windows are not much better than x86 machines. And I
totally believe that.

ok patrick@

date 2022-11-06T12:01:52Z
author patrick
files src/sys/arch/arm64/dev/simplebus.c log diff annotate
message While the Qualcomm GENI isn't just a simplebus(4), as one can e.g. select
between DMA or FIFO mode for the i2c/serial devices, we can treat it as one
for now.

ok kettenis@

date 2022-11-06T12:12:45Z
author patrick
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/RAMDISK log diff annotate
src/sys/dev/fdt/files.fdt log diff annotate
src/sys/dev/fdt/qcdwusb.c log diff annotate
message Add glue for the USB3 controller on the Lenovo x13s.

ok kettenis@

date 2022-11-06T12:14:52Z
author patrick
files src/sys/arch/arm64/dev/smmu_fdt.c log diff annotate
message Disable smmu(4) for Qualcomm SC8280XP on FDT attachment like we already do
on ACPI.

ok kettenis@

date 2022-11-06T13:01:22Z
author aoyama
files src/sys/arch/luna88k/dev/lunafb.c log diff annotate
src/sys/arch/luna88k/dev/omrasops.c log diff annotate
message Change character drawing depth when 'pseudo' framebuffer depth is changed.

Tested on LUNA-88K2 with 4bpp/8bpp framebuffer by me.

date 2022-11-06T13:03:52Z
author dlg
files src/sys/net/pf_ioctl.c log diff annotate
src/sys/sys/conf.h log diff annotate
message make /dev/pf a clonable device.

this provides a 1:1 relationship of pfopen() calls to pfclose()
calls. in turn, this makes it a lot easier to track stuff allocated
by a process and then clean it up if that process goes away
unexpectedly. the unique dev_t provided by the cloning machinery
gives us a good identifier to track this state with too.

discussed with h2k22
ok sashan@
deraadt@ agrees this is a good time to put this in

date 2022-11-06T15:33:58Z
author patrick
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/RAMDISK log diff annotate
src/sys/conf/files log diff annotate
src/sys/dev/acpi/files.acpi log diff annotate
src/sys/dev/acpi/qcgpio.c log diff annotate
src/sys/dev/fdt/files.fdt log diff annotate
src/sys/dev/fdt/qcgpio_fdt.c log diff annotate
message Add FDT-based attachment for qcgpio(4).

ok kettenis@

date 2022-11-06T15:36:13Z
author patrick
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/RAMDISK log diff annotate
src/sys/conf/files log diff annotate
src/sys/dev/acpi/files.acpi log diff annotate
src/sys/dev/acpi/qciic.c log diff annotate
src/sys/dev/fdt/files.fdt log diff annotate
src/sys/dev/fdt/qciic_fdt.c log diff annotate
message Add FDT-based attachment for qciic(4).

ok kettenis@

date 2022-11-06T18:05:05Z
author dlg
files src/sys/net/if_pfsync.c log diff annotate
src/sys/net/if_pfsync.h log diff annotate
src/sys/net/pf.c log diff annotate
src/sys/net/pf_ioctl.c log diff annotate
src/sys/net/pf_norm.c log diff annotate
src/sys/net/pfvar.h log diff annotate
message move pfsync_state_import in if_pfsync.c to pf_state_import in pf.c

this is straightening the deck chairs. the state import and export
code are used by both the pf ioctls and pfsync, but the export code
is in pf.c and the import code is in if_pfsync. if pfsync was
disabled then the ioctl stuff wouldnt link.

moving the import code to pf.c makes it more symmetrical(?) and
robust.

tweaks and ok from kn@ sashan@

date 2022-11-06T18:17:56Z
author mbuhl
files src/sys/dev/pci/if_em.c log diff annotate
src/sys/dev/pci/if_em_hw.h log diff annotate
message Enable IPv4, TCP, and UDP checksum offloading, and VLAN HW tagging
for em 82575, 82576, i350, and i210.

Additional testing by Hrvoje Popovski
OK dlg@

date 2022-11-06T19:00:37Z
author dv
files src/sys/arch/amd64/amd64/vmm.c log diff annotate
message vmm(4): allocate reference for vm and vcpu SLISTs

Mischa Peters reported a performance regression in 7.2 when hosting
numerous guests under vmm(4). While iterating through the list of
vms during servicing an ioctl, vmm was triggering excessive wakeup
calls due to hitting zero refcnt.

Much guidance from dlg@ and testing from Mischa. OK mlarkin@.

date 2022-11-06T21:31:24Z
author dlg
files src/sys/net/if_pfsync.c log diff annotate
message get rid of pfsync_state_export.

it wraps pf_state_export and has the same arguments and return type.
pfsync can just call pf_state_export instead.

ok clang

date 2022-11-06T21:34:01Z
author kn
files src/sys/net/if_pfsync.c log diff annotate
message Constify pfsync_acts[]; OK dlg