NetBSD/src b1qIvrqexternal/cddl/osnet/dist/uts/common/fs/zfs zfs_vnops.c

   zfs_netbsd_putpages: do not make the pagedaemon block on the range lock

   blocking here can end up with a deadlock because ordinary
   vnops can wait for memory holding the range lock.

   fixes PR/60004
   https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=60004
VersionDeltaFile
1.82+13-2external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c
+13-21 files

NetBSD/src 2za5IFsexternal/cddl/osnet/dist/uts/common/fs/zfs zfs_rlock.c, external/cddl/osnet/dist/uts/common/fs/zfs/sys zfs_rlock.h

   zfs: add zfs_range_lock_try

   i plan to use this to fix pgdaemon deadlock issue. (PR/60004)
   (thus i didn't bother to implement RL_READER.)

   note: recent openzfs has a similar function. (zfs_rangelock_tryenter)
   this commit ought to be reverted when/if we switch to it.

   https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=60004
VersionDeltaFile
1.7+28-7external/cddl/osnet/dist/uts/common/fs/zfs/zfs_rlock.c
1.4+1-0external/cddl/osnet/dist/uts/common/fs/zfs/sys/zfs_rlock.h
+29-72 files

NetBSD/src WMJsLEjsys/dev/acpi apei_hest.c

   apei_hest: fix a zero-sized kmem_zalloc issue

   zero-sized kmem_zalloc is illigal.

   this fixes a crash seen on HP Z4 G4.

   when installing netbsd 10.1 on the machine, i had to
   work this around by "userconf disable apei" and
   ```
   userconf=disable apei*
   ```
   in boot.cfg.

   "acpidump -dt" on the machine said:
   ```
   Error Source Count=0
   ```
   under the "HEST:" section.


    [13 lines not shown]
VersionDeltaFile
1.8+6-4sys/dev/acpi/apei_hest.c
+6-41 files

NetBSD/src FTyHYcbshare/man/man4 pchtemp.4, sys/arch/amd64/conf XEN3_DOM0

   pchtemp: add a simple driver for intel pch thermal sensor

   tested on PCI_PRODUCT_INTEL_2HS_THERM, which was found on HP Z4 G4.
   although other variants look compatible, i have not actually tested them.
   (no hardware)

   dmesg:
   ```
   [   512.596379] pchtemp0 at pci0 dev 20 function 2: Intel PCH Temperature Sensor
   ```

   envstat:
   ```
   [pchtemp0]
     pchtemp0 temperature:    41.500                                      degC
   ```

   enable in kernel configs where amdtemp is enabled.

   the man page is mostly copy-and-paste from amdtemp.4.
VersionDeltaFile
1.1+254-0sys/arch/x86/pci/pchtemp.c
1.1+62-0share/man/man4/pchtemp.4
1.1+11-0sys/modules/pchtemp/pchtemp.ioconf
1.1+11-0sys/modules/pchtemp/Makefile
1.28+6-1sys/arch/x86/pci/files.pci
1.208+4-2sys/arch/amd64/conf/XEN3_DOM0
+348-314 files not shown
+390-2220 files

NetBSD/src 76IdvMyetc/etc.evbarm Makefile.inc

   IMX23_OLINUXINO is dead.
VersionDeltaFile
1.138+1-2etc/etc.evbarm/Makefile.inc
+1-21 files

NetBSD/src T38Iz4Usys/kern vfs_vnode.c

   vcache_reclaim: whitespace

   no functional changes
VersionDeltaFile
1.157+3-3sys/kern/vfs_vnode.c
+3-31 files

NetBSD/src QluHIEllib/libc/string strtok.3

   Added restrict to SYNOPSIS for strtok_r(), and fix broken example.

   strtok_r() (and strtok() which already had it here) gained "restrict"
   for their params in ISO C 99 (and then in Posix 2001).

   The example code worked for the particular example given (the input
   data actually used) but was hopelessly broken in general.   As part
   of that (but not the actual breakage), if something defines MAXTOKENS
   then allow that many tokens, not one less ... add an extra slot for
   the terminating NULL.

   While here, update the STANDARDS section a little.
VersionDeltaFile
1.24+22-7lib/libc/string/strtok.3
+22-71 files

NetBSD/src RY83Q7winclude string.h

   Added "restrict" to args in declaration of strtok_r()

   The "restrict" was included in strtok_r() in C99 and POSIX Issue 6 (2001).
   (The same time it was added to strtok()).

   strtok_r() actually dates from Posix I5 (1995), not I6 (2001) as the
   guard on its definition states, but after all this time, clearly no-one
   cares about that.
VersionDeltaFile
1.59+2-2include/string.h
+2-21 files

NetBSD/src ozFQsXNsys/arch/virt68k/virt68k bootinfo.c

   bootinfo_get_mmu(): Don't return FPU_UNKNOWN for an unknown/unsupported
   MMU.
VersionDeltaFile
1.15+3-3sys/arch/virt68k/virt68k/bootinfo.c
+3-31 files

NetBSD/src zFdgIpisys/arch/hppa/include bus_defs.h

   Remove duplicate sys/bus_proto.h defines.
VersionDeltaFile
1.6+1-14sys/arch/hppa/include/bus_defs.h
+1-141 files

NetBSD/src j4zUEpZsys/arch/arm/include bus_defs.h

   Remove duplicate sys/bus_proto.h defines.
VersionDeltaFile
1.21+2-33sys/arch/arm/include/bus_defs.h
+2-331 files

NetBSD/src ckAxZ0Jsys/arch/hppa/dev dino.c, sys/arch/hppa/include bus_defs.h

   Remove unused BUS_SPACE_MAP_NOEXTENT.

   OpenBSD removed it back in 2010.
VersionDeltaFile
1.19+4-4sys/arch/hppa/dev/dino.c
1.5+1-5sys/arch/hppa/include/bus_defs.h
+5-92 files

NetBSD/src JNdPEOvsys/arch/hppa/include bus_defs.h

   Remove unused BUS_SPACE_MAP_READONLY
VersionDeltaFile
1.4+1-2sys/arch/hppa/include/bus_defs.h
+1-21 files

NetBSD/src 7fai0iAsbin/raidctl raidctl.c

   oops, mistakenly cleared one logical or
VersionDeltaFile
1.89+3-3sbin/raidctl/raidctl.c
+3-31 files

NetBSD/src nlheVXasbin/raidctl raidctl.c

   improve error message when RAID level not agreeing with number of components


   approved by oster@
VersionDeltaFile
1.88+26-4sbin/raidctl/raidctl.c
+26-41 files

NetBSD/src vRokePnsys/dev/i2c i2c_enum.h

   Allow the deventry filtering callback to be NULL.
VersionDeltaFile
1.4+3-2sys/dev/i2c/i2c_enum.h
+3-21 files

NetBSD/src q0yJqoCsys/arch/macppc/dev cuda.c, sys/arch/sandpoint/sandpoint autoconf.c

   Don't ignore the return value from i2c_enumerate_deventries(); just
   return what it returns.
VersionDeltaFile
1.35+3-5sys/arch/macppc/dev/cuda.c
1.33+3-5sys/arch/sandpoint/sandpoint/autoconf.c
+6-102 files

NetBSD/src xYvKrLPtests/lib/libc/gen t_fpclassify.c

   t_fpclassify: Give up on double issignalling on i386 for now.

   PR lib/60015: x87 makes testing signalling NaN difficult
VersionDeltaFile
1.22+14-2tests/lib/libc/gen/t_fpclassify.c
+14-21 files

NetBSD/src uN6BW2jtests/lib/libc/gen t_fpclassify.c

   t_fpclassify: Show the floating-point bits more carefully.

   Use formatbits(&f) rather than formatbits(f).  This serves two
   purposes:

   1. Type-checking.

      Can't accidentally pass a double where a float is needed -- a bug
      that previously appeared a few times in this code.

   2. Reducing the chance that the data will pass through floating-point
      load/store instructions on x87.

      Floating-point load of binary32 (float) or binary64 (double)
      converts to x87 80-bit extended precision format internally, which
      preserves all floating-point _numbers_ and _infinities_ but has
      the side effect of changing signalling NaN to quiet NaN (and
      raising FE_INVALID).  This means that signalling NaNs were getting
      wrongly printed _as if_ they were quiet NaNs, which is frustrating

    [4 lines not shown]
VersionDeltaFile
1.21+86-77tests/lib/libc/gen/t_fpclassify.c
+86-771 files

NetBSD/src hUSPqjisys/arch/mac68k/dev zs.c, sys/arch/macppc/dev zs.c

   fix few typos in comments.
VersionDeltaFile
1.64+3-3sys/arch/mac68k/dev/zs.c
1.60+3-3sys/arch/macppc/dev/zs.c
1.286+3-3sys/netipsec/key.c
1.3+2-2sys/sys/wapbl_replay.h
+11-114 files

NetBSD/src LLFiIz2doc 3RDPARTY

   zlib-1.3.2 is out
VersionDeltaFile
1.2168+3-3doc/3RDPARTY
+3-31 files

NetBSD/src bDbax46share/man/man4 virtio_mmio.4 pv.4

   share/man/man4: use the correct bus in pv(4) and virtio_mmio(4)

   While there, also link to a acpi(4) and pv(4) from virtio_mmio(4).

   "Good catch" iMil@
VersionDeltaFile
1.3+4-2share/man/man4/virtio_mmio.4
1.3+2-2share/man/man4/pv.4
+6-42 files

NetBSD/src ETiBs4ptests/lib/libc/gen t_fpclassify.c

   Oops, forgot a ';'
VersionDeltaFile
1.20+3-3tests/lib/libc/gen/t_fpclassify.c
+3-31 files

NetBSD/src 7oX3ZTcsbin/swapctl swapctl.8

   More cleanups and simplifications (more of the previous).

   In particular, there is no need to say "using the swapctl(2)
   system call", the SEE ALSO to that page should make that clear
   enough to anyone who actually cares, which is not required of
   a user of swapctl(8).

   Minor other changes (a few grammar cleanups), and one new
   BUGS entry added (should have been there for ages now).
VersionDeltaFile
1.52+32-29sbin/swapctl/swapctl.8
+32-291 files

NetBSD/src B0uVMl9sbin/swapctl swapctl.8

   swapctl(8): edit to g/c ornate verbosity

   In a typical

     -x   The -x option is used to cause swapctl to frob.

   description the relevant bits of information are 1) "-x" and 2)
   "frob", so just make it say:

     -x   Frob.

   The pleonastic repetitions just get in the way.  The effect is
   cumulative and by the second page it makes you want to bang your head
   against the wall and not in a good way.
