NetBSD/src 551SGvL — sys/arch/arm/imx imxepitreg.h imxclock.c

   imxclock: Fix timekeeping errors.

   The following two warnings appeared in dmesg on every NetWalker boot.
   Before this change, they appeared every time about 21 seconds after
   boot:

     WARNING: lwp 29 (system sdmmc0) ...: timecounter went backwards
         ... in netbsd:mi_switch+0xf0
     WARNING: pid ... (devpubd): negative runtime; monotonic clock has
         gone backwards

   The time difference in the warnings was about 0.576 s, which matches
   the value computed in cause 1 below.

   Cause 1: the value goes back right after a reload (a 0.576 s step).
   imx_epit_get_timecount() returned base - CNT.  When the value goes
   back, the difference in kern_tc.c (tc_delta) wraps to nearly 2^32, the
   multiplication overflows, and the time jumps forward by
   frac((2^32 - LR) / f).  On a NetWalker (66.5 MHz, LR = 664999), this

    [17 lines not shown]
VersionDeltaFile
1.10+15-4sys/arch/arm/imx/imxclock.c
1.3+2-1sys/arch/arm/imx/imxepitreg.h
+17-52 files

NetBSD/src x62Lvu6 — sys/netinet ip_input.c

   inet: do not treat reject/blackhole routes as error

   Reject/blackhole routes can have a loopback interface.  Don't return
   an ICMP error for a packet being forwarding on such routes.

   Patch from oohashi at IIJ
VersionDeltaFile
1.408+4-3sys/netinet/ip_input.c
+4-31 files

NetBSD/src HhqXBJK — sys/dev/pci if_vioif.c

   vioif: fix VIOIF_NETQ_TX nsegs size

   It was regressed at v1.98.  This fix should improve TX performance.

   Patch from morishita-sh at IIJ
VersionDeltaFile
1.117+3-3sys/dev/pci/if_vioif.c
+3-31 files

NetBSD/src Wz9aI6C — sys/dev/pci if_vioif.c

   vioif: add missing sc_txrx_workqueue_sysctl at vioif_rx_intr()

   Patch from morishita-sh at IIJ
VersionDeltaFile
1.116+3-2sys/dev/pci/if_vioif.c
+3-21 files

NetBSD/src aZMFEB0 — sys/net if_loop.c

   lo: add missing idrops increment
VersionDeltaFile
1.120+3-2sys/net/if_loop.c
+3-21 files

NetBSD/src 33G2fYA — sys/net if_bridge.c

   bridge: handle M_HASFCS like ether_input

   Otherwise, a bridge may forward frames larger than their actual size.
VersionDeltaFile
1.201+8-2sys/net/if_bridge.c
+8-21 files

NetBSD/src SfmEYsf — crypto/external/bsd/heimdal/bin/hxtool hxtool.1

   hxtool(1) embryo page (not hooked into the build)

   Hopefully, this provides enough mdoc boilerplate for someone with an
   actual clue to add the rest of the commands.

   PR bin/61120
VersionDeltaFile
1.1+117-0crypto/external/bsd/heimdal/bin/hxtool/hxtool.1
+117-01 files

NetBSD/src ioazvjZ — sys/dev/mii micphy.c

   micphy(4): Fix softc size.

   PR kern/60964: micphy(4): softc allocation is too small
VersionDeltaFile
1.18+8-8sys/dev/mii/micphy.c
+8-81 files

NetBSD/src 7DeQqEX — distrib/sets/lists/base ad.earmv7hf ad.earmv7

   Include the ad.arm entries in ad.earmv7 and ad.earmv7hf

   This will hopefully finally fix the evbarm-earmv7hf build failures.

   Note: I did not copy the obsolete entries, based upon the assumption
   that no earmv7 or earmv7hf systems would have existed when those
   old files were part of the build.  If that is incorrect, by all means,
   add them back (that won't affect the daily autobuilds, or any other
   fully clean build, as those never experience files from a previous generation).
VersionDeltaFile
1.2+32-1distrib/sets/lists/base/ad.earmv7hf
1.2+32-1distrib/sets/lists/base/ad.earmv7
+64-22 files

