OpenBSD/src ZHc8VNKusr.sbin/vmd pci.c

   Refactor vmd(8)'s pci io handler.

   Break out of scanning for appropriate bar when found. Tidy up a bit
   and reduce some nested struct member access to shorten up the code.

   ok mlarkin@
VersionDeltaFile
1.36+19-27usr.sbin/vmd/pci.c
+19-271 files

OpenBSD/src Sf7yDFPusr.sbin/vmd pci.h

   Remove unused struct field.

   The PCI data register is emulated. We don't need to store state.

   ok mlarkin@
VersionDeltaFile
1.13+1-2usr.sbin/vmd/pci.h
+1-21 files

OpenBSD/src D3MSBoPsys/arch/amd64/amd64 vmm_machdep.c

   Handle AMD SEV-ES GHCB MSR protocol for guest termination in vmm(4).

   Another service requested by a SEV-ES enabled guest through the
   GHCB MSR protocol is guest termination.

   With this commit, vmm(4) will be able to run a SEV-ES enabled guest.
   Still missing is vmd(8) support to configure and enable SEV-ES and
   the guest side changes.

   from hshoexer@; OK mlarkin@
VersionDeltaFile
1.56+6-3sys/arch/amd64/amd64/vmm_machdep.c
+6-31 files

OpenBSD/src hFkelU4usr.bin/tmux tmux.1

   Add missing theme hooks, from Eric NICOLAS in GitHub issue 4519.
VersionDeltaFile
1.1001+6-2usr.bin/tmux/tmux.1
+6-21 files

OpenBSD/src kcG1vd0sys/dev/acpi acpi.c

   Fix processing of GPIO events for pin numbers less than 256 with an _EVT
   method.  Fixes power button on various thinkpads with AMD CPUs.

   ok rsadowski@
VersionDeltaFile
1.447+7-14sys/dev/acpi/acpi.c
+7-141 files

OpenBSD/src 8h4odHFsys/arch/amd64/amd64 vmm_machdep.c, sys/arch/amd64/include ghcb.h

   Handle AMD SEV-ES GHCB MSR protocol for CPUID in vmm(4).

   When a SEV-ES guest is in locore0, it will not be able yet to use
   a GHCB to communicate with vmm(4).  Therefore, AMD specifies a "GHCB
   MSR protocol" that uses the lower 12 bits of the GHCB MSR to request
   services from vmm(4).  Guest writes to the GHCB MSR will show up
   in the v_ghcb_gpa member of the VMCB and are thus accesible by
   vmm(4).  The response of vmm(4) can be provided by writing it to
   the VMCB.

   In locore0 a SEV-ES guest will need to request CPUID from vmm(4)
   using the GHCB MSR protocol.  This commit provides vmm(4) implementation.

   from hshoexer@; OK mlarkin@
VersionDeltaFile
1.55+56-2sys/arch/amd64/amd64/vmm_machdep.c
1.2+6-1sys/arch/amd64/include/ghcb.h
+62-32 files

OpenBSD/src 4CTxTSssys/dev/acpi pckbc_acpi.c

   match on PNP030B which is needed on my vivobook.
   also add PNP0320 which brynet and miod tell me is in freebsd.
VersionDeltaFile
1.4+3-1sys/dev/acpi/pckbc_acpi.c
+3-11 files

OpenBSD/src 0FM9T6gsys/netinet ip_carp.c

   avoid some integer overflow by casting before multiplying.
VersionDeltaFile
1.369+3-3sys/netinet/ip_carp.c
+3-31 files

OpenBSD/src IZans1Vlib/libc/sys profil.2

   seperation -> separation
VersionDeltaFile
1.14+2-2lib/libc/sys/profil.2
+2-21 files

OpenBSD/src gXI9zztusr.bin/nc nc.1

   limitiation -> limitation
VersionDeltaFile
1.100+3-3usr.bin/nc/nc.1
+3-31 files

OpenBSD/src LKTBePBsbin/fdisk fdisk.8

   attibutes -> attributes
VersionDeltaFile
1.126+2-2sbin/fdisk/fdisk.8
+2-21 files

OpenBSD/src LIEwMT9sys/kern kern_sched.c, sys/sys proc.h

   remove unused cpuset_add_all() cpuset_clear() cpuset_union()
   ok claudio@ mpi@
VersionDeltaFile
1.107+1-24sys/kern/kern_sched.c
1.390+1-4sys/sys/proc.h
+2-282 files

OpenBSD/src fFg4jNCsys/kern kern_sched.c

   When entering sched_idle() the first time the CPU ci is not idle.
   Actually at that point this code is not running on that CPU so do
   not pretend that the CPU is idle by fiddling with the sched_idle_cpus
   cpuset.
   OK mpi@
