OpenBSD cvs log

created 2023-11-26T09:02:04Z
begin 2023-11-23T00:00:00Z
end 2023-11-24T00:00:00Z
path src/sys
commits 11

date 2023-11-23T00:47:13Z
author dlg
files src/sys/dev/ofw/ofw_thermal.c log diff annotate
message expose the state of thermal zones as kstats.

this makes it a bit more obvious how much head room you have for
things like cpu performance scaling.

the information provided at the moment is more useful for developers
working on cpu scaling, but it should improve as i get my head
around more of these things.

patrick@ and kettenis@ like the idea.

date 2023-11-23T01:00:44Z
author dlg
files src/sys/arch/arm64/arm64/cpu.c log diff annotate
message provide operating performance point info about each cpu via kstats.

if there's a device tree and it provides information about cpu
speed, expose those stats. this is particularly useful on big.little
or systems with multiple clusters/clock domains or cores that can
scale indepenently because it can report the actual speed each cpu
is operating at independently.

ok patrick@ who used an earlier version of this diff to work on cpu
scaling on an rk3588 system.

date 2023-11-23T05:08:56Z
author jsg
files src/sys/dev/pci/pcidevs log diff annotate
message add another Van Gogh device id

1435 rev ae is "Custom GPU 0932"
found in Windows driver for Steam Deck OLED APU

date 2023-11-23T05:08:57Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_devlist.h log diff annotate
src/sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c log diff annotate
message add another Van Gogh device id

1435 rev ae is "Custom GPU 0932"
found in Windows driver for Steam Deck OLED APU

date 2023-11-23T05:09:30Z
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 2023-11-23T14:21:47Z
author jsg
files src/sys/dev/pci/pcidevs log diff annotate
message add Alder Lake-N ids

from:
Intel Processor and Intel Core i3 N-Series
Datasheet, Volume 1 of 2, Doc. No.: 759603, Rev.: 001

ok sthen@

date 2023-11-23T14:22:30Z
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 2023-11-23T14:24:06Z
author jsg
files src/sys/dev/pci/azalia.c log diff annotate
src/sys/dev/pci/dwiic_pci.c log diff annotate
src/sys/dev/pci/ichiic.c log diff annotate
message match on Alder Lake-N ids
tested-by and ok sthen@

date 2023-11-23T15:02:57Z
author deraadt
files src/sys/dev/wscons/wskbd.c log diff annotate
message now always needs sys/task.h

date 2023-11-23T19:54:30Z
author patrick
files src/sys/arch/arm64/arm64/cpu.c log diff annotate
message A mountroot hook unsets ci->ci_opp_table in case clocks or regulators
aren't available, so we have to continue to check its existence on each
kstat read.

ok dlg@

date 2023-11-23T23:45:10Z
author dlg
files src/sys/net/if_veb.c log diff annotate
message avoid passing weird mbuf chains to pf when pushing out a veb.

pf expects the ip header to be in the first mbuf of the chain we
pass to pf_test, but in some situations the ethernet header is the
only data in the first mbuf. after we remove the ethernet header,
the first mbuf had no data in it which confused pf. fix this by
passing all packets to ip_check on output as well as input. ip input
handlers do all the necessary m_pullups.

found by Mark Patruck.