CVS commit: src/sys/arch/sparc64

2023-09-01 Thread Julian Coleman
Module Name:src
Committed By:   jdc
Date:   Sat Sep  2 05:51:57 UTC 2023

Modified Files:
src/sys/arch/sparc64/dev: fdc.c
src/sys/arch/sparc64/include: intr.h psl.h
src/sys/arch/sparc64/sparc64: autoconf.c

Log Message:
sparc64: fix interrupt level mapping for disk and and parallel devices
on SBUS-based machines
Change the mapping from PIL_SCSI to PIL_BIO, so that they interrupt above
the highest soft interrupt (softserial)
Remove unused PIL_SCSI, PIL_FDSOFT, PIL_AUSOFT and fix the printf in fdc.c
Add "socal" and "SUNW,bpp" to the interrupt map.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/sys/arch/sparc64/dev/fdc.c
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/sparc64/include/intr.h
cvs rdiff -u -r1.63 -r1.64 src/sys/arch/sparc64/include/psl.h
cvs rdiff -u -r1.238 -r1.239 src/sys/arch/sparc64/sparc64/autoconf.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/sparc64

2023-09-01 Thread Julian Coleman
Module Name:src
Committed By:   jdc
Date:   Sat Sep  2 05:51:57 UTC 2023

Modified Files:
src/sys/arch/sparc64/dev: fdc.c
src/sys/arch/sparc64/include: intr.h psl.h
src/sys/arch/sparc64/sparc64: autoconf.c

Log Message:
sparc64: fix interrupt level mapping for disk and and parallel devices
on SBUS-based machines
Change the mapping from PIL_SCSI to PIL_BIO, so that they interrupt above
the highest soft interrupt (softserial)
Remove unused PIL_SCSI, PIL_FDSOFT, PIL_AUSOFT and fix the printf in fdc.c
Add "socal" and "SUNW,bpp" to the interrupt map.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/sys/arch/sparc64/dev/fdc.c
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/sparc64/include/intr.h
cvs rdiff -u -r1.63 -r1.64 src/sys/arch/sparc64/include/psl.h
cvs rdiff -u -r1.238 -r1.239 src/sys/arch/sparc64/sparc64/autoconf.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/sparc64/dev/fdc.c
diff -u src/sys/arch/sparc64/dev/fdc.c:1.51 src/sys/arch/sparc64/dev/fdc.c:1.52
--- src/sys/arch/sparc64/dev/fdc.c:1.51	Sat Aug  7 16:19:05 2021
+++ src/sys/arch/sparc64/dev/fdc.c	Sat Sep  2 05:51:57 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: fdc.c,v 1.51 2021/08/07 16:19:05 thorpej Exp $	*/
+/*	$NetBSD: fdc.c,v 1.52 2023/09/02 05:51:57 jdc Exp $	*/
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -101,7 +101,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: fdc.c,v 1.51 2021/08/07 16:19:05 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fdc.c,v 1.52 2023/09/02 05:51:57 jdc Exp $");
 
 #include "opt_ddb.h"
 #include "opt_md.h"
