NetBSD/src TFjSJkVdoc CHANGES-11.1

   Tickets #443 - #445
VersionDeltaFile
1.1.2.10+19-1doc/CHANGES-11.1
+19-11 files

NetBSD/src 2sIYAr3sys/arch/x86/x86 identcpu.c

   Pull up following revision(s) (requested by andvar in ticket #445):

        sys/arch/x86/x86/identcpu.c: revision 1.143

   Temporarily disable SMAP for CPUVENDOR_IDT vendor CPUs (if available).

   SMAP feature causes a supervisor page fault during boot on KX-7000 CPUs.
   port-amd64/60641
VersionDeltaFile
1.138.2.3+9-2sys/arch/x86/x86/identcpu.c
+9-21 files

NetBSD/src evjj19sdoc CHANGES-10.2

   Ticket #1334
VersionDeltaFile
1.1.2.127+8-1doc/CHANGES-10.2
+8-11 files

NetBSD/src JEt1rgZsys/arch/x86/x86 identcpu.c, usr.sbin/cpuctl/arch i386.c

   Pull up following revision(s) (requested by andvar in ticket #1334):

        sys/arch/x86/x86/identcpu.c: revision 1.142
        usr.sbin/cpuctl/arch/i386.c: revision 1.149

   Decode L2 cache associativity for VIA CPUs using the AMD cache lookup table for
   the 0x80000006 CPUID function associativity value.

   Use `cpuid leaf 4' to get cache parameters for Zhaoxin and late VIA CPU models.

   VIA datasheets mention that associativity is stored as a decimal value. However,
   in practice, it is encoded the AMD way and does not store the actual value.

   Using the raw value leads to an incorrect CPU colors calculation, causing a
   panic on KX-7000 (since the result is not a power of two) and incorrect CPU
   colors values on other CPU models (e.g. as visible in `vmstat -s').

   Decoding value using the AMD cache lookup table produces correct values in all
   cases I have tested or verified using CPUID dumps available online.

    [31 lines not shown]
VersionDeltaFile
1.133.2.5+34-15usr.sbin/cpuctl/arch/i386.c
1.123.4.5+25-7sys/arch/x86/x86/identcpu.c
+59-222 files

NetBSD/src 6ZhvJOnsys/arch/x86/x86 identcpu.c, usr.sbin/cpuctl/arch i386.c

   Pull up following revision(s) (requested by andvar in ticket #444):

        sys/arch/x86/x86/identcpu.c: revision 1.142
        usr.sbin/cpuctl/arch/i386.c: revision 1.149

   Decode L2 cache associativity for VIA CPUs using the AMD cache lookup table for
   the 0x80000006 CPUID function associativity value.

   Use `cpuid leaf 4' to get cache parameters for Zhaoxin and late VIA CPU models.

   VIA datasheets mention that associativity is stored as a decimal value. However,
   in practice, it is encoded the AMD way and does not store the actual value.

   Using the raw value leads to an incorrect CPU colors calculation, causing a
   panic on KX-7000 (since the result is not a power of two) and incorrect CPU
   colors values on other CPU models (e.g. as visible in `vmstat -s').

   Decoding value using the AMD cache lookup table produces correct values in all
   cases I have tested or verified using CPUID dumps available online.

    [31 lines not shown]
VersionDeltaFile
1.148.2.1+34-15usr.sbin/cpuctl/arch/i386.c
1.138.2.2+25-7sys/arch/x86/x86/identcpu.c
+59-222 files

NetBSD/src EG21gP2sys/dev/ic bcmgenet.c

   Pull up following revision(s) (requested by joe in ticket #443):

        sys/dev/ic/bcmgenet.c: revision 1.25

   PR kern/60592

   properly move bits to ensure unicast bit and locally administered
   bits were rightly set.
VersionDeltaFile
1.22.2.1+8-6sys/dev/ic/bcmgenet.c
+8-61 files

NetBSD/src nCaCaMcsys/ufs/lfs lfs.h lfs_extern.h

   Remove the last vestiges of the freelist ordering code.  Addresses an issue
   observed in testing, also reported in PR kern/60523.
VersionDeltaFile
1.155+25-215sys/ufs/lfs/lfs_alloc.c
1.400+5-11sys/ufs/lfs/lfs_vfsops.c
1.132+2-3sys/ufs/lfs/lfs_extern.h
1.220+1-2sys/ufs/lfs/lfs.h
+33-2314 files

NetBSD/src Cn6DS1wsys/dev/ic sc16is7xxvar.h sc16is7xx.c


   Stop reusing sc_frequency as the workqueue arg.  In 11.99.3 or so,
   doing that wasn't a problem, but now it appears to be trouble doing
   that.  Just provide a dedicated variable.  The argument doesn't really
   matter to this use case, but it can't be something used for something
   else either.
VersionDeltaFile
1.6+4-3sys/dev/ic/sc16is7xx.c
1.3+2-1sys/dev/ic/sc16is7xxvar.h
+6-42 files

NetBSD/src G4vtbzEdoc CHANGES-10.2

   Tickets #1330 - #1332
VersionDeltaFile
1.1.2.126+20-1doc/CHANGES-10.2
+20-11 files

NetBSD/src s6fq9Wcusr.bin/xinstall xinstall.c

   Pull up following revision(s) (requested by kre in ticket #1330):

        usr.bin/xinstall/xinstall.c: revision 1.131 (patch)

   PR bin/58577  - install(1) -d issues

   Fix issues where "install -d" (with no directory) simply
   exit(0)s.   That one is kind of marginal, installing nothing
   when nothing is needed could be treated as OK, but the man
   page does indicate in the SYNOPSIS that with -d, at least
   one directory is needed (it says nothing at all about that
   in the text).

   Second, after creating a directory, if a later operation
   (chown, chmod) fails, that is not success, a warning was
   issued (good), a bad metalog was being created (bad).

   That is clearly a bug (though probably doesn't happen
   very often).

    [29 lines not shown]
VersionDeltaFile
1.126.6.1+25-12usr.bin/xinstall/xinstall.c
+25-121 files

NetBSD/src QWKDERXlib/libc/locale iswctype_mb.c runetable.c

   Pull up following revision(s) (requested by kre in ticket #1331):

        lib/libc/locale/runetable.c: revision 1.30
        lib/libc/locale/iswctype_mb.c: revision 1.15

   PR lib/59067 (wctrans got error member)

   Patches from the OP (ru_j217) and from RVP - see the PR

   This looks to be just correcting what appear to be simple
   errors in the code.
VersionDeltaFile
1.29.36.1+4-4lib/libc/locale/runetable.c
1.13.38.1+3-3lib/libc/locale/iswctype_mb.c
+7-72 files

NetBSD/src wgkQjpbexternal/mit/xorg/lib driver.old.mk driver.mk

   Pull up following revision(s) (requested by kre in ticket #1332):

        external/mit/xorg/lib/driver.old.mk: revision 1.3
        external/mit/xorg/lib/driver.mk: revision 1.10 (patch)

   PR xsrc/59858 (locale fixes for xsrc)

   From RVP - see the PR

   Oversimplifying: this causes Mesa to use LC_NUMERIC=C when using
   strtod() to parse stuff (ie: the radix char (decimal point) is '.',
   regardless of the user's locale).
VersionDeltaFile
1.2.2.1+2-1external/mit/xorg/lib/driver.old.mk
1.4.8.1+2-1external/mit/xorg/lib/driver.mk
+4-22 files

NetBSD/src x1TSBS9sys/nfs nfs_var.h nfs_export.c

   nfs: On reflection, just clamp the export_args buffer to 64 KiB.

   Keep it simple, just make sure userland doesn't trigger contiguous
   kva allocation of more than 64 KiB.

   PR kern/60645: nfssvc(2): arithmetic overflow in input array sizing
VersionDeltaFile
1.170+4-49sys/nfs/nfs_syscalls.c
1.65+2-9sys/nfs/nfs_export.c
1.99+1-2sys/nfs/nfs_var.h
+7-603 files

NetBSD/src fVdMCSpsbin/mount mount.8

   mount(8) - document the -o rw option.

   No idea how this one has been absent all this time, and not missed.
VersionDeltaFile
1.96+7-1sbin/mount/mount.8
+7-11 files

NetBSD/src 7ykN6eysbin/mount mount.8 mount.c

   mount(8) - add -W option (like df -W)

   Add a -W option to mount, to show wedge names as labels (NAME=xyzzy)
   instead of /dev/dkN (and if given twice, both forms), similar to the
   -W option in df(1).
VersionDeltaFile
1.109+38-13sbin/mount/mount.c
1.95+22-3sbin/mount/mount.8
+60-162 files

NetBSD/src iN9BRqSsys/nfs nfs_syscalls.c

   nfs: Work around missing VM_MIN/MAX_KERNEL_ADDRESS in rump.

   Let's get the builds unbroken before making this perfect.

   PR kern/60645: nfssvc(2): arithmetic overflow in input array sizing
VersionDeltaFile
1.169+3-6sys/nfs/nfs_syscalls.c
+3-61 files

NetBSD/src E3xReL5sys/uvm uvm_fault.c

   Kernels ALL/i386 and ALL/amd64 warn "'ticket' may be used uninitialized"
   at line 244, uvmfault_amapcopy(): "uvm_wait("fltamapcopy", ticket);".

   Restructure to reflect the logic better and keep GCC quiet.

   Ok: Taylor R Campbell

   PR kern/58964: uvm: missing wakeup on uvmexp.free
   PR kern/60029: panic: cpu0: softints stuck for 16 seconds
VersionDeltaFile
1.241+11-10sys/uvm/uvm_fault.c
+11-101 files

NetBSD/src 4ARDWxvsys/nfs nfs_syscalls.c

   nfs: Work around missing VM_MIN/MAX_KERNEL_ADDRESS on amd64 rump.

   PR kern/60645: nfssvc(2): arithmetic overflow in input array sizing
VersionDeltaFile
1.168+5-3sys/nfs/nfs_syscalls.c
+5-31 files

NetBSD/src ojcBp4hsys/nfs nfs_var.h nfs_export.c

   nfs: New sysctl node vfs.nfsd.maxexportspermount.

   Limits the number of different ways a single mount point can be
   exported.  Default is limited to 256; can be expanded by sysctl up to
   anything that won't overflow kva.

   XXX Should prevent increasing it at securelevel>0.

   PR kern/60645: nfssvc(2): arithmetic overflow in input array sizing
VersionDeltaFile
1.167+53-2sys/nfs/nfs_syscalls.c
1.64+9-2sys/nfs/nfs_export.c
1.98+2-1sys/nfs/nfs_var.h
+64-53 files

NetBSD/src ZDkgjghsys/nfs nfs_syscalls.c

   nfs_syscalls.c: Sort includes.

   No functional change intended.

   Preparation for:

   PR kern/60645: nfssvc(2): arithmetic overflow in input array sizing
VersionDeltaFile
1.166+29-26sys/nfs/nfs_syscalls.c
+29-261 files

NetBSD/src jPPpIyNdoc 3RDPARTY

   3RDPARTY: new OpenSSLs out
VersionDeltaFile
1.2240+2-2doc/3RDPARTY
+2-21 files

NetBSD/src j65TkKlsys/arch/x86/x86 identcpu.c

   Temporarily disable SMAP for CPUVENDOR_IDT vendor CPUs (if available).

   SMAP feature causes a supervisor page fault during boot on KX-7000 CPUs.

   port-amd64/60641
VersionDeltaFile
1.143+9-2sys/arch/x86/x86/identcpu.c
+9-21 files

NetBSD/src cY2kBxFusr.sbin/cpuctl/arch i386.c

   cpuctl(8): decode L2 cache associativity for VIA CPUs using the AMD cache lookup
   table for the 0x80000006 CPUID function associativity value.

   Use `cpuid leaf 4' to get cache parameters for Zhaoxin and late VIA CPU models.

   Mirrors the changes from identcpu.c rev. 1.142.

   Additionally, use via_cpu_probe() and via_cpu_cacheinfo() for CPUVENDOR_IDT
   family > 6 CPUs to identify Zhaoxin CPUs and their features.
   Also, print feature 5-7 bits for CPUVENDOR_IDT, which appear to be compatible
   with Intel.

   Use vendorname = "Zhaoxin" for family 7 models.

   Tested on various 32-bit and 64-bit VIA and Zhaoxin CPUs
   (Samuel 2 / Nehemiah, Esther (32-bit), multiple Nano models, and KX-U6580/7000).

   PR kern/60619

   pullups needed to netbsd-11 and netbsd-10.
VersionDeltaFile
1.149+34-15usr.sbin/cpuctl/arch/i386.c
+34-151 files

NetBSD/src hjvI2EFsys/arch/x86/x86 identcpu.c

   Decode L2 cache associativity for VIA CPUs using the AMD cache lookup table for
   the 0x80000006 CPUID function associativity value.

   Use `cpuid leaf 4' to get cache parameters for Zhaoxin and late VIA CPU models.

   VIA datasheets mention that associativity is stored as a decimal value. However,
   in practice, it is encoded the AMD way and does not store the actual value.
   Using the raw value leads to an incorrect CPU colors calculation, causing a
   panic on KX-7000 (since the result is not a power of two) and incorrect CPU
   colors values on other CPU models (e.g. as visible in `vmstat -s').
   Decoding value using the AMD cache lookup table produces correct values in all
   cases I have tested or verified using CPUID dumps available online.

   Additionally, Zhaoxin and late VIA CPUs (CNQ and newer) prefer the Intel
   `cpuid leaf 4' function to get cache parameters. Check whether cpuid_level
   is equal to or greater than 4 to identify these CPUs and override cache values
   (including L1) by calling cpu_dcp_cacheinfo(ci, 4). L3 cache information is
   available only through this method.


    [7 lines not shown]
VersionDeltaFile
1.142+25-7sys/arch/x86/x86/identcpu.c
+25-71 files

NetBSD/src 7F9f5YEsys/arch/riscv/conf GENERIC64, sys/arch/riscv/starfive files.starfive jh7110_wdt.c

   risc-v: Add a driver for the jh7110 watchdog timer

   ok skrll@
VersionDeltaFile
1.1+262-0sys/arch/riscv/starfive/jh7110_wdt.c
1.13+6-1sys/arch/riscv/starfive/files.starfive
1.28+2-1sys/arch/riscv/conf/GENERIC64
+270-23 files

NetBSD/src NXP9lyzdoc CHANGES-11.1

   Tickets #436 - #442
VersionDeltaFile
1.1.2.9+69-1doc/CHANGES-11.1
+69-11 files

NetBSD/src o4pimSZsys/arch/riscv/include asm.h

   Pull up following revision(s) (requested by skrll in ticket #442):

        sys/arch/riscv/include/asm.h: revision 1.13

   Ensure 4-byte (32bit alignment) in ENTRY_NP so that non-compressable
   instructions get the correct alignment.
VersionDeltaFile
1.11.2.2+2-2sys/arch/riscv/include/asm.h
+2-21 files

NetBSD/src S4OgvDGexternal/gpl3/gdb/dist/gdb Makefile.in

   Pull up following revision(s) (requested by tls in ticket #441):

        external/gpl3/gdb/dist/gdb/Makefile.in: revision 1.11

   Fix MKCROSSGDB build from release source tars that have had permissions
   whanged around
VersionDeltaFile
1.8.2.1+1-1external/gpl3/gdb/dist/gdb/Makefile.in
+1-11 files

NetBSD/src ehFkC1esys/arch/hppa/conf GENERIC, sys/arch/hppa/hppa process_machdep.c machdep.c

   Pull up following revision(s) (requested by tls in ticket #440):

        sys/arch/hppa/hppa/process_machdep.c: revision 1.19
        sys/arch/hppa/include/cpu.h: revision 1.14
        sys/arch/hppa/hppa/machdep.c: revision 1.28
        sys/arch/hppa/hppa/machdep.h: revision 1.20
        sys/arch/hppa/conf/GENERIC: revision 1.50
        sys/arch/hppa/conf/files.hppa: revision 1.30
        sys/arch/hppa/hppa/locore.S: revision 1.8
        sys/arch/hppa/hppa/hppa_machdep.c: revision 1.34
        sys/arch/hppa/hppa/fpu.c: revision 1.28

   Add eager FPU switching for hppa - works around QEMU bug, and safer -
   may eventually become the default.
VersionDeltaFile
1.27.28.1+105-4sys/arch/hppa/hppa/fpu.c
1.7.2.1+35-8sys/arch/hppa/hppa/locore.S
1.18.68.1+5-2sys/arch/hppa/hppa/process_machdep.c
1.22.2.2+5-2sys/arch/hppa/hppa/machdep.c
1.33.12.1+5-2sys/arch/hppa/hppa/hppa_machdep.c
1.49.2.1+4-2sys/arch/hppa/conf/GENERIC
+159-203 files not shown
+166-239 files

NetBSD/src JlAj6LCsys/dev/pci files.virtio vioscsi.c

   Pull up following revision(s) (requested by tls in ticket #439):

        sys/dev/pci/vioscsi.c: revision 1.37
        sys/dev/pci/files.virtio: revision 1.5

   Add VIOSCSI_MAX_TARGET and VIOSCSI_MAX_LUN options to reduce excessive probe time on QEMU
VersionDeltaFile
1.36.8.1+25-4sys/dev/pci/vioscsi.c
1.3.2.1+2-1sys/dev/pci/files.virtio
+27-52 files