NetBSD/src vSgWREGsys/kern sys_process_lwpstatus.c

   ptrace/procfs: Take lwp lock around process_read/write_(fp)regs(32).

   And verify that the lwp is in LSSTOP state before trying to read.
   Otherwise, we might catch an lwp while it's still running on the CPU,
   with all FPU state active, making the result unstable and tripping
   assertions on some architectures.

   PR port-amd64/60556: panic in process_read_fpregs_xmm
VersionDeltaFile
1.6+10-3sys/kern/sys_process_lwpstatus.c
+10-31 files

NetBSD/src J3Il7PJtests/usr.bin/grep t_grep.sh

   grep(1): Nix xfail on new test for PR 60552 screw case.

   I was planning to do this in the same commit that fixes it, to keep
   the history of bugs and fixes tidy, but gutteridge@ beat me to
   committing the fix.

   PR bin/60552: /usr/bin/grep failure under AMD64
VersionDeltaFile
1.11+1-11tests/usr.bin/grep/t_grep.sh
+1-111 files

NetBSD/src 7jDlD5ksys/nfs nfs_vnops.c

   nfs: Avoid UB in integer shift amounts.

   Just use ilog2 explicitly here, instead of writing out a loop with
   shifts and increments to compute it more slowly and buggily.  Note
   the confusing fencepost adjustment.  Clamp _PC_FILESIZEBITS at the
   actual size of off_t since we can't go beyond that.

   PR kern/60554: nfs: integer shift UB in pathconf(_PC_FILESIZEBITS)
VersionDeltaFile
1.329+23-12sys/nfs/nfs_vnops.c
+23-121 files

NetBSD/src cmbaSaPsys/nfs nfs_vnops.c

   nfs_vnops.c: Sort includes.

   No functional change intended.  Preparation for:

   PR kern/60554: nfs: integer shift UB in pathconf(_PC_FILESIZEBITS)
VersionDeltaFile
1.328+22-20sys/nfs/nfs_vnops.c
+22-201 files

NetBSD/src v4YSIxgdistrib/sets/lists/tests mi, tests/usr.bin/grep d_pr60552 Makefile

   grep(1): Test screw case of case-insensitive match with colour.

   PR bin/60552: /usr/bin/grep failure under AMD64
VersionDeltaFile
1.10+31-1tests/usr.bin/grep/t_grep.sh
1.3+2-1tests/usr.bin/grep/Makefile
1.1425+2-1distrib/sets/lists/tests/mi
1.1+1-0tests/usr.bin/grep/d_pr60552
+36-34 files

NetBSD/src 5FBsglKsys/dev/goldfish gftty.c

   Make console input on virt68k 8-bit clean.
   On signed-char ports you can't feed a "char *" to the tty layer.  A cursory
   glance for more instances of this didn't find any but it's possible.
VersionDeltaFile
1.6+3-3sys/dev/goldfish/gftty.c
+3-31 files

NetBSD/src pD9BqbOsys/arch/hb68k/hb68k clock.c, sys/arch/hb68k/include clockvar.h

   Simplify the interface between the timers and the clock infrastructure,
   and allow the clock infrastructure to select clock roles without having
   netbsd,hardclock or netbsd,statclock properties in /chosen (they're now
   optional).
VersionDeltaFile
1.2+98-47sys/arch/hb68k/hb68k/clock.c
1.2+56-64sys/arch/hb68k/pg68k/pgtimer.c
1.2+56-54sys/arch/hb68k/wrap030/wrap030_timer.c
1.2+18-16sys/arch/hb68k/include/clockvar.h
1.2+0-1sys/arch/hb68k/wrap030/wrap030.dts
+228-1825 files

NetBSD/src uKWh9oKtests/usr.bin/grep t_grep.sh

   t_grep.sh: fix grammar in a comment
VersionDeltaFile
1.9+2-2tests/usr.bin/grep/t_grep.sh
+2-21 files

NetBSD/src u1BUhQ3external/gpl2/grep/dist/src grep.c

   grep.c: fix ctype(3) issue leading to segfault

   Addresses PR bin/60552 from Chavdar Ivanov, fix supplied by RVP.
VersionDeltaFile
1.6+2-2external/gpl2/grep/dist/src/grep.c
+2-21 files