@@ -825,7 +825,7 @@ fdcattach(struct fdc_softc *fdc, int pri
 #ifdef SUN4
 	printf(" softpri %d: chip 8207%c\n", IPL_SOFTFDC, code);
 #elif SUN4U
-	printf(" softpri %d: chip 8207%c", PIL_FDSOFT, code);
+	printf(" softpri %d: chip 8207%c", IPL_BIO, code);
 	if (fdc->sc_flags & FDC_NOEJECT)
 		printf(": manual eject");
 	printf("\n");

Index: src/sys/arch/sparc64/include/intr.h
diff -u src/sys/arch/sparc64/include/intr.h:1.31 src/sys/arch/sparc64/include/intr.h:1.32
--- src/sys/arch/sparc64/include/intr.h:1.31	Fri Jul 27 05:36:12 2012
+++ src/sys/arch/sparc64/include/intr.h	Sat Sep  2 05:51:57 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: intr.h,v 1.31 2012/07/27 05:36:12 matt Exp $ */
+/*	$NetBSD: intr.h,v 1.32 2023/09/02 05:51:57 jdc Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -54,7 +54,6 @@
 #define	IPL_HIGH	PIL_HIGH	/* everything */
 #define	IPL_HALT	5		/* cpu stop-self */
 #define	IPL_PAUSE	13		/* pause cpu */
-#define	IPL_FDSOFT	PIL_FDSOFT	/* floppy */
 
 /*
  * IPL_SAFEPRI is a safe priority for sleep to set for a spin-wait

Index: src/sys/arch/sparc64/include/psl.h
diff -u src/sys/arch/sparc64/include/psl.h:1.63 src/sys/arch/sparc64/include/psl.h:1.64
--- src/sys/arch/sparc64/include/psl.h:1.63	Tue Jul 11 11:02:07 2023
+++ src/sys/arch/sparc64/include/psl.h	Sat Sep  2 05:51:57 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: psl.h,v 1.63 2023/07/11 11:02:07 martin Exp $ */
+/*	$NetBSD: psl.h,v 1.64 2023/09/02 05:51:57 jdc Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -73,9 +73,6 @@
 #define PSR_BITS "\20\16EC\15EF\10S\7PS\6ET"
 
 /* Interesting spl()s */
-#define PIL_SCSI	3
-#define PIL_FDSOFT	4
-#define PIL_AUSOFT	4
 #define PIL_BIO		5
 #define PIL_VIDEO	5
 #define PIL_TTY		6
@@ -514,12 +511,6 @@ SPLHOLD(splsoftint, 1)
 
 SPLHOLD(splsoftserial, 4)
 
-/* audio software interrupts are at software level 4 */
-SPLHOLD(splausoft, PIL_AUSOFT)
-
-/* floppy software interrupts are at software level 4 too */
-SPLHOLD(splfdsoft, PIL_FDSOFT)
-
 /*
  * Memory allocation (must be as high as highest network, tty, or disk device)
  */

Index: src/sys/arch/sparc64/sparc64/autoconf.c
diff -u src/sys/arch/sparc64/sparc64/autoconf.c:1.238 src/sys/arch/sparc64/sparc64/autoconf.c:1.239
--- src/sys/arch/sparc64/sparc64/autoconf.c:1.238	Sat Jan 22 11:49:17 2022
+++ src/sys/arch/sparc64/sparc64/autoconf.c	Sat Sep  2 05:51:57 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: autoconf.c,v 1.238 2022/01/22 11:49:17 thorpej Exp $ */
+/*	$NetBSD: autoconf.c,v 1.239 2023/09/02 05:51:57 jdc Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -48,7 +48,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.238 2022/01/22 11:49:17 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.239 2023/09/02 05:51:57 jdc Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -165,19 +165,22 @@ int kernel_dtlb_slots;
 int kernel_itlb_slots;
 
 /* Global interrupt mappings for all device types.  Match against the OBP
- * 'device_type' property. 
+ * 'device_type' property.  Note, that the resulting PIL must be higher than
+ * the highest soft interrupt level (IPL_SOFTSERIAL).
  */
 struct intrmap intrmap[] = {
 	{ "block",	PIL_FD },	/* Floppy disk */
 	{ "serial",	PIL_SER },	/* zs */
-	{ "scsi",	PIL_SCSI },
-	{ "scsi-2",	PIL_SCSI },
+	{ "scsi",	PIL_BIO },
+	{ "scsi-2",	PIL_BIO },
 	{ "network",	

CVS commit: src/doc

2023-09-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Sep  1 18:51:27 UTC 2023

Modified Files:
src/doc: 3RDPARTY

Log Message:
correct OpenSSH


To generate a diff of this commit:
cvs rdiff -u -r1.1950 -r1.1951 src/doc/3RDPARTY

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



CVS commit: src/doc

2023-09-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Sep  1 18:51:27 UTC 2023

Modified Files:
src/doc: 3RDPARTY

Log Message:
correct OpenSSH


To generate a diff of this commit:
cvs rdiff -u -r1.1950 -r1.1951 src/doc/3RDPARTY

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

Modified files:

Index: src/doc/3RDPARTY
diff -u src/doc/3RDPARTY:1.1950 src/doc/3RDPARTY:1.1951
--- src/doc/3RDPARTY:1.1950	Fri Sep  1 14:39:00 2023
+++ src/doc/3RDPARTY	Fri Sep  1 14:51:27 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.1950 2023/09/01 18:39:00 christos Exp $
+#	$NetBSD: 3RDPARTY,v 1.1951 2023/09/01 18:51:27 christos Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -1073,7 +1073,7 @@ Notes:
 Patch applied after OpenSSH import.
 
 Package:	OpenSSH
-Version:	9.1
+Version:	9.3
 Current Vers:	9.3 / portable 9.3p2
 Maintainer:	OpenSSH
 Archive Site:	http://www.openssh.com/ftp.html



CVS commit: src/doc

2023-09-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Sep  1 18:39:00 UTC 2023

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
new acpica


To generate a diff of this commit:
cvs rdiff -u -r1.1949 -r1.1950 src/doc/3RDPARTY
cvs rdiff -u -r1.2995 -r1.2996 src/doc/CHANGES

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

Modified files:

Index: src/doc/3RDPARTY
diff -u src/doc/3RDPARTY:1.1949 src/doc/3RDPARTY:1.1950
--- src/doc/3RDPARTY:1.1949	Sat Aug 26 01:47:05 2023
+++ src/doc/3RDPARTY	Fri Sep  1 14:39:00 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.1949 2023/08/26 05:47:05 riastradh Exp $
+#	$NetBSD: 3RDPARTY,v 1.1950 2023/09/01 18:39:00 christos Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -41,12 +41,12 @@
 #
 
 Package:	acpica
-Version:	20221020
-Current Vers:	20221020
+Version:	20230628
+Current Vers:	20230628
 Maintainer:	Intel
 Archive Site:	http://www.acpica.org/downloads/
 Home Page:	http://www.acpica.org/
-Date:		2022-12-10
+Date:		2023-09-01
 Mailing List:	de...@acpica.org
 License:	BSD-like
 Responsible:	jruoho

Index: src/doc/CHANGES
diff -u src/doc/CHANGES:1.2995 src/doc/CHANGES:1.2996
--- src/doc/CHANGES:1.2995	Mon Aug 21 06:10:39 2023
+++ src/doc/CHANGES	Fri Sep  1 14:39:00 2023
@@ -1,4 +1,4 @@
-# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.2995 $>
+# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.2996 $>
 #
 #
 # [Note: This file does not mention every change made to the NetBSD source tree.
@@ -228,3 +228,5 @@ Changes from NetBSD 10.0 to NetBSD 11.0:
 	compat_linux(8): Add support for Linux inotify syscalls,
 		implemented around kqueue(2). Contributed by
 		Theodore Preduta. [christos 20230819]
+	acpi(4): Updated ACPICA to 20230628. [christos 20230901] 
+



CVS commit: src/sys/external/bsd/acpica/dist

2023-09-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Sep  1 18:37:33 UTC 2023

Modified Files:
src/sys/external/bsd/acpica/dist/common: dmtables.c dmtbdump.c
dmtbinfo.c
src/sys/external/bsd/acpica/dist/compiler: aslanalyze.c aslcompile.c
aslcompiler.h aslcompiler.l aslerror.c aslfileio.c aslfiles.c
aslload.c asllookup.c aslmain.c aslopcodes.c aslopt.c asloptions.c
aslpredef.c aslprepkg.c aslsupport.l asltree.c aslutils.c
aslwalks.c aslxref.c dtcompile.c dtcompilerparser.y dtfield.c
dtparser.y dtsubtable.c dttable.c dtutils.c prparser.y prutils.c
src/sys/external/bsd/acpica/dist/debugger: dbcmds.c dbdisply.c dbexec.c
dbinput.c dbmethod.c dbnames.c dbtest.c dbutils.c
src/sys/external/bsd/acpica/dist/disassembler: dmbuffer.c dmcstyle.c
dmresrc.c dmresrcl.c dmresrcl2.c dmwalk.c
src/sys/external/bsd/acpica/dist/dispatcher: dscontrol.c dsopcode.c
dspkginit.c dsutils.c dswexec.c
src/sys/external/bsd/acpica/dist/events: evregion.c evrgnini.c
evxface.c
src/sys/external/bsd/acpica/dist/executer: exconfig.c exdebug.c
exdump.c exsystem.c
src/sys/external/bsd/acpica/dist/hardware: hwesleep.c hwregs.c
hwsleep.c hwxfsleep.c
src/sys/external/bsd/acpica/dist/include: acapps.h acdebug.h acdisasm.h
acexcep.h acglobal.h achware.h acinterp.h aclocal.h acmacros.h
acnamesp.h acoutput.h acpiosxf.h acpixf.h acresrc.h actables.h
actbl1.h actypes.h acutils.h amlresrc.h
src/sys/external/bsd/acpica/dist/include/platform: acgcc.h acnetbsd.h
src/sys/external/bsd/acpica/dist/namespace: nsaccess.c nsdump.c
nseval.c nsinit.c nsrepair2.c nsxfeval.c nsxfname.c
src/sys/external/bsd/acpica/dist/os_specific/service_layers:
oslinuxtbl.c
src/sys/external/bsd/acpica/dist/parser: psopcode.c psopinfo.c
src/sys/external/bsd/acpica/dist/resources: rsdump.c rsdumpinfo.c
rsutils.c rsxface.c
src/sys/external/bsd/acpica/dist/tables: tbdata.c tbfadt.c tbinstal.c
tbutils.c tbxface.c tbxfload.c tbxfroot.c
src/sys/external/bsd/acpica/dist/tools/acpidump: apfiles.c
src/sys/external/bsd/acpica/dist/tools/acpixtract: acpixtract.c
src/sys/external/bsd/acpica/dist/utilities: utcache.c utdebug.c
utdecode.c utdelete.c uteval.c utglobal.c utmisc.c utmutex.c
utnonansi.c utobject.c utosi.c utprint.c uttrack.c utuuid.c
utxferror.c

Log Message:
merge conflicts between 20230628 and 20221020


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/external/bsd/acpica/dist/common/dmtables.c
cvs rdiff -u -r1.15 -r1.16 src/sys/external/bsd/acpica/dist/common/dmtbdump.c
cvs rdiff -u -r1.21 -r1.22 src/sys/external/bsd/acpica/dist/common/dmtbinfo.c
cvs rdiff -u -r1.16 -r1.17 \
src/sys/external/bsd/acpica/dist/compiler/aslanalyze.c \
src/sys/external/bsd/acpica/dist/compiler/asloptions.c \
src/sys/external/bsd/acpica/dist/compiler/aslpredef.c \
src/sys/external/bsd/acpica/dist/compiler/aslprepkg.c \
src/sys/external/bsd/acpica/dist/compiler/aslwalks.c
cvs rdiff -u -r1.22 -r1.23 \
src/sys/external/bsd/acpica/dist/compiler/aslcompile.c \
src/sys/external/bsd/acpica/dist/compiler/aslload.c \
src/sys/external/bsd/acpica/dist/compiler/aslxref.c
cvs rdiff -u -r1.20 -r1.21 \
src/sys/external/bsd/acpica/dist/compiler/aslcompiler.h \
src/sys/external/bsd/acpica/dist/compiler/aslcompiler.l \
src/sys/external/bsd/acpica/dist/compiler/dtfield.c
cvs rdiff -u -r1.19 -r1.20 \
src/sys/external/bsd/acpica/dist/compiler/aslerror.c \
src/sys/external/bsd/acpica/dist/compiler/aslfiles.c \
src/sys/external/bsd/acpica/dist/compiler/dtcompile.c
cvs rdiff -u -r1.13 -r1.14 \
src/sys/external/bsd/acpica/dist/compiler/aslfileio.c
cvs rdiff -u -r1.15 -r1.16 \
src/sys/external/bsd/acpica/dist/compiler/asllookup.c \
src/sys/external/bsd/acpica/dist/compiler/aslopcodes.c \
src/sys/external/bsd/acpica/dist/compiler/prutils.c
cvs rdiff -u -r1.2 -r1.3 src/sys/external/bsd/acpica/dist/compiler/aslmain.c
cvs rdiff -u -r1.11 -r1.12 src/sys/external/bsd/acpica/dist/compiler/aslopt.c
cvs rdiff -u -r1.17 -r1.18 \
src/sys/external/bsd/acpica/dist/compiler/aslsupport.l \
src/sys/external/bsd/acpica/dist/compiler/asltree.c \
src/sys/external/bsd/acpica/dist/compiler/dtparser.y \
src/sys/external/bsd/acpica/dist/compiler/dttable.c \
src/sys/external/bsd/acpica/dist/compiler/prparser.y
cvs rdiff -u -r1.32 -r1.33 \
src/sys/external/bsd/acpica/dist/compiler/aslutils.c
cvs rdiff -u -r1.6 -r1.7 \
src/sys/external/bsd/acpica/dist/compiler/dtcompilerparser.y
cvs rdiff -u -r1.14 -r1.15 \
src/sys/external/bsd/acpica/dist/compiler/dtsubtable.c
cvs rdiff -u -r1.21 -r1.22 \

CVS commit: src/sys/external/bsd/acpica/dist

2023-09-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Sep  1 18:37:33 UTC 2023

Modified Files:
src/sys/external/bsd/acpica/dist/common: dmtables.c dmtbdump.c
dmtbinfo.c
src/sys/external/bsd/acpica/dist/compiler: aslanalyze.c aslcompile.c
aslcompiler.h aslcompiler.l aslerror.c aslfileio.c aslfiles.c
aslload.c asllookup.c aslmain.c aslopcodes.c aslopt.c asloptions.c
aslpredef.c aslprepkg.c aslsupport.l asltree.c aslutils.c
aslwalks.c aslxref.c dtcompile.c dtcompilerparser.y dtfield.c
dtparser.y dtsubtable.c dttable.c dtutils.c prparser.y prutils.c
src/sys/external/bsd/acpica/dist/debugger: dbcmds.c dbdisply.c dbexec.c
dbinput.c dbmethod.c dbnames.c dbtest.c dbutils.c
src/sys/external/bsd/acpica/dist/disassembler: dmbuffer.c dmcstyle.c
dmresrc.c dmresrcl.c dmresrcl2.c dmwalk.c
src/sys/external/bsd/acpica/dist/dispatcher: dscontrol.c dsopcode.c
dspkginit.c dsutils.c dswexec.c
src/sys/external/bsd/acpica/dist/events: evregion.c evrgnini.c
evxface.c
src/sys/external/bsd/acpica/dist/executer: exconfig.c exdebug.c
exdump.c exsystem.c
src/sys/external/bsd/acpica/dist/hardware: hwesleep.c hwregs.c
hwsleep.c hwxfsleep.c
src/sys/external/bsd/acpica/dist/include: acapps.h acdebug.h acdisasm.h
acexcep.h acglobal.h achware.h acinterp.h aclocal.h acmacros.h
acnamesp.h acoutput.h acpiosxf.h acpixf.h acresrc.h actables.h
actbl1.h actypes.h acutils.h amlresrc.h
src/sys/external/bsd/acpica/dist/include/platform: acgcc.h acnetbsd.h
src/sys/external/bsd/acpica/dist/namespace: nsaccess.c nsdump.c
nseval.c nsinit.c nsrepair2.c nsxfeval.c nsxfname.c
src/sys/external/bsd/acpica/dist/os_specific/service_layers:
oslinuxtbl.c
src/sys/external/bsd/acpica/dist/parser: psopcode.c psopinfo.c
src/sys/external/bsd/acpica/dist/resources: rsdump.c rsdumpinfo.c
rsutils.c rsxface.c
src/sys/external/bsd/acpica/dist/tables: tbdata.c tbfadt.c tbinstal.c
tbutils.c tbxface.c tbxfload.c tbxfroot.c
src/sys/external/bsd/acpica/dist/tools/acpidump: apfiles.c
src/sys/external/bsd/acpica/dist/tools/acpixtract: acpixtract.c
src/sys/external/bsd/acpica/dist/utilities: utcache.c utdebug.c
utdecode.c utdelete.c uteval.c utglobal.c utmisc.c utmutex.c
utnonansi.c utobject.c utosi.c utprint.c uttrack.c utuuid.c
utxferror.c

Log Message:
merge conflicts between 20230628 and 20221020


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/external/bsd/acpica/dist/common/dmtables.c
cvs rdiff -u -r1.15 -r1.16 src/sys/external/bsd/acpica/dist/common/dmtbdump.c
cvs rdiff -u -r1.21 -r1.22 src/sys/external/bsd/acpica/dist/common/dmtbinfo.c
cvs rdiff -u -r1.16 -r1.17 \
src/sys/external/bsd/acpica/dist/compiler/aslanalyze.c \
src/sys/external/bsd/acpica/dist/compiler/asloptions.c \
src/sys/external/bsd/acpica/dist/compiler/aslpredef.c \
src/sys/external/bsd/acpica/dist/compiler/aslprepkg.c \
src/sys/external/bsd/acpica/dist/compiler/aslwalks.c
cvs rdiff -u -r1.22 -r1.23 \
src/sys/external/bsd/acpica/dist/compiler/aslcompile.c \
src/sys/external/bsd/acpica/dist/compiler/aslload.c \
src/sys/external/bsd/acpica/dist/compiler/aslxref.c
cvs rdiff -u -r1.20 -r1.21 \
src/sys/external/bsd/acpica/dist/compiler/aslcompiler.h \
src/sys/external/bsd/acpica/dist/compiler/aslcompiler.l \
src/sys/external/bsd/acpica/dist/compiler/dtfield.c
cvs rdiff -u -r1.19 -r1.20 \
src/sys/external/bsd/acpica/dist/compiler/aslerror.c \
src/sys/external/bsd/acpica/dist/compiler/aslfiles.c \
src/sys/external/bsd/acpica/dist/compiler/dtcompile.c
cvs rdiff -u -r1.13 -r1.14 \
src/sys/external/bsd/acpica/dist/compiler/aslfileio.c
cvs rdiff -u -r1.15 -r1.16 \
src/sys/external/bsd/acpica/dist/compiler/asllookup.c \
src/sys/external/bsd/acpica/dist/compiler/aslopcodes.c \
src/sys/external/bsd/acpica/dist/compiler/prutils.c
cvs rdiff -u -r1.2 -r1.3 src/sys/external/bsd/acpica/dist/compiler/aslmain.c
cvs rdiff -u -r1.11 -r1.12 src/sys/external/bsd/acpica/dist/compiler/aslopt.c
cvs rdiff -u -r1.17 -r1.18 \
src/sys/external/bsd/acpica/dist/compiler/aslsupport.l \
src/sys/external/bsd/acpica/dist/compiler/asltree.c \
src/sys/external/bsd/acpica/dist/compiler/dtparser.y \
src/sys/external/bsd/acpica/dist/compiler/dttable.c \
src/sys/external/bsd/acpica/dist/compiler/prparser.y
cvs rdiff -u -r1.32 -r1.33 \
src/sys/external/bsd/acpica/dist/compiler/aslutils.c
cvs rdiff -u -r1.6 -r1.7 \
src/sys/external/bsd/acpica/dist/compiler/dtcompilerparser.y
cvs rdiff -u -r1.14 -r1.15 \
src/sys/external/bsd/acpica/dist/compiler/dtsubtable.c
cvs rdiff -u -r1.21 -r1.22 \

CVS commit: src/doc

2023-09-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Sep  1 18:39:00 UTC 2023

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
new acpica


To generate a diff of this commit:
cvs rdiff -u -r1.1949 -r1.1950 src/doc/3RDPARTY
cvs rdiff -u -r1.2995 -r1.2996 src/doc/CHANGES

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



CVS import: src/sys/external/bsd/acpica/dist

2023-09-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Sep  1 17:48:24 UTC 2023

Update of /cvsroot/src/sys/external/bsd/acpica/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv1696

Log Message:
Import acpica-20230628 (last was 20221020)


28 June 2023. Summary of changes for version 20230628:

0) Global changes:

Fixed a problem with the ASL/AML Timer() operator. Discovered by
UBSAN: ?array-index-out-of-bounds in acpica/dswexec.c:401:12 index
-1 is out of range for type 'acpi_operand_object?. Added
AML_NO_OPERAND_RESOLVE flag to Timer (since there are no runtime
arguments). Reported by: Abhishek Mainkar abmain...@nvidia.com.

Added a define for size of acpi_srat_generic_affinity DeviceHandle.
Replaced a magic number with a define. The Linux kernel code will
utilize this. Reported by Dave Jiang dave.ji...@intel.com.

Added support for _DSC (Deepest State for Configuration) as per ACPI 6.5.

1) ACPICA kernel-resident subsystem:

Added port definitions for CDAT SSLBIS. Add upstream port and any
port definitions for SSLBIS. Reported by: Dave Jiang dave.ji...@intel.com.

Fixed misspelled CDAT DSMAS define: ACPI_CEDT_DSMAS_NON_VOLATILE
-> ACPI_CDAT_DSMAS_NON_VOLATILE. Reported by: Dave Jiang
dave.ji...@intel.com.

1) ACPICA kernel-resident subsystem:

Fix GCC 12 dangling-pointer warning.  We're storing a persistent
pointer to an ephemeral local variable which technically is a
dangling pointer and the compiler is correct. However, since we
never indirect the pointer, this is a safe operation and we can
suppress the warning.

Also, some C run-times (like MUSL) aren't including 
indirectly so we must include it explicitly or we won't have the
type definition for uintptr_t.

2) iASL Compiler/Disassembler and ACPICA tools:. 

IASL/RHCT: Enable dumping and compiling newly added nodes. The RHCT
table is updated with new nodes. Add compile and dump functionality
for these new structures.

AcpiExec: Added a new command, ?interrupt?. The Interrupt command
simulates an interrupt with a IntID (GSIV) equal to the first
argument of the call/invocation. The acpiexec code simulates the
behavior by OSPM: execute the _EVT method of the GED device associated
with that IntID. Submitted by: Jose Marinho jose.mari...@arm.com.

AcpiExec: Detect GED device and keep track of _EVT. The GED device
is described by a _HID of ACPI0013. This code traverses the namespace
identifying all GED devices. For each GED device in the namespace
we record the Interrupt object and the _EVT method. This information
is used when an interrupt is simulated via the ?interrupt? command.
Submitted by: Jose Marinho jose.mari...@arm.com.

