NetBSD/src G9uwo40sys/dev/nvmm/x86 nvmm_x86_svm.c nvmm_x86_vmx.c

   nvmm: Don't report physical lapic freq as virtual lapic freq.

   The virtual lapic emulated by qemu in software always ticks at 1 GHz,
   but the physical lapic on my laptop, for example, ticks at 24 MHz.

   In order for this to work as iMil intended, we need some way for the
   hypervisor (such as qemu) to tell nvmm what its lapic frequency is.
   Until we have that, we can't correctly report any alleged lapic
   frequency to the guest.

   PR kern/59424: hardclock ticks run at breakneck pace under qemu
VersionDeltaFile
1.94+3-3sys/dev/nvmm/x86/nvmm_x86_svm.c
1.94+3-3sys/dev/nvmm/x86/nvmm_x86_vmx.c
+6-62 files

NetBSD/src 8HCSKcAtests/crypto/libcrypto t_sha512trunc.c

   t_sha512trunc.c: add some more test cases

   These were randomly selected (biased for size) from the same source as
   the original ones. If still more are needed, reading from an input file
   would be the better (or, size-wise only) option, but this is simpler
   as-is.
VersionDeltaFile
1.4+290-3tests/crypto/libcrypto/t_sha512trunc.c
+290-31 files

NetBSD/src heDfa6stests/crypto/libcrypto t_sha512trunc.c

   t_sha512trunc.c: fix test case iteration

   The code in check() was repeatedly running the first element of the array
   of test cases, rather than iterating. (Noted by human-powered code
   inspection while preparing another commit that will follow shortly.)
VersionDeltaFile
1.3+6-4tests/crypto/libcrypto/t_sha512trunc.c
+6-41 files

NetBSD/src 3hnIlCkusr.bin/gzip Makefile

   Don't include zstd in the rescue version of gzip. Simplifies things until
   we decide how to handle the zstd build.
VersionDeltaFile
1.21+8-2usr.bin/gzip/Makefile
+8-21 files

NetBSD/src 27kRcuTtools/gzip Makefile

   fix the build.
VersionDeltaFile
1.2+2-2tools/gzip/Makefile
+2-21 files

NetBSD/src fC9obB7usr.bin/tail reverse.c

   GitHub#80: Ricardo Branco: Some pseudo-filesystems return 0 for file size,
   so don't try to use mmap() on them.
VersionDeltaFile
1.24+3-3usr.bin/tail/reverse.c
+3-31 files

NetBSD/src Y5Is2ZEdoc 3RDPARTY

   gcc 16.1.0 out
VersionDeltaFile
1.2195+2-2doc/3RDPARTY
+2-21 files

NetBSD/src CWDn3iAsys/arch/cesfic/include vmparam.h, sys/arch/hp300/include vmparam.h

   Provide defaults for VM_PHYSSEG_MAX, VM_PHYSSEG_STRAT (single segment),
   VM_NFREELIST, and VM_FREELIST_DEFAULT (single freelist).

   Achievement unlocked: some platform <machine/vmparam.h> files are now just
   simple wrappers around <m68k/vmparam.h> (and a few more are *very* close).
VersionDeltaFile
1.35+1-61sys/arch/news68k/include/vmparam.h
1.35+1-57sys/arch/luna68k/include/vmparam.h
1.7+21-1sys/arch/m68k/include/vmparam.h
1.51+2-15sys/arch/hp300/include/vmparam.h
1.31+1-14sys/arch/cesfic/include/vmparam.h
1.22+2-13sys/arch/sun2/include/vmparam.h
+28-1618 files not shown
+49-22214 files