NetBSD/src F7HfnMh — common/include/rpc xdr.h types.h

   PR/61113: Edmund: Apply Sun's BSD relicensing, like FreeBSD did in 2013:
   "Replace Sun RPC license in TI-RPC library with a 3-clause BSD license,
   with the explicit permission of Sun Microsystems in 2009"
VersionDeltaFile
1.4+27-28common/include/rpc/xdr.h
1.5+27-28common/include/rpc/types.h
+54-562 files

NetBSD/src 8r4pI7h — sbin/raidctl raidctl.8, sys/dev/raidframe rf_driver.c rf_paritymap.c

   RAIDframe: Label spares and autoconfigure them with their appropriate sets.
VersionDeltaFile
1.424+119-133sys/dev/raidframe/rf_netbsdkintf.c
1.100+125-28sys/dev/raidframe/rf_disks.c
1.133+68-39sys/dev/raidframe/rf_reconstruct.c
1.83+25-9sbin/raidctl/raidctl.8
1.13+20-12sys/dev/raidframe/rf_paritymap.c
1.147+4-16sys/dev/raidframe/rf_driver.c
+361-2373 files not shown
+387-2449 files

NetBSD/src ZPZKfD2 — include/rpc pmap_clnt.h nettype.h

   PR/61113: Edmund: Apply Sun's BSD relicensing, like FreeBSD did in 2013:
   "Replace Sun RPC license in TI-RPC library with a 3-clause BSD license,
   with the explicit permission of Sun Microsystems in 2009"
VersionDeltaFile
1.14+27-28include/rpc/pmap_clnt.h
1.4+27-28include/rpc/nettype.h
1.6+27-28include/rpc/clnt_soc.h
1.25+27-28include/rpc/clnt.h
1.11+27-28include/rpc/auth_unix.h
1.21+27-28include/rpc/auth.h
+162-16812 files not shown
+483-50118 files

NetBSD/src fxOdIl5 — etc/rc.d sshd

   etc/rc.d/sshd: Generate mldsa44-ed25519 key
VersionDeltaFile
1.38+5-4etc/rc.d/sshd
+5-41 files

NetBSD/src WBdEzaQ — sys/arch/evbarm/kobo kobo_machdep.c, sys/dev/i2c files.i2c ntxec.h

   ntxec, kobo: add reboot and power off support

   Use the embedded controller (ntxec) to reset and power off the Kobo.

   Write a single byte to the reset register.  Writing two bytes resets
   the system but reports a spurious I2C error.

   Wait 5 seconds after requesting power off, since the EC takes some
   time to cut the power.

   Tested on Kobo Glo: reboot restarts from U-Boot and poweroff turns the
   power off, both without warnings.  Built KOBO.
VersionDeltaFile
1.3+55-13sys/dev/i2c/ntxec.c
1.1+35-0sys/dev/i2c/ntxec.h
1.11+28-2sys/arch/evbarm/kobo/kobo_machdep.c
1.144+2-2sys/dev/i2c/files.i2c
+120-174 files

NetBSD/src tt50ZGr — sys/arch/mips/mips mipsX_subr.S

   mips: Flush the VR4100 micro-TLB during context switches

   Direct-mapped kernel-stack support was introduced on the matt-nb5-mips64
   branch and later merged into trunk with

   - The direct-mapped stack support was introduced in:
     https://mail-index.netbsd.org/source-changes/2009/09/08/msg000654.html

     and merged into trunk in:
     https://mail-index.netbsd.org/source-changes/2009/12/14/msg004355.html

   - The change to actually use this support was merged into trunk
     with
     https://mail-index.netbsd.org/source-changes/2011/02/20/msg018945.html

   Together, these changes removed the TLB flush from cpu_switch_resume,
   exposing an hpcmips issue: VR4XXX processors do not flush their micro-TLBs
   when TLB_HI is written.


    [6 lines not shown]
VersionDeltaFile
1.123+27-2sys/arch/mips/mips/mipsX_subr.S
+27-21 files