31 March 2023. Summary of changes for version 20230331:

This release is available at https://acpica.org/downloads

0) Global changes:


Update all copyright notices to the year 2023. This effects all source 
modules, as well as utility signons.
Add OS-specific support for Zephyr RTOS.
Fix miscellaneous code that accesses various objects.
Remove some dead code.
Add C ?Flexible Array? support.
Add support for 64 bit LoongArch compilation.
Add first batch of RISC-V related definitions.
Performed a global automated update to remove tabs, fix indentation 
issues, etc.

1) ACPICA kernel-resident subsystem:

hwvalid: Drop port I/O validation.

2) ACPICA tools and utilities:

iASL: Added full macro support in the preprocessor. Example:
#define ABCD(a,b,c,d) a+b+c-d

Known macro support limitations (at this time):
No support for multi-line #define macros (backslash continuation 
lines)
No support for the C-style ternary operator
No support for the stringizing operator (#)
No support for the concatenation (token pasting) operator (##)
No support for variable number of macro arguments

Add support for AMD Secure Processor Table (ASPT) version 1.
Add support for Arm's MPAM ACPI table version 2.
ACPI 6.5: MADT: add support for trace buffer extension in GICC.
Headers: Delete bogus NodeArray array of pointers from AEST table.
PHAT table support is still ongoing.

Status:

Vendor Tag: intel
Release Tags:   acpica-20230628

U src/sys/external/bsd/acpica/dist/changes.txt
U src/sys/external/bsd/acpica/dist/Makefile
U src/sys/external/bsd/acpica/dist/generate/lint/files.lnt
U src/sys/external/bsd/acpica/dist/generate/lint/lint.bat
U src/sys/external/bsd/acpica/dist/generate/lint/lset.bat
U src/sys/external/bsd/acpica/dist/generate/lint/options.lnt
U src/sys/external/bsd/acpica/dist/generate/lint/readme.txt
U src/sys/external/bsd/acpica/dist/generate/lint/std16.lnt
U src/sys/external/bsd/acpica/dist/generate/lint/std32.lnt
U src/sys/external/bsd/acpica/dist/generate/lint/std64.lnt
U src/sys/external/bsd/acpica/dist/generate/release/build.sh
U src/sys/external/bsd/acpica/dist/generate/release/release.sh
U src/sys/external/bsd/acpica/dist/generate/unix/Makefile
U 

CVS import: src/sys/external/bsd/acpica/dist

2023-09-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Sep  1 17:48:24 UTC 2023

Update of /cvsroot/src/sys/external/bsd/acpica/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv1696

Log Message:
Import acpica-20230628 (last was 20221020)


28 June 2023. Summary of changes for version 20230628:

0) Global changes:

Fixed a problem with the ASL/AML Timer() operator. Discovered by
UBSAN: ?array-index-out-of-bounds in acpica/dswexec.c:401:12 index
-1 is out of range for type 'acpi_operand_object?. Added
AML_NO_OPERAND_RESOLVE flag to Timer (since there are no runtime
arguments). Reported by: Abhishek Mainkar abmain...@nvidia.com.

Added a define for size of acpi_srat_generic_affinity DeviceHandle.
Replaced a magic number with a define. The Linux kernel code will
utilize this. Reported by Dave Jiang dave.ji...@intel.com.

Added support for _DSC (Deepest State for Configuration) as per ACPI 6.5.

1) ACPICA kernel-resident subsystem:

Added port definitions for CDAT SSLBIS. Add upstream port and any
port definitions for SSLBIS. Reported by: Dave Jiang dave.ji...@intel.com.

Fixed misspelled CDAT DSMAS define: ACPI_CEDT_DSMAS_NON_VOLATILE
-> ACPI_CDAT_DSMAS_NON_VOLATILE. Reported by: Dave Jiang
dave.ji...@intel.com.

1) ACPICA kernel-resident subsystem:

Fix GCC 12 dangling-pointer warning.  We're storing a persistent
pointer to an ephemeral local variable which technically is a
dangling pointer and the compiler is correct. However, since we
never indirect the pointer, this is a safe operation and we can
suppress the warning.

Also, some C run-times (like MUSL) aren't including 
indirectly so we must include it explicitly or we won't have the
type definition for uintptr_t.

2) iASL Compiler/Disassembler and ACPICA tools:. 

IASL/RHCT: Enable dumping and compiling newly added nodes. The RHCT
table is updated with new nodes. Add compile and dump functionality
for these new structures.

AcpiExec: Added a new command, ?interrupt?. The Interrupt command
simulates an interrupt with a IntID (GSIV) equal to the first
argument of the call/invocation. The acpiexec code simulates the
behavior by OSPM: execute the _EVT method of the GED device associated
with that IntID. Submitted by: Jose Marinho jose.mari...@arm.com.

AcpiExec: Detect GED device and keep track of _EVT. The GED device
is described by a _HID of ACPI0013. This code traverses the namespace
identifying all GED devices. For each GED device in the namespace
we record the Interrupt object and the _EVT method. This information
is used when an interrupt is simulated via the ?interrupt? command.
Submitted by: Jose Marinho jose.mari...@arm.com.

31 March 2023. Summary of changes for version 20230331:

This release is available at https://acpica.org/downloads

0) Global changes:


Update all copyright notices to the year 2023. This effects all source 
modules, as well as utility signons.
Add OS-specific support for Zephyr RTOS.
Fix miscellaneous code that accesses various objects.
Remove some dead code.
Add C ?Flexible Array? support.
Add support for 64 bit LoongArch compilation.
Add first batch of RISC-V related definitions.
Performed a global automated update to remove tabs, fix indentation 
issues, etc.

1) ACPICA kernel-resident subsystem:

hwvalid: Drop port I/O validation.

2) ACPICA tools and utilities:

iASL: Added full macro support in the preprocessor. Example:
#define ABCD(a,b,c,d) a+b+c-d