NetBSD/src oIyEA08sys/arch/amiga/include vmparam.h, sys/arch/atari/include vmparam.h

   Centralize the definition of VM_PHYS_SIZE.  While doing so, change
   the logic for its value, eliminating the obsolete USRIOSIZE constant.

   Previously, on Utah-derived platforms, USRIOSIZE was defined as the
   number of PTEs used for phys_map, and VM_PHYS_SIZE was USRIOSIZE * PAGE_SIZE.
   The USRIOSIZE was in turn derived from NPTEPG (number of PTEs in one page).

   On 4K page systems, that was a 4MB phys_map.  On 8K page systems, that
   was a 16MB phys_map (4x muliplier comes from 2x PTEs per page, 2x bytes
   per page mapped).  These values are totally excessive; the most pressure
   phys_map experiences on a typical system is boot-time fsck, and the max
   mapping request it will see is MAXPHYS (64KB); it is generally not used in
   steady-state operation.  In contrast, alpha's phys_map is 512KB and 32-bit
   x86 is ~1MB.

   Instead, simply define reasonable values for VM_PHYS_SIZE independent of
   PAGE_SIZE: 256KB for 68010, 1MB for everone else.  Per-platform constraints
   can override these values (although they happen to match what Sun2 and Sun3
   use, respectively).

    [3 lines not shown]
VersionDeltaFile
1.21+11-16sys/arch/sun2/include/vmparam.h
1.42+10-15sys/arch/sun3/include/vmparam.h
1.6+23-1sys/arch/m68k/include/vmparam.h
1.54+1-14sys/arch/amiga/include/vmparam.h
1.41+1-14sys/arch/atari/include/vmparam.h
1.38+1-12sys/arch/next68k/include/vmparam.h
+47-729 files not shown
+63-17015 files

NetBSD/src 0aaSHUkusr.bin/gzip unzstd.c gzip.c

   Add support for decompressing zstd files.

   From FreeBSD.
VersionDeltaFile
1.1+89-0usr.bin/gzip/unzstd.c
1.130+44-4usr.bin/gzip/gzip.c
1.34+5-3usr.bin/gzip/gzip.1
1.20+6-1usr.bin/gzip/Makefile
+144-84 files

NetBSD/src 7sFXOY1external/bsd/pkg_install/sbin Makefile.inc, tests/lib/libarchive Makefile

   Explicitly link against libzstd where libarchive is used.
   Needed for static linking, where transitive library dependancies
   aren't tracked.
VersionDeltaFile
1.9+4-5usr.bin/unzip/Makefile
1.20+3-2tests/lib/libarchive/Makefile
1.7+3-1tests/usr.bin/cpio/Makefile
1.6+3-1tests/usr.bin/tar/Makefile
1.6+3-1external/bsd/pkg_install/sbin/Makefile.inc
+16-105 files

NetBSD/src Mdo0TQNexternal/bsd/libarchive/include config_netbsd.h

   Re-re-enable zstd library usage.
VersionDeltaFile
1.19+1-1external/bsd/libarchive/include/config_netbsd.h
+1-11 files

NetBSD/src 9kNwO9nsys/arch/alpha/include vmparam.h

   MAXBSIZE -> MAXPHYS in a comment about USRIOSIZE, because MAXPHYS is
   what matters when referring to phys_map.
VersionDeltaFile
1.41+2-2sys/arch/alpha/include/vmparam.h
+2-21 files

NetBSD/src 5Fi1JpPsys/arch/m68k/include vmparam.h

   Enable __USE_TOPDOWN_VM; this was set on sun2 and sun3, but somehow
   forgotten on the rest of m68k.  (Seriously, why is this even optional?)

   Tested on both Utah and new pmap.
VersionDeltaFile
1.5+3-1sys/arch/m68k/include/vmparam.h
+3-11 files

NetBSD/src 2hrK4mrsys/arch/cesfic/include vmparam.h

   G/C obsolete DMMIN, DMMAX
VersionDeltaFile
1.29+1-11sys/arch/cesfic/include/vmparam.h
+1-111 files

NetBSD/src EI3S2nLsys/arch/cesfic/include vmparam.h

   G/C obsolete MACHINE_NEW_NONCONTIG
VersionDeltaFile
1.28+1-4sys/arch/cesfic/include/vmparam.h
+1-41 files