NetBSD/src gt6TL2k — sys/dev/i2c ntxec.c

   ntxec: make RTC read and write robust

   Order the RTC register reads and writes so that a carry from seconds
   into minutes, hours and so on during the access is handled.

   Tested on Kobo Glo: the time is read correctly at boot, and a time set
   with date(1) is kept across a power cycle.  Built KOBO.
VersionDeltaFile
1.2+58-16sys/dev/i2c/ntxec.c
+58-161 files

NetBSD/src etVipbe — sys/arch/arm/imx imxuartvar.h

   imxuart: fix IMXUART_RBUF_SPACE

   It computed the free space in the receive ring buffer incorrectly.
   With one character left in the buffer, the receive interrupt handler
   read nothing from the FIFO and disabled receive interrupts until the
   soft interrupt drained the buffer.  When the buffer was more than half
   full, it could overwrite data that had not been read yet.

   Tested on Kobo Glo: boots to the login prompt.  Built KOBO,
   NETWALKER, and GENERIC.
VersionDeltaFile
1.7+5-5sys/arch/arm/imx/imxuartvar.h
+5-51 files

NetBSD/src YhbSON5 — sys/dev/pci machfb.c

   make this build on archs where bus_space_handle_t isn't just an offset
VersionDeltaFile
1.114+4-8sys/dev/pci/machfb.c
+4-81 files

NetBSD/src Nc1mvyk — distrib/sets/lists/base ad.arm ad.earmv7hf

   Retry gzboot_NETWALKER_0x90008000.bin addition, this time in the
   sets where we actually build the corresponding kernel.
VersionDeltaFile
1.95+1-2distrib/sets/lists/base/ad.arm
1.1+3-0distrib/sets/lists/base/ad.earmv7hf
1.1+3-0distrib/sets/lists/base/ad.earmv7
+7-23 files

NetBSD/src bIinJeq — sys/arch/aarch64/include armreg.h

   aarch64: armreg.h consistently use __BITS(N, M) with N > M. NFCI.
VersionDeltaFile
1.91+19-19sys/arch/aarch64/include/armreg.h
+19-191 files

NetBSD/src KePGeZi — sys/dev/pci machfb.c

   add hardware cursor support
   works on my beige G3's Rage II, needs testing on everything else
VersionDeltaFile
1.113+213-3sys/dev/pci/machfb.c
+213-31 files

NetBSD/src Mge39ys — sys/arch/arm/imx imx51_esdhc.c, sys/arch/evbarm/kobo kobo_machdep.c

   kobo: Fix detection of the non-removable SD card.

   The SD card was not recognized as a non-removable card.

   Tested: KOBO and NETWALKER kernels build with no warnings.
   On a Kobo Glo (N613), ld0 did not attach before this change.  With
   this change, "ld0 at sdmmc0" appears and the card is read in 4-bit
   mode at 50 MHz.  NETWALKER is build-tested only.
VersionDeltaFile
1.10+20-2sys/arch/evbarm/kobo/kobo_machdep.c
1.5+7-2sys/arch/arm/imx/imx51_esdhc.c
+27-42 files

NetBSD/src UuYtdjT — sys/arch/arm/imx imx51reg.h, sys/arch/evbarm/conf KOBO

   Add ntxec, a driver for the Netronix MSP430 EC.

   This fixes the problem that the system stops after about 13 seconds.

   imx51reg.h: The value of I2C3_BASE was incorrect.

   Tested: KOBO and NETWALKER kernels build with no warnings.
   On a Kobo Glo (N613), imxi2c2 attaches at 0x53fec000 and
   "ntxec0 at iic2 addr 0x43: PMIC/RTC VER 0xC851" is printed.
   Before this change, the system stopped about 13 seconds after
   power-on.  With this change, the console still responds 100 seconds
   after power-on.  The RTC is not tested.  NETWALKER is build-tested
   only.
VersionDeltaFile
1.1+209-0sys/dev/i2c/ntxec.c
1.143+7-1sys/dev/i2c/files.i2c
1.16+4-2sys/arch/evbarm/conf/KOBO
1.9+2-2sys/arch/arm/imx/imx51reg.h
+222-54 files

NetBSD/src qlcvw0O — sys/arch/aarch64/aarch64 pmap.c, sys/arch/aarch64/include pmap.h

   aarch64: Eliminate LX_BLKPAG_OS_{READ,WRITE,RWMASK}.

    - They are no longer used except for debugging purposes
      in pmap.c r1.127. LX_BLKPAG_OS_0 will be used to distinguish
      stage1/stage2 flag of pte.
    - improve comment about RW permission and referenced/modified bit.

   Taken from Ryo's github repo

   https://github.com/ryo/netbsd-src/tree/wip/aarch64_el2
VersionDeltaFile
1.160+31-9sys/arch/aarch64/aarch64/pmap.c
1.63+3-8sys/arch/aarch64/include/pmap.h
+34-172 files

NetBSD/src yujBbxL — distrib/sets/lists/base ad.arm

   Add gzboot_NETWALKER
VersionDeltaFile
1.94+2-1distrib/sets/lists/base/ad.arm
+2-11 files

NetBSD/src PKbsaT1 — sys/arch/arm/imx imx51_intr.h imx51_gpio.c

   imx51: Fix boot failure on i.MX50.

   imx51_intr.h: PIC_MAXMAXSOURCES, the limit on PIC interrupt sources,
   was too small for the six GPIO banks of i.MX50.

   imx51_gpio.c: The bank numbers of GPIO5 and GPIO6 were computed
   incorrectly.

   Tested: KOBO and NETWALKER kernels build with no warnings.
   On a Kobo Glo (N613), the kernel panicked at imxgpio4 before this
   change.  With this change, imxgpio0-5 attach and the boot reaches
   root device selection.  NETWALKER is build-tested only.
VersionDeltaFile
1.5+14-3sys/arch/arm/imx/imx51_gpio.c
1.5+7-2sys/arch/arm/imx/imx51_intr.h
+21-52 files

NetBSD/src Ob1WVM0 — lib/libc/yp yp_order.c yp_match.c

   libc/yp: Missed a spot: init ysd to null for error branches.

   PR lib/61064: libc dumps core because yp nis not thread safe
VersionDeltaFile
1.17+3-3lib/libc/yp/yp_order.c
1.23+3-3lib/libc/yp/yp_match.c
+6-62 files

NetBSD/src d6oXF1A — lib/libc/yp yplib.c

   yp_unbind(3): Avoid null pointer deref after a yp operation.

   Not a thread-safety issue -- this happens deterministically in a
   single-threaded program if you do, e.g.:

        yp_bind(domain);
        yp_all(domain, ...);
        yp_unbind(domain);

   PR lib/61064: libc dumps core because yp nis not thread safe
VersionDeltaFile
1.48+4-3lib/libc/yp/yplib.c
+4-31 files

NetBSD/src QwXoiUB — lib/libc/yp yp_match.c yp_first.c

   libc/yp: Paranoia: avoid arithmetic overflow in allocation sizing.

   Not sure if these paths are possible to hit, but let's make sure they
   don't lead to disaster downstream.

   Followup prompted by:

   PR lib/61064: libc dumps core because yp nis not thread safe
VersionDeltaFile
1.19+10-6lib/libc/yp/yp_first.c
1.22+7-5lib/libc/yp/yp_match.c
+17-112 files

NetBSD/src 1Hh4OWw — lib/libc/yp yp_all.c yp_master.c

   libc/yp: Make this thread-safe.

   PR lib/61064: libc dumps core because yp nis not thread safe
VersionDeltaFile
1.18+50-28lib/libc/yp/yp_first.c
1.47+36-31lib/libc/yp/yplib.c
1.21+29-17lib/libc/yp/yp_match.c
1.16+23-15lib/libc/yp/yp_order.c
1.17+23-14lib/libc/yp/yp_master.c
1.15+21-12lib/libc/yp/yp_all.c
+182-1173 files not shown
+223-1329 files