OpenBSD/src 3tls1sIdistrib/notes/riscv64 hardware

   Mention some Spacemit K1 boards that kettenis added support for

   BananaPi F3, Orange Pi RV2, and Milk-V Jupiter
VersionDeltaFile
1.5+4-1distrib/notes/riscv64/hardware
+4-11 files

OpenBSD/src 7BRWOLKdistrib/notes/riscv64 prep

   Add post-install hints for boards without distro_bootcmd (like BPi F3/Jupiter)

   The default bootcmd is useless on these boards, so suggest some simple
   default boot command.
VersionDeltaFile
1.9+7-0distrib/notes/riscv64/prep
+7-01 files

OpenBSD/src Ax5vXUOdistrib/notes/riscv64 prep

   Document specifics for spacemit K1-based boards

   Orange Pi RV2, BananaPi F3, and Milk-V Jupiter
   Requested by deraadt
VersionDeltaFile
1.8+15-0distrib/notes/riscv64/prep
+15-01 files

OpenBSD/src wRBwZJkdistrib/notes/riscv64 prep

   Move hw-specific parts at the end of this file
VersionDeltaFile
1.7+12-13distrib/notes/riscv64/prep
+12-131 files

OpenBSD/src f8ckbbZsys/arch/octeon/dev cn30xxuart.c

   sys/octeon: preserve bootloader console baud

   The SRX300 console runs at 9600 baud under U-Boot; OpenBSD forced 115200
   during console handoff, which garbled output immediately after early
   memory setup and made a live kernel look dead.

   Here, I read the programmed UART divisor instead and derive comconsrate
   from it, so the kernel preserves the bootloader console configuration.

   OK: visa@
VersionDeltaFile
1.14+24-8sys/arch/octeon/dev/cn30xxuart.c
+24-81 files

OpenBSD/src CEOXBMMsys/arch/octeon/dev octeon_intr.c

   sys/octeon: accept linux,phandle for IRQs

   SRX300 firmware DT describes the CIU root and several CIB interrupt
   controllers with linux,phandle, but omits phandle.

   octeon_intr_register() consumed only the latter; the controllers
   therefore never entered the interrupt controller registry, and every
   later interrupt-parent lookup for CIB, AHCI, and xHCI failed.

   Thus, dev/ofw/fdt lookup code already treats phandle and linux,phandle
   as equivalent; so the Octeon interrupt layer should do the same when
   registering interrupt controllers.

   OK: kettenis@, visa@
VersionDeltaFile
1.26+3-1sys/arch/octeon/dev/octeon_intr.c
+3-11 files

OpenBSD/src rciq5iSusr.bin/vi/common screen.c

   vi: fix indent by trailing extra space

   from Walter Alejandro Iglesias
VersionDeltaFile
1.15+3-3usr.bin/vi/common/screen.c
+3-31 files

OpenBSD/src J4KjEm5usr.bin/vi/common options.c exf.c, usr.bin/vi/ex ex_tag.c ex_subst.c

   vi: whitespace fixes

   Zap trailing whitespace, remove spaces before tabs, and expand 8 spaces to
   tabs.

   Prompted by a diff by Walter Alejandro Iglesias
VersionDeltaFile
1.27+13-13usr.bin/vi/ex/ex_tag.c
1.31+11-11usr.bin/vi/common/options.c
1.51+11-11usr.bin/vi/common/exf.c
1.18+10-10usr.bin/vi/common/line.c
1.32+7-7usr.bin/vi/ex/ex_subst.c
1.15+7-7usr.bin/vi/common/seq.c
+59-5933 files not shown
+147-14839 files

OpenBSD/src K3jh61ousr.bin/vi/cl cl_funcs.c, usr.bin/vi/common recover.c

   vi: avoid set but not used warnings

   From Walter Alejandro Iglesias
   ok claudio
VersionDeltaFile
1.24+1-5usr.bin/vi/cl/cl_funcs.c
1.15+2-4usr.bin/vi/ex/ex_append.c
1.14+2-3usr.bin/vi/ex/ex_bang.c
1.17+1-4usr.bin/vi/vi/vs_split.c
1.33+1-3usr.bin/vi/common/recover.c
1.18+1-3usr.bin/vi/ex/ex_global.c
+8-226 files

OpenBSD/src GOI7JHulib/libcrypto/mlkem mlkem_internal.h

   mlkem: use <openssl/mlkem.h> instead of "mlkem.h"

   patch from portable
