CVS commit: src/share/misc

2023-10-27 Thread Jan Schaumann
Module Name:src
Committed By:   jschauma
Date:   Fri Oct 27 21:28:14 UTC 2023

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

Log Message:
+ROA  route origin authorization


To generate a diff of this commit:
cvs rdiff -u -r1.376 -r1.377 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.376 src/share/misc/acronyms.comp:1.377
--- src/share/misc/acronyms.comp:1.376	Thu Oct 26 13:43:17 2023
+++ src/share/misc/acronyms.comp	Fri Oct 27 21:28:14 2023
@@ -1,4 +1,4 @@
-$NetBSD: acronyms.comp,v 1.376 2023/10/26 13:43:17 jschauma Exp $
+$NetBSD: acronyms.comp,v 1.377 2023/10/27 21:28:14 jschauma Exp $
 3WHS	three-way handshake
 8VSB	8-state vestigial side band modulation
 AA	anti-aliasing
@@ -1429,6 +1429,7 @@ RMPM	rapid memory power management
 RMS	root mean square
 RMW	read, modify, write
 RNG	random number generator
+ROA	route origin authorization
 ROM	read only memory
 ROP	return-oriented programming
 RPC	remote procedure call



CVS commit: src/share/misc

2023-10-27 Thread Jan Schaumann
Module Name:src
Committed By:   jschauma
Date:   Fri Oct 27 21:28:14 UTC 2023

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

Log Message:
+ROA  route origin authorization


To generate a diff of this commit:
cvs rdiff -u -r1.376 -r1.377 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/sys/sys

2023-10-27 Thread Jan Schaumann
Module Name:src
Committed By:   jschauma
Date:   Fri Oct 27 14:34:58 UTC 2023

Modified Files:
src/sys/sys: clock.h

Log Message:
revert previous and go back to ifdef and 'include '

As noted on current-users, using sys/stdint.h breaks building tools
(albeit perhaps surprisingly so).


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/sys/clock.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/sys/clock.h
diff -u src/sys/sys/clock.h:1.6 src/sys/sys/clock.h:1.7
--- src/sys/sys/clock.h:1.6	Thu Oct 26 14:04:45 2023
+++ src/sys/sys/clock.h	Fri Oct 27 14:34:58 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: clock.h,v 1.6 2023/10/26 14:04:45 jschauma Exp $	*/
+/*	$NetBSD: clock.h,v 1.7 2023/10/27 14:34:58 jschauma Exp $	*/
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -32,7 +32,9 @@
 #ifndef _SYS_CLOCK_H_
 #define _SYS_CLOCK_H_
 
-#include 
+#if !defined(_KERNEL) && !defined(_STANDALONE) 
+#include 
+#endif
 
 /* Some handy constants. */
 #define SECS_PER_MINUTE		60



CVS commit: src/sys/sys

2023-10-27 Thread Jan Schaumann
Module Name:src
Committed By:   jschauma
Date:   Fri Oct 27 14:34:58 UTC 2023

Modified Files:
src/sys/sys: clock.h

Log Message:
revert previous and go back to ifdef and 'include '

As noted on current-users, using sys/stdint.h breaks building tools
(albeit perhaps surprisingly so).


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/sys/clock.h

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



CVS commit: src/sys/arch/x86/include

2023-10-27 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Oct 27 06:31:49 UTC 2023

Modified Files:
src/sys/arch/x86/include: specialreg.h

Log Message:
add MSR stuff for AMD errata 1474.


To generate a diff of this commit:
cvs rdiff -u -r1.208 -r1.209 src/sys/arch/x86/include/specialreg.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/arch/x86/include/specialreg.h
diff -u src/sys/arch/x86/include/specialreg.h:1.208 src/sys/arch/x86/include/specialreg.h:1.209
--- src/sys/arch/x86/include/specialreg.h:1.208	Thu Jul 27 00:34:07 2023
+++ src/sys/arch/x86/include/specialreg.h	Fri Oct 27 06:31:48 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: specialreg.h,v 1.208 2023/07/27 00:34:07 msaitoh Exp $	*/
+/*	$NetBSD: specialreg.h,v 1.209 2023/10/27 06:31:48 mrg Exp $	*/
 
 /*
  * Copyright (c) 2014-2020 The NetBSD Foundation, Inc.
@@ -1363,6 +1363,10 @@
 #define 	NB_CFG_DISDATMSK	0x0010ULL
 #define 	NB_CFG_INITAPICCPUIDLO	(1ULL << 54)
 
+/* AMD Errata 1474. */
+#define MSR_CC6_CFG	0xc0010296
+#define 	CC6_CFG_DISABLE_BITS	(__BIT(22) | __BIT(14) | __BIT(6))
+
 #define MSR_LS_CFG	0xc0011020
 #define 	LS_CFG_ERRATA_1033	__BIT(4)
 #define 	LS_CFG_ERRATA_793	__BIT(15)



CVS commit: src/sys/arch/x86/include

2023-10-27 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Oct 27 06:31:49 UTC 2023

Modified Files:
src/sys/arch/x86/include: specialreg.h

Log Message:
add MSR stuff for AMD errata 1474.


To generate a diff of this commit:
cvs rdiff -u -r1.208 -r1.209 src/sys/arch/x86/include/specialreg.h

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