VersionDeltaFile
1.106+1-3sys/kern/kern_sched.c
+1-31 files

OpenBSD/src dbtUKhrsys/arch/amd64/amd64 vmm_machdep.c

   Fix whitespace, makes it easier to apply diffs.
VersionDeltaFile
1.54+19-19sys/arch/amd64/amd64/vmm_machdep.c
+19-191 files

OpenBSD/src A6wb7lulib/libc/stdlib malloc.3

   Delete bad advice about abusing malloc_options = "X" as a production
   feature to terminate the program when out of memory.  Application code
   should always handle failure of library functions properly.  So if you
   want your program to terminate, write something like

   |    p = malloc(...);
   |    if (p == NULL)
   |            err(1, NULL);

   and don't abuse malloc_options.
   Direction suggested by otto@ after anton@ pointed out that this very old
   text still used an outdated data type for malloc_options and potentially
   failed to define its value at compile time.
   OK otto@
VersionDeltaFile
1.145+3-12lib/libc/stdlib/malloc.3
+3-121 files

OpenBSD/src J9ucZvmsys/arch/amd64/amd64 vmm_machdep.c

   Handle IOIO for AMD SEV-ES VMGEXIT in vmm(4).

   Fill in the actual handler for IOIO related GEXIT.  The actual "in"
   or "out" instruction is encoded in the exitinfo provided by the
   guest in the GHCB.  For "in" vmm(4) returns the result in the A
   general purpose register.

   The actual emulation is done by svm_handle_inout() and vmd(8).  On
   the way back into the guest, vmm(4) synchronizes the computed result
   back to the GHCB.

   With this commit, vmm(4) and vmd(8) will be able to deal with all
   GEXITs that will be generated for now by openbsd SEV-ES enabled
   guest.

   from hshoexer@; OK mlarkin@
VersionDeltaFile
1.53+24-2sys/arch/amd64/amd64/vmm_machdep.c
+24-21 files

OpenBSD/src oetbDdbsys/netinet ip6.h tcp_input.c, sys/netinet6 icmp6.c ip6_input.c

   Convert IP6_EXTHDR_GET() macro to ip6_exthdr_get() inline function.

   Make the new function static inline so it can stay in the same
   netinet/ip6.h header file.  Returning a void pointer avoids all the
   type casts.  Convert the panic("m_pulldown malfunction") to an
   kassert and move it into m_pulldown().  Keep the offset and length
   parameter int as this type is what m_pulldown() expects.

   OK claudio@
VersionDeltaFile
1.23+20-21sys/netinet/ip6.h
1.266+17-22sys/netinet6/icmp6.c
1.272+6-7sys/netinet6/ip6_input.c
1.449+5-5sys/netinet/tcp_input.c
1.175+3-5sys/netinet6/nd6_rtr.c
1.92+3-4sys/netinet6/frag6.c
+54-647 files not shown
+71-8113 files

OpenBSD/src gmOUF5Xsys/dev/pci/drm/amd/amdgpu amdgpu_devlist.h

   GC 9.5.0 in linux 6.14, GC 11.5.3 in linux 6.15
VersionDeltaFile
1.35+2-2sys/dev/pci/drm/amd/amdgpu/amdgpu_devlist.h
+2-21 files

OpenBSD/src ErqAliDlib/libcrypto/evp e_camellia.c e_des3.c

   Make EVP_CIPHER_[gs]et_asn1_iv() local to evp_cipher

   These formerly public functions have only ever been called from
   EVP_CIPHER_asn1_to_param() and EVP_CPIHER_param_to_asn1(), either
   directly if the EVP_CIPH_FLAG_DEFAULT_ASN1 flag is set, or indirectly
   when set as the .[gs]et_asn1_parameters() method of the EVP_CIPHER.
   This commit removes their use in .[gs]et_asn1_parameters() dating back
   to long before the EVP_CIPH_FLAG_DEFAULT_ASN1 was introduced in 2010.

   This way the only remaining consumer of .[gs]et_asn1_parameters() is RC2.

   ok jsing
VersionDeltaFile
1.22+55-55lib/libcrypto/evp/e_camellia.c
1.31+39-30lib/libcrypto/evp/e_des3.c
1.25+25-19lib/libcrypto/evp/e_des.c
1.20+17-13lib/libcrypto/evp/e_bf.c
1.19+17-13lib/libcrypto/evp/e_cast.c
1.23+13-13lib/libcrypto/evp/e_idea.c
+166-1433 files not shown
+174-1539 files

OpenBSD/src NqFeXciusr.sbin/pkg_add/OpenBSD Subst.pm PkgCreate.pm

   Mop up more remnants of non-shared archs handling

   As espie points out, the need for a $def vs $frag split was removed in
   PkgCreate.pm r1.120 in 2016, now it's just an unnecessary dance that
   gets in the way of upcoming work in fragment handling, so clean that up.

   from espie