VersionDeltaFile
1.15+3-2lib/libcrypto/mlkem/mlkem_internal.h
+3-21 files

OpenBSD/src HVnGIIYusr.bin/ssh channels.c

   Clarify comment on what setting extended types for channels does

   OK djm@
VersionDeltaFile
1.459+2-2usr.bin/ssh/channels.c
+2-21 files

OpenBSD/src P1dsWPRlib/libtls tls_keypair.c

   tls_keypair: add missing <limits.h>

   from bcook kenjiro
VersionDeltaFile
1.13+3-1lib/libtls/tls_keypair.c
+3-11 files

OpenBSD/src 3Rvfl7Nlib/libcrypto/ec ec_pmeth.c

   ec_pmeth: fix 20yo comment: *outlen -> *keylen
VersionDeltaFile
1.28+2-2lib/libcrypto/ec/ec_pmeth.c
+2-21 files

OpenBSD/src uzskfyusys/dev/pci/drm/i915/display intel_psr.c

   drm/i915/psr: Do not use pipe_src as borders for SU area

   From Jouni Hogander
   de9aa7e89b98157d2650f25691e40711b8404151 in linux-6.18.y/6.18.23
   75519f5df2a9b23f7bf305e12dc9a6e3e65c24b7 in mainline linux
VersionDeltaFile
1.17+19-11sys/dev/pci/drm/i915/display/intel_psr.c
+19-111 files

OpenBSD/src gmgqCKAsys/dev/pci/drm/i915/gt intel_engine_heartbeat.c

   drm/i915/gt: fix refcount underflow in intel_engine_park_heartbeat

   From Sebastian Brzezinka
   2af8b200cae3fdd0e917ecc2753b28bb40c876c1 in linux-6.18.y/6.18.23
   4c71fd099513bfa8acab529b626e1f0097b76061 in mainline linux
VersionDeltaFile
1.7+18-8sys/dev/pci/drm/i915/gt/intel_engine_heartbeat.c
+18-81 files

OpenBSD/src mT5mutDsys/conf newvers.sh

   7.9-current
   ok deraadt@
VersionDeltaFile
1.216+3-3sys/conf/newvers.sh
+3-31 files

OpenBSD/src fMu9AsIusr.bin/ssh clientloop.c

   correctly set extended type for client-side channels. Fixes
   interactive vs bulk IPQoS for client->server traffic. ok job@
VersionDeltaFile
1.423+12-6usr.bin/ssh/clientloop.c
+12-61 files

OpenBSD/src xMjylTQlibexec/login_chpass Makefile

   login_chpass: No longer need to install this setuid root

   When the YP code was removed login_chpass became wrapper that just
   execs login_lchpass.

   OK deraadt@
VersionDeltaFile
1.10+2-4libexec/login_chpass/Makefile
+2-41 files

OpenBSD/src g1NybjTsys/arch/arm64/stand/efiboot efiboot.c

   Terminate SMBIOS vendor/product matching at first match.

   ok jsg@, tobhe@, deraadt@
VersionDeltaFile
1.71+2-1sys/arch/arm64/stand/efiboot/efiboot.c
+2-11 files

OpenBSD/src VAcYhIJsys/arch/amd64/amd64 bus_dma.c autoconf.c, sys/arch/amd64/include bus.h

   Extend the SEV bounce buffer implementation to make it usable for bouncing
   memory that isn't DMA reachable.

   ok deraadt@
VersionDeltaFile
1.61+118-33sys/arch/amd64/amd64/bus_dma.c
1.60+3-1sys/arch/amd64/amd64/autoconf.c
1.38+3-1sys/arch/amd64/include/bus.h
+124-353 files

OpenBSD/src DNUrysLsys/dev/ic com.c

   Get rid of the COM_CONSOLE ifdef maze.  This was introduced for sparc
   which is no longer with us.

   ok jsg@
VersionDeltaFile
1.182+6-35sys/dev/ic/com.c
+6-351 files

OpenBSD/src yCcmTd3sys/arch/amd64/amd64 cpu.c, sys/arch/amd64/include specialreg.h

   floating point state leakage can be observed on AMD Zen/Zen+ (Zen 1)

   This was discovered by the Rootsec research group at the CISPA Helmholtz
   Center for Information Security.  Rootsec named the problem
   Floating Point Divider State Sampling (FP-DSS).

   Do AMD's suggested mitigation, setting a chicken bit in an MSR.

   https://www.amd.com/en/resources/product-security/bulletin/amd-sb-7053.html
   https://roots.ec/blog/fpdss/

   ok deraadt@ brynet@