NetBSD/src j4jWVxlsys/dev/fdt fdtvar.h wdc_fdt.c

   Add fdtbus_get_reg_shift() to get the "reg-shift" property and provide
   a default value, rather than open-coding it everywhere it's used.  It's
   common enough in various device bindings, and ePAPR describes it as a
   generic device property.
VersionDeltaFile
1.14+6-10sys/dev/fdt/dw_apb_uart.c
1.9+4-10sys/dev/fdt/ns8250_uart.c
1.43+8-2sys/dev/fdt/fdt_subr.c
1.2+3-6sys/dev/fdt/wdc_fdt.c
1.2+3-6sys/dev/fdt/pcfiic_fdt.c
1.87+2-1sys/dev/fdt/fdtvar.h
+26-356 files

NetBSD/src XQNKc2Jsys/dev/fdt fdt_subr.c

   Re-factor fdtbus_get_addr_cells() and fdtbus_get_size_cells() into
   fdtbus_get_u32prop_with_default().
VersionDeltaFile
1.42+16-14sys/dev/fdt/fdt_subr.c
+16-141 files

NetBSD/src V9fuPbFsys/kern subr_disk_4bsd.c

   If a 4.4BSD disklabel is not found in the "native" location (by
   specifical label sector / offset), then scan the first 3 sectors
   of the disk for one.
VersionDeltaFile
1.3+88-37sys/kern/subr_disk_4bsd.c
+88-371 files

NetBSD/src bGL7jxesys/dev/i2c i2c.c

   i2c module does not depend on the i2c_bitbang module.  That's the
   responsibility of individual back-end drivers.
VersionDeltaFile
1.108+3-3sys/dev/i2c/i2c.c
+3-31 files

NetBSD/src yIItmRwsys/dev/ic wdc.c

   Deal with the absolutely pathological handling of the IDENTIFY command
   on big-endian systems.

   In wdc_datain_pio(), in the ATA_DRIVE_NOSTREAM case, if the bus.h
   implementation does does not have __BUS_SPACE_HAS_STREAM_METHODS
   and the system is _BIG_ENDIAN, individually swap each 16-bit value
   rather than assuming the bus_space_read_*2() implementation will do
   it.

   This is necessary because IDENTIFY is treated differently than every
   other command; all callers assume it will be returned in host-order,
   when in reality it's an array of 256 16-bit little-endian integers (even
   the string fields).

   Ultimately, the correct fix is to stop special-casing IDENTIFY, but
   that is a much larger change due to the confusing array of flags that
   control I/O size and disposition, and requires much wider testing.
VersionDeltaFile
1.316+36-2sys/dev/ic/wdc.c
+36-21 files

NetBSD/src CABQutysbin/disklabel main.c

   Add hb68k to the "native layout" table.
VersionDeltaFile
1.60+3-2sbin/disklabel/main.c
+3-21 files

NetBSD/src Wc4y0aTsys/arch/hb68k/include disklabel.h

   Use the same disklabel layout as hp300.  See rationale in comments.
VersionDeltaFile
1.2+25-15sys/arch/hb68k/include/disklabel.h
+25-151 files

