OpenBSD cvs log

created 2023-08-27T07:33:29Z
begin 2023-08-21T00:00:00Z
end 2023-08-22T00:00:00Z
path src/sys
commits 5

date 2023-08-21T01:35:43Z
author guenther
files src/sys/arch/powerpc64/include/cpu.h log diff annotate
src/sys/arch/powerpc64/powerpc64/locore.S log diff annotate
message cpu_idle_{enter,leave}() are no-ops in ASM; replace them
with no-op macros.

ok gkoehler@

date 2023-08-21T15:19:09Z
author cheloha
files src/sys/arch/alpha/alpha/clock.c log diff annotate
message alpha: stop running an independent schedclock()

alpha is the only platform still running an independent schedclock().
Disabling it brings alpha's scheduling behavior into line with that of
every other platform.

With this patch, all platforms call schedclock() from statclock() at
an effective schedhz of ~12.5.

date 2023-08-21T17:22:04Z
author cheloha
files src/sys/kern/kern_clockintr.c log diff annotate
src/sys/sys/clockintr.h log diff annotate
message clockintr: remove support for independent schedclock()

Remove the scaffolding for an independent schedclock(). With the
removal of the independent schedclock() from alpha, schedhz is zero on
all platforms and this schedclock-specific code is now unused.

It is possible that schedclock() will repurposed for use in the
future. Even if this happens, the schedclock handle will not live in
struct clockintr_queue.

date 2023-08-21T20:17:30Z
author miod
files src/sys/arch/riscv64/conf/files.riscv64 log diff annotate
src/sys/arch/riscv64/include/cpufunc.h log diff annotate
src/sys/arch/riscv64/riscv64/Attic/cpufunc_asm.S log diff annotate
message Remove dead code.

date 2023-08-21T21:45:18Z
author bluhm
files src/sys/dev/pci/if_ix.c log diff annotate
message Fix receiving VLAN packets if LRO is enabled on ix(4).

The vlan packet bit is only valid for the last descriptor's receive
status. When receiving just one buffer per packet, it makes no
difference, but with LRO there are multiple descriptors. Checking
only the first one resulted in VLAN headers being stripped and large
packets appear as regular on ix interface. Move the code setting
vlan tag from first to last descriptor.

bug reported and fix tested by Hrvoje Popovski
OK jan@