CVS commit: src/share/misc

2023-10-09 Thread Jan Schaumann
Module Name:src
Committed By:   jschauma
Date:   Tue Oct 10 01:17:19 UTC 2023

Modified Files:
src/share/misc: acronyms.comp

Log Message:
+KEK key encryption key

(funny, we already had DEK, those usually come in pairs)


To generate a diff of this commit:
cvs rdiff -u -r1.372 -r1.373 src/share/misc/acronyms.comp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/misc

2023-10-09 Thread Jan Schaumann
Module Name:src
Committed By:   jschauma
Date:   Tue Oct 10 01:17:19 UTC 2023

Modified Files:
src/share/misc: acronyms.comp

Log Message:
+KEK key encryption key

(funny, we already had DEK, those usually come in pairs)


To generate a diff of this commit:
cvs rdiff -u -r1.372 -r1.373 src/share/misc/acronyms.comp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/misc/acronyms.comp
diff -u src/share/misc/acronyms.comp:1.372 src/share/misc/acronyms.comp:1.373
--- src/share/misc/acronyms.comp:1.372	Wed Oct  4 22:34:23 2023
+++ src/share/misc/acronyms.comp	Tue Oct 10 01:17:19 2023
@@ -1,4 +1,4 @@
-$NetBSD: acronyms.comp,v 1.372 2023/10/04 22:34:23 jschauma Exp $
+$NetBSD: acronyms.comp,v 1.373 2023/10/10 01:17:19 jschauma Exp $
 3WHS	three-way handshake
 8VSB	8-state vestigial side band modulation
 AA	anti-aliasing
@@ -865,6 +865,7 @@ KB	kilobyte
 KBD	keyboard
 KBD	kilobaud
 KCS	keyboard controller style
+KEK	key encryption key
 KEM	key encapsulation mechanism
 KLOC	thousand lines of code
 KMS	kernel-mode setting



CVS commit: [netbsd-10] src/doc

2023-10-09 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Mon Oct  9 23:35:43 UTC 2023

Modified Files:
src/doc [netbsd-10]: CHANGES-10.0

Log Message:
401


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.133 -r1.1.2.134 src/doc/CHANGES-10.0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/doc/CHANGES-10.0
diff -u src/doc/CHANGES-10.0:1.1.2.133 src/doc/CHANGES-10.0:1.1.2.134
--- src/doc/CHANGES-10.0:1.1.2.133	Mon Oct  9 13:37:57 2023
+++ src/doc/CHANGES-10.0	Mon Oct  9 23:35:42 2023
@@ -1,4 +1,4 @@
-# $NetBSD: CHANGES-10.0,v 1.1.2.133 2023/10/09 13:37:57 martin Exp $
+# $NetBSD: CHANGES-10.0,v 1.1.2.134 2023/10/09 23:35:42 snj Exp $
 
 A complete list of changes from the initial NetBSD 10.0 branch on 2022-12-16
 until the 10.0 release:
@@ -12292,3 +12292,59 @@ sys/arch/powerpc/oea/pmap.c			1.115
 	powerpc/oea: pmap: Use pool_allocator_nointr() for pmap_pool.
 	[rin, ticket #400]
 
+lib/libc/Makefile.inc(apply patch)
+sys/modules/Makefile.inc			(apply patch)
+sys/arch/amd64/conf/GENERIC			(apply patch)
+sys/arch/amd64/conf/XEN3_DOM0			(apply patch)
+sys/arch/amd64/conf/XEN3_DOMU			(apply patch)
+sys/arch/cobalt/conf/GENERIC			(apply patch)
+sys/arch/evbarm/conf/ADI_BRH			(apply patch)
+sys/arch/evbarm/conf/ARMADAXP			(apply patch)
+sys/arch/evbarm/conf/ARMADILLO9			(apply patch)
+sys/arch/evbarm/conf/BCM5301X			(apply patch)
+sys/arch/evbarm/conf/BCM56340			(apply patch)
+sys/arch/evbarm/conf/CP3100			(apply patch)
+sys/arch/evbarm/conf/CUBOX			(apply patch)
+sys/arch/evbarm/conf/DNS323			(apply patch)
+sys/arch/evbarm/conf/GEMINI			(apply patch)
+sys/arch/evbarm/conf/GEMINI_MASTER		(apply patch)
+sys/arch/evbarm/conf/GEMINI_SLAVE		(apply patch)
+sys/arch/evbarm/conf/GENERIC.common		(apply patch)
+sys/arch/evbarm/conf/GUMSTIX			(apply patch)
+sys/arch/evbarm/conf/HPT5325			(apply patch)
+sys/arch/evbarm/conf/IMX31LITE			(apply patch)
+sys/arch/evbarm/conf/IQ31244			(apply patch)
+sys/arch/evbarm/conf/IQ80310			(apply patch)
+sys/arch/evbarm/conf/IQ80321			(apply patch)
+sys/arch/evbarm/conf/IXDP425			(apply patch)
+sys/arch/evbarm/conf/IXM1200			(apply patch)
+sys/arch/evbarm/conf/KUROBOX_PRO		(apply patch)
+sys/arch/evbarm/conf/KURONAS_X4			(apply patch)
+sys/arch/evbarm/conf/LUBBOCK			(apply patch)
+sys/arch/evbarm/conf/MMNET_GENERIC		(apply patch)
+sys/arch/evbarm/conf/MPCSA_GENERIC		(apply patch)
+sys/arch/evbarm/conf/NSLU2			(apply patch)
+sys/arch/evbarm/conf/OPENBLOCKS_A6		(apply patch)
+sys/arch/evbarm/conf/OPENBLOCKS_AX3		(apply patch)
+sys/arch/evbarm/conf/SHEEVAPLUG			(apply patch)
+sys/arch/evbarm/conf/SMDK2800			(apply patch)
+sys/arch/evbarm/conf/TEAMASA_NPWR		(apply patch)
+sys/arch/evbarm/conf/TEAMASA_NPWR_FC		(apply patch)
+sys/arch/evbarm/conf/TS7200			(apply patch)
+sys/arch/evbarm/conf/TWINTAIL			(apply patch)
+sys/arch/evbarm/conf/VIPER			(apply patch)
+sys/arch/evbarm/conf/ZAO425			(apply patch)
+sys/arch/i386/conf/GENERIC			(apply patch)
+sys/arch/i386/conf/XEN3PAE_DOM0			(apply patch)
+sys/arch/i386/conf/XEN3PAE_DOMU			(apply patch)
+sys/arch/mvmeppc/conf/GENERIC			(apply patch)
+sys/arch/pmax/conf/GENERIC			(apply patch)
+sys/arch/shark/conf/GENERIC			(apply patch)
+sys/arch/shark/conf/OFWGENCFG			(apply patch)
+sys/arch/sparc/conf/GENERIC			(apply patch)
+sys/arch/sparc64/conf/GENERIC			(apply patch)
+sys/arch/zaurus/conf/GENERIC			(apply patch)
+
+	Remove options DIAGNOSTIC/DEBUG.
+	[martin, ticket #401]
+



CVS commit: [netbsd-10] src/doc

2023-10-09 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Mon Oct  9 23:35:43 UTC 2023

Modified Files:
src/doc [netbsd-10]: CHANGES-10.0

Log Message:
401


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.133 -r1.1.2.134 src/doc/CHANGES-10.0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-10] src

2023-10-09 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Mon Oct  9 23:33:47 UTC 2023

Modified Files:
src/lib/libc [netbsd-10]: Makefile.inc
src/sys/arch/amd64/conf [netbsd-10]: GENERIC XEN3_DOM0 XEN3_DOMU
src/sys/arch/cobalt/conf [netbsd-10]: GENERIC
src/sys/arch/evbarm/conf [netbsd-10]: ADI_BRH ARMADAXP ARMADILLO9
BCM5301X BCM56340 CP3100 CUBOX DNS323 GEMINI GEMINI_MASTER
GEMINI_SLAVE GENERIC.common GUMSTIX HPT5325 IMX31LITE IQ31244
IQ80310 IQ80321 IXDP425 IXM1200 KUROBOX_PRO KURONAS_X4 LUBBOCK
MMNET_GENERIC MPCSA_GENERIC NSLU2 OPENBLOCKS_A6 OPENBLOCKS_AX3
SHEEVAPLUG SMDK2800 TEAMASA_NPWR TEAMASA_NPWR_FC TS7200 TWINTAIL
VIPER ZAO425
src/sys/arch/i386/conf [netbsd-10]: GENERIC XEN3PAE_DOM0 XEN3PAE_DOMU
src/sys/arch/mvmeppc/conf [netbsd-10]: GENERIC
src/sys/arch/pmax/conf [netbsd-10]: GENERIC
src/sys/arch/shark/conf [netbsd-10]: GENERIC OFWGENCFG
src/sys/arch/sparc/conf [netbsd-10]: GENERIC
src/sys/arch/sparc64/conf [netbsd-10]: GENERIC
src/sys/arch/zaurus/conf [netbsd-10]: GENERIC
src/sys/modules [netbsd-10]: Makefile.inc

Log Message:
Apply patch (requested by martin in ticket #401):
Disable DIAGNOSTIC/DEBUG.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.20.6.1 src/lib/libc/Makefile.inc
cvs rdiff -u -r1.599.4.3 -r1.599.4.4 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -u -r1.197.4.1 -r1.197.4.2 src/sys/arch/amd64/conf/XEN3_DOM0
cvs rdiff -u -r1.99 -r1.99.4.1 src/sys/arch/amd64/conf/XEN3_DOMU
cvs rdiff -u -r1.172 -r1.172.4.1 src/sys/arch/cobalt/conf/GENERIC
cvs rdiff -u -r1.75 -r1.75.4.1 src/sys/arch/evbarm/conf/ADI_BRH \
src/sys/arch/evbarm/conf/SHEEVAPLUG
cvs rdiff -u -r1.29 -r1.29.4.1 src/sys/arch/evbarm/conf/ARMADAXP
cvs rdiff -u -r1.67 -r1.67.4.1 src/sys/arch/evbarm/conf/ARMADILLO9
cvs rdiff -u -r1.39 -r1.39.4.1 src/sys/arch/evbarm/conf/BCM5301X \
src/sys/arch/evbarm/conf/GEMINI_MASTER
cvs rdiff -u -r1.22 -r1.22.4.1 src/sys/arch/evbarm/conf/BCM56340
cvs rdiff -u -r1.52 -r1.52.4.1 src/sys/arch/evbarm/conf/CP3100
cvs rdiff -u -r1.21 -r1.21.4.1 src/sys/arch/evbarm/conf/CUBOX
cvs rdiff -u -r1.14 -r1.14.20.1 src/sys/arch/evbarm/conf/DNS323
cvs rdiff -u -r1.40 -r1.40.4.1 src/sys/arch/evbarm/conf/GEMINI \
src/sys/arch/evbarm/conf/GEMINI_SLAVE
cvs rdiff -u -r1.50.4.1 -r1.50.4.2 src/sys/arch/evbarm/conf/GENERIC.common
cvs rdiff -u -r1.110 -r1.110.4.1 src/sys/arch/evbarm/conf/GUMSTIX
cvs rdiff -u -r1.53 -r1.53.4.1 src/sys/arch/evbarm/conf/HPT5325
cvs rdiff -u -r1.36 -r1.36.4.1 src/sys/arch/evbarm/conf/IMX31LITE \
src/sys/arch/evbarm/conf/OPENBLOCKS_AX3
cvs rdiff -u -r1.77 -r1.77.4.1 src/sys/arch/evbarm/conf/IQ31244
cvs rdiff -u -r1.93 -r1.93.4.1 src/sys/arch/evbarm/conf/IQ80310
cvs rdiff -u -r1.91 -r1.91.4.1 src/sys/arch/evbarm/conf/IQ80321
cvs rdiff -u -r1.61 -r1.61.4.1 src/sys/arch/evbarm/conf/IXDP425
cvs rdiff -u -r1.66 -r1.66.4.1 src/sys/arch/evbarm/conf/IXM1200 \
src/sys/arch/evbarm/conf/SMDK2800
cvs rdiff -u -r1.15 -r1.15.4.1 src/sys/arch/evbarm/conf/KUROBOX_PRO
cvs rdiff -u -r1.5 -r1.5.20.1 src/sys/arch/evbarm/conf/KURONAS_X4
cvs rdiff -u -r1.63 -r1.63.4.1 src/sys/arch/evbarm/conf/LUBBOCK
cvs rdiff -u -r1.55 -r1.55.4.1 src/sys/arch/evbarm/conf/MMNET_GENERIC \
src/sys/arch/evbarm/conf/TEAMASA_NPWR_FC
cvs rdiff -u -r1.76 -r1.76.4.1 src/sys/arch/evbarm/conf/MPCSA_GENERIC
cvs rdiff -u -r1.50 -r1.50.4.1 src/sys/arch/evbarm/conf/NSLU2
cvs rdiff -u -r1.45 -r1.45.4.1 src/sys/arch/evbarm/conf/OPENBLOCKS_A6
cvs rdiff -u -r1.97 -r1.97.4.1 src/sys/arch/evbarm/conf/TEAMASA_NPWR
cvs rdiff -u -r1.78 -r1.78.4.1 src/sys/arch/evbarm/conf/TS7200
cvs rdiff -u -r1.85 -r1.85.4.1 src/sys/arch/evbarm/conf/TWINTAIL
cvs rdiff -u -r1.44 -r1.44.4.1 src/sys/arch/evbarm/conf/VIPER
cvs rdiff -u -r1.69 -r1.69.4.1 src/sys/arch/evbarm/conf/ZAO425
cvs rdiff -u -r1.1243.2.1 -r1.1243.2.2 src/sys/arch/i386/conf/GENERIC
cvs rdiff -u -r1.36 -r1.36.4.1 src/sys/arch/i386/conf/XEN3PAE_DOM0
cvs rdiff -u -r1.18 -r1.18.4.1 src/sys/arch/i386/conf/XEN3PAE_DOMU
cvs rdiff -u -r1.32 -r1.32.4.1 src/sys/arch/mvmeppc/conf/GENERIC
cvs rdiff -u -r1.206 -r1.206.4.1 src/sys/arch/pmax/conf/GENERIC
cvs rdiff -u -r1.142 -r1.142.4.1 src/sys/arch/shark/conf/GENERIC
cvs rdiff -u -r1.49 -r1.49.30.1 src/sys/arch/shark/conf/OFWGENCFG
cvs rdiff -u -r1.272 -r1.272.4.1 src/sys/arch/sparc/conf/GENERIC
cvs rdiff -u -r1.237 -r1.237.4.1 src/sys/arch/sparc64/conf/GENERIC
cvs rdiff -u -r1.93 -r1.93.4.1 src/sys/arch/zaurus/conf/GENERIC
cvs rdiff -u -r1.8 -r1.8.30.1 src/sys/modules/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/Makefile.inc
diff -u src/lib/libc/Makefile.inc:1.20 src/lib/libc/Makefile.inc:1.20.6.1
--- src/lib/libc/Makefile.inc:1.20	Tue Apr 20 21:42:31 2021
+++ src/lib/libc/Makefile.inc	Mon Oct  9 23:33:45 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: 

CVS commit: [netbsd-10] src

2023-10-09 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Mon Oct  9 23:33:47 UTC 2023

Modified Files:
src/lib/libc [netbsd-10]: Makefile.inc
src/sys/arch/amd64/conf [netbsd-10]: GENERIC XEN3_DOM0 XEN3_DOMU
src/sys/arch/cobalt/conf [netbsd-10]: GENERIC
src/sys/arch/evbarm/conf [netbsd-10]: ADI_BRH ARMADAXP ARMADILLO9
BCM5301X BCM56340 CP3100 CUBOX DNS323 GEMINI GEMINI_MASTER
GEMINI_SLAVE GENERIC.common GUMSTIX HPT5325 IMX31LITE IQ31244
IQ80310 IQ80321 IXDP425 IXM1200 KUROBOX_PRO KURONAS_X4 LUBBOCK
MMNET_GENERIC MPCSA_GENERIC NSLU2 OPENBLOCKS_A6 OPENBLOCKS_AX3
SHEEVAPLUG SMDK2800 TEAMASA_NPWR TEAMASA_NPWR_FC TS7200 TWINTAIL
VIPER ZAO425
src/sys/arch/i386/conf [netbsd-10]: GENERIC XEN3PAE_DOM0 XEN3PAE_DOMU
src/sys/arch/mvmeppc/conf [netbsd-10]: GENERIC
src/sys/arch/pmax/conf [netbsd-10]: GENERIC
src/sys/arch/shark/conf [netbsd-10]: GENERIC OFWGENCFG
src/sys/arch/sparc/conf [netbsd-10]: GENERIC
src/sys/arch/sparc64/conf [netbsd-10]: GENERIC
src/sys/arch/zaurus/conf [netbsd-10]: GENERIC
src/sys/modules [netbsd-10]: Makefile.inc

Log Message:
Apply patch (requested by martin in ticket #401):
Disable DIAGNOSTIC/DEBUG.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.20.6.1 src/lib/libc/Makefile.inc
cvs rdiff -u -r1.599.4.3 -r1.599.4.4 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -u -r1.197.4.1 -r1.197.4.2 src/sys/arch/amd64/conf/XEN3_DOM0
cvs rdiff -u -r1.99 -r1.99.4.1 src/sys/arch/amd64/conf/XEN3_DOMU
cvs rdiff -u -r1.172 -r1.172.4.1 src/sys/arch/cobalt/conf/GENERIC
cvs rdiff -u -r1.75 -r1.75.4.1 src/sys/arch/evbarm/conf/ADI_BRH \
src/sys/arch/evbarm/conf/SHEEVAPLUG
cvs rdiff -u -r1.29 -r1.29.4.1 src/sys/arch/evbarm/conf/ARMADAXP
cvs rdiff -u -r1.67 -r1.67.4.1 src/sys/arch/evbarm/conf/ARMADILLO9
cvs rdiff -u -r1.39 -r1.39.4.1 src/sys/arch/evbarm/conf/BCM5301X \
src/sys/arch/evbarm/conf/GEMINI_MASTER
cvs rdiff -u -r1.22 -r1.22.4.1 src/sys/arch/evbarm/conf/BCM56340
cvs rdiff -u -r1.52 -r1.52.4.1 src/sys/arch/evbarm/conf/CP3100
cvs rdiff -u -r1.21 -r1.21.4.1 src/sys/arch/evbarm/conf/CUBOX
cvs rdiff -u -r1.14 -r1.14.20.1 src/sys/arch/evbarm/conf/DNS323
cvs rdiff -u -r1.40 -r1.40.4.1 src/sys/arch/evbarm/conf/GEMINI \
src/sys/arch/evbarm/conf/GEMINI_SLAVE
cvs rdiff -u -r1.50.4.1 -r1.50.4.2 src/sys/arch/evbarm/conf/GENERIC.common
cvs rdiff -u -r1.110 -r1.110.4.1 src/sys/arch/evbarm/conf/GUMSTIX
cvs rdiff -u -r1.53 -r1.53.4.1 src/sys/arch/evbarm/conf/HPT5325
cvs rdiff -u -r1.36 -r1.36.4.1 src/sys/arch/evbarm/conf/IMX31LITE \
src/sys/arch/evbarm/conf/OPENBLOCKS_AX3
cvs rdiff -u -r1.77 -r1.77.4.1 src/sys/arch/evbarm/conf/IQ31244
cvs rdiff -u -r1.93 -r1.93.4.1 src/sys/arch/evbarm/conf/IQ80310
cvs rdiff -u -r1.91 -r1.91.4.1 src/sys/arch/evbarm/conf/IQ80321
cvs rdiff -u -r1.61 -r1.61.4.1 src/sys/arch/evbarm/conf/IXDP425
cvs rdiff -u -r1.66 -r1.66.4.1 src/sys/arch/evbarm/conf/IXM1200 \
src/sys/arch/evbarm/conf/SMDK2800
cvs rdiff -u -r1.15 -r1.15.4.1 src/sys/arch/evbarm/conf/KUROBOX_PRO
cvs rdiff -u -r1.5 -r1.5.20.1 src/sys/arch/evbarm/conf/KURONAS_X4
cvs rdiff -u -r1.63 -r1.63.4.1 src/sys/arch/evbarm/conf/LUBBOCK
cvs rdiff -u -r1.55 -r1.55.4.1 src/sys/arch/evbarm/conf/MMNET_GENERIC \
src/sys/arch/evbarm/conf/TEAMASA_NPWR_FC
cvs rdiff -u -r1.76 -r1.76.4.1 src/sys/arch/evbarm/conf/MPCSA_GENERIC
cvs rdiff -u -r1.50 -r1.50.4.1 src/sys/arch/evbarm/conf/NSLU2
cvs rdiff -u -r1.45 -r1.45.4.1 src/sys/arch/evbarm/conf/OPENBLOCKS_A6
cvs rdiff -u -r1.97 -r1.97.4.1 src/sys/arch/evbarm/conf/TEAMASA_NPWR
cvs rdiff -u -r1.78 -r1.78.4.1 src/sys/arch/evbarm/conf/TS7200
cvs rdiff -u -r1.85 -r1.85.4.1 src/sys/arch/evbarm/conf/TWINTAIL
cvs rdiff -u -r1.44 -r1.44.4.1 src/sys/arch/evbarm/conf/VIPER
cvs rdiff -u -r1.69 -r1.69.4.1 src/sys/arch/evbarm/conf/ZAO425
cvs rdiff -u -r1.1243.2.1 -r1.1243.2.2 src/sys/arch/i386/conf/GENERIC
cvs rdiff -u -r1.36 -r1.36.4.1 src/sys/arch/i386/conf/XEN3PAE_DOM0
cvs rdiff -u -r1.18 -r1.18.4.1 src/sys/arch/i386/conf/XEN3PAE_DOMU
cvs rdiff -u -r1.32 -r1.32.4.1 src/sys/arch/mvmeppc/conf/GENERIC
cvs rdiff -u -r1.206 -r1.206.4.1 src/sys/arch/pmax/conf/GENERIC
cvs rdiff -u -r1.142 -r1.142.4.1 src/sys/arch/shark/conf/GENERIC
cvs rdiff -u -r1.49 -r1.49.30.1 src/sys/arch/shark/conf/OFWGENCFG
cvs rdiff -u -r1.272 -r1.272.4.1 src/sys/arch/sparc/conf/GENERIC
cvs rdiff -u -r1.237 -r1.237.4.1 src/sys/arch/sparc64/conf/GENERIC
cvs rdiff -u -r1.93 -r1.93.4.1 src/sys/arch/zaurus/conf/GENERIC
cvs rdiff -u -r1.8 -r1.8.30.1 src/sys/modules/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/raidframe

2023-10-09 Thread Greg Oster
Module Name:src
Committed By:   oster
Date:   Mon Oct  9 22:00:38 UTC 2023

Modified Files:
src/sys/dev/raidframe: rf_driver.c

Log Message:
Make the name of the condition more reflective of the name of the condition 
variable.  From Edgar Fuß.


To generate a diff of this commit:
cvs rdiff -u -r1.142 -r1.143 src/sys/dev/raidframe/rf_driver.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/raidframe

2023-10-09 Thread Greg Oster
Module Name:src
Committed By:   oster
Date:   Mon Oct  9 22:00:38 UTC 2023

Modified Files:
src/sys/dev/raidframe: rf_driver.c

Log Message:
Make the name of the condition more reflective of the name of the condition 
variable.  From Edgar Fuß.


To generate a diff of this commit:
cvs rdiff -u -r1.142 -r1.143 src/sys/dev/raidframe/rf_driver.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/raidframe/rf_driver.c
diff -u src/sys/dev/raidframe/rf_driver.c:1.142 src/sys/dev/raidframe/rf_driver.c:1.143
--- src/sys/dev/raidframe/rf_driver.c:1.142	Mon Sep 25 21:59:38 2023
+++ src/sys/dev/raidframe/rf_driver.c	Mon Oct  9 22:00:38 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: rf_driver.c,v 1.142 2023/09/25 21:59:38 oster Exp $	*/
+/*	$NetBSD: rf_driver.c,v 1.143 2023/10/09 22:00:38 oster Exp $	*/
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -66,7 +66,7 @@
 
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: rf_driver.c,v 1.142 2023/09/25 21:59:38 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_driver.c,v 1.143 2023/10/09 22:00:38 oster Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_raid_diagnostic.h"
@@ -949,7 +949,7 @@ rf_alloc_mutex_cond(RF_Raid_t *raidPtr)
 
 	rf_init_cond2(raidPtr->waitForReconCond, "rfrcnw");
 
-	rf_init_cond2(raidPtr->changing_components_cv, "raidhs");
+	rf_init_cond2(raidPtr->changing_components_cv, "rfcc");
 }
 
 static void



CVS commit: src/sys/dev/raidframe

2023-10-09 Thread Greg Oster
Module Name:src
Committed By:   oster
Date:   Mon Oct  9 21:55:48 UTC 2023

Modified Files:
src/sys/dev/raidframe: rf_netbsdkintf.c

Log Message:
spaces->tabs.  Noted by Edgar Fuß


To generate a diff of this commit:
cvs rdiff -u -r1.416 -r1.417 src/sys/dev/raidframe/rf_netbsdkintf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/raidframe/rf_netbsdkintf.c
diff -u src/sys/dev/raidframe/rf_netbsdkintf.c:1.416 src/sys/dev/raidframe/rf_netbsdkintf.c:1.417
--- src/sys/dev/raidframe/rf_netbsdkintf.c:1.416	Thu Sep 28 15:50:23 2023
+++ src/sys/dev/raidframe/rf_netbsdkintf.c	Mon Oct  9 21:55:48 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: rf_netbsdkintf.c,v 1.416 2023/09/28 15:50:23 manu Exp $	*/
+/*	$NetBSD: rf_netbsdkintf.c,v 1.417 2023/10/09 21:55:48 oster Exp $	*/
 
 /*-
  * Copyright (c) 1996, 1997, 1998, 2008-2011 The NetBSD Foundation, Inc.
@@ -101,7 +101,7 @@
  ***/
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.416 2023/09/28 15:50:23 manu Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.417 2023/10/09 21:55:48 oster Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_raid_autoconfig.h"
@@ -3998,10 +3998,10 @@ rf_get_info(RF_Raid_t *raidPtr, RF_Devic
 	}
 	for (i = 0; i < config->nspares; i++) {
 		config->spares[i] = raidPtr->Disks[raidPtr->numCol + i];
-if (config->spares[i].status == rf_ds_rebuilding_spare) {
-/* raidctl(8) expects to see this as a used spare */
-config->spares[i].status = rf_ds_used_spare;
-}
+		if (config->spares[i].status == rf_ds_rebuilding_spare) {
+			/* raidctl(8) expects to see this as a used spare */
+			config->spares[i].status = rf_ds_used_spare;
+		}
 	}
 	return 0;
 }



CVS commit: src/sys/dev/raidframe

2023-10-09 Thread Greg Oster
Module Name:src
Committed By:   oster
Date:   Mon Oct  9 21:55:48 UTC 2023

Modified Files:
src/sys/dev/raidframe: rf_netbsdkintf.c

Log Message:
spaces->tabs.  Noted by Edgar Fuß


To generate a diff of this commit:
cvs rdiff -u -r1.416 -r1.417 src/sys/dev/raidframe/rf_netbsdkintf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libcurses

2023-10-09 Thread Brett Lymn
Module Name:src
Committed By:   blymn
Date:   Mon Oct  9 21:14:29 UTC 2023

Modified Files:
src/lib/libcurses: tty.c

Log Message:
Correct the fd closed check so we actually check the outfd as per
the comment.  Thanks for j...@netbsd.org for catching this one.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/lib/libcurses/tty.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libcurses/tty.c
diff -u src/lib/libcurses/tty.c:1.49 src/lib/libcurses/tty.c:1.50
--- src/lib/libcurses/tty.c:1.49	Mon Sep  6 07:03:50 2021
+++ src/lib/libcurses/tty.c	Mon Oct  9 21:14:29 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: tty.c,v 1.49 2021/09/06 07:03:50 rin Exp $	*/
+/*	$NetBSD: tty.c,v 1.50 2023/10/09 21:14:29 blymn Exp $	*/
 
 /*-
  * Copyright (c) 1992, 1993, 1994
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "@(#)tty.c	8.6 (Berkeley) 1/10/95";
 #else
-__RCSID("$NetBSD: tty.c,v 1.49 2021/09/06 07:03:50 rin Exp $");
+__RCSID("$NetBSD: tty.c,v 1.50 2023/10/09 21:14:29 blymn Exp $");
 #endif
 #endif/* not lint */
 
@@ -113,7 +113,7 @@ _cursesi_gettmode(SCREEN *screen)
 
 	if (tcgetattr(fileno(screen->infd), >orig_termios)) {
 		/* if the input fd is not a tty try the output */
-		if (tcgetattr(fileno(screen->infd), >orig_termios)) {
+		if (tcgetattr(fileno(screen->outfd), >orig_termios)) {
 			/* not a tty ... we will disable tty related stuff */
 			screen->notty = TRUE;
 			__GT = 0;



CVS commit: src/lib/libcurses

2023-10-09 Thread Brett Lymn
Module Name:src
Committed By:   blymn
Date:   Mon Oct  9 21:14:29 UTC 2023

Modified Files:
src/lib/libcurses: tty.c

Log Message:
Correct the fd closed check so we actually check the outfd as per
the comment.  Thanks for j...@netbsd.org for catching this one.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/lib/libcurses/tty.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/usb

2023-10-09 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Oct  9 17:44:33 UTC 2023

Modified Files:
src/sys/dev/usb: usbnet.c

Log Message:
usbnet(9): Fix typo in comment.

No functional change intended.

PR kern/57645

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.117 -r1.118 src/sys/dev/usb/usbnet.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/usb/usbnet.c
diff -u src/sys/dev/usb/usbnet.c:1.117 src/sys/dev/usb/usbnet.c:1.118
--- src/sys/dev/usb/usbnet.c:1.117	Mon Oct  9 17:43:01 2023
+++ src/sys/dev/usb/usbnet.c	Mon Oct  9 17:44:33 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: usbnet.c,v 1.117 2023/10/09 17:43:01 riastradh Exp $	*/
+/*	$NetBSD: usbnet.c,v 1.118 2023/10/09 17:44:33 riastradh Exp $	*/
 
 /*
  * Copyright (c) 2019 Matthew R. Green
@@ -31,7 +31,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: usbnet.c,v 1.117 2023/10/09 17:43:01 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usbnet.c,v 1.118 2023/10/09 17:44:33 riastradh Exp $");
 
 #include 
 #include 
@@ -1030,7 +1030,7 @@ usbnet_ifflags_cb(struct ethercom *ec)
 
 	/*
 	 * Otherwise, cache the flags change so we can read the flags
-	 * under uno_mcastlock for multicast updates in SIOCADDMULTI or
+	 * under unp_mcastlock for multicast updates in SIOCADDMULTI or
 	 * SIOCDELMULTI without IFNET_LOCK.
 	 */
 	mutex_enter(>unp_mcastlock);



CVS commit: src/sys/dev/usb

2023-10-09 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Oct  9 17:44:33 UTC 2023

Modified Files:
src/sys/dev/usb: usbnet.c

Log Message:
usbnet(9): Fix typo in comment.

No functional change intended.

PR kern/57645

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.117 -r1.118 src/sys/dev/usb/usbnet.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/usb

2023-10-09 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Oct  9 17:43:01 UTC 2023

Modified Files:
src/sys/dev/usb: usbnet.c

Log Message:
usbnet(9): On if_init, stop/init if IFF_RUNNING -- not noop.

ether_ioctl(9) relies on this to reinitialize an interface when a
flags change returns ENETRESET.  We can't just reprogram the hardware
multicast filter because some drivers have logic in if_init that's
conditional on IFF_PROMISC; perhaps we can reduce the cost of this if
we can change those drivers to do it in uno_mcast but that requires
some analysis to determine.

PR kern/57645

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.116 -r1.117 src/sys/dev/usb/usbnet.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/usb/usbnet.c
diff -u src/sys/dev/usb/usbnet.c:1.116 src/sys/dev/usb/usbnet.c:1.117
--- src/sys/dev/usb/usbnet.c:1.116	Mon Oct  9 17:42:09 2023
+++ src/sys/dev/usb/usbnet.c	Mon Oct  9 17:43:01 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: usbnet.c,v 1.116 2023/10/09 17:42:09 riastradh Exp $	*/
+/*	$NetBSD: usbnet.c,v 1.117 2023/10/09 17:43:01 riastradh Exp $	*/
 
 /*
  * Copyright (c) 2019 Matthew R. Green
@@ -31,7 +31,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: usbnet.c,v 1.116 2023/10/09 17:42:09 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usbnet.c,v 1.117 2023/10/09 17:43:01 riastradh Exp $");
 
 #include 
 #include 
@@ -1130,6 +1130,7 @@ usbnet_stop(struct usbnet *un, struct if
 	USBNETHIST_FUNC(); USBNETHIST_CALLED();
 
 	KASSERTMSG(IFNET_LOCKED(ifp), "%s", ifp->if_xname);
+	KASSERTMSG(ifp->if_flags & IFF_RUNNING, "%s", ifp->if_xname);
 
 	/*
 	 * For drivers with hardware multicast filter update callbacks:
@@ -1320,14 +1321,17 @@ usbnet_if_init(struct ifnet *ifp)
 		return EIO;
 
 	/*
-	 * If we're already running, nothing to do.
+	 * If we're already running, stop the interface first -- we're
+	 * reinitializing it.
 	 *
-	 * XXX This should be an assertion, but it may require some
-	 * analysis -- and possibly some tweaking -- of sys/net to
-	 * ensure.
+	 * XXX Grody for sys/net to call if_init to reinitialize.  This
+	 * should be an assertion, not a branch, but it will require
+	 * some tweaking of sys/net to avoid.  See also the comment in
+	 * usbnet_ifflags_cb about if_init vs uno_mcast on reinitalize.
 	 */
 	if (ifp->if_flags & IFF_RUNNING)
-		return 0;
+		usbnet_stop(un, ifp, /*disable*/1/*XXX???*/);
+	KASSERTMSG((ifp->if_flags & IFF_RUNNING) == 0, "%s", ifp->if_xname);
 
 	error = uno_init(un, ifp);
 	if (error)



CVS commit: src/sys/dev/usb

2023-10-09 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Oct  9 17:43:01 UTC 2023

Modified Files:
src/sys/dev/usb: usbnet.c

Log Message:
usbnet(9): On if_init, stop/init if IFF_RUNNING -- not noop.

ether_ioctl(9) relies on this to reinitialize an interface when a
flags change returns ENETRESET.  We can't just reprogram the hardware
multicast filter because some drivers have logic in if_init that's
conditional on IFF_PROMISC; perhaps we can reduce the cost of this if
we can change those drivers to do it in uno_mcast but that requires
some analysis to determine.

PR kern/57645

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.116 -r1.117 src/sys/dev/usb/usbnet.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/usb

2023-10-09 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Oct  9 17:42:09 UTC 2023

Modified Files:
src/sys/dev/usb: usbnet.c

Log Message:
usbnet(9): Fix sense of conditional in usbnet_ifflags_cb.

This appears to have been mistranscribed in revision 1.1 of usbnet.c.

PR kern/57645

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.115 -r1.116 src/sys/dev/usb/usbnet.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/usb/usbnet.c
diff -u src/sys/dev/usb/usbnet.c:1.115 src/sys/dev/usb/usbnet.c:1.116
--- src/sys/dev/usb/usbnet.c:1.115	Mon Oct  9 17:42:00 2023
+++ src/sys/dev/usb/usbnet.c	Mon Oct  9 17:42:09 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: usbnet.c,v 1.115 2023/10/09 17:42:00 riastradh Exp $	*/
+/*	$NetBSD: usbnet.c,v 1.116 2023/10/09 17:42:09 riastradh Exp $	*/
 
 /*
  * Copyright (c) 2019 Matthew R. Green
@@ -31,7 +31,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: usbnet.c,v 1.115 2023/10/09 17:42:00 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usbnet.c,v 1.116 2023/10/09 17:42:09 riastradh Exp $");
 
 #include 
 #include 
@@ -1016,34 +1016,43 @@ usbnet_ifflags_cb(struct ethercom *ec)
 	struct ifnet *ifp = >ec_if;
 	struct usbnet *un = ifp->if_softc;
 	struct usbnet_private * const unp = un->un_pri;
-	int rv = 0;
 
 	KASSERTMSG(IFNET_LOCKED(ifp), "%s", ifp->if_xname);
 
 	const u_short changed = ifp->if_flags ^ unp->unp_if_flags;
-	if ((changed & ~(IFF_CANTCHANGE | IFF_DEBUG)) == 0) {
-		mutex_enter(>unp_mcastlock);
-		unp->unp_if_flags = ifp->if_flags;
-		mutex_exit(>unp_mcastlock);
-		/*
-		 * XXX Can we just do uno_mcast synchronously here
-		 * instead of resetting the whole interface?
-		 *
-		 * Not yet, because some usbnet drivers (e.g., aue(4))
-		 * initialize the hardware differently in uno_init
-		 * depending on IFF_PROMISC.  But some (again, aue(4))
-		 * _also_ need to know whether IFF_PROMISC is set in
-		 * uno_mcast and do something different with it there.
-		 * Maybe the logic can be unified, but it will require
-		 * an audit and testing of all the usbnet drivers.
-		 */
-		if (changed & IFF_PROMISC)
-			rv = ENETRESET;
-	} else {
-		rv = ENETRESET;
-	}
 
-	return rv;
+	/*
+	 * If any user-settable flags have changed other than
+	 * IFF_DEBUG, just reset the interface.
+	 */
+	if ((changed & ~(IFF_CANTCHANGE | IFF_DEBUG)) != 0)
+		return ENETRESET;
+
+	/*
+	 * Otherwise, cache the flags change so we can read the flags
+	 * under uno_mcastlock for multicast updates in SIOCADDMULTI or
+	 * SIOCDELMULTI without IFNET_LOCK.
+	 */
+	mutex_enter(>unp_mcastlock);
+	unp->unp_if_flags = ifp->if_flags;
+	mutex_exit(>unp_mcastlock);
+
+	/*
+	 * If we're switching on or off promiscuous mode, reprogram the
+	 * hardware multicast filter now.
+	 *
+	 * XXX Actually, reset the interface, because some usbnet
+	 * drivers (e.g., aue(4)) initialize the hardware differently
+	 * in uno_init depending on IFF_PROMISC.  But some (again,
+	 * aue(4)) _also_ need to know whether IFF_PROMISC is set in
+	 * uno_mcast and do something different with it there.  Maybe
+	 * the logic can be unified, but it will require an audit and
+	 * testing of all the usbnet drivers.
+	 */
+	if (changed & IFF_PROMISC)
+		return ENETRESET;
+
+	return 0;
 }
 
 bool



CVS commit: src/sys/dev/usb

2023-10-09 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Oct  9 17:42:09 UTC 2023

Modified Files:
src/sys/dev/usb: usbnet.c

Log Message:
usbnet(9): Fix sense of conditional in usbnet_ifflags_cb.

This appears to have been mistranscribed in revision 1.1 of usbnet.c.

PR kern/57645

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.115 -r1.116 src/sys/dev/usb/usbnet.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/usb

2023-10-09 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Oct  9 17:42:00 UTC 2023

Modified Files:
src/sys/dev/usb: usbnet.c

Log Message:
usbnet(9): Make sure unp->unp_if_flags is initialized on init.

usbnet_ifflags_cb is only called if the flags change while up and
running.  (XXX Maybe it should be called in other circumstances too
so there's only one path here?)

Out of paranoia, clear the cache on stop.

PR kern/57645

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.114 -r1.115 src/sys/dev/usb/usbnet.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/usb/usbnet.c
diff -u src/sys/dev/usb/usbnet.c:1.114 src/sys/dev/usb/usbnet.c:1.115
--- src/sys/dev/usb/usbnet.c:1.114	Sat Jul 15 21:41:26 2023
+++ src/sys/dev/usb/usbnet.c	Mon Oct  9 17:42:00 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: usbnet.c,v 1.114 2023/07/15 21:41:26 andvar Exp $	*/
+/*	$NetBSD: usbnet.c,v 1.115 2023/10/09 17:42:00 riastradh Exp $	*/
 
 /*
  * Copyright (c) 2019 Matthew R. Green
@@ -31,7 +31,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: usbnet.c,v 1.114 2023/07/15 21:41:26 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usbnet.c,v 1.115 2023/10/09 17:42:00 riastradh Exp $");
 
 #include 
 #include 
@@ -867,6 +867,8 @@ usbnet_init_rx_tx(struct usbnet * const 
 	 */
 	if (un->un_ops->uno_mcast) {
 		mutex_enter(>unp_mcastlock);
+		KASSERTMSG(!unp->unp_mcastactive, "%s", ifp->if_xname);
+		unp->unp_if_flags = ifp->if_flags;
 		(*un->un_ops->uno_mcast)(ifp);
 		unp->unp_mcastactive = true;
 		mutex_exit(>unp_mcastlock);
@@ -1000,6 +1002,13 @@ usbnet_media_upd(struct ifnet *ifp)
 
 /* ioctl */
 
+/*
+ * usbnet_ifflags_cb(ec)
+ *
+ *	Called by if_ethersubr when interface flags change
+ *	(SIOCSIFFLAGS), or ethernet capabilities change
+ *	(SIOCSETHERCAP), on a running interface.
+ */
 static int
 usbnet_ifflags_cb(struct ethercom *ec)
 {
@@ -1120,7 +1129,9 @@ usbnet_stop(struct usbnet *un, struct if
 	 */
 	if (un->un_ops->uno_mcast) {
 		mutex_enter(>unp_mcastlock);
+		KASSERTMSG(unp->unp_mcastactive, "%p", ifp->if_xname);
 		unp->unp_mcastactive = false;
+		unp->unp_if_flags = 0;
 		mutex_exit(>unp_mcastlock);
 	}
 



CVS commit: src/sys/dev/usb

2023-10-09 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Oct  9 17:42:00 UTC 2023

Modified Files:
src/sys/dev/usb: usbnet.c

Log Message:
usbnet(9): Make sure unp->unp_if_flags is initialized on init.

usbnet_ifflags_cb is only called if the flags change while up and
running.  (XXX Maybe it should be called in other circumstances too
so there's only one path here?)

Out of paranoia, clear the cache on stop.

PR kern/57645

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.114 -r1.115 src/sys/dev/usb/usbnet.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-10] src/doc

2023-10-09 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Oct  9 13:37:57 UTC 2023

Modified Files:
src/doc [netbsd-10]: CHANGES-10.0

Log Message:
Ticket #400


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.132 -r1.1.2.133 src/doc/CHANGES-10.0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/doc/CHANGES-10.0
diff -u src/doc/CHANGES-10.0:1.1.2.132 src/doc/CHANGES-10.0:1.1.2.133
--- src/doc/CHANGES-10.0:1.1.2.132	Mon Oct  9 12:45:35 2023
+++ src/doc/CHANGES-10.0	Mon Oct  9 13:37:57 2023
@@ -1,4 +1,4 @@
-# $NetBSD: CHANGES-10.0,v 1.1.2.132 2023/10/09 12:45:35 martin Exp $
+# $NetBSD: CHANGES-10.0,v 1.1.2.133 2023/10/09 13:37:57 martin Exp $
 
 A complete list of changes from the initial NetBSD 10.0 branch on 2022-12-16
 until the 10.0 release:
@@ -12287,3 +12287,8 @@ external/gpl3/gcc.old/usr.bin/gcc/arch/v
 	gcc: vax: mknative for PR port-vax/57646.
 	[rin, ticket #399]
 
+sys/arch/powerpc/oea/pmap.c			1.115
+
+	powerpc/oea: pmap: Use pool_allocator_nointr() for pmap_pool.
+	[rin, ticket #400]
+



CVS commit: [netbsd-10] src/doc

2023-10-09 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Oct  9 13:37:57 UTC 2023

Modified Files:
src/doc [netbsd-10]: CHANGES-10.0

Log Message:
Ticket #400


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.132 -r1.1.2.133 src/doc/CHANGES-10.0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-10] src/sys/arch/powerpc/oea

2023-10-09 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Oct  9 13:36:59 UTC 2023

Modified Files:
src/sys/arch/powerpc/oea [netbsd-10]: pmap.c

Log Message:
Pull up following revision(s) (requested by rin in ticket #400):

sys/arch/powerpc/oea/pmap.c: revision 1.115

powerpc/oea: pmap: Use pool_allocator_nointr() for pmap_pool

As done for (majority of) other pmap implementations.
pmap_pool_allocator() allocates memory below 256MB, but it is not
necessary for struct pmap.

Fix part of PR kern/57621, i.e., stall in pmap_create(9).

There should be another bugs that cause (MP?) kernel hangs
reported in the PR, in pmap or other MD components for powerpc
(PR port-powerpc/56922 should be one of the candidates).
XXX

pmap for powerpc/oea apparently needs some clean ups. But leave it
as is, and pull up this minimum fix to netbsd-10 at the moment.


To generate a diff of this commit:
cvs rdiff -u -r1.114 -r1.114.4.1 src/sys/arch/powerpc/oea/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/powerpc/oea/pmap.c
diff -u src/sys/arch/powerpc/oea/pmap.c:1.114 src/sys/arch/powerpc/oea/pmap.c:1.114.4.1
--- src/sys/arch/powerpc/oea/pmap.c:1.114	Mon May  9 11:39:44 2022
+++ src/sys/arch/powerpc/oea/pmap.c	Mon Oct  9 13:36:58 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: pmap.c,v 1.114 2022/05/09 11:39:44 rin Exp $	*/
+/*	$NetBSD: pmap.c,v 1.114.4.1 2023/10/09 13:36:58 martin Exp $	*/
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -63,7 +63,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.114 2022/05/09 11:39:44 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.114.4.1 2023/10/09 13:36:58 martin Exp $");
 
 #define	PMAP_NOOPNAMES
 
@@ -3448,7 +3448,7 @@ pmap_bootstrap1(paddr_t kernelstart, pad
 	pool_setlowat(_pvo_pool, 1008);
 
 	pool_init(_pool, sizeof(struct pmap),
-	sizeof(void *), 0, 0, "pmap_pl", _pool_allocator,
+	sizeof(void *), 0, 0, "pmap_pl", _allocator_nointr,
 	IPL_NONE);
 
 #if defined(PMAP_NEED_MAPKERNEL)



CVS commit: [netbsd-10] src/sys/arch/powerpc/oea

2023-10-09 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Oct  9 13:36:59 UTC 2023

Modified Files:
src/sys/arch/powerpc/oea [netbsd-10]: pmap.c

Log Message:
Pull up following revision(s) (requested by rin in ticket #400):

sys/arch/powerpc/oea/pmap.c: revision 1.115

powerpc/oea: pmap: Use pool_allocator_nointr() for pmap_pool

As done for (majority of) other pmap implementations.
pmap_pool_allocator() allocates memory below 256MB, but it is not
necessary for struct pmap.

Fix part of PR kern/57621, i.e., stall in pmap_create(9).

There should be another bugs that cause (MP?) kernel hangs
reported in the PR, in pmap or other MD components for powerpc
(PR port-powerpc/56922 should be one of the candidates).
XXX

pmap for powerpc/oea apparently needs some clean ups. But leave it
as is, and pull up this minimum fix to netbsd-10 at the moment.


To generate a diff of this commit:
cvs rdiff -u -r1.114 -r1.114.4.1 src/sys/arch/powerpc/oea/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/oea

2023-10-09 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Oct  9 13:01:58 UTC 2023

Modified Files:
src/sys/arch/powerpc/oea: pmap.c

Log Message:
powerpc/oea: pmap: Use pool_allocator_nointr() for pmap_pool

As done for (majority of) other pmap implementations.

pmap_pool_allocator() allocates memory below 256MB, but it is not
necessary for struct pmap.

Fix part of PR kern/57621, i.e., stall in pmap_create(9).

There should be another bugs that cause (MP?) kernel hangs
reported in the PR, in pmap or other MD components for powerpc
(PR port-powerpc/56922 should be one of the candidates).

XXX
pmap for powerpc/oea apparently needs some clean ups. But leave it
as is, and pull up this minimum fix to netbsd-10 at the moment.


To generate a diff of this commit:
cvs rdiff -u -r1.114 -r1.115 src/sys/arch/powerpc/oea/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/powerpc/oea/pmap.c
diff -u src/sys/arch/powerpc/oea/pmap.c:1.114 src/sys/arch/powerpc/oea/pmap.c:1.115
--- src/sys/arch/powerpc/oea/pmap.c:1.114	Mon May  9 11:39:44 2022
+++ src/sys/arch/powerpc/oea/pmap.c	Mon Oct  9 13:01:58 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: pmap.c,v 1.114 2022/05/09 11:39:44 rin Exp $	*/
+/*	$NetBSD: pmap.c,v 1.115 2023/10/09 13:01:58 rin Exp $	*/
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -63,7 +63,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.114 2022/05/09 11:39:44 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.115 2023/10/09 13:01:58 rin Exp $");
 
 #define	PMAP_NOOPNAMES
 
@@ -3448,7 +3448,7 @@ pmap_bootstrap1(paddr_t kernelstart, pad
 	pool_setlowat(_pvo_pool, 1008);
 
 	pool_init(_pool, sizeof(struct pmap),
-	sizeof(void *), 0, 0, "pmap_pl", _pool_allocator,
+	sizeof(void *), 0, 0, "pmap_pl", _allocator_nointr,
 	IPL_NONE);
 
 #if defined(PMAP_NEED_MAPKERNEL)



CVS commit: src/sys/arch/powerpc/oea

2023-10-09 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Oct  9 13:01:58 UTC 2023

Modified Files:
src/sys/arch/powerpc/oea: pmap.c

Log Message:
powerpc/oea: pmap: Use pool_allocator_nointr() for pmap_pool

As done for (majority of) other pmap implementations.

pmap_pool_allocator() allocates memory below 256MB, but it is not
necessary for struct pmap.

Fix part of PR kern/57621, i.e., stall in pmap_create(9).

There should be another bugs that cause (MP?) kernel hangs
reported in the PR, in pmap or other MD components for powerpc
(PR port-powerpc/56922 should be one of the candidates).

XXX
pmap for powerpc/oea apparently needs some clean ups. But leave it
as is, and pull up this minimum fix to netbsd-10 at the moment.


To generate a diff of this commit:
cvs rdiff -u -r1.114 -r1.115 src/sys/arch/powerpc/oea/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-10] src/doc

2023-10-09 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Oct  9 12:45:35 UTC 2023

Modified Files:
src/doc [netbsd-10]: CHANGES-10.0

Log Message:
Ticket #399


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.131 -r1.1.2.132 src/doc/CHANGES-10.0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/doc/CHANGES-10.0
diff -u src/doc/CHANGES-10.0:1.1.2.131 src/doc/CHANGES-10.0:1.1.2.132
--- src/doc/CHANGES-10.0:1.1.2.131	Mon Oct  9 07:39:56 2023
+++ src/doc/CHANGES-10.0	Mon Oct  9 12:45:35 2023
@@ -1,4 +1,4 @@
-# $NetBSD: CHANGES-10.0,v 1.1.2.131 2023/10/09 07:39:56 martin Exp $
+# $NetBSD: CHANGES-10.0,v 1.1.2.132 2023/10/09 12:45:35 martin Exp $
 
 A complete list of changes from the initial NetBSD 10.0 branch on 2022-12-16
 until the 10.0 release:
@@ -12280,3 +12280,10 @@ tools/gcc/gcc-version.mk			1.25
 	gcc: bump version to "nb3 20231008" for all the vax updates.
 	[mrg, ticket #398]
 
+external/gpl3/gcc.old/lib/libgcc/arch/vax/auto-target.h 1.11
+external/gpl3/gcc.old/lib/libstdc++-v3/arch/vax/gstdint.h 1.15
+external/gpl3/gcc.old/usr.bin/gcc/arch/vax/configargs.h 1.17
+
+	gcc: vax: mknative for PR port-vax/57646.
+	[rin, ticket #399]
+



CVS commit: [netbsd-10] src/doc

2023-10-09 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Oct  9 12:45:35 UTC 2023

Modified Files:
src/doc [netbsd-10]: CHANGES-10.0

Log Message:
Ticket #399


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.131 -r1.1.2.132 src/doc/CHANGES-10.0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-10] src/external/gpl3/gcc

2023-10-09 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Oct  9 12:44:42 UTC 2023

Modified Files:
src/external/gpl3/gcc/lib/libgcc/arch/vax [netbsd-10]: auto-target.h
src/external/gpl3/gcc/lib/libstdc++-v3/arch/vax [netbsd-10]: gstdint.h
src/external/gpl3/gcc/usr.bin/gcc/arch/vax [netbsd-10]: configargs.h

Log Message:
Pull up following revision(s) (requested by rin in ticket #399):

external/gpl3/gcc.old/lib/libgcc/arch/vax/auto-target.h: revision 1.11
external/gpl3/gcc.old/usr.bin/gcc/arch/vax/configargs.h: revision 1.17
external/gpl3/gcc.old/lib/libstdc++-v3/arch/vax/gstdint.h: revision 1.15
(applied to external/gpl3/gcc/)

gcc: vax: mknative for PR port-vax/57646

Summary of changes:
(1) HAVE_AS_CFI_SECTIONS becomes defined.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.7.6.1 \
src/external/gpl3/gcc/lib/libgcc/arch/vax/auto-target.h
cvs rdiff -u -r1.25.2.1 -r1.25.2.2 \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/vax/gstdint.h
cvs rdiff -u -r1.40.2.1 -r1.40.2.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/vax/configargs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-10] src/external/gpl3/gcc

2023-10-09 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Oct  9 12:44:42 UTC 2023

Modified Files:
src/external/gpl3/gcc/lib/libgcc/arch/vax [netbsd-10]: auto-target.h
src/external/gpl3/gcc/lib/libstdc++-v3/arch/vax [netbsd-10]: gstdint.h
src/external/gpl3/gcc/usr.bin/gcc/arch/vax [netbsd-10]: configargs.h

Log Message:
Pull up following revision(s) (requested by rin in ticket #399):

external/gpl3/gcc.old/lib/libgcc/arch/vax/auto-target.h: revision 1.11
external/gpl3/gcc.old/usr.bin/gcc/arch/vax/configargs.h: revision 1.17
external/gpl3/gcc.old/lib/libstdc++-v3/arch/vax/gstdint.h: revision 1.15
(applied to external/gpl3/gcc/)

gcc: vax: mknative for PR port-vax/57646

Summary of changes:
(1) HAVE_AS_CFI_SECTIONS becomes defined.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.7.6.1 \
src/external/gpl3/gcc/lib/libgcc/arch/vax/auto-target.h
cvs rdiff -u -r1.25.2.1 -r1.25.2.2 \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/vax/gstdint.h
cvs rdiff -u -r1.40.2.1 -r1.40.2.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/vax/configargs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/lib/libgcc/arch/vax/auto-target.h
diff -u src/external/gpl3/gcc/lib/libgcc/arch/vax/auto-target.h:1.7 src/external/gpl3/gcc/lib/libgcc/arch/vax/auto-target.h:1.7.6.1
--- src/external/gpl3/gcc/lib/libgcc/arch/vax/auto-target.h:1.7	Sun Apr 11 20:26:49 2021
+++ src/external/gpl3/gcc/lib/libgcc/arch/vax/auto-target.h	Mon Oct  9 12:44:42 2023
@@ -1,5 +1,5 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-gcc,v 1.113 2021/04/11 01:44:14 mrg Exp  */
+/* Generated from: NetBSD: mknative-gcc.old,v 1.11 2023/07/28 08:05:29 mrg Exp  */
 /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp  */
 
 /* auto-target.h.  Generated from config.in by configure.  */
@@ -13,7 +13,7 @@
 
 /* Define to 1 if the assembler supports .cfi_sections .debug_frame directive.
*/
-/* #undef HAVE_AS_CFI_SECTIONS */
+#define HAVE_AS_CFI_SECTIONS 1
 
 /* Define to 1 if the assembler supports LSE. */
 /* #undef HAVE_AS_LSE */

Index: src/external/gpl3/gcc/lib/libstdc++-v3/arch/vax/gstdint.h
diff -u src/external/gpl3/gcc/lib/libstdc++-v3/arch/vax/gstdint.h:1.25.2.1 src/external/gpl3/gcc/lib/libstdc++-v3/arch/vax/gstdint.h:1.25.2.2
--- src/external/gpl3/gcc/lib/libstdc++-v3/arch/vax/gstdint.h:1.25.2.1	Fri Jul 14 08:21:55 2023
+++ src/external/gpl3/gcc/lib/libstdc++-v3/arch/vax/gstdint.h	Mon Oct  9 12:44:42 2023
@@ -1,8 +1,8 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-gcc,v 1.116 2022/07/22 06:50:26 mrg Exp  */
+/* Generated from: NetBSD: mknative-gcc.old,v 1.11 2023/07/28 08:05:29 mrg Exp  */
 /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp  */
 
-/* generated for  vax--netbsdelf-gcc (NetBSD nb2 20230710) 10.5.0 */
+/* generated for  vax--netbsdelf-gcc (NetBSD nb3 20231008) 10.5.0 */
 
 #ifndef GCC_GENERATED_STDINT_H
 #define GCC_GENERATED_STDINT_H 1

Index: src/external/gpl3/gcc/usr.bin/gcc/arch/vax/configargs.h
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/vax/configargs.h:1.40.2.1 src/external/gpl3/gcc/usr.bin/gcc/arch/vax/configargs.h:1.40.2.2
--- src/external/gpl3/gcc/usr.bin/gcc/arch/vax/configargs.h:1.40.2.1	Fri Jul 14 08:21:59 2023
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/vax/configargs.h	Mon Oct  9 12:44:42 2023
@@ -1,9 +1,9 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-gcc,v 1.116 2022/07/22 06:50:26 mrg Exp  */
+/* Generated from: NetBSD: mknative-gcc.old,v 1.11 2023/07/28 08:05:29 mrg Exp  */
 /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp  */
 
 /* Generated automatically. */
-static const char configuration_arguments[] = "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/configure --target=vax--netbsdelf --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/support/send-pr.html --with-pkgversion='NetBSD nb2 20230710' --with-system-zlib --without-isl --enable-__cxa_atexit --enable-libstdcxx-time=rt --enable-libstdcxx-threads --with-diagnostics-color=auto-if-env --with-default-libstdcxx-abi=new --with-mpc-lib=/var/obj/mknative/vax/usr/src/external/lgpl3/mpc/lib/libmpc --with-mpfr-lib=/var/obj/mknative/vax/usr/src/external/lgpl3/mpfr/lib/libmpfr --with-gmp-lib=/var/obj/mknative/vax/usr/src/external/lgpl3/gmp/lib/libgmp --with-mpc-include=/usr/src/external/lgpl3/mpc/dist/src --with-mpfr-include=/usr/src/external/lgpl3/mpfr/dist/src --with-gmp-include=/usr/src/external/lgpl3/gmp/lib/libgmp/arch/vax --disable-multilib --disable-libstdcxx-pch --build=vax--netbsdelf --host=vax--netbsdelf --with-sysroot=/var/obj/mknative/vax/usr/src/destdir.vax";
+static const char configuration_arguments[] = 

CVS commit: src/external/gpl3/gcc.old

2023-10-09 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Oct  9 12:26:59 UTC 2023

Modified Files:
src/external/gpl3/gcc.old/lib/libgcc/arch/vax: auto-target.h
src/external/gpl3/gcc.old/lib/libiberty: defs.mk
src/external/gpl3/gcc.old/lib/libstdc++-v3/arch/vax: gstdint.h
src/external/gpl3/gcc.old/usr.bin/gcc/arch/vax: configargs.h

Log Message:
gcc.old: vax: mknative for PR port-vax/57646

Summary of changes:

(1) HAVE_AS_CFI_SECTIONS becomes defined.
(2) mempcpy.o is dropped as mempcpy(3) was added to -current
(but not to netbsd-10).
(3) working directories in usr.bin/gcc/arch/vax/configargs.h.

(1) will be pulled up into netbsd-10. I've confirmed that
pkgsrc/lang/perl5 builds and works as before with this change.

For now, (3) is reverted by hand. It would be better to improve mknative
not to leak working directories. But it should be NFC anyway.

For vax, mknative for binutils and gdb does not brings about significant
changes.

For other platforms, mknative for gcc.old makes no significant changes
(actually confirmed only for evbarm64, but it should be enough).

Thanks mrg@ for suggestion.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 \
src/external/gpl3/gcc.old/lib/libgcc/arch/vax/auto-target.h
cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gcc.old/lib/libiberty/defs.mk
cvs rdiff -u -r1.14 -r1.15 \
src/external/gpl3/gcc.old/lib/libstdc++-v3/arch/vax/gstdint.h
cvs rdiff -u -r1.16 -r1.17 \
src/external/gpl3/gcc.old/usr.bin/gcc/arch/vax/configargs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc.old/lib/libgcc/arch/vax/auto-target.h
diff -u src/external/gpl3/gcc.old/lib/libgcc/arch/vax/auto-target.h:1.10 src/external/gpl3/gcc.old/lib/libgcc/arch/vax/auto-target.h:1.11
--- src/external/gpl3/gcc.old/lib/libgcc/arch/vax/auto-target.h:1.10	Mon Feb 20 02:12:06 2023
+++ src/external/gpl3/gcc.old/lib/libgcc/arch/vax/auto-target.h	Mon Oct  9 12:26:59 2023
@@ -1,5 +1,5 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-gcc,v 1.113 2021/04/11 01:44:14 mrg Exp  */
+/* Generated from: NetBSD: mknative-gcc.old,v 1.11 2023/07/28 08:05:29 mrg Exp  */
 /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp  */
 
 /* auto-target.h.  Generated from config.in by configure.  */
@@ -13,7 +13,7 @@
 
 /* Define to 1 if the assembler supports .cfi_sections .debug_frame directive.
*/
-/* #undef HAVE_AS_CFI_SECTIONS */
+#define HAVE_AS_CFI_SECTIONS 1
 
 /* Define to 1 if the assembler supports LSE. */
 /* #undef HAVE_AS_LSE */

Index: src/external/gpl3/gcc.old/lib/libiberty/defs.mk
diff -u src/external/gpl3/gcc.old/lib/libiberty/defs.mk:1.14 src/external/gpl3/gcc.old/lib/libiberty/defs.mk:1.15
--- src/external/gpl3/gcc.old/lib/libiberty/defs.mk:1.14	Mon Feb 20 02:12:15 2023
+++ src/external/gpl3/gcc.old/lib/libiberty/defs.mk	Mon Oct  9 12:26:59 2023
@@ -1,8 +1,8 @@
 # This file is automatically generated.  DO NOT EDIT!
-# Generated from: NetBSD: mknative-gcc,v 1.116 2022/07/22 06:50:26 mrg Exp 
+# Generated from: NetBSD: mknative-gcc.old,v 1.11 2023/07/28 08:05:29 mrg Exp 
 # Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp 
 #
 G_ALLOCA=
 G_EXTRA_OFILES=
-G_LIBOBJS=mempcpy.o strverscmp.o
+G_LIBOBJS=strverscmp.o
 G_REQUIRED_OFILES=regex.o cplus-dem.o cp-demangle.o md5.o sha1.o alloca.o argv.o choose-temp.o concat.o cp-demint.o crc32.o d-demangle.o dwarfnames.o dyn-string.o fdmatch.o fibheap.o filedescriptor.o filename_cmp.o floatformat.o fnmatch.o fopen_unlocked.o getopt.o getopt1.o getpwd.o getruntime.o hashtab.o hex.o lbasename.o lrealpath.o make-relative-prefix.o make-temp-file.o objalloc.o obstack.o partition.o pexecute.o physmem.o pex-common.o pex-one.o pex-unix.o vprintf-support.o rust-demangle.o safe-ctype.o simple-object.o simple-object-coff.o simple-object-elf.o simple-object-mach-o.o simple-object-xcoff.o sort.o spaces.o splay-tree.o stack-limit.o strerror.o strsignal.o timeval-utils.o unlink-if-ordinary.o xasprintf.o xatexit.o xexit.o xmalloc.o xmemdup.o xstrdup.o xstrerror.o xstrndup.o xvasprintf.o

Index: src/external/gpl3/gcc.old/lib/libstdc++-v3/arch/vax/gstdint.h
diff -u src/external/gpl3/gcc.old/lib/libstdc++-v3/arch/vax/gstdint.h:1.14 src/external/gpl3/gcc.old/lib/libstdc++-v3/arch/vax/gstdint.h:1.15
--- src/external/gpl3/gcc.old/lib/libstdc++-v3/arch/vax/gstdint.h:1.14	Fri Jul 14 19:46:40 2023
+++ src/external/gpl3/gcc.old/lib/libstdc++-v3/arch/vax/gstdint.h	Mon Oct  9 12:26:59 2023
@@ -1,8 +1,8 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-gcc,v 1.116 2022/07/22 06:50:26 mrg Exp  */
+/* Generated from: NetBSD: mknative-gcc.old,v 1.11 2023/07/28 08:05:29 mrg Exp  */
 /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp  */
 
-/* generated for  

CVS commit: src/external/gpl3/gcc.old

2023-10-09 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Oct  9 12:26:59 UTC 2023

Modified Files:
src/external/gpl3/gcc.old/lib/libgcc/arch/vax: auto-target.h
src/external/gpl3/gcc.old/lib/libiberty: defs.mk
src/external/gpl3/gcc.old/lib/libstdc++-v3/arch/vax: gstdint.h
src/external/gpl3/gcc.old/usr.bin/gcc/arch/vax: configargs.h

Log Message:
gcc.old: vax: mknative for PR port-vax/57646

Summary of changes:

(1) HAVE_AS_CFI_SECTIONS becomes defined.
(2) mempcpy.o is dropped as mempcpy(3) was added to -current
(but not to netbsd-10).
(3) working directories in usr.bin/gcc/arch/vax/configargs.h.

(1) will be pulled up into netbsd-10. I've confirmed that
pkgsrc/lang/perl5 builds and works as before with this change.

For now, (3) is reverted by hand. It would be better to improve mknative
not to leak working directories. But it should be NFC anyway.

For vax, mknative for binutils and gdb does not brings about significant
changes.

For other platforms, mknative for gcc.old makes no significant changes
(actually confirmed only for evbarm64, but it should be enough).

Thanks mrg@ for suggestion.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 \
src/external/gpl3/gcc.old/lib/libgcc/arch/vax/auto-target.h
cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gcc.old/lib/libiberty/defs.mk
cvs rdiff -u -r1.14 -r1.15 \
src/external/gpl3/gcc.old/lib/libstdc++-v3/arch/vax/gstdint.h
cvs rdiff -u -r1.16 -r1.17 \
src/external/gpl3/gcc.old/usr.bin/gcc/arch/vax/configargs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/net

2023-10-09 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Oct  9 11:55:34 UTC 2023

Modified Files:
src/sys/net: if.h

Log Message:
net/if.h: Explain the IFF_ALLMULTI situation.

No functional change intended.


To generate a diff of this commit:
cvs rdiff -u -r1.304 -r1.305 src/sys/net/if.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/net/if.h
diff -u src/sys/net/if.h:1.304 src/sys/net/if.h:1.305
--- src/sys/net/if.h:1.304	Fri Nov 25 08:39:32 2022
+++ src/sys/net/if.h	Mon Oct  9 11:55:34 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: if.h,v 1.304 2022/11/25 08:39:32 knakahara Exp $	*/
+/*	$NetBSD: if.h,v 1.305 2023/10/09 11:55:34 riastradh Exp $	*/
 
 /*-
  * Copyright (c) 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -459,7 +459,15 @@ typedef struct ifnet {
 #define	IFF_RUNNING	0x0040		/* resources allocated */
 #define	IFF_NOARP	0x0080		/* no address resolution protocol */
 #define	IFF_PROMISC	0x0100		/* receive all packets */
-#define	IFF_ALLMULTI	0x0200		/* receive all multicast packets */
+#define	IFF_ALLMULTI	0x0200		/* OBSOLETE -- DO NOT USE */
+/*
+ * IFF_ALLMULTI obsoleted on 2019-05-15 -- existing non-MP-safe drivers
+ * can use it for themselves under IFNET_LOCK, but they should be
+ * converted to use ETHER_F_ALLMULTI under ETHER_LOCK instead.  For
+ * compatibility with existing drivers, if_ethersubr and if_arcsubr
+ * will set IFF_ALLMULTI according to other flags, but you should not
+ * rely on this.
+ */
 #define	IFF_OACTIVE	0x0400		/* transmission in progress */
 #define	IFF_SIMPLEX	0x0800		/* can't hear own transmissions */
 #define	IFF_LINK0	0x1000		/* per link layer defined bit */



CVS commit: src/sys/net

2023-10-09 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Oct  9 11:55:34 UTC 2023

Modified Files:
src/sys/net: if.h

Log Message:
net/if.h: Explain the IFF_ALLMULTI situation.

No functional change intended.


To generate a diff of this commit:
cvs rdiff -u -r1.304 -r1.305 src/sys/net/if.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci

2023-10-09 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Oct  9 11:55:22 UTC 2023

Modified Files:
src/sys/dev/pci: if_rge.c

Log Message:
rge(4): callout_stop can't be right here; just do callout_halt.

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/dev/pci/if_rge.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/if_rge.c
diff -u src/sys/dev/pci/if_rge.c:1.26 src/sys/dev/pci/if_rge.c:1.27
--- src/sys/dev/pci/if_rge.c:1.26	Thu Oct  5 21:43:02 2023
+++ src/sys/dev/pci/if_rge.c	Mon Oct  9 11:55:22 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_rge.c,v 1.26 2023/10/05 21:43:02 mrg Exp $	*/
+/*	$NetBSD: if_rge.c,v 1.27 2023/10/09 11:55:22 riastradh Exp $	*/
 /*	$OpenBSD: if_rge.c,v 1.9 2020/12/12 11:48:53 jan Exp $	*/
 
 /*
@@ -18,7 +18,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: if_rge.c,v 1.26 2023/10/05 21:43:02 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_rge.c,v 1.27 2023/10/09 11:55:22 riastradh Exp $");
 
 #include 
 
@@ -840,10 +840,7 @@ rge_stop(struct ifnet *ifp, int disable)
 {
 	struct rge_softc *sc = ifp->if_softc;
 
-	if (disable) {
-		callout_halt(>sc_timeout, NULL);
-	} else
-		callout_stop(>sc_timeout);
+	callout_halt(>sc_timeout, NULL);
 
 	ifp->if_timer = 0;
 	ifp->if_flags &= ~IFF_RUNNING;



CVS commit: src/sys/dev/pci

2023-10-09 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Oct  9 11:55:22 UTC 2023

Modified Files:
src/sys/dev/pci: if_rge.c

Log Message:
rge(4): callout_stop can't be right here; just do callout_halt.

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/dev/pci/if_rge.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/usb

2023-10-09 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Oct  9 11:28:05 UTC 2023

Modified Files:
src/sys/dev/usb: if_ure.c

Log Message:
ure(4): Set all bits, not no bits, in multicast filter for promisc.

This was lost in revision 1.40.

PR kern/57648

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/sys/dev/usb/if_ure.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/usb/if_ure.c
diff -u src/sys/dev/usb/if_ure.c:1.58 src/sys/dev/usb/if_ure.c:1.59
--- src/sys/dev/usb/if_ure.c:1.58	Fri Sep 16 07:34:36 2022
+++ src/sys/dev/usb/if_ure.c	Mon Oct  9 11:28:05 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_ure.c,v 1.58 2022/09/16 07:34:36 msaitoh Exp $	*/
+/*	$NetBSD: if_ure.c,v 1.59 2023/10/09 11:28:05 riastradh Exp $	*/
 /*	$OpenBSD: if_ure.c,v 1.10 2018/11/02 21:32:30 jcs Exp $	*/
 
 /*-
@@ -30,7 +30,7 @@
 /* RealTek RTL8152/RTL8153 10/100/Gigabit USB Ethernet device */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: if_ure.c,v 1.58 2022/09/16 07:34:36 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ure.c,v 1.59 2023/10/09 11:28:05 riastradh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -358,6 +358,7 @@ ure_uno_mcast(struct ifnet *ifp)
 		/* run promisc. mode */
 		rxmode |= URE_RCR_AM;	/* ??? */
 		rxmode |= URE_RCR_AAP;
+		mchash[0] = mchash[1] = 0x;
 		goto update;
 	}
 	ec->ec_flags &= ~ETHER_F_ALLMULTI;



CVS commit: src/sys/dev/usb

2023-10-09 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Oct  9 11:28:05 UTC 2023

Modified Files:
src/sys/dev/usb: if_ure.c

Log Message:
ure(4): Set all bits, not no bits, in multicast filter for promisc.

This was lost in revision 1.40.

PR kern/57648

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/sys/dev/usb/if_ure.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-10] src/doc

2023-10-09 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Oct  9 07:39:56 UTC 2023

Modified Files:
src/doc [netbsd-10]: CHANGES-10.0

Log Message:
Ticket #398


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.130 -r1.1.2.131 src/doc/CHANGES-10.0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/doc/CHANGES-10.0
diff -u src/doc/CHANGES-10.0:1.1.2.130 src/doc/CHANGES-10.0:1.1.2.131
--- src/doc/CHANGES-10.0:1.1.2.130	Sun Oct  8 18:49:12 2023
+++ src/doc/CHANGES-10.0	Mon Oct  9 07:39:56 2023
@@ -1,4 +1,4 @@
-# $NetBSD: CHANGES-10.0,v 1.1.2.130 2023/10/08 18:49:12 martin Exp $
+# $NetBSD: CHANGES-10.0,v 1.1.2.131 2023/10/09 07:39:56 martin Exp $
 
 A complete list of changes from the initial NetBSD 10.0 branch on 2022-12-16
 until the 10.0 release:
@@ -12275,3 +12275,8 @@ lib/libm/Makefile1.222
 	Bump ramdisk size slightly.
 	[he, ticket #397]
 
+tools/gcc/gcc-version.mk			1.25
+
+	gcc: bump version to "nb3 20231008" for all the vax updates.
+	[mrg, ticket #398]
+



CVS commit: [netbsd-10] src/doc

2023-10-09 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Oct  9 07:39:56 UTC 2023

Modified Files:
src/doc [netbsd-10]: CHANGES-10.0

Log Message:
Ticket #398


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.130 -r1.1.2.131 src/doc/CHANGES-10.0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-10] src/tools/gcc

2023-10-09 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Oct  9 07:38:16 UTC 2023

Modified Files:
src/tools/gcc [netbsd-10]: gcc-version.mk

Log Message:
Pull up following revision(s) (requested by mrg in ticket #398):

tools/gcc/gcc-version.mk: revision 1.25

bump the netbsd gcc 10 version to "nb3 20231008" for all the vax updates.


To generate a diff of this commit:
cvs rdiff -u -r1.22.2.1 -r1.22.2.2 src/tools/gcc/gcc-version.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tools/gcc/gcc-version.mk
diff -u src/tools/gcc/gcc-version.mk:1.22.2.1 src/tools/gcc/gcc-version.mk:1.22.2.2
--- src/tools/gcc/gcc-version.mk:1.22.2.1	Fri Jul 14 08:21:45 2023
+++ src/tools/gcc/gcc-version.mk	Mon Oct  9 07:38:16 2023
@@ -1,7 +1,7 @@
-#	$NetBSD: gcc-version.mk,v 1.22.2.1 2023/07/14 08:21:45 martin Exp $
+#	$NetBSD: gcc-version.mk,v 1.22.2.2 2023/10/09 07:38:16 martin Exp $
 
 # common location for tools and native build
 
 .if ${HAVE_GCC} == 10
-NETBSD_GCC_VERSION=nb2 20230710
+NETBSD_GCC_VERSION=nb3 20231008
 .endif



CVS commit: [netbsd-10] src/tools/gcc

2023-10-09 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Oct  9 07:38:16 UTC 2023

Modified Files:
src/tools/gcc [netbsd-10]: gcc-version.mk

Log Message:
Pull up following revision(s) (requested by mrg in ticket #398):

tools/gcc/gcc-version.mk: revision 1.25

bump the netbsd gcc 10 version to "nb3 20231008" for all the vax updates.


To generate a diff of this commit:
cvs rdiff -u -r1.22.2.1 -r1.22.2.2 src/tools/gcc/gcc-version.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.