VersionDeltaFile
1.205+12-1sys/arch/amd64/amd64/cpu.c
1.679+12-1sys/arch/i386/i386/machdep.c
1.86+3-1sys/arch/i386/include/specialreg.h
1.122+3-1sys/arch/amd64/include/specialreg.h
+30-44 files

OpenBSD/src ycP4DrEsbin/slaacd engine.c

   Prevent buffer overflow by checking the correct counter.

   An attacker on the same layer 2 network can send rogue router
   advertisements, potentially crashing slaacd.

   from Maurice Hieronymus (mhi AT mailbox.org), thanks!
   from florian@; OK deraadt

   this is errata/7.7/039_slaacd.patch.sig
VersionDeltaFile
1.99.4.2+2-2sbin/slaacd/engine.c
+2-21 files

OpenBSD/src Mkit1nBsbin/slaacd engine.c

   Prevent buffer overflow by checking the correct counter.

   An attacker on the same layer 2 network can send rogue router
   advertisements, potentially crashing slaacd.

   from Maurice Hieronymus (mhi AT mailbox.org), thanks!
   from florian@; OK deraadt

   this is errata/7.8/033_slaacd.patch.sig
VersionDeltaFile
1.99.2.2+2-2sbin/slaacd/engine.c
+2-21 files

OpenBSD/src iEb9ETLsys/arch/amd64/conf RAMDISK_CD, sys/arch/i386/conf RAMDISK_CD

   Attach puc in RAMDISK_CD on amd64 and i386

   Fixes breakage on my headless amd64. Untested on i386

   OK kettenis@
VersionDeltaFile
1.255+5-1sys/arch/i386/conf/RAMDISK_CD
1.214+4-1sys/arch/amd64/conf/RAMDISK_CD
+9-22 files

OpenBSD/src ULD48RXsys/arch/sparc64/sparc64 locore.s pmap.c

   The parking mutex uses data structures on the stack and expects CPUs to be
   able to modify that data for other CPUs.  Unfortunately on some sparc64
   systems (sun4u systems that don't use Fujitsu SPARC64 CPUs) use a trick
   where the interrupt stack is mapped using a fixed alias on each CPU.  This
   means a CPU can only access its own interrupt stack.  Fix this by using
   the "real" address of the interrupt stack.  We still need the fixed alias
   though to find our own "struct cpu_info" on these systems.  So on
   MULTIPROCESSOR kernel we need to use another locked TLB entry.

   tested by bluhm@, claudio@, tb@, jca@, dlg@
   ok dlg@, jca@
VersionDeltaFile
1.233+24-3sys/arch/sparc64/sparc64/locore.s
1.129+12-1sys/arch/sparc64/sparc64/pmap.c
+36-42 files

OpenBSD/src Q4R9ic1sys/dev/fdt dwpcie.c

   Tell the SpacemiT K1 controller to change the link speed such that we get
   the PCIe gen2 speeds that the controller supports.

   ok mlarkin@, jsing@
VersionDeltaFile
1.60+5-1sys/dev/fdt/dwpcie.c
+5-11 files

OpenBSD/src WrSY1q2distrib/riscv64/ramdisk Makefile, share/man/man8 release.8

   Copy SpacemiT K1 device trees onto the miniroot.  With this, installs
   should just work on the supported boards.  Make sure you install with a
   network connection such that fw_update can put the device trees into
   your new install as well.  Document that "make release" now needs the
   riscv64-spacemit-dtb firmware installed.

   ok deraadt@, jca@
VersionDeltaFile
1.101+12-4share/man/man8/release.8
1.9+3-1distrib/riscv64/ramdisk/Makefile
+15-52 files

OpenBSD/src mvh3sgosys/scsi st.c

   Don't let malicious or confused scsi tape devices cause reading or writing
   outside a mode sense/select buffer.

   Original diff from Stanislav Fort of aisle.com with additional paranoia for
   negative values.

   Tweaks and ok from kettenis@
VersionDeltaFile
1.192+7-2sys/scsi/st.c
+7-21 files

OpenBSD/src Hqh8miLsys/netinet tcp_input.c

   Revert last commit, rev. 1.446.

   The change introduced a regression where sockets get stuck in FIN_WAIT_2
   and LAST_ACK.

   Noticed by anton@ since regress/sys/net/pflow fails.
VersionDeltaFile
1.467+4-4sys/netinet/tcp_input.c
+4-41 files