NetBSD/src TTjJknPsys/arch/x86/x86 identcpu_subr.c

   x86: use 0x40000010 cpuid leaf only on vmware and kvm

   specifically, do not use it on nvmm.

   these hypervisor cpuid leafs are basically hypervisor-specific.
   (there was a proposal on commonizing these hypervisor leafs. [1]
   but it doesn't seem agreed on.)

   this cpuid leaf 0x40000010 was originally from vmware. although it
   seems more common to use the GETHZ (45) hypercall instead these days.

   kvm seems to implement it as well. (via qemu vmware-cpuid-freq)

   i personally haven't tested this on either vmware or kvm.

   for nvmm (netbsd), the leaf has been implemented in 2025. [2]
   and then the lapic bit has been disabled in 2026. [3] that is,
   we had no releases with it enabled. even if you are running the
   -current version of nvmm, it's better to avoid using this leaf

    [5 lines not shown]
VersionDeltaFile
1.16+3-3sys/arch/x86/x86/identcpu_subr.c
+3-31 files

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

   nvmm: remove cpuid leaf 0x40000010

   * given the lapic bit disabled, (PR/59424) [1]
     this leaf doesn't seem to have much benefit anymore.
     as nvmm is used in other platforms, (dragonfly bsd)
     it's better to avoid guest ABI changes without clear benefits.

   * I couldn't find any documenation about what RBX=0 means.
     (vmware or kvm)

   we can revisit this when/if someone comes up with a better
   implementation. (probably userland-assisted one)

   discussed on source-changes-d. [2]
   reviewed by Taylor R Campbell.

   [1] https://mail-index.netbsd.org/source-changes/2026/05/01/msg161786.html
   [2] https://mail-index.netbsd.org/source-changes-d/2026/05/01/msg014654.html
VersionDeltaFile
1.95+3-13sys/dev/nvmm/x86/nvmm_x86_svm.c
1.95+3-13sys/dev/nvmm/x86/nvmm_x86_vmx.c
+6-262 files

NetBSD/src ETroTXZexternal/mit/xorg/lib/libepoxy Makefile

   libepoxy: Make EGL libs depend on EGL support rather than GLAMOR.

   Build tested on sparc64, which has EGL but no GLAMOR x server.

   If this is pulled up, it should happen before 11.0 is cut, since
   it adds stuff to the ABI.

   PR pkg/60295 x11/gtk3 does not build on NetBSD/macppc
VersionDeltaFile
1.10+2-2external/mit/xorg/lib/libepoxy/Makefile
+2-21 files

NetBSD/src p6bewR6sys/dev/i2c lm75.c

   Fix setting limits:
     check for NULL limits pointer (restore)
     handle degc (user) or raw (restore initial) values
VersionDeltaFile
1.51+33-19sys/dev/i2c/lm75.c
+33-191 files

NetBSD/src jfkZTRRsys/dev/i2c adm1026.c

   Fix reversed high/therm to warnmax/critmax mapping.
   Fix restoring limits:
     check for NULL limits pointer
     always user our envsys to sensor mapping
VersionDeltaFile
1.17+28-19sys/dev/i2c/adm1026.c
+28-191 files

NetBSD/src MXDQwFksys/arch/sun3/sun3x pmap.c

   pmap_bootstrap(): Fix an error intrduced in rev 1.127 - ensure pmap_membank
   points to the first element in the array after building up the linked list.
VersionDeltaFile
1.130+3-2sys/arch/sun3/sun3x/pmap.c
+3-21 files

NetBSD/src 1eXZe9Yusr.sbin/moused moused.8

   moused(8): touch up markup lightly
VersionDeltaFile
1.11+15-11usr.sbin/moused/moused.8
+15-111 files

NetBSD/src TtCMWO7sys/kern kern_hook.c

   Rename the needlessly over-descriptive and at the same time somewhat
   non-descriptive "struct powerhook_desc" to just "struct powerhook".
VersionDeltaFile
1.18+10-10sys/kern/kern_hook.c
+10-101 files

NetBSD/src 68ApjRAsys/dev/dkwedge dk.c, sys/kern kern_hook.c kern_subr.c

   Add "rootspec" hooks.  These hooks add a generic mechanism for
   devices to advertise extra root device choices.  Use these to
   replace wedge-specific code in sys/kern/kern_subr.c .

   XXX todo: rootspec configuraton can be unloaded after the root
   filesystem is mounted, and rootspechook_establish() calls after
   the root filesystem is mounted could then be a no-op.

   Thanks riastradh@, mlelstv@ and chs@ for reviews and comments.
VersionDeltaFile
1.17+106-2sys/kern/kern_hook.c
1.175+34-4sys/dev/dkwedge/dk.c
1.233+7-28sys/kern/kern_subr.c
1.308+10-2sys/sys/systm.h
+157-364 files

NetBSD/src vTaf887sys/dev/dkwedge dk.c, sys/dev/flash flash.c

   Add a cfattach device flag specifying that the device has no partitions.
   Use this flag in the "dk" and "flash" drivers.  The new device flag
   can be checked with the device_has_partitions() function.  Removes
   device-specific knowledge about which devices have partitions from
   sys/kern/kern_subr.c .
VersionDeltaFile
1.232+11-20sys/kern/kern_subr.c
1.21+16-2sys/kern/subr_device.c
1.20+5-4sys/dev/flash/flash.c
1.174+3-3sys/dev/dkwedge/dk.c
1.194+3-1sys/sys/device.h
+38-305 files

NetBSD/src LiOajL1usr.sbin/moused moused.8

   moused.8: emphasize that this is the _serial_ mouse daemon

   NetBSD now has multiple "mouse daemons" (see wsmoused(8)) and the
   some of the assumptions from the past no longer hold - make it very
   super obvious in the initial description that this isn't anything like
   FreeBSD's moused.
VersionDeltaFile
1.10+5-6usr.sbin/moused/moused.8
+5-61 files

NetBSD/src Kcnzu2hsys/dev/pci gffb.c radeonfb.c

   use BUS_SPACE_MAP_PREFETCHABLE when mapping the dumb framebuffer
VersionDeltaFile
1.36+3-3sys/dev/pci/gffb.c
1.122+3-3sys/dev/pci/radeonfb.c
+6-62 files

NetBSD/src gEQIlhZdoc 3RDPARTY

   tmux 3.6b out
VersionDeltaFile
1.2211+3-3doc/3RDPARTY
+3-31 files

NetBSD/src xF9kHDwsys/arch/riscv/conf GENERIC64

   risc-v: add rgephy(4)

   Add rgephy(4) for Allwinner D1 / Mango Pi MQ-Pro
VersionDeltaFile
1.27+2-1sys/arch/riscv/conf/GENERIC64
+2-11 files

NetBSD/src v0HRbNTdoc CHANGES

   doc/CHANGES: note when sh3 was switched to GCC 14
VersionDeltaFile
1.3263+2-1doc/CHANGES
+2-11 files

NetBSD/src om5WTxTsys/arch/sparc/conf files.sparc, sys/arch/sparc/dev cgfour.c

   Add WSDISPLAY support (tokenalt at gmail dot com)
VersionDeltaFile
1.52+349-28sys/arch/sparc/dev/cgfour.c
1.5+7-3sys/dev/sun/pfourreg.h
1.165+2-2sys/arch/sparc/conf/files.sparc
+358-333 files

NetBSD/src rEZNlmVsys/arch/aarch64/aarch64 pmap_machdep.c, sys/arch/aarch64/include pmap_machdep.h

   aarch64: mi pmap: save a PTE software bit when doing modify emulation.

   Use only OS_MODEMUL and release OS_MODIFIED. A mapping is deemed modified
   if it is marked RW and OS_MODEMUL which only ever happens via emulation.
VersionDeltaFile
1.17+12-13sys/arch/aarch64/include/pmap_machdep.h
1.17+6-9sys/arch/aarch64/aarch64/pmap_machdep.c
+18-222 files

NetBSD/src Jf3jk6esys/uvm/pmap pmap.c

   mi pmap: pmap_clear_attribute should check cached value of the attribute

   The pmap_clear_attribute implementation used by the MI pmap should
   check the cached valued of the attribute as well as any value held
   in the PTE(s).

   Some emulation implementations require this as some operations, e.g
   changing page mappings to RO, can lose PTE attribute information.
VersionDeltaFile
1.100+9-7sys/uvm/pmap/pmap.c
+9-71 files

NetBSD/src wzmalEGusr.bin/calendar/calendars calendar.christian calendar.judaic

   Update calendar entries for items happening in the first half of
   the year in the hopes that NetBSD 11.0 gets released around mid-year.
VersionDeltaFile
1.16+13-13usr.bin/calendar/calendars/calendar.christian
1.14+13-13usr.bin/calendar/calendars/calendar.judaic
1.37+11-11usr.bin/calendar/calendars/calendar.holiday
1.14+7-7usr.bin/calendar/calendars/calendar.usholiday
+44-444 files

NetBSD/src ap4CUCcsys/arch/arm/cortex gicv3_its.c gicv3_its.h

   gicv3_its: Fix ITT sizing.

   The ITT being allocated did not match the size specified on the MAPD
   command. This could cause hardware to read past the end of the ITT.

   The old code used a fixed offset mapping scheme to assign eventIDs (the
   eventID was derived from the LPI INTID). This scheme is wasteful and
   doesn't scale well as the ITT is essentially an array of ITEs starting
   with eventID 0. This change introduces per-deviceID namespaces for
   eventIDs and allocates them starting with 0. A fixed number of eventIDs is
   made available for each deviceID (MAXCPUS * 2). On a platform with an ITE
   size of 8 bytes, this allows the ITT to fit in a single page.

   The ITT is sized larger than the initial request as multiple requestors
   could potentially share the same deviceID (this is the case for legacy PCI
   devices behind a PCIe-to-PCI bridge).

   The size parameter of the MAPD command now matches the allocated ITT.

   Tested on QEMU KVM Virtual Machine and Ampere eMAG (Lenovo HR330A).
VersionDeltaFile
1.42+131-31sys/arch/arm/cortex/gicv3_its.c
1.11+17-1sys/arch/arm/cortex/gicv3_its.h
+148-322 files

NetBSD/src yFQyRE7sys/external/bsd/ipf/netinet ip_fil_netbsd.c

   Explicitely check a pointer against NULL before computing a member address,
   to avoid undefined behavior. Avoids the same NULL pointer check being
   "optimised" later, leading to NULL pointer dereference.
   It is expected that -fno-delete-null-pointer-checks would avoid this but
   it does not.
   For details see
   https://mail-index.netbsd.org/tech-toolchain/2026/05/23/msg004818.html
   and PR toolchain/60289
   Needs pullup to netbsd-11.
VersionDeltaFile
1.40+3-3sys/external/bsd/ipf/netinet/ip_fil_netbsd.c
+3-31 files

NetBSD/src F3EFqXLsys/uvm/pmap pmap.c

   Code re-org. Add a comment.

   NFCI.
VersionDeltaFile
1.99+24-18sys/uvm/pmap/pmap.c
+24-181 files

NetBSD/src nperoThsys/uvm/pmap pmap.c

   Whitespace
VersionDeltaFile
1.98+3-3sys/uvm/pmap/pmap.c
+3-31 files

NetBSD/src biWl0rzshare/man/man9 callout.9

   callout(9): whitespace nit in callout_active description
VersionDeltaFile
1.39+2-2share/man/man9/callout.9
+2-21 files

NetBSD/src U2kI77lshare/man/man9 callout.9

   callout(9): revert previous, it is _not_ a typo

   Expand the comment that explains why it is not a typo.
VersionDeltaFile
1.38+5-3share/man/man9/callout.9
+5-31 files

NetBSD/src LTkDKRZshare/man/man9 callout.9

   fix typo
VersionDeltaFile
1.37+2-2share/man/man9/callout.9
+2-21 files

NetBSD/src pZp45TAshare/man/man9 callout.9

   callout(9): tweak
   Don't change the name of the argument when explaining callout_pending.
   Don't do manual "code hilighing".
   Format the paper reference properly (and add missing information).
VersionDeltaFile
1.36+54-26share/man/man9/callout.9
+54-261 files

NetBSD/src tUE0GBeshare/man/man9 callout.9

   callout(9): Clarify previous language about clarity/efficiency.

   And with that, I think I'm done touching up callout(9) for now.

   PR kern/60288: callout(9) does not document callout_schedule()
VersionDeltaFile
1.35+2-2share/man/man9/callout.9
+2-21 files

NetBSD/src hyFKIR2share/man/man9 callout.9

   callout(9): Expand some details a bit.

   Prompted by (but not really related to):

   PR kern/60288: callout(9) does not document callout_schedule()
VersionDeltaFile
1.34+69-15share/man/man9/callout.9
+69-151 files

NetBSD/src HKHlEH4share/man/man9 callout.9

   callout(9): Prefer callout_setfunc/schedule more explicitly.

   It is better on clarity grounds; the efficiency difference is really
   quite minor.

   Prompted by:

   PR kern/60288: callout(9) does not document callout_schedule()
VersionDeltaFile
1.33+5-5share/man/man9/callout.9
+5-51 files