NetBSD/src hg45iKUsys/arch/luna68k/include vmparam.h, sys/arch/m68k/include vmparam.h

   Centralize the definition of VM_{MIN,MAX}_KERNEL_ADDRESS.
VersionDeltaFile
1.20+9-14sys/arch/sun2/include/vmparam.h
1.14+1-21sys/arch/virt68k/include/vmparam.h
1.33+1-21sys/arch/news68k/include/vmparam.h
1.33+1-20sys/arch/luna68k/include/vmparam.h
1.4+19-1sys/arch/m68k/include/vmparam.h
1.54+1-18sys/arch/mac68k/include/vmparam.h
+32-9514 files not shown
+83-21020 files

NetBSD/src neSNqposys/arch/x68k/x68k disksubr.c

   x68k: Initialize d_bbsize and d_sbsize on the disklabel always.
   These values are for (old) FFS, so it didn't make sense to initialize
   only when the BSD disklabel was missing and the Human68k partition existed.
   This avoids disklabel(8)'s warnings:
    disklabel: boot block size 0
    disklabel: super block size 0
   Inspired from PR install/59600.
VersionDeltaFile
1.38+5-4sys/arch/x68k/x68k/disksubr.c
+5-41 files

NetBSD/src 2391UH3usr.sbin/sysinst/arch/x68k md.c

   sysinst/x68k: Remove unnecessary conditions in md_disklabe_is_default().
   lp->d_bbsize and lp->d_sbsize should be constants (this is probably another
   bug) and should not be part of this check.
   Fix PR install/59600
   Should be pulled up -10 and -11.
VersionDeltaFile
1.14+2-4usr.sbin/sysinst/arch/x68k/md.c
+2-41 files

NetBSD/src rJS7bHssys/arch/amiga/include vmparam.h, sys/arch/cesfic/include vmparam.h

   Centralize the definition of VM_MIN_ADDRESS, VM_MAX_ADDRESS/VM_MAXUSER_ADDRESS,
   and USRSTACK.  While here, get rid of the "must be compatible with HP-UX
   debuggers" affordance which, really, has outlived its usefulness (and not
   all platforms adopted this in any case).  Also, since we haven't had "u."
   in about a million years, there's also no need to have UPAGES worth of
   virtual space above the user stack, so just tuck it right up against
   the ceiling everywhere.

   Odd-ball is Amiga because it previously had a USRSTACK totally unlike
   the others, so I left it that way for now.
VersionDeltaFile
1.3+37-1sys/arch/m68k/include/vmparam.h
1.52+6-14sys/arch/amiga/include/vmparam.h
1.13+2-16sys/arch/virt68k/include/vmparam.h
1.47+2-16sys/arch/mvme68k/include/vmparam.h
1.26+2-16sys/arch/cesfic/include/vmparam.h
1.32+2-16sys/arch/news68k/include/vmparam.h
+51-7910 files not shown
+74-17416 files

NetBSD/src kw7Tob3sys/arch/sgimips/ioc ioc.c, sys/arch/sgimips/sgimips machdep.c

   sgimips: early initialisation of mach_subtype for SGI Indy / Indigo2

   The mach_subtype field is needed early in boot for dev/int.c (the 8254
   in the IO block) and other bits and pieces like GIO bus config.

   So set it up super early here.

   This allows my Indigo 2 R4400PC-150 to boot - slowly until the int driver
   enumerates, but that's separate problem I'll dig into.

   I also verified my R5000PC-180 Indy boots with this.

   This addresses PR port-sgimips/60205 .
VersionDeltaFile
1.157+18-2sys/arch/sgimips/sgimips/machdep.c
1.15+7-2sys/arch/sgimips/ioc/ioc.c
+25-42 files

NetBSD/src LRZ8rvSsys/arch/sgimips/sgimips console.c

   sgimips: delete dead code for IP32 console keyboard

   The IP32 console keyboard controller is not a PC/AT style 8042
   controller.  It is a PS/2 controller though.  Let it attach
   normally, not through here.