Known macro support limitations (at this time):
No support for multi-line #define macros (backslash continuation 
lines)
No support for the C-style ternary operator
No support for the stringizing operator (#)
No support for the concatenation (token pasting) operator (##)
No support for variable number of macro arguments

Add support for AMD Secure Processor Table (ASPT) version 1.
Add support for Arm's MPAM ACPI table version 2.
ACPI 6.5: MADT: add support for trace buffer extension in GICC.
Headers: Delete bogus NodeArray array of pointers from AEST table.
PHAT table support is still ongoing.

Status:

Vendor Tag: intel
Release Tags:   acpica-20230628

U src/sys/external/bsd/acpica/dist/changes.txt
U src/sys/external/bsd/acpica/dist/Makefile
U src/sys/external/bsd/acpica/dist/generate/lint/files.lnt
U src/sys/external/bsd/acpica/dist/generate/lint/lint.bat
U src/sys/external/bsd/acpica/dist/generate/lint/lset.bat
U src/sys/external/bsd/acpica/dist/generate/lint/options.lnt
U src/sys/external/bsd/acpica/dist/generate/lint/readme.txt
U src/sys/external/bsd/acpica/dist/generate/lint/std16.lnt
U src/sys/external/bsd/acpica/dist/generate/lint/std32.lnt
U src/sys/external/bsd/acpica/dist/generate/lint/std64.lnt
U src/sys/external/bsd/acpica/dist/generate/release/build.sh
U src/sys/external/bsd/acpica/dist/generate/release/release.sh
U src/sys/external/bsd/acpica/dist/generate/unix/Makefile
U 

CVS commit: src/sys/kern

2023-09-01 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Sep  1 16:57:33 UTC 2023

Modified Files:
src/sys/kern: subr_kcpuset.c

Log Message:
Trailing whitespace.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/kern/subr_kcpuset.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/kern/subr_kcpuset.c
diff -u src/sys/kern/subr_kcpuset.c:1.15 src/sys/kern/subr_kcpuset.c:1.16
--- src/sys/kern/subr_kcpuset.c:1.15	Sun Apr  9 09:18:09 2023
+++ src/sys/kern/subr_kcpuset.c	Fri Sep  1 16:57:33 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: subr_kcpuset.c,v 1.15 2023/04/09 09:18:09 riastradh Exp $	*/
+/*	$NetBSD: subr_kcpuset.c,v 1.16 2023/09/01 16:57:33 skrll Exp $	*/
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: subr_kcpuset.c,v 1.15 2023/04/09 09:18:09 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_kcpuset.c,v 1.16 2023/09/01 16:57:33 skrll Exp $");
 
 #include 
 #include 
@@ -64,7 +64,7 @@ struct kcpuset {
 typedef struct kcpuset_impl {
 	/* Reference count. */
 	u_int			kc_refcnt;
-	/* Next to free, if non-NULL (used when multiple references). */ 
+	/* Next to free, if non-NULL (used when multiple references). */
 	struct kcpuset *	kc_next;
 	/* Actual variable-sized field of bits. */
 	struct kcpuset		kc_field;



CVS commit: src/sys/kern

2023-09-01 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Sep  1 16:57:33 UTC 2023

Modified Files:
src/sys/kern: subr_kcpuset.c

Log Message:
Trailing whitespace.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/kern/subr_kcpuset.c

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



CVS commit: src/sys

2023-09-01 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Fri Sep  1 11:23:39 UTC 2023

Modified Files:
src/sys/dev/microcode/aic7xxx: aicasm.c
src/sys/dev/pci: if_iwmreg.h
src/sys/netinet: in_l2tp.c
src/sys/netinet6: in6_l2tp.c
src/sys/netipsec: ipsecif.c

Log Message:
fix typos in comments, mainly s/innner/inner/.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/microcode/aic7xxx/aicasm.c
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/pci/if_iwmreg.h
cvs rdiff -u -r1.21 -r1.22 src/sys/netinet/in_l2tp.c
cvs rdiff -u -r1.22 -r1.23 src/sys/netinet6/in6_l2tp.c
cvs rdiff -u -r1.21 -r1.22 src/sys/netipsec/ipsecif.c

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



CVS commit: src/sys

2023-09-01 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Fri Sep  1 11:23:39 UTC 2023

Modified Files:
src/sys/dev/microcode/aic7xxx: aicasm.c
src/sys/dev/pci: if_iwmreg.h
src/sys/netinet: in_l2tp.c
src/sys/netinet6: in6_l2tp.c
src/sys/netipsec: ipsecif.c

Log Message:
fix typos in comments, mainly s/innner/inner/.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/microcode/aic7xxx/aicasm.c
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/pci/if_iwmreg.h
cvs rdiff -u -r1.21 -r1.22 src/sys/netinet/in_l2tp.c
cvs rdiff -u -r1.22 -r1.23 src/sys/netinet6/in6_l2tp.c
cvs rdiff -u -r1.21 -r1.22 src/sys/netipsec/ipsecif.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/microcode/aic7xxx/aicasm.c
diff -u src/sys/dev/microcode/aic7xxx/aicasm.c:1.13 src/sys/dev/microcode/aic7xxx/aicasm.c:1.14
--- src/sys/dev/microcode/aic7xxx/aicasm.c:1.13	Tue May 24 20:50:19 2022
+++ src/sys/dev/microcode/aic7xxx/aicasm.c	Fri Sep  1 11:23:39 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: aicasm.c,v 1.13 2022/05/24 20:50:19 andvar Exp $	*/
+/*	$NetBSD: aicasm.c,v 1.14 2023/09/01 11:23:39 andvar Exp $	*/
 
 /*
  * Aic7xxx SCSI host adapter firmware assembler
@@ -43,7 +43,7 @@
  */
 
 #include 
-__RCSID("$NetBSD: aicasm.c,v 1.13 2022/05/24 20:50:19 andvar Exp $");
+__RCSID("$NetBSD: aicasm.c,v 1.14 2023/09/01 11:23:39 andvar Exp $");
 
 #include 
 #include 
@@ -832,7 +832,7 @@ process_scope(scope_t *scope)
 			}
 			break;
 		case SCOPE_ELSE:
-			/* Count any patches contained in our innter scope */
+			/* Count any patches contained in our inner scope */
 			skip_patch_count += cur_scope->inner_scope_patches;
 
 			skip_instr_count += cur_scope->end_addr

Index: src/sys/dev/pci/if_iwmreg.h
diff -u src/sys/dev/pci/if_iwmreg.h:1.13 src/sys/dev/pci/if_iwmreg.h:1.14
--- src/sys/dev/pci/if_iwmreg.h:1.13	Sat Jun 24 05:35:00 2023
+++ src/sys/dev/pci/if_iwmreg.h	Fri Sep  1 11:23:39 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_iwmreg.h,v 1.13 2023/06/24 05:35:00 msaitoh Exp $	*/
+/*	$NetBSD: if_iwmreg.h,v 1.14 2023/09/01 11:23:39 andvar Exp $	*/
 /*	OpenBSD: if_iwmreg.h,v 1.19 2016/09/20 11:46:09 stsp Exp 	*/
 
 /*-
@@ -5377,7 +5377,7 @@ enum iwm_scan_offload_channel_flags {
  *			25:	partial scan.
  * @channel_number:	channel number 1-13 etc.
  * @iter_count:		repetition count for the channel.
- * @iter_interval:	interval between two innteration on one channel.
+ * @iter_interval:	interval between two iterations on one channel.
  * @dwell_time:	entry 0 - active scan, entry 1 - passive scan.
  */
 struct iwm_scan_channel_cfg {

Index: src/sys/netinet/in_l2tp.c
diff -u src/sys/netinet/in_l2tp.c:1.21 src/sys/netinet/in_l2tp.c:1.22
--- src/sys/netinet/in_l2tp.c:1.21	Wed Dec  7 08:30:15 2022
+++ src/sys/netinet/in_l2tp.c	Fri Sep  1 11:23:39 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: in_l2tp.c,v 1.21 2022/12/07 08:30:15 knakahara Exp $	*/
+/*	$NetBSD: in_l2tp.c,v 1.22 2023/09/01 11:23:39 andvar Exp $	*/
 
 /*
  * Copyright (c) 2017 Internet Initiative Japan Inc.
@@ -27,7 +27,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: in_l2tp.c,v 1.21 2022/12/07 08:30:15 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in_l2tp.c,v 1.22 2023/09/01 11:23:39 andvar Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_l2tp.h"
@@ -121,7 +121,7 @@ in_l2tp_output(struct l2tp_variant *var,
 	}
 
 #ifdef NOTYET
-/* TODO: support ALTQ for innner frame */
+/* TODO: support ALTQ for inner frame */
 #ifdef ALTQ
 	ALTQ_SAVE_PAYLOAD(m, AF_ETHER);
 #endif

Index: src/sys/netinet6/in6_l2tp.c
diff -u src/sys/netinet6/in6_l2tp.c:1.22 src/sys/netinet6/in6_l2tp.c:1.23
--- src/sys/netinet6/in6_l2tp.c:1.22	Wed Dec  7 08:30:15 2022
+++ src/sys/netinet6/in6_l2tp.c	Fri Sep  1 11:23:39 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: in6_l2tp.c,v 1.22 2022/12/07 08:30:15 knakahara Exp $	*/
+/*	$NetBSD: in6_l2tp.c,v 1.23 2023/09/01 11:23:39 andvar Exp $	*/
 
 /*
  * Copyright (c) 2017 Internet Initiative Japan Inc.
@@ -27,7 +27,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: in6_l2tp.c,v 1.22 2022/12/07 08:30:15 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in6_l2tp.c,v 1.23 2023/09/01 11:23:39 andvar Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_l2tp.h"
@@ -124,7 +124,7 @@ in6_l2tp_output(struct l2tp_variant *var
 	}
 
 #ifdef NOTYET
-/* TODO: support ALTQ for innner frame */
+/* TODO: support ALTQ for inner frame */
 #ifdef ALTQ
 	ALTQ_SAVE_PAYLOAD(m, AF_ETHER);
 #endif

Index: src/sys/netipsec/ipsecif.c
diff -u src/sys/netipsec/ipsecif.c:1.21 src/sys/netipsec/ipsecif.c:1.22
--- src/sys/netipsec/ipsecif.c:1.21	Thu Dec  8 08:05:03 2022
+++ src/sys/netipsec/ipsecif.c	Fri Sep  1 11:23:39 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: ipsecif.c,v 1.21 2022/12/08 08:05:03 knakahara Exp $  */
+/*	$NetBSD: ipsecif.c,v 1.22 2023/09/01 11:23:39 andvar Exp $  */
 
 /*
  * Copyright (c) 2017 Internet Initiative Japan Inc.
@@ -27,7 +27,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: 

CVS commit: src/sys/uvm

2023-09-01 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Fri Sep  1 10:57:20 UTC 2023

Modified Files:
src/sys/uvm: uvm_fault.c

Log Message:
s/unnmapped/unmapped/ in comment.


To generate a diff of this commit:
cvs rdiff -u -r1.234 -r1.235 src/sys/uvm/uvm_fault.c

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



CVS commit: src/sys/uvm

2023-09-01 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Fri Sep  1 10:57:20 UTC 2023

Modified Files:
src/sys/uvm: uvm_fault.c

Log Message:
s/unnmapped/unmapped/ in comment.


To generate a diff of this commit:
cvs rdiff -u -r1.234 -r1.235 src/sys/uvm/uvm_fault.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/uvm/uvm_fault.c
diff -u src/sys/uvm/uvm_fault.c:1.234 src/sys/uvm/uvm_fault.c:1.235
--- src/sys/uvm/uvm_fault.c:1.234	Sun Aug 13 23:06:07 2023
+++ src/sys/uvm/uvm_fault.c	Fri Sep  1 10:57:20 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: uvm_fault.c,v 1.234 2023/08/13 23:06:07 chs Exp $	*/
+/*	$NetBSD: uvm_fault.c,v 1.235 2023/09/01 10:57:20 andvar Exp $	*/
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -32,7 +32,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: uvm_fault.c,v 1.234 2023/08/13 23:06:07 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_fault.c,v 1.235 2023/09/01 10:57:20 andvar Exp $");
 
 #include "opt_uvmhist.h"
 
@@ -1843,7 +1843,7 @@ uvm_fault_lower_upgrade(struct uvm_fault
  *
  *	1. check uobj
  *	1.1. if null, ZFOD.
- *	1.2. if not null, look up unnmapped neighbor pages.
+ *	1.2. if not null, look up unmapped neighbor pages.
  *	2. for center page, check if promote.
  *	2.1. ZFOD always needs promotion.
  *	2.2. other uobjs, when entry is marked COW (usually MAP_PRIVATE vnode).



CVS commit: src/sys/ddb

2023-09-01 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Fri Sep  1 10:55:24 UTC 2023

Modified Files:
src/sys/ddb: db_access.c

Log Message:
s/unnsupported/unsupported/ in message.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/ddb/db_access.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/ddb/db_access.c
diff -u src/sys/ddb/db_access.c:1.26 src/sys/ddb/db_access.c:1.27
--- src/sys/ddb/db_access.c:1.26	Thu Sep 12 17:09:00 2019
+++ src/sys/ddb/db_access.c	Fri Sep  1 10:55:23 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: db_access.c,v 1.26 2019/09/12 17:09:00 ryo Exp $	*/
+/*	$NetBSD: db_access.c,v 1.27 2023/09/01 10:55:23 andvar Exp $	*/
 
 /*
  * Mach Operating System
@@ -30,7 +30,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: db_access.c,v 1.26 2019/09/12 17:09:00 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_access.c,v 1.27 2023/09/01 10:55:23 andvar Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_kgdb.h"
@@ -94,7 +94,7 @@ db_get_qvalue(db_addr_t addr, size_t siz
 	}
 
 	if (size != sizeof(data)) {
-		db_error("unnsupported size\n");
+		db_error("unsupported size\n");
 		/*NOTREACHED*/
 	}
 



CVS commit: src/sys/ddb

2023-09-01 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Fri Sep  1 10:55:24 UTC 2023

Modified Files:
src/sys/ddb: db_access.c

Log Message:
s/unnsupported/unsupported/ in message.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/ddb/db_access.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

2023-09-01 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Fri Sep  1 08:53:52 UTC 2023

Modified Files:
src/sys/arch/arm/clps711x: clpscom.c
src/sys/arch/epoc32/windermere: wmcom.c

Log Message:
fix typo in the type krandsource_t -> krndsource_t.

fixes RND_COM enabled build for epoc32.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/arm/clps711x/clpscom.c
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/epoc32/windermere/wmcom.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/arm/clps711x/clpscom.c
diff -u src/sys/arch/arm/clps711x/clpscom.c:1.10 src/sys/arch/arm/clps711x/clpscom.c:1.11
--- src/sys/arch/arm/clps711x/clpscom.c:1.10	Wed Oct 26 23:38:06 2022
+++ src/sys/arch/arm/clps711x/clpscom.c	Fri Sep  1 08:53:52 2023
@@ -1,4 +1,4 @@
-/*  $NetBSD: clpscom.c,v 1.10 2022/10/26 23:38:06 riastradh Exp $  */
+/*  $NetBSD: clpscom.c,v 1.11 2023/09/01 08:53:52 andvar Exp $  */
 /*
  * Copyright (c) 2013 KIYOHARA Takashi
  * All rights reserved.
@@ -25,7 +25,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include 
-__KERNEL_RCSID(0, "$NetBSD: clpscom.c,v 1.10 2022/10/26 23:38:06 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: clpscom.c,v 1.11 2023/09/01 08:53:52 andvar Exp $");
 
 #include "rnd.h"
 
@@ -124,7 +124,7 @@ struct clpscom_softc {
 	int sc_swflags;
 
 #ifdef RND_COM
-	krandsource_t rnd_source;
+	krndsource_t rnd_source;
 #endif
 };
 

Index: src/sys/arch/epoc32/windermere/wmcom.c
diff -u src/sys/arch/epoc32/windermere/wmcom.c:1.9 src/sys/arch/epoc32/windermere/wmcom.c:1.10
--- src/sys/arch/epoc32/windermere/wmcom.c:1.9	Wed Oct 26 23:38:07 2022
+++ src/sys/arch/epoc32/windermere/wmcom.c	Fri Sep  1 08:53:52 2023
@@ -1,4 +1,4 @@
-/*  $NetBSD: wmcom.c,v 1.9 2022/10/26 23:38:07 riastradh Exp $  */
+/*  $NetBSD: wmcom.c,v 1.10 2023/09/01 08:53:52 andvar Exp $  */
 /*
  * Copyright (c) 2012 KIYOHARA Takashi
  * All rights reserved.
@@ -25,7 +25,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include 
-__KERNEL_RCSID(0, "$NetBSD: wmcom.c,v 1.9 2022/10/26 23:38:07 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wmcom.c,v 1.10 2023/09/01 08:53:52 andvar Exp $");
 
 #include "rnd.h"
 
@@ -92,7 +92,7 @@ struct wmcom_softc {
 #define WMCOM_IRDA	(1 << 0)
 
 #ifdef RND_COM
-	krandsource_t rnd_source;
+	krndsource_t rnd_source;
 #endif
 };
 



CVS commit: src/sys/arch

2023-09-01 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Fri Sep  1 08:53:52 UTC 2023

Modified Files:
src/sys/arch/arm/clps711x: clpscom.c
src/sys/arch/epoc32/windermere: wmcom.c

Log Message:
fix typo in the type krandsource_t -> krndsource_t.

fixes RND_COM enabled build for epoc32.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/arm/clps711x/clpscom.c
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/epoc32/windermere/wmcom.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/emips/emips

2023-09-01 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Fri Sep  1 06:16:45 UTC 2023

Modified Files:
src/sys/arch/emips/emips: machdep.c

Log Message:
fix format specifiers for emips PHYSMEMDEBUG build option.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/emips/emips/machdep.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/emips/emips/machdep.c
diff -u src/sys/arch/emips/emips/machdep.c:1.17 src/sys/arch/emips/emips/machdep.c:1.18
--- src/sys/arch/emips/emips/machdep.c:1.17	Thu Jun 11 19:20:43 2020
+++ src/sys/arch/emips/emips/machdep.c	Fri Sep  1 06:16:45 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.17 2020/06/11 19:20:43 ad Exp $	*/
+/*	$NetBSD: machdep.c,v 1.18 2023/09/01 06:16:45 andvar Exp $	*/
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.17 2020/06/11 19:20:43 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.18 2023/09/01 06:16:45 andvar Exp $");
 
 #include "opt_ddb.h"
 
@@ -389,7 +389,7 @@ mips_map_physmem(paddr_t phys, vsize_t s
 	}
 	ioaccess(addr, phys, size);
 #ifdef PHYSMEMDEBUG
-	printf("mips_map_physmem: alloc'ed %lx bytes for paddr %lx, at %lx\n",
+	printf("mips_map_physmem: alloc'ed %x bytes for paddr %x, at %x\n",
 	size, phys, addr);
 #endif
 	return addr | (phys & PAGE_MASK);
@@ -402,7 +402,7 @@ void
 mips_unmap_physmem(vaddr_t addr, vsize_t size)
 {
 #ifdef PHYSMEMDEBUG
-	printf("mips_unmap_physmem: unmapping %lx bytes at addr %lx\n", 
+	printf("mips_unmap_physmem: unmapping %x bytes at addr %x\n", 
 	size, addr);
 #endif
 	size += addr & PAGE_MASK;



CVS commit: src/sys/arch/emips/emips

2023-09-01 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Fri Sep  1 06:16:45 UTC 2023

Modified Files:
src/sys/arch/emips/emips: machdep.c

Log Message:
fix format specifiers for emips PHYSMEMDEBUG build option.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/emips/emips/machdep.c

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