VersionDeltaFile
1.51+75-108sbin/swapctl/swapctl.8
+75-1081 files

NetBSD/src 2KaNQBlsys/dev/pci radeonfb.c pm3fb.c

   use WSATTR_UNDERLINE
VersionDeltaFile
1.119+10-8sys/dev/pci/radeonfb.c
1.15+7-4sys/dev/pci/pm3fb.c
1.38+5-5sys/dev/pci/pm2fb.c
1.108+5-5sys/dev/pci/machfb.c
+27-224 files

NetBSD/src juVq4WKtests/lib/libc/gen t_fpclassify.c

   Take 2 on attempted build fix.

   The issue seems to be the

        #define makequietsignallingl makequietsignalling

   which happens when ! defined(__HAVE_LONG_DOUBLE)

   That worked before as

        long double f = makequietsignalling(...);

   (effectively) just did a type conversion from double to long double
   (which might be a no-op, but is still a type conversion) and so was
   OK.

   But the new method

        makequietsignalling(&ldvar, ...)

    [10 lines not shown]
VersionDeltaFile
1.19+11-3tests/lib/libc/gen/t_fpclassify.c
+11-31 files

NetBSD/src o2FcQ2Vtests/lib/libc/gen t_fpclassify.c

   Revert previous, clearly that was not the issue.
VersionDeltaFile
1.18+10-10tests/lib/libc/gen/t_fpclassify.c
+10-101 files

NetBSD/src 4qLUfuRsys/arch/hppa/dev gftfb.c hyperfb.c

   properly support underline, add bold for mono fonts
VersionDeltaFile
1.38+68-21sys/arch/hppa/dev/gftfb.c
1.31+55-14sys/arch/hppa/dev/hyperfb.c
+123-352 files

NetBSD/src MnS7C4Btests/lib/csu h_preinit_array.c

   Test more than one entry in .preinit_array
VersionDeltaFile
1.2+10-1tests/lib/csu/h_preinit_array.c
+10-11 files