VersionDeltaFile
1.46+2-11sys/arch/sgimips/sgimips/console.c
+2-111 files

NetBSD/src Hqm1wyiexternal/bsd/atf/dist/atf-c atf-c-api.3

   atf-c-api.3: fix grammar in a sentence
VersionDeltaFile
1.7+1-1external/bsd/atf/dist/atf-c/atf-c-api.3
+1-11 files

NetBSD/src OK4bcpQlib/libc/hash/sha2 sha2.3

   sha2.3: note the SHA-224 functions were added in NetBSD 6
VersionDeltaFile
1.10+4-2lib/libc/hash/sha2/sha2.3
+4-21 files

NetBSD/src rQUOddoexternal/bsd/libarchive/include config_netbsd.h, tests/lib/libarchive Makefile

   Undo previous change to (re-)enable libarchive to use zstd directly.
   It broke the sun2 build.
VersionDeltaFile
1.19+1-2tests/lib/libarchive/Makefile
1.18+1-1external/bsd/libarchive/include/config_netbsd.h
+2-32 files

NetBSD/src 8C5KgZYexternal/public-domain/sqlite/dist sqlite3.c

   All 64 bit platforms support __{u,}int128_t, don't limit it to hard-coded ones.
VersionDeltaFile
1.26+2-4external/public-domain/sqlite/dist/sqlite3.c
+2-41 files

NetBSD/src UA7Kbuksys/arch/x86/x86 via_padlock.c

   Update to match recent cryptodev update

   <opencrypto/cryptodev.h> recently changed a bunch of fields from
   signed to unsigned.   To avoid gcc stupidly complaining about
   comparisons of different signedness ints (I mean, how can

        for (i = 0; i < unsigned_thing; i++)

   ever see i become negative?) change i from int to unsigned int.

   Should fix the i386 build.
VersionDeltaFile
1.38+4-3sys/arch/x86/x86/via_padlock.c
+4-31 files

NetBSD/src YDOboH4sys/opencrypto cryptosoft_xform.c cryptodev.h

   u_intXX_t -> uintXX_t
VersionDeltaFile
1.31+159-159sys/opencrypto/cryptosoft_xform.c
1.53+91-91sys/opencrypto/cryptodev.h
1.128+30-30sys/opencrypto/cryptodev.c
1.133+26-26sys/opencrypto/crypto.c
1.6+20-20sys/opencrypto/ocryptodev.h
1.25+16-16sys/opencrypto/deflate.c
+342-3427 files not shown
+390-39013 files

NetBSD/src b3EdBQ7sys/opencrypto cryptodev.c cryptodev.h

   Fix:

   An integer wraparound bug that could cause a NULL pointer exception.
   Data sharing issues that could cause data corruption.
   Locking issues that could cause double freeing or using free memory.

   Issues discovered by nasm and coordinated by VulnCheck

   Thank you!
VersionDeltaFile
1.127+317-345sys/opencrypto/cryptodev.c
1.52+39-32sys/opencrypto/cryptodev.h
1.4+5-4sys/opencrypto/cryptodev_internal.h
1.132+4-4sys/opencrypto/crypto.c
1.18+4-4sys/opencrypto/ocryptodev.c
1.5+3-3sys/opencrypto/ocryptodev.h
+372-3921 files not shown
+375-3957 files

NetBSD/src BBAyUIDcrypto/external/bsd/openssh/lib Makefile

   libssh/Makefile: Fix comment about compat libssh.

   We _do_ create a private compat libssh, not for the benefit of
   applications linked against it (there aren't any, or if there were it
   would be a bug) but for the benefit of applications loading
   pam_ssh.so which is legitimately linked against libssh.

   When I made the change a few months ago to restore building compat
   libssh (by not defining NOCOMPAT) I explained this in the commit
   message but neglected to update the comment.

   PR lib/58648: private shared libraries should go in /usr/lib/private,
   not /usr/lib
VersionDeltaFile
1.49+8-4crypto/external/bsd/openssh/lib/Makefile
+8-41 files