VersionDeltaFile
1.27+3-3usr.sbin/pkg_add/OpenBSD/Subst.pm
1.198+2-3usr.sbin/pkg_add/OpenBSD/PkgCreate.pm
+5-62 files

OpenBSD/src 55LbNcLsbin/pfctl pfctl.c

   pfctl(8) should not attempt to read limits when open('/dev/pf') fails.

   The bug was introduced by my earlier commit (pfctl.c,v 1.396) to pfctl(8).
   The issue was discovered and analyzed by anton@

   OK @anton
VersionDeltaFile
1.397+4-3sbin/pfctl/pfctl.c
+4-31 files

OpenBSD/src D4XmBgnsys/dev/usb if_umb.c

   Don't blindly trust the values provided by an USB device. Validate them!
   Found by Robert Morris; reported by Pierre Pronchery.
   ok claudio@
VersionDeltaFile
1.60+3-2sys/dev/usb/if_umb.c
+3-21 files

OpenBSD/src TZrE9eElib/libcrypto/evp evp_cipher.c

   GOST has left the building
   (comment tweak, no code change)
VersionDeltaFile
1.25+2-2lib/libcrypto/evp/evp_cipher.c
+2-21 files

OpenBSD/src XmgiLZdsys/arch/amd64/amd64 vmm_machdep.c

   Handle MSR for AMD SEV-ES VMGEXIT in vmm(4).

   Fill in the actual handler for MSR related VMGEXIT.  The SEV-ES
   guest sends vmm(4) A, C and D general purpose registers for wrmsr,
   and C register for rdmsr.  For wrmsr vmm(4) returns nothing to the
   guest, for rdmsr the 64bit result is split into EAX and EDX.  As
   with regular SVM_VMEXIT_MSR, svm_handle_msr() does the actual work.

   from hshoexer@; OK mlarkin@
VersionDeltaFile
1.52+26-1sys/arch/amd64/amd64/vmm_machdep.c
+26-11 files

OpenBSD/src s08KmS8regress/usr.sbin/httpd/patterns patterns-tester.c

   Remove by now incorrect usage of malloc_options in httpd patterns
   regress. As stated in bsd.regress.mk(5), one is advised favor the
   MALLOC_OPTIONS environment variable.
VersionDeltaFile
1.2+1-6regress/usr.sbin/httpd/patterns/patterns-tester.c
+1-61 files

OpenBSD/src 1Q0BNecsys/dev/pci pcidevs_data.h pcidevs.h

   regen
VersionDeltaFile
1.2089+10-2sys/dev/pci/pcidevs_data.h
1.2094+4-2sys/dev/pci/pcidevs.h
+14-42 files

OpenBSD/src GW3vQp7sys/dev/pci pcidevs, sys/dev/pci/drm/amd/amdgpu amdgpu_devlist.h

   add Navi 44 and Navi 48 ids

   7550 rev c2 is Radeon RX 9070 GRE
   7551 rev c0 is Radeon AI PRO R9700
   7590 rev c0 is Radeon RX 9060 XT
   found in ROCm 6.4.1 libdrm-amdgpu-common
VersionDeltaFile
1.2100+4-2sys/dev/pci/pcidevs
1.34+4-2sys/dev/pci/drm/amd/amdgpu/amdgpu_devlist.h
+8-42 files

OpenBSD/src EM5IGfusbin/fdisk fdisk.8 gpt.c

   fdisk: consistently print an ASCII tab after disk name

   This aligns GPT and MBR output a bit better and is going to be handy
   for regress tests. Adjust the manpage examples accordingly.

   ok krw
VersionDeltaFile
1.125+9-9sbin/fdisk/fdisk.8
1.100+2-2sbin/fdisk/gpt.c
+11-112 files

OpenBSD/src OrW2I9yusr.sbin/lldp lldp.c

   cisco upoe tlv
VersionDeltaFile
1.11+33-1usr.sbin/lldp/lldp.c
+33-11 files

OpenBSD/src A3PbSBEsys/arch/amd64/amd64 vmm_machdep.c

   Handle CPUID for AMD SEV-ES VMGEXIT in vmm(4).

   Fill in the actual handler for CPUID related VMGEXIT.  The SEV-ES
   guest sends vmm(4) the content of A and C general purpose registers.
   vmm(4) dispatches to vmm_handle_cpuid(); and returns the results
   in A, B, C and D registers.

   from hshoexer@; OK mlarkin@
VersionDeltaFile
1.51+17-1sys/arch/amd64/amd64/vmm_machdep.c
+17-11 files