NetBSD/src ZNoQ6G8sys/kern vfs_subr.c

   vflushbuf: Print `vflushbuf: dirty' warning only once per call.

   And do it only under DEBUG, and rate-limit it globally.

   This can happen when vflushbuf is competing with an onslaught of
   concurrent I/O on a snapshot or block device (which is done without
   holding the vnode lock, despite what the comment says).  That
   concurrent I/O might be happening indefinitely, so we are likely to
   have to print a _lot_ of warnings, potentially overwhelming the
   console, until the underlying problem is fixed by teaching vflushbuf
   to wait only for the writes that began before have completed, not
   also all writes that have begun since.

   This stop-gap measure intended to be low-risk for pullup to release
   branches.

   PR kern/60531: looping "vflushbuf: dirty" message
VersionDeltaFile
1.504+17-3sys/kern/vfs_subr.c
+17-31 files

NetBSD/src buDJHaLsys/arch/hb68k/conf files.hb68k WRAP030, sys/arch/hb68k/wrap030 wrap030_machdep.c wrap030.dts

   Add support for @techav's "Wrap030" homebrew.
VersionDeltaFile
1.1+191-0sys/arch/hb68k/wrap030/wrap030_timer.c
1.1+158-0sys/arch/hb68k/wrap030/wrap030.dts
1.1+94-0sys/arch/hb68k/wrap030/wrap030_machdep.c
1.1+71-0sys/arch/hb68k/conf/WRAP030
1.3+12-1sys/arch/hb68k/conf/files.hb68k
+526-15 files

NetBSD/src DjtoURmsys/arch/hb68k/conf std.hb68k

   Always build with debug symbols.
VersionDeltaFile
1.3+4-1sys/arch/hb68k/conf/std.hb68k
+4-11 files

NetBSD/src TQWysYbsys/arch/m68k/m68k pmap_68k.c

   Update mvme68k status.
VersionDeltaFile
1.77+3-3sys/arch/m68k/m68k/pmap_68k.c
+3-31 files

NetBSD/src VzdFVeFsys/arch/mvme68k/conf std.mvme68k

   Switch mvme68k to the new pmap_68k.
VersionDeltaFile
1.17+2-2sys/arch/mvme68k/conf/std.mvme68k
+2-21 files

NetBSD/src s71o0F4sys/arch/sparc/sparc openfirm.c

   Only call delay() with #ifdef _KERNEL, because it's not available to
   standalone tools like sparc bootjs.net .
VersionDeltaFile
1.26+6-2sys/arch/sparc/sparc/openfirm.c
+6-21 files

NetBSD/src a3DwL46external/gpl3/gcc/dist/gcc/config/arm arm.h arm.md

   gcc/arm: For -mtp=soft, ensure stack alignment in leaf functions using
   thread local storage.

   For each function compiled, record whether it accesses thread-local
   storage.  When laying out the stack frame for a leaf function, if the
   function needs to use a C runtime subroutine to retrieve the thread
   pointer, make sure that the stack pointer is aligned appropriately.

   PR lib/57638: thread local storage broken on evbarm (armv5)

   Upstream bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126394

   ok skrll@ riastradh@
VersionDeltaFile
1.3+9-4external/gpl3/gcc/dist/gcc/config/arm/arm.cc
1.24+4-1external/gpl3/gcc/dist/gcc/config/arm/arm.md
1.27+2-0external/gpl3/gcc/dist/gcc/config/arm/arm.h
+15-53 files

NetBSD/src 66ebMKwsys/arch/mvme68k/mvme68k isr.h

   Autovector interrupts aren't used on mvme68k at all, so g/c the
   isrlink_autovec() wrapper.
VersionDeltaFile
1.14+1-9sys/arch/mvme68k/mvme68k/isr.h
+1-91 files

NetBSD/src MgyOE08sys/arch/mvme68k/dev sbic.c

   Don't need isr.h here.
VersionDeltaFile
1.38+2-3sys/arch/mvme68k/dev/sbic.c
+2-31 files

NetBSD/src PFY0tV6tools Makefile

   Build dtc as a tool for hb68k.
VersionDeltaFile
1.233+2-1tools/Makefile
+2-11 files

NetBSD/src L4a8KHyusr.sbin/npf/npfctl npf.conf.5

   npf.conf.5: add more detail about table type distinctions
VersionDeltaFile
1.110+16-2usr.sbin/npf/npfctl/npf.conf.5
+16-21 files

NetBSD/src 96XC4Wosys/arch/evbmips/rmixl machdep.c

   Add  __diagused for mapname.
   Fixes non DIAGNOSTIC build for evbmips XLSATX(32/64) kernel config.
VersionDeltaFile
1.26+3-3sys/arch/evbmips/rmixl/machdep.c
+3-31 files

NetBSD/src fxO1rWqsys/arch/mips/rmi rmixl_cpu.c

   Fix typo in printf param: dp->ci_onproc -> ci->ci_onproc.
   Fixes evbmips XLSATX(32/64) DEBUG enabled kernel build.
VersionDeltaFile
1.16+3-3sys/arch/mips/rmi/rmixl_cpu.c
+3-31 files

NetBSD/src 0eHvoEusys/dev/pci if_jme.c

   s/JEMDBUG/JMEDEBUG/
VersionDeltaFile
1.58+3-3sys/dev/pci/if_jme.c
+3-31 files