OpenBSD cvs log

created 2023-02-12T09:04:54Z
begin 2023-02-06T00:00:00Z
end 2023-02-07T00:00:00Z
path src/sys
commits 5

date 2023-02-06T06:41:38Z
author gkoehler
files src/sys/arch/powerpc/powerpc/pmap.c log diff annotate
message Add missing check for pg != NULL

The code was reading pg->pg_flags, so clang assumed pg != NULL, then
optimized a later "if (pg != NULL)" to "if (1)", and allowed a call to
pmap_enter_pv(pted, NULL). Such a call can freeze bsd.mp by trying to
lock NULL's ((struct mutex *)0x3c). I froze bsd.mp this way by
starting Xorg on a macppc with nv(4) or r128(4) video, as it tried to
mmap the xf86(4) aperture.

ok miod@

date 2023-02-06T11:16:22Z
author miod
files src/sys/arch/alpha/alpha/conf.c log diff annotate
src/sys/arch/alpha/alpha/machdep.c log diff annotate
src/sys/arch/alpha/alpha/pmap.c log diff annotate
src/sys/arch/alpha/alpha/prom.c log diff annotate
src/sys/arch/alpha/alpha/Attic/promcons.c log diff annotate
src/sys/arch/alpha/conf/files.alpha log diff annotate
src/sys/arch/alpha/include/pmap.h log diff annotate
src/sys/arch/alpha/include/prom.h log diff annotate
message Unifdef -U _PMAP_MAY_USE_PROM_CONSOLE. This code hasn't been needed in years
since the TC machines have switched to the MI zstty code.

date 2023-02-06T20:27:44Z
author jan
files src/sys/dev/pci/if_ix.c log diff annotate
message consolidate mbuf header parsing on device driver layer

with tweaks from mvs@, mpi@, dlg@, naddy@ and bluhm@

"go for it" deraadt@

ok naddy@, mvs@

date 2023-02-06T20:27:45Z
author jan
files src/sys/dev/pci/if_ixl.c log diff annotate
src/sys/net/if_ethersubr.c log diff annotate
src/sys/netinet/if_ether.h log diff annotate
message consolidate mbuf header parsing on device driver layer

with tweaks from mvs@, mpi@, dlg@, naddy@ and bluhm@

"go for it" deraadt@

ok naddy@, mvs@

date 2023-02-06T23:40:53Z
author jsg
files src/sys/dev/pci/drm/i915/i915_devlist.h log diff annotate
src/sys/dev/pci/drm/include/drm/i915_pciids.h log diff annotate
message match on another Elkhart Lake id
Noticed when looking at the datasheet. Merged into drm-intel-next.