CVS commit: src/sys/arch/amd64/conf

2023-07-22 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jul 22 15:18:48 UTC 2023

Modified Files:
src/sys/arch/amd64/conf: XEN3_DOMU

Log Message:
amd64/XEN3_DOMU: Pass -g to build debug data like GENERIC.

Needed for CTF data by dtrace when MKDEBUG=no MKDEBUGKERNEL=no.

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/sys/arch/amd64/conf/XEN3_DOMU

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/amd64/conf/XEN3_DOMU
diff -u src/sys/arch/amd64/conf/XEN3_DOMU:1.101 src/sys/arch/amd64/conf/XEN3_DOMU:1.102
--- src/sys/arch/amd64/conf/XEN3_DOMU:1.101	Fri Jul 21 02:04:52 2023
+++ src/sys/arch/amd64/conf/XEN3_DOMU	Sat Jul 22 15:18:48 2023
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3_DOMU,v 1.101 2023/07/21 02:04:52 riastradh Exp $
+# $NetBSD: XEN3_DOMU,v 1.102 2023/07/22 15:18:48 riastradh Exp $
 
 include 	"arch/amd64/conf/std.xen"
 
@@ -11,7 +11,7 @@ options 	INCLUDE_CONFIG_FILE	# embed con
 #options 	UVMHIST_PRINT
 #options 	SYSCALL_DEBUG
 
-#ident		"XEN3_DOMU-$Revision: 1.101 $"
+#ident		"XEN3_DOMU-$Revision: 1.102 $"
 
 maxusers	32		# estimated number of users
 
@@ -51,7 +51,7 @@ options 	DDB_ONPANIC=1	# see also sysctl
 options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
 #options 	KGDB		# remote debugger
 #options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=57600
-#makeoptions	DEBUG="-g"	# compile full symbol table
+makeoptions	DEBUG="-g"	# compile full symbol table for CTF
 makeoptions	COPTS="-O2 -fno-omit-frame-pointer"
 options DDB_COMMANDONENTER="trace;show registers"
 options 	KDTRACE_HOOKS	# kernel DTrace hooks



CVS commit: src/sys/arch/amd64/conf

2023-07-22 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jul 22 15:18:48 UTC 2023

Modified Files:
src/sys/arch/amd64/conf: XEN3_DOMU

Log Message:
amd64/XEN3_DOMU: Pass -g to build debug data like GENERIC.

Needed for CTF data by dtrace when MKDEBUG=no MKDEBUGKERNEL=no.

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/sys/arch/amd64/conf/XEN3_DOMU

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



CVS commit: src/sys/arch/amd64/conf

2023-07-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Fri Jul 21 02:04:52 UTC 2023

Modified Files:
src/sys/arch/amd64/conf: XEN3_DOMU

Log Message:
amd64/XEN3_DOMU: Enable KDTRACE_HOOKS.

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 src/sys/arch/amd64/conf/XEN3_DOMU

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/amd64/conf/XEN3_DOMU
diff -u src/sys/arch/amd64/conf/XEN3_DOMU:1.100 src/sys/arch/amd64/conf/XEN3_DOMU:1.101
--- src/sys/arch/amd64/conf/XEN3_DOMU:1.100	Thu Feb  9 14:09:48 2023
+++ src/sys/arch/amd64/conf/XEN3_DOMU	Fri Jul 21 02:04:52 2023
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3_DOMU,v 1.100 2023/02/09 14:09:48 abs Exp $
+# $NetBSD: XEN3_DOMU,v 1.101 2023/07/21 02:04:52 riastradh Exp $
 
 include 	"arch/amd64/conf/std.xen"
 
@@ -11,7 +11,7 @@ options 	INCLUDE_CONFIG_FILE	# embed con
 #options 	UVMHIST_PRINT
 #options 	SYSCALL_DEBUG
 
-#ident		"XEN3_DOMU-$Revision: 1.100 $"
+#ident		"XEN3_DOMU-$Revision: 1.101 $"
 
 maxusers	32		# estimated number of users
 
@@ -54,6 +54,7 @@ options 	DDB_HISTORY_SIZE=512	# enable h
 #makeoptions	DEBUG="-g"	# compile full symbol table
 makeoptions	COPTS="-O2 -fno-omit-frame-pointer"
 options DDB_COMMANDONENTER="trace;show registers"
+options 	KDTRACE_HOOKS	# kernel DTrace hooks
 
 # Compatibility options
 include 	"conf/compat_netbsd15.config"



CVS commit: src/sys/arch/amd64/conf

2023-07-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Fri Jul 21 02:04:52 UTC 2023

Modified Files:
src/sys/arch/amd64/conf: XEN3_DOMU

Log Message:
amd64/XEN3_DOMU: Enable KDTRACE_HOOKS.

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 src/sys/arch/amd64/conf/XEN3_DOMU

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



CVS commit: src/sys/arch/amd64/conf

2023-07-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jul 15 22:16:00 UTC 2023

Modified Files:
src/sys/arch/amd64/conf: GENERIC

Log Message:
amd64: Enable HEARTBEAT option, not just a HEARTBEAT option comment.


To generate a diff of this commit:
cvs rdiff -u -r1.603 -r1.604 src/sys/arch/amd64/conf/GENERIC

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/amd64/conf/GENERIC
diff -u src/sys/arch/amd64/conf/GENERIC:1.603 src/sys/arch/amd64/conf/GENERIC:1.604
--- src/sys/arch/amd64/conf/GENERIC:1.603	Sat Jul 15 22:14:39 2023
+++ src/sys/arch/amd64/conf/GENERIC	Sat Jul 15 22:16:00 2023
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.603 2023/07/15 22:14:39 riastradh Exp $
+# $NetBSD: GENERIC,v 1.604 2023/07/15 22:16:00 riastradh Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/amd64/conf/std.amd64"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.603 $"
+#ident		"GENERIC-$Revision: 1.604 $"
 
 maxusers	64		# estimated number of users
 
@@ -172,8 +172,8 @@ options 	KDTRACE_HOOKS	# kernel DTrace h
 #options 	FAULT
 
 # Heartbeat checks
-#options 	HEARTBEAT
-#options 	HEARTBEAT_MAX_PERIOD_DEFAULT=15
+options 	HEARTBEAT
+options 	HEARTBEAT_MAX_PERIOD_DEFAULT=15
 
 # Compatibility options
 # x86_64 never shipped with a.out binaries; the two options below are



CVS commit: src/sys/arch/amd64/conf

2023-07-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jul 15 22:16:00 UTC 2023

Modified Files:
src/sys/arch/amd64/conf: GENERIC

Log Message:
amd64: Enable HEARTBEAT option, not just a HEARTBEAT option comment.


To generate a diff of this commit:
cvs rdiff -u -r1.603 -r1.604 src/sys/arch/amd64/conf/GENERIC

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



CVS commit: src/sys/arch/amd64/conf

2023-07-07 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Fri Jul  7 12:46:50 UTC 2023

Modified Files:
src/sys/arch/amd64/conf: ALL

Log Message:
amd64/ALL: Turn on heartbeat checks.


To generate a diff of this commit:
cvs rdiff -u -r1.177 -r1.178 src/sys/arch/amd64/conf/ALL

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/amd64/conf/ALL
diff -u src/sys/arch/amd64/conf/ALL:1.177 src/sys/arch/amd64/conf/ALL:1.178
--- src/sys/arch/amd64/conf/ALL:1.177	Thu Feb  9 14:09:48 2023
+++ src/sys/arch/amd64/conf/ALL	Fri Jul  7 12:46:50 2023
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.177 2023/02/09 14:09:48 abs Exp $
+# $NetBSD: ALL,v 1.178 2023/07/07 12:46:50 riastradh Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@ include 	"arch/amd64/conf/std.amd64"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"ALL-$Revision: 1.177 $"
+#ident		"ALL-$Revision: 1.178 $"
 
 maxusers	64		# estimated number of users
 
@@ -142,6 +142,10 @@ options		KCOV
 # Fault Injection Driver.
 options 	FAULT
 
+# Heartbeat checks
+options 	HEARTBEAT
+options 	HEARTBEAT_MAX_PERIOD_DEFAULT=15
+
 # Compatibility options
 options 	EXEC_AOUT	# required by binaries from before 1.5
 options 	COMPAT_386BSD_MBRPART # recognize old partition ID



CVS commit: src/sys/arch/amd64/conf

2023-07-07 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Fri Jul  7 12:46:50 UTC 2023

Modified Files:
src/sys/arch/amd64/conf: ALL

Log Message:
amd64/ALL: Turn on heartbeat checks.


To generate a diff of this commit:
cvs rdiff -u -r1.177 -r1.178 src/sys/arch/amd64/conf/ALL

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



CVS commit: src/sys/arch/amd64/conf

2023-06-05 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Jun  5 13:59:55 UTC 2023

Modified Files:
src/sys/arch/amd64/conf: NOCOMPAT

Log Message:
Un-comment the ident line


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/amd64/conf/NOCOMPAT

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/amd64/conf/NOCOMPAT
diff -u src/sys/arch/amd64/conf/NOCOMPAT:1.6 src/sys/arch/amd64/conf/NOCOMPAT:1.7
--- src/sys/arch/amd64/conf/NOCOMPAT:1.6	Wed Jan 20 21:38:44 2021
+++ src/sys/arch/amd64/conf/NOCOMPAT	Mon Jun  5 13:59:54 2023
@@ -1,6 +1,6 @@
 include "arch/amd64/conf/GENERIC"
 
-#ident		"NOCOMPAT-$Revision: 1.6 $"
+ident		"NOCOMPAT-$Revision: 1.7 $"
 
 no options 	SYSVMSG		# System V-like message queues
 no options 	SYSVSEM		# System V-like semaphores



CVS commit: src/sys/arch/amd64/conf

2023-06-05 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Jun  5 13:59:55 UTC 2023

Modified Files:
src/sys/arch/amd64/conf: NOCOMPAT

Log Message:
Un-comment the ident line


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/amd64/conf/NOCOMPAT

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



CVS commit: src/sys/arch/amd64/conf

2022-09-01 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Thu Sep  1 12:35:02 UTC 2022

Modified Files:
src/sys/arch/amd64/conf: GENERIC

Log Message:
Add commented out experimental PVH dom0 options and pseudo-device


To generate a diff of this commit:
cvs rdiff -u -r1.596 -r1.597 src/sys/arch/amd64/conf/GENERIC

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/amd64/conf/GENERIC
diff -u src/sys/arch/amd64/conf/GENERIC:1.596 src/sys/arch/amd64/conf/GENERIC:1.597
--- src/sys/arch/amd64/conf/GENERIC:1.596	Sun Aug  7 02:52:23 2022
+++ src/sys/arch/amd64/conf/GENERIC	Thu Sep  1 12:35:02 2022
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.596 2022/08/07 02:52:23 simonb Exp $
+# $NetBSD: GENERIC,v 1.597 2022/09/01 12:35:02 bouyer Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/amd64/conf/std.amd64"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.596 $"
+#ident		"GENERIC-$Revision: 1.597 $"
 
 maxusers	64		# estimated number of users
 
@@ -91,7 +91,7 @@ hyperv0 	at cpu0		# Microsoft Hyper-V
 powernow0	at cpu0		# AMD PowerNow! and Cool'n'Quiet (non-ACPI)
 vmt0		at cpu0		# VMware Tools
 
-#Xen PV support for HVM guests
+#Xen PV support for PVH and HVM guests
 options 	XENPVHVM
 options 	XEN
 hypervisor*	at mainbus?		# Xen hypervisor
@@ -99,6 +99,12 @@ xenbus*	 	at hypervisor?		# Xen virtual 
 xencons*	at hypervisor?		# Xen virtual console
 xennet*  	at xenbus?		# Xen virtual network interface
 xbd*		at xenbus?		# Xen virtual block device
+# experimental: PVH dom0 support
+#options 	DOM0OPS
+#pseudo-device  xenevt
+#pseudo-device  xvif
+#pseudo-device  xbdback
+
 
 # Alternate buffer queue strategies for better responsiveness under high
 # disk I/O load.



CVS commit: src/sys/arch/amd64/conf

2022-09-01 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Thu Sep  1 12:35:02 UTC 2022

Modified Files:
src/sys/arch/amd64/conf: GENERIC

Log Message:
Add commented out experimental PVH dom0 options and pseudo-device


To generate a diff of this commit:
cvs rdiff -u -r1.596 -r1.597 src/sys/arch/amd64/conf/GENERIC

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



CVS commit: src/sys/arch/amd64/conf

2022-05-29 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sun May 29 08:06:40 UTC 2022

Modified Files:
src/sys/arch/amd64/conf: ALL

Log Message:
Add missing Hyper-V devices from GENERIC.


To generate a diff of this commit:
cvs rdiff -u -r1.171 -r1.172 src/sys/arch/amd64/conf/ALL

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/amd64/conf/ALL
diff -u src/sys/arch/amd64/conf/ALL:1.171 src/sys/arch/amd64/conf/ALL:1.172
--- src/sys/arch/amd64/conf/ALL:1.171	Fri May 13 10:45:24 2022
+++ src/sys/arch/amd64/conf/ALL	Sun May 29 08:06:40 2022
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.171 2022/05/13 10:45:24 msaitoh Exp $
+# $NetBSD: ALL,v 1.172 2022/05/29 08:06:40 rin Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@ include 	"arch/amd64/conf/std.amd64"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"ALL-$Revision: 1.171 $"
+#ident		"ALL-$Revision: 1.172 $"
 
 maxusers	64		# estimated number of users
 
@@ -1575,6 +1575,18 @@ viornd* at virtio?			# Virtio entropy de
 vioscsi* at virtio?			# Virtio SCSI device
 vio9p*	at virtio?			# Virtio 9P device
 
+# Hyper-V devices
+vmbus*		at acpi?		# Hyper-V VMBus
+genfb*		at vmbus?		# Hyper-V Synthetic Video Framebuffer
+hvkbd*		at vmbus?		# Hyper-V Synthetic Keyboard
+wskbd*		at hvkbd? console ? mux 1
+hvn*		at vmbus?		# Hyper-V NetVSC
+hvs*		at vmbus?		# Hyper-V StorVSC
+hvheartbeat*	at vmbus?		# Hyper-V Heartbeat Service
+hvshutdown*	at vmbus?		# Hyper-V Guest Shutdown Service
+hvtimesync*	at vmbus?		# Hyper-V Time Synchronization Service
+#hvkvp*		at vmbus?		# Hyper-V Data Exchange Service
+
 # Flash subsystem
 flash* at flashbus?
 



CVS commit: src/sys/arch/amd64/conf

2022-05-29 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sun May 29 08:06:40 UTC 2022

Modified Files:
src/sys/arch/amd64/conf: ALL

Log Message:
Add missing Hyper-V devices from GENERIC.


To generate a diff of this commit:
cvs rdiff -u -r1.171 -r1.172 src/sys/arch/amd64/conf/ALL

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



CVS commit: src/sys/arch/amd64/conf

2022-05-24 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Tue May 24 16:01:25 UTC 2022

Modified Files:
src/sys/arch/amd64/conf: XEN3_DOM0

Log Message:
Looks like we finally can enable MSI/MSI-X on Xen
Should fix PR kern/56793 and PR kern/55667


To generate a diff of this commit:
cvs rdiff -u -r1.194 -r1.195 src/sys/arch/amd64/conf/XEN3_DOM0

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/amd64/conf/XEN3_DOM0
diff -u src/sys/arch/amd64/conf/XEN3_DOM0:1.194 src/sys/arch/amd64/conf/XEN3_DOM0:1.195
--- src/sys/arch/amd64/conf/XEN3_DOM0:1.194	Fri Sep 24 00:29:46 2021
+++ src/sys/arch/amd64/conf/XEN3_DOM0	Tue May 24 16:01:25 2022
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3_DOM0,v 1.194 2021/09/24 00:29:46 manu Exp $
+# $NetBSD: XEN3_DOM0,v 1.195 2022/05/24 16:01:25 bouyer Exp $
 
 # XEN3_DOM0 machine description file
 #
@@ -14,7 +14,7 @@ include 	"arch/amd64/conf/std.xen"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"XEN3_DOM0-$Revision: 1.194 $"
+#ident		"XEN3_DOM0-$Revision: 1.195 $"
 
 maxusers	32		# estimated number of users
 
@@ -384,9 +384,6 @@ pci*	at hypervisor? bus ?
 pci*	at pchb? bus ?
 pci*	at ppb? bus ?
 
-# MSIX bugs with XEN3_DOM0: kern/55667, kern/56291
-options NO_PCI_MSI_MSIX
-
 # PCI bridges
 pchb*	at pci? dev ? function ?	# PCI-Host bridges
 #options 	AGP_X86			# INTENTIONAL OMISSION - crashes reported with agp



CVS commit: src/sys/arch/amd64/conf

2022-05-24 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Tue May 24 16:01:25 UTC 2022

Modified Files:
src/sys/arch/amd64/conf: XEN3_DOM0

Log Message:
Looks like we finally can enable MSI/MSI-X on Xen
Should fix PR kern/56793 and PR kern/55667


To generate a diff of this commit:
cvs rdiff -u -r1.194 -r1.195 src/sys/arch/amd64/conf/XEN3_DOM0

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



CVS commit: src/sys/arch/amd64/conf

2022-05-06 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sat May  7 04:32:29 UTC 2022

Modified Files:
src/sys/arch/amd64/conf: ALL

Log Message:
Add MODULAR_DEFAULT_VERBOSE.


To generate a diff of this commit:
cvs rdiff -u -r1.169 -r1.170 src/sys/arch/amd64/conf/ALL

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



CVS commit: src/sys/arch/amd64/conf

2022-05-06 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sat May  7 04:32:29 UTC 2022

Modified Files:
src/sys/arch/amd64/conf: ALL

Log Message:
Add MODULAR_DEFAULT_VERBOSE.


To generate a diff of this commit:
cvs rdiff -u -r1.169 -r1.170 src/sys/arch/amd64/conf/ALL

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/amd64/conf/ALL
diff -u src/sys/arch/amd64/conf/ALL:1.169 src/sys/arch/amd64/conf/ALL:1.170
--- src/sys/arch/amd64/conf/ALL:1.169	Thu Dec 23 17:13:13 2021
+++ src/sys/arch/amd64/conf/ALL	Sat May  7 04:32:29 2022
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.169 2021/12/23 17:13:13 hannken Exp $
+# $NetBSD: ALL,v 1.170 2022/05/07 04:32:29 rin Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@ include 	"arch/amd64/conf/std.amd64"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"ALL-$Revision: 1.169 $"
+#ident		"ALL-$Revision: 1.170 $"
 
 maxusers	64		# estimated number of users
 
@@ -97,6 +97,7 @@ options 	SYSVSHM		# System V-like memory
 
 options 	MODULAR		# new style module(7) framework
 options 	MODULAR_DEFAULT_AUTOLOAD
+options 	MODULAR_DEFAULT_VERBOSE
 
 options 	USERCONF	# userconf(4) support
 options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)



CVS commit: src/sys/arch/amd64/conf

2021-11-29 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Mon Nov 29 20:03:15 UTC 2021

Modified Files:
src/sys/arch/amd64/conf: XEN3_DOMU

Log Message:
enable UFS_ACL option for XEN3_DOMU, it's useful for e.g. running Samba in DomU

idea from Matthias Petermann via current-users@


To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.98 src/sys/arch/amd64/conf/XEN3_DOMU

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/amd64/conf/XEN3_DOMU
diff -u src/sys/arch/amd64/conf/XEN3_DOMU:1.97 src/sys/arch/amd64/conf/XEN3_DOMU:1.98
--- src/sys/arch/amd64/conf/XEN3_DOMU:1.97	Wed Jan 20 13:22:08 2021
+++ src/sys/arch/amd64/conf/XEN3_DOMU	Mon Nov 29 20:03:15 2021
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3_DOMU,v 1.97 2021/01/20 13:22:08 nia Exp $
+# $NetBSD: XEN3_DOMU,v 1.98 2021/11/29 20:03:15 jdolecek Exp $
 
 include 	"arch/amd64/conf/std.xen"
 
@@ -11,7 +11,7 @@ options 	INCLUDE_CONFIG_FILE	# embed con
 #options 	UVMHIST_PRINT
 #options 	SYSCALL_DEBUG
 
-#ident		"XEN3_DOMU-$Revision: 1.97 $"
+#ident		"XEN3_DOMU-$Revision: 1.98 $"
 
 maxusers	32		# estimated number of users
 
@@ -80,6 +80,7 @@ options 	QUOTA2		# new, in-filesystem UF
 #options 	FFS_EI		# FFS Endian Independent support
 options 	WAPBL		# File system journaling support
 #options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
+options		UFS_ACL		# UFS Access Control Lists
 options 	NFSSERVER	# Network File System server
 #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
 options 	UFS_EXTATTR	# Extended attribute support for UFS1



CVS commit: src/sys/arch/amd64/conf

2021-11-29 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Mon Nov 29 20:03:15 UTC 2021

Modified Files:
src/sys/arch/amd64/conf: XEN3_DOMU

Log Message:
enable UFS_ACL option for XEN3_DOMU, it's useful for e.g. running Samba in DomU

idea from Matthias Petermann via current-users@


To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.98 src/sys/arch/amd64/conf/XEN3_DOMU

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



CVS commit: src/sys/arch/amd64/conf

2021-11-24 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Thu Nov 25 02:36:35 UTC 2021

Modified Files:
src/sys/arch/amd64/conf: ALL

Log Message:
add missing options EXEC_ELF32


To generate a diff of this commit:
cvs rdiff -u -r1.167 -r1.168 src/sys/arch/amd64/conf/ALL

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/amd64/conf/ALL
diff -u src/sys/arch/amd64/conf/ALL:1.167 src/sys/arch/amd64/conf/ALL:1.168
--- src/sys/arch/amd64/conf/ALL:1.167	Tue Jun 29 10:22:34 2021
+++ src/sys/arch/amd64/conf/ALL	Thu Nov 25 02:36:35 2021
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.167 2021/06/29 10:22:34 nia Exp $
+# $NetBSD: ALL,v 1.168 2021/11/25 02:36:35 ryo Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@ include 	"arch/amd64/conf/std.amd64"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"ALL-$Revision: 1.167 $"
+#ident		"ALL-$Revision: 1.168 $"
 
 maxusers	64		# estimated number of users
 
@@ -150,6 +150,7 @@ options 	COMPAT_OSSAUDIO	# OSS (Voxware)
 options 	COMPAT_NETBSD32 # NetBSD 32-bit
 options 	COMPAT_LINUX	# binary compatibility with Linux
 options 	COMPAT_LINUX32	# binary compatibility with Linux 32-bit
+options 	EXEC_ELF32
 
 # Wedge support
 options 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances



CVS commit: src/sys/arch/amd64/conf

2021-11-24 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Thu Nov 25 02:36:35 UTC 2021

Modified Files:
src/sys/arch/amd64/conf: ALL

Log Message:
add missing options EXEC_ELF32


To generate a diff of this commit:
cvs rdiff -u -r1.167 -r1.168 src/sys/arch/amd64/conf/ALL

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



CVS commit: src/sys/arch/amd64/conf

2021-10-30 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sun Oct 31 00:31:48 UTC 2021

Modified Files:
src/sys/arch/amd64/conf: GENERIC

Log Message:
options


To generate a diff of this commit:
cvs rdiff -u -r1.592 -r1.593 src/sys/arch/amd64/conf/GENERIC

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/amd64/conf/GENERIC
diff -u src/sys/arch/amd64/conf/GENERIC:1.592 src/sys/arch/amd64/conf/GENERIC:1.593
--- src/sys/arch/amd64/conf/GENERIC:1.592	Sat Oct 16 13:09:40 2021
+++ src/sys/arch/amd64/conf/GENERIC	Sun Oct 31 00:31:48 2021
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.592 2021/10/16 13:09:40 jmcneill Exp $
+# $NetBSD: GENERIC,v 1.593 2021/10/31 00:31:48 simonb Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/amd64/conf/std.amd64"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.592 $"
+#ident		"GENERIC-$Revision: 1.593 $"
 
 maxusers	64		# estimated number of users
 
@@ -138,7 +138,7 @@ options 	KDTRACE_HOOKS	# kernel DTrace h
 # Use KASAN_PANIC if you want panics instead of warnings.
 #makeoptions 	KASAN=1		# mandatory
 #options 	KASAN		# mandatory
-#no options	SVS		# mandatory
+#no options 	SVS		# mandatory
 #options 	POOL_QUARANTINE	# optional
 #options 	KASAN_PANIC	# optional
 
@@ -152,7 +152,7 @@ options 	KDTRACE_HOOKS	# kernel DTrace h
 # memory in pool caches. Note that KMSAN requires at least 4GB of RAM.
 #makeoptions 	KMSAN=1		# mandatory
 #options 	KMSAN		# mandatory
-#no options	SVS		# mandatory
+#no options 	SVS		# mandatory
 #no options 	MODULAR		# mandatory
 #no options 	MODULAR_DEFAULT_AUTOLOAD	# mandatory
 #options 	POOL_NOCACHE	# optional
@@ -201,7 +201,7 @@ options 	WAPBL		# File system journaling
 # Note that UFS_DIRHASH is suspected of causing kernel memory corruption.
 # It is not recommended for general use.
 #options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
-options		UFS_ACL		# UFS Access Control Lists
+options 	UFS_ACL		# UFS Access Control Lists
 #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
 options 	UFS_EXTATTR	# Extended attribute support for UFS1
 # ext2fs
@@ -1153,7 +1153,7 @@ options 	RAID_AUTOCONFIG		# auto-configu
 pseudo-device	fss			# file system snapshot device
 
 pseudo-device	md			# memory disk device (ramdisk)
-options		MEMORY_DISK_HOOKS	# enable md specific hooks
+options 	MEMORY_DISK_HOOKS	# enable md specific hooks
 options 	MEMORY_DISK_DYNAMIC	# enable dynamic resizing
 
 pseudo-device	vnd			# disk-like interface to files



CVS commit: src/sys/arch/amd64/conf

2021-10-30 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sun Oct 31 00:31:48 UTC 2021

Modified Files:
src/sys/arch/amd64/conf: GENERIC

Log Message:
options


To generate a diff of this commit:
cvs rdiff -u -r1.592 -r1.593 src/sys/arch/amd64/conf/GENERIC

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



CVS commit: src/sys/arch/amd64/conf

2021-10-16 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Oct 16 13:09:41 UTC 2021

Modified Files:
src/sys/arch/amd64/conf: GENERIC

Log Message:
Enable com and lpt at ACPI attachments.


To generate a diff of this commit:
cvs rdiff -u -r1.591 -r1.592 src/sys/arch/amd64/conf/GENERIC

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/amd64/conf/GENERIC
diff -u src/sys/arch/amd64/conf/GENERIC:1.591 src/sys/arch/amd64/conf/GENERIC:1.592
--- src/sys/arch/amd64/conf/GENERIC:1.591	Fri Oct 15 19:22:12 2021
+++ src/sys/arch/amd64/conf/GENERIC	Sat Oct 16 13:09:40 2021
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.591 2021/10/15 19:22:12 jmcneill Exp $
+# $NetBSD: GENERIC,v 1.592 2021/10/16 13:09:40 jmcneill Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/amd64/conf/std.amd64"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.591 $"
+#ident		"GENERIC-$Revision: 1.592 $"
 
 maxusers	64		# estimated number of users
 
@@ -337,7 +337,9 @@ acpiwmi*	at acpi?		# ACPI WMI Mapper
 aibs*		at acpi?		# ASUSTeK AI Booster hardware monitor
 asus*		at acpi?		# ASUS hotkeys
 attimer*	at acpi?		# AT Timer
-#com*		at acpi?		# Serial communications interface
+com0		at acpi?		# Serial communications interface
+com1		at acpi?		# Serial communications interface
+com*		at acpi?		# Serial communications interface
 fdc*		at acpi?		# Floppy disk controller
 fd*		at fdc? drive ?		# the drives themselves
 fujbp*		at acpi?		# Fujitsu Brightness & Pointer
@@ -347,7 +349,9 @@ fujhk*		at acpi?		# Fujitsu Hotkeys
 hpet*		at acpihpetbus?		# High Precision Event Timer (table)
 hpet*		at acpinodebus?		# High Precision Event Timer (device)
 joy*		at acpi?		# Joystick/Game port
-#lpt*		at acpi?		# Parallel port
+lpt0		at acpi?		# Parallel port
+lpt1		at acpi?		# Parallel port
+lpt*		at acpi?		# Parallel port
 mpu*		at acpi?		# Roland MPU-401 MIDI UART
 pckbc*		at acpi?		# PC keyboard controller
 pcppi*		at acpi?		# AT-style speaker sound



CVS commit: src/sys/arch/amd64/conf

2021-10-16 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Oct 16 13:09:41 UTC 2021

Modified Files:
src/sys/arch/amd64/conf: GENERIC

Log Message:
Enable com and lpt at ACPI attachments.


To generate a diff of this commit:
cvs rdiff -u -r1.591 -r1.592 src/sys/arch/amd64/conf/GENERIC

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



CVS commit: src/sys/arch/amd64/conf

2021-10-15 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri Oct 15 19:22:12 UTC 2021

Modified Files:
src/sys/arch/amd64/conf: GENERIC

Log Message:
Swap fdc@isa for fdc@acpi as the former takes over a second to probe.


To generate a diff of this commit:
cvs rdiff -u -r1.590 -r1.591 src/sys/arch/amd64/conf/GENERIC

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/amd64/conf/GENERIC
diff -u src/sys/arch/amd64/conf/GENERIC:1.590 src/sys/arch/amd64/conf/GENERIC:1.591
--- src/sys/arch/amd64/conf/GENERIC:1.590	Thu Sep  9 13:22:50 2021
+++ src/sys/arch/amd64/conf/GENERIC	Fri Oct 15 19:22:12 2021
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.590 2021/09/09 13:22:50 jakllsch Exp $
+# $NetBSD: GENERIC,v 1.591 2021/10/15 19:22:12 jmcneill Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/amd64/conf/std.amd64"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.590 $"
+#ident		"GENERIC-$Revision: 1.591 $"
 
 maxusers	64		# estimated number of users
 
@@ -338,7 +338,8 @@ aibs*		at acpi?		# ASUSTeK AI Booster ha
 asus*		at acpi?		# ASUS hotkeys
 attimer*	at acpi?		# AT Timer
 #com*		at acpi?		# Serial communications interface
-#fdc*		at acpi?		# Floppy disk controller
+fdc*		at acpi?		# Floppy disk controller
+fd*		at fdc? drive ?		# the drives themselves
 fujbp*		at acpi?		# Fujitsu Brightness & Pointer
 fujhk*		at acpi?		# Fujitsu Hotkeys
 #hpacel* 	at acpi?		# HP 3D DriveGuard accelerometer
@@ -784,11 +785,8 @@ ld*	at nvme? nsid ?
 # Miscellaneous mass storage devices
 
 # ISA floppy
-fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
+#fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
 #fdc1	at isa? port 0x370 irq ? drq ?
-fd*	at fdc? drive ?			# the drives themselves
-# some machines need you to do this instead of fd*
-#fd0	at fdc0 drive 0
 
 # Network Interfaces
 



CVS commit: src/sys/arch/amd64/conf

2021-10-15 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri Oct 15 19:22:12 UTC 2021

Modified Files:
src/sys/arch/amd64/conf: GENERIC

Log Message:
Swap fdc@isa for fdc@acpi as the former takes over a second to probe.


To generate a diff of this commit:
cvs rdiff -u -r1.590 -r1.591 src/sys/arch/amd64/conf/GENERIC

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



CVS commit: src/sys/arch/amd64/conf

2021-09-23 Thread Emmanuel Dreyfus
Module Name:src
Committed By:   manu
Date:   Fri Sep 24 00:29:46 UTC 2021

Modified Files:
src/sys/arch/amd64/conf: XEN3_DOM0

Log Message:
Move XEN3_DOM0 as close as possible to GENERIC.
Document why some options are disabled
Set NO_PCI_MSI_MSIX to work around crashes reported in multiple PR


To generate a diff of this commit:
cvs rdiff -u -r1.193 -r1.194 src/sys/arch/amd64/conf/XEN3_DOM0

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/amd64/conf/XEN3_DOM0
diff -u src/sys/arch/amd64/conf/XEN3_DOM0:1.193 src/sys/arch/amd64/conf/XEN3_DOM0:1.194
--- src/sys/arch/amd64/conf/XEN3_DOM0:1.193	Tue Jun 29 10:22:34 2021
+++ src/sys/arch/amd64/conf/XEN3_DOM0	Fri Sep 24 00:29:46 2021
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3_DOM0,v 1.193 2021/06/29 10:22:34 nia Exp $
+# $NetBSD: XEN3_DOM0,v 1.194 2021/09/24 00:29:46 manu Exp $
 
 # XEN3_DOM0 machine description file
 #
@@ -14,7 +14,7 @@ include 	"arch/amd64/conf/std.xen"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"XEN3_DOM0-$Revision: 1.193 $"
+#ident		"XEN3_DOM0-$Revision: 1.194 $"
 
 maxusers	32		# estimated number of users
 
@@ -86,14 +86,15 @@ options 	SYSVSEM		# System V-like semaph
 options 	SYSVSHM		# System V-like memory sharing
 
 options 	MODULAR		# new style module(7) framework
-#options 	MODULAR_DEFAULT_AUTOLOAD
+options 	MODULAR_DEFAULT_AUTOLOAD
 options 	USERCONF	# userconf(4) support
 #options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
 options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
 
 # CPU features
 #acpicpu*	at cpu?		# ACPI CPU (including frequency scaling)
-#coretemp*	at cpu?		# Intel on-die thermal sensor
+# needs x86_cpu_idle_halt in cpu.c (!xenpv)
+coretemp*	at cpu?		# Intel on-die thermal sensor
 est0		at cpu0		# Intel Enhanced SpeedStep (non-ACPI)
 #hyperv0 	at cpu0		# Microsoft Hyper-V
 #odcm0		at cpu0		# On-demand clock modulation
@@ -117,16 +118,17 @@ options 	DIAGNOSTIC	# inexpensive kernel
 #
 makeoptions	COPTS="-O2 -fno-omit-frame-pointer"
 options 	DDB		# in-kernel debugger
-options		DDB_COMMANDONENTER="show registers"
-options 	DDB_ONPANIC=1	# see also sysctl(7): `ddb.onpanic'
+#options 	DDB_COMMANDONENTER="bt"	# execute command when ddb is entered
+#options 	DDB_ONPANIC=1	# see also sysctl(7): `ddb.onpanic'
 options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
 #options 	KGDB		# remote debugger
 #options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=57600
-#makeoptions	DEBUG="-g"	# compile full symbol table
+makeoptions	DEBUG="-g"	# compile full symbol table for CTF
+options DDB_COMMANDONENTER="trace;show registers"
 #options 	SYSCALL_STATS	# per syscall counts
 #options 	SYSCALL_TIMES	# per syscall times
 #options 	SYSCALL_TIMES_HASCOUNTER	# use 'broken' rdtsc (soekris)
-#options 	KDTRACE_HOOKS	# kernel DTrace hooks
+options 	KDTRACE_HOOKS	# kernel DTrace hooks
 
 # Kernel Undefined Behavior Sanitizer (kUBSan).
 #options 	KUBSAN			# mandatory
@@ -195,19 +197,19 @@ include "conf/filesystems.config"
 # ffs
 options 	QUOTA		# legacy UFS quotas
 options 	QUOTA2		# new, in-filesystem UFS quotas
-#options 	FFS_EI		# FFS Endian Independent support
+options 	FFS_EI		# FFS Endian Independent support
 options 	WAPBL		# File system journaling support
 # Note that UFS_DIRHASH is suspected of causing kernel memory corruption.
 # It is not recommended for general use.
 #options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
-#options		UFS_ACL		# UFS Access Control Lists
+options		UFS_ACL		# UFS Access Control Lists
 #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
 options 	UFS_EXTATTR	# Extended attribute support for UFS1
 # ext2fs
 #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
 # immutable) behave as system flags.
 # other
-#options 	DISKLABEL_EI	# disklabel Endian Independent support
+options 	DISKLABEL_EI	# disklabel Endian Independent support
 options 	NFSSERVER	# Network File System server
 
 # Networking options
@@ -252,12 +254,6 @@ options 	SCSIVERBOSE	# human readable SC
 #options 	HDAUDIOVERBOSE	# verbose HDAUDIO driver messages
 
 options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
-#options 	NFS_BOOT_BOOTSTATIC
-#options 	NFS_BOOTSTATIC_MYIP="\"169.254.1.2\""
-#options 	NFS_BOOTSTATIC_GWIP="\"169.254.1.1\""
-#options 	NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
-#options 	NFS_BOOTSTATIC_SERVADDR="\"169.254.1.1\""
-#options 	NFS_BOOTSTATIC_SERVER="\"server:/path/to/root\""
 
 #
 # wscons options
@@ -329,11 +325,7 @@ options 	MPBIOS_SCANPCI		# MPBIOS config
 #options 	PCI_BUS_FIXUP		# fixup PCI bus numbering
 #options 	PCI_ADDR_FIXUP		# fixup PCI I/O addresses
 #options 	ACPI_ACTIVATE_DEV	# If set, activate inactive devices
-#options 	VGA_POST		# in-kernel support for VGA POST
-
-#options 	ACPICA_PEDANTIC		# force strict conformance to the Spec.
-#options 	MPDEBUG			# MPBIOS configures PCI roots
-#options 	

CVS commit: src/sys/arch/amd64/conf

2021-09-23 Thread Emmanuel Dreyfus
Module Name:src
Committed By:   manu
Date:   Fri Sep 24 00:29:46 UTC 2021

Modified Files:
src/sys/arch/amd64/conf: XEN3_DOM0

Log Message:
Move XEN3_DOM0 as close as possible to GENERIC.
Document why some options are disabled
Set NO_PCI_MSI_MSIX to work around crashes reported in multiple PR


To generate a diff of this commit:
cvs rdiff -u -r1.193 -r1.194 src/sys/arch/amd64/conf/XEN3_DOM0

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



CVS commit: src/sys/arch/amd64/conf

2021-09-09 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Thu Sep  9 13:22:50 UTC 2021

Modified Files:
src/sys/arch/amd64/conf: GENERIC

Log Message:
Enable WSDISPLAY_CUSTOM_OUTPUT and WSDISPLAY_CUSTOM_BORDER on
amd64 GENERIC as i386 GENERIC already does.


To generate a diff of this commit:
cvs rdiff -u -r1.589 -r1.590 src/sys/arch/amd64/conf/GENERIC

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/amd64/conf/GENERIC
diff -u src/sys/arch/amd64/conf/GENERIC:1.589 src/sys/arch/amd64/conf/GENERIC:1.590
--- src/sys/arch/amd64/conf/GENERIC:1.589	Mon May 17 04:07:42 2021
+++ src/sys/arch/amd64/conf/GENERIC	Thu Sep  9 13:22:50 2021
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.589 2021/05/17 04:07:42 yamaguchi Exp $
+# $NetBSD: GENERIC,v 1.590 2021/09/09 13:22:50 jakllsch Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/amd64/conf/std.amd64"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.589 $"
+#ident		"GENERIC-$Revision: 1.590 $"
 
 maxusers	64		# estimated number of users
 
@@ -262,8 +262,11 @@ options 	WSEMUL_VT100		# VT100 / VT220 e
 #options 	WSEMUL_SUN		# sun terminal emulation
 #options 	WSEMUL_DEFAULT="\"vt100\""  # NB: default is "sun" if enabled
 # different kernel output - see dev/wscons/wsdisplayvar.h
+options 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
 options 	WS_KERNEL_FG=WSCOL_GREEN
 #options 	WS_KERNEL_BG=WSCOL_BLACK
+# customization of console border color
+options 	WSDISPLAY_CUSTOM_BORDER	# custom border colors via wsconsctl(8)
 # compatibility to other console drivers
 options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
 options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls



CVS commit: src/sys/arch/amd64/conf

2021-09-09 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Thu Sep  9 13:22:50 UTC 2021

Modified Files:
src/sys/arch/amd64/conf: GENERIC

Log Message:
Enable WSDISPLAY_CUSTOM_OUTPUT and WSDISPLAY_CUSTOM_BORDER on
amd64 GENERIC as i386 GENERIC already does.


To generate a diff of this commit:
cvs rdiff -u -r1.589 -r1.590 src/sys/arch/amd64/conf/GENERIC

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



Re: CVS commit: src/sys/arch/amd64/conf

2021-03-05 Thread Greg Troxel

matthew green  writes:

> could this be done with include and "no foo" statement?
> eg, like sys/arch/sparc/conf/INSTALL does.

Maybe, but I'm not sure it will end up working.  Right now we don't know
if any of the missing things will be trouble, and even if we do move to
include/no I'd like to do that via an intermediate step of a config with
small differences.

Also I think we should also consider extracting lots of things into
includable files, similar to how

  include "dev/usb/usbdevices.config"

is used now in GENERIC.   That will raise interesting cross-arch issues
about value vs kernel memory usage probably.

These include files would allow a simplification of XEN3_DOMU which as I
see it should have ~no drivers but all the rest of the options.


signature.asc
Description: PGP signature


re: CVS commit: src/sys/arch/amd64/conf

2021-03-05 Thread matthew green
"Greg Troxel" writes:
> Module Name:  src
> Committed By: gdt
> Date: Fri Mar  5 20:30:56 UTC 2021
>
> Modified Files:
>   src/sys/arch/amd64/conf: XEN3_DOM0
>
> Log Message:
> XEN3_DOM0: Approach GENERIC
>
> When processed to remove comments, blank lines, normalize whitespace,
> and sort/uniq (one line was previously duplicated), this file is
> identical to the previous version.  It has been reorganized to reduce
> diffs to GENERIC, and many missing lines from GENERIC have been added
> but commented out.

could this be done with include and "no foo" statement?
eg, like sys/arch/sparc/conf/INSTALL does.


.mrg.


CVS commit: src/sys/arch/amd64/conf

2019-11-10 Thread Chuck Silvers
Module Name:src
Committed By:   chs
Date:   Sun Nov 10 20:41:16 UTC 2019

Modified Files:
src/sys/arch/amd64/conf: ALL

Log Message:
add ips driver.


To generate a diff of this commit:
cvs rdiff -u -r1.128 -r1.129 src/sys/arch/amd64/conf/ALL

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/amd64/conf/ALL
diff -u src/sys/arch/amd64/conf/ALL:1.128 src/sys/arch/amd64/conf/ALL:1.129
--- src/sys/arch/amd64/conf/ALL:1.128	Fri Nov  1 02:53:23 2019
+++ src/sys/arch/amd64/conf/ALL	Sun Nov 10 20:41:15 2019
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.128 2019/11/01 02:53:23 msaitoh Exp $
+# $NetBSD: ALL,v 1.129 2019/11/10 20:41:15 chs Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@ include 	"arch/amd64/conf/std.amd64"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"ALL-$Revision: 1.128 $"
+#ident		"ALL-$Revision: 1.129 $"
 
 maxusers	64		# estimated number of users
 
@@ -835,6 +835,7 @@ ciss*	at pci? dev ? function ?	# HP Smar
 options CISS_NO_INTERRUPT_HACK
 
 icp*	at pci? dev ? function ?	# ICP-Vortex GDT & Intel RAID
+ips*	at pci? dev ? function ?	# Adaptec/IBM ServeRAID
 mlx*	at pci? dev ? function ?	# Mylex DAC960 & DEC SWXCR family
 twa*	at pci? dev ? function ?	# 3ware Escalade 95xx RAID controllers
 twe*	at pci? dev ? function ?	# 3ware Escalade RAID controllers



CVS commit: src/sys/arch/amd64/conf

2019-11-10 Thread Chuck Silvers
Module Name:src
Committed By:   chs
Date:   Sun Nov 10 20:41:16 UTC 2019

Modified Files:
src/sys/arch/amd64/conf: ALL

Log Message:
add ips driver.


To generate a diff of this commit:
cvs rdiff -u -r1.128 -r1.129 src/sys/arch/amd64/conf/ALL

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



CVS commit: src/sys/arch/amd64/conf

2019-10-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Oct 25 17:25:23 UTC 2019

Modified Files:
src/sys/arch/amd64/conf: GENERIC

Log Message:
whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.539 -r1.540 src/sys/arch/amd64/conf/GENERIC

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/amd64/conf/GENERIC
diff -u src/sys/arch/amd64/conf/GENERIC:1.539 src/sys/arch/amd64/conf/GENERIC:1.540
--- src/sys/arch/amd64/conf/GENERIC:1.539	Fri Oct 25 16:50:17 2019
+++ src/sys/arch/amd64/conf/GENERIC	Fri Oct 25 17:25:23 2019
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.539 2019/10/25 16:50:17 martin Exp $
+# $NetBSD: GENERIC,v 1.540 2019/10/25 17:25:23 martin Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/amd64/conf/std.amd64"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.539 $"
+#ident		"GENERIC-$Revision: 1.540 $"
 
 maxusers	64		# estimated number of users
 
@@ -578,7 +578,7 @@ gpioow* 	at gpio?
 onewire*	at gpioow?
 
 # 1-Wire devices
-owtemp*at onewire? # Temperature sensors
+owtemp* 	at onewire?			# Temperature sensors
 
 # I2C support
 #gpioiic*	at gpio?



CVS commit: src/sys/arch/amd64/conf

2019-10-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Oct 25 17:25:23 UTC 2019

Modified Files:
src/sys/arch/amd64/conf: GENERIC

Log Message:
whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.539 -r1.540 src/sys/arch/amd64/conf/GENERIC

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



CVS commit: src/sys/arch/amd64/conf

2019-10-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Oct 25 16:50:17 UTC 2019

Modified Files:
src/sys/arch/amd64/conf: GENERIC

Log Message:
Add missing onewire temperature sensors, suggested by Andrew Doran.


To generate a diff of this commit:
cvs rdiff -u -r1.538 -r1.539 src/sys/arch/amd64/conf/GENERIC

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/amd64/conf/GENERIC
diff -u src/sys/arch/amd64/conf/GENERIC:1.538 src/sys/arch/amd64/conf/GENERIC:1.539
--- src/sys/arch/amd64/conf/GENERIC:1.538	Tue Oct  8 18:50:44 2019
+++ src/sys/arch/amd64/conf/GENERIC	Fri Oct 25 16:50:17 2019
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.538 2019/10/08 18:50:44 maxv Exp $
+# $NetBSD: GENERIC,v 1.539 2019/10/25 16:50:17 martin Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/amd64/conf/std.amd64"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.538 $"
+#ident		"GENERIC-$Revision: 1.539 $"
 
 maxusers	64		# estimated number of users
 
@@ -577,6 +577,9 @@ gpio*		at gpiobus?
 gpioow* 	at gpio?
 onewire*	at gpioow?
 
+# 1-Wire devices
+owtemp*at onewire? # Temperature sensors
+
 # I2C support
 #gpioiic*	at gpio?
 #iic*		at gpioiic?



CVS commit: src/sys/arch/amd64/conf

2019-10-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Oct 25 16:50:17 UTC 2019

Modified Files:
src/sys/arch/amd64/conf: GENERIC

Log Message:
Add missing onewire temperature sensors, suggested by Andrew Doran.


To generate a diff of this commit:
cvs rdiff -u -r1.538 -r1.539 src/sys/arch/amd64/conf/GENERIC

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



CVS commit: src/sys/arch/amd64/conf

2019-10-05 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sat Oct  5 17:36:47 UTC 2019

Modified Files:
src/sys/arch/amd64/conf: NOCOMPAT

Log Message:
Add a commented-out entry for COMPAT_90 for completeness

NFCI


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/amd64/conf/NOCOMPAT

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/amd64/conf/NOCOMPAT
diff -u src/sys/arch/amd64/conf/NOCOMPAT:1.3 src/sys/arch/amd64/conf/NOCOMPAT:1.4
--- src/sys/arch/amd64/conf/NOCOMPAT:1.3	Wed Jun 12 23:17:40 2019
+++ src/sys/arch/amd64/conf/NOCOMPAT	Sat Oct  5 17:36:47 2019
@@ -1,6 +1,6 @@
 include "arch/amd64/conf/GENERIC"
 
-#ident		"NOCOMPAT-$Revision: 1.3 $"
+#ident		"NOCOMPAT-$Revision: 1.4 $"
 
 no options 	SYSVMSG		# System V-like message queues
 no options 	SYSVSEM		# System V-like semaphores
@@ -29,6 +29,7 @@ no options	COMPAT_15
 #no options	COMPAT_60
 #no options	COMPAT_70
 #no options	COMPAT_80
+#no options	COMPAT_90
  
 no options 	COMPAT_OSSAUDIO
 no options 	COMPAT_NETBSD32



CVS commit: src/sys/arch/amd64/conf

2019-10-05 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sat Oct  5 17:36:47 UTC 2019

Modified Files:
src/sys/arch/amd64/conf: NOCOMPAT

Log Message:
Add a commented-out entry for COMPAT_90 for completeness

NFCI


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/amd64/conf/NOCOMPAT

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



CVS commit: src/sys/arch/amd64/conf

2019-10-03 Thread Tobias Nygren
Module Name:src
Committed By:   tnn
Date:   Thu Oct  3 19:01:13 UTC 2019

Modified Files:
src/sys/arch/amd64/conf: ALL

Log Message:
also add mcx(4) to ALL


To generate a diff of this commit:
cvs rdiff -u -r1.122 -r1.123 src/sys/arch/amd64/conf/ALL

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



CVS commit: src/sys/arch/amd64/conf

2019-10-03 Thread Tobias Nygren
Module Name:src
Committed By:   tnn
Date:   Thu Oct  3 19:01:13 UTC 2019

Modified Files:
src/sys/arch/amd64/conf: ALL

Log Message:
also add mcx(4) to ALL


To generate a diff of this commit:
cvs rdiff -u -r1.122 -r1.123 src/sys/arch/amd64/conf/ALL

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/amd64/conf/ALL
diff -u src/sys/arch/amd64/conf/ALL:1.122 src/sys/arch/amd64/conf/ALL:1.123
--- src/sys/arch/amd64/conf/ALL:1.122	Mon Aug 19 03:25:40 2019
+++ src/sys/arch/amd64/conf/ALL	Thu Oct  3 19:01:13 2019
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.122 2019/08/19 03:25:40 ozaki-r Exp $
+# $NetBSD: ALL,v 1.123 2019/10/03 19:01:13 tnn Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@ include 	"arch/amd64/conf/std.amd64"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"ALL-$Revision: 1.122 $"
+#ident		"ALL-$Revision: 1.123 $"
 
 maxusers	64		# estimated number of users
 
@@ -991,6 +991,7 @@ hme*	at pci? dev ? function ?	# Sun Micr
 le*	at pci? dev ? function ?	# PCnet-PCI Ethernet
 lii*	at pci? dev ? function ?	# Atheros L2 Fast-Ethernet
 malo*	at pci? dev ? function ?	# Marvell Libertas Wireless
+mcx*	at pci? dev ? function ?	# Mellanox 5th generation Ethernet
 mskc*	at pci? dev ? function ?	# Marvell Yukon 2 Gigabit Ethernet
 msk*	at mskc?			# Marvell Yukon 2 Gigabit Ethernet
 mtd*	at pci? dev ? function ?	# Myson MTD803 3-in-1 Ethernet



CVS commit: src/sys/arch/amd64/conf

2019-10-03 Thread Tobias Nygren
Module Name:src
Committed By:   tnn
Date:   Thu Oct  3 18:57:38 UTC 2019

Modified Files:
src/sys/arch/amd64/conf: GENERIC

Log Message:
add mcx(4) to GENERIC

Tested on dual-port ConnectX-4 with 25 Gbit/s AOC


To generate a diff of this commit:
cvs rdiff -u -r1.535 -r1.536 src/sys/arch/amd64/conf/GENERIC

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/amd64/conf/GENERIC
diff -u src/sys/arch/amd64/conf/GENERIC:1.535 src/sys/arch/amd64/conf/GENERIC:1.536
--- src/sys/arch/amd64/conf/GENERIC:1.535	Sat Sep 14 06:57:51 2019
+++ src/sys/arch/amd64/conf/GENERIC	Thu Oct  3 18:57:38 2019
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.535 2019/09/14 06:57:51 maxv Exp $
+# $NetBSD: GENERIC,v 1.536 2019/10/03 18:57:38 tnn Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/amd64/conf/std.amd64"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.535 $"
+#ident		"GENERIC-$Revision: 1.536 $"
 
 maxusers	64		# estimated number of users
 
@@ -789,6 +789,7 @@ hme*	at pci? dev ? function ?	# Sun Micr
 le*	at pci? dev ? function ?	# PCnet-PCI Ethernet
 lii*	at pci? dev ? function ?	# Atheros L2 Fast-Ethernet
 malo*	at pci? dev ? function ?	# Marvell Libertas Wireless
+mcx*	at pci? dev ? function ?	# Mellanox 5th generation Ethernet
 mskc*	at pci? dev ? function ?	# Marvell Yukon 2 Gigabit Ethernet
 msk*	at mskc?			# Marvell Yukon 2 Gigabit Ethernet
 mtd*	at pci? dev ? function ?	# Myson MTD803 3-in-1 Ethernet



CVS commit: src/sys/arch/amd64/conf

2019-10-03 Thread Tobias Nygren
Module Name:src
Committed By:   tnn
Date:   Thu Oct  3 18:57:38 UTC 2019

Modified Files:
src/sys/arch/amd64/conf: GENERIC

Log Message:
add mcx(4) to GENERIC

Tested on dual-port ConnectX-4 with 25 Gbit/s AOC


To generate a diff of this commit:
cvs rdiff -u -r1.535 -r1.536 src/sys/arch/amd64/conf/GENERIC

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



Re: CVS commit: src/sys/arch/amd64/conf

2019-08-20 Thread Kamil Rytarowski
On 07.08.2019 08:28, Maxime Villard wrote:
> Module Name:  src
> Committed By: maxv
> Date: Wed Aug  7 06:28:03 UTC 2019
> 
> Modified Files:
>   src/sys/arch/amd64/conf: GENERIC
> 
> Log Message:
> Sync with reality.
> 
> 

Can we enable USER_LDT by default in GENERIC?

> To generate a diff of this commit:
> cvs rdiff -u -r1.532 -r1.533 src/sys/arch/amd64/conf/GENERIC
> 
> 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/amd64/conf/GENERIC
> diff -u src/sys/arch/amd64/conf/GENERIC:1.532 
> src/sys/arch/amd64/conf/GENERIC:1.533
> --- src/sys/arch/amd64/conf/GENERIC:1.532 Thu Aug  1 13:48:50 2019
> +++ src/sys/arch/amd64/conf/GENERIC   Wed Aug  7 06:28:03 2019
> @@ -1,4 +1,4 @@
> -# $NetBSD: GENERIC,v 1.532 2019/08/01 13:48:50 msaitoh Exp $
> +# $NetBSD: GENERIC,v 1.533 2019/08/07 06:28:03 maxv Exp $
>  #
>  # GENERIC machine description file
>  #
> @@ -22,7 +22,7 @@ include "arch/amd64/conf/std.amd64"
>  
>  options  INCLUDE_CONFIG_FILE # embed config file in kernel binary
>  
> -#ident   "GENERIC-$Revision: 1.532 $"
> +#ident   "GENERIC-$Revision: 1.533 $"
>  
>  maxusers 64  # estimated number of users
>  
> @@ -74,15 +74,12 @@ options   USERCONF# userconf(4) support
>  options  SYSCTL_INCLUDE_DESCR# Include sysctl descriptions in kernel
>  
>  # CPU-related options
> +#options USER_LDT# User-settable LDT, used by Wine
>  options  SVS # Separate Virtual Space
>  makeoptions  SPECTRE_V2_GCC_MITIGATION=1 # GCC Spectre variant 2
>   # migitation
>  options  SPECTRE_V2_GCC_MITIGATION
>  
> -# USER_LDT. You need to disable SVS to use it.
> -#options USER_LDT# user-settable LDT; used by WINE
> -#no options  SVS
> -
>  # CPU features
>  acpicpu* at cpu? # ACPI CPU (including frequency scaling)
>  coretemp*at cpu? # Intel on-die thermal sensor
> 




signature.asc
Description: OpenPGP digital signature


CVS commit: src/sys/arch/amd64/conf

2019-08-07 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Wed Aug  7 06:28:03 UTC 2019

Modified Files:
src/sys/arch/amd64/conf: GENERIC

Log Message:
Sync with reality.


To generate a diff of this commit:
cvs rdiff -u -r1.532 -r1.533 src/sys/arch/amd64/conf/GENERIC

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



CVS commit: src/sys/arch/amd64/conf

2019-08-07 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Wed Aug  7 06:28:03 UTC 2019

Modified Files:
src/sys/arch/amd64/conf: GENERIC

Log Message:
Sync with reality.


To generate a diff of this commit:
cvs rdiff -u -r1.532 -r1.533 src/sys/arch/amd64/conf/GENERIC

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/amd64/conf/GENERIC
diff -u src/sys/arch/amd64/conf/GENERIC:1.532 src/sys/arch/amd64/conf/GENERIC:1.533
--- src/sys/arch/amd64/conf/GENERIC:1.532	Thu Aug  1 13:48:50 2019
+++ src/sys/arch/amd64/conf/GENERIC	Wed Aug  7 06:28:03 2019
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.532 2019/08/01 13:48:50 msaitoh Exp $
+# $NetBSD: GENERIC,v 1.533 2019/08/07 06:28:03 maxv Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/amd64/conf/std.amd64"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.532 $"
+#ident		"GENERIC-$Revision: 1.533 $"
 
 maxusers	64		# estimated number of users
 
@@ -74,15 +74,12 @@ options 	USERCONF	# userconf(4) support
 options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
 
 # CPU-related options
+#options 	USER_LDT	# User-settable LDT, used by Wine
 options 	SVS		# Separate Virtual Space
 makeoptions	SPECTRE_V2_GCC_MITIGATION=1	# GCC Spectre variant 2
 		# migitation
 options 	SPECTRE_V2_GCC_MITIGATION
 
-# USER_LDT. You need to disable SVS to use it.
-#options 	USER_LDT	# user-settable LDT; used by WINE
-#no options	SVS
-
 # CPU features
 acpicpu*	at cpu?		# ACPI CPU (including frequency scaling)
 coretemp*	at cpu?		# Intel on-die thermal sensor



CVS commit: src/sys/arch/amd64/conf

2019-08-01 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Aug  1 13:48:50 UTC 2019

Modified Files:
src/sys/arch/amd64/conf: GENERIC

Log Message:
Add ena(4).


To generate a diff of this commit:
cvs rdiff -u -r1.531 -r1.532 src/sys/arch/amd64/conf/GENERIC

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/amd64/conf/GENERIC
diff -u src/sys/arch/amd64/conf/GENERIC:1.531 src/sys/arch/amd64/conf/GENERIC:1.532
--- src/sys/arch/amd64/conf/GENERIC:1.531	Wed Jul 24 06:35:04 2019
+++ src/sys/arch/amd64/conf/GENERIC	Thu Aug  1 13:48:50 2019
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.531 2019/07/24 06:35:04 msaitoh Exp $
+# $NetBSD: GENERIC,v 1.532 2019/08/01 13:48:50 msaitoh Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/amd64/conf/std.amd64"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.531 $"
+#ident		"GENERIC-$Revision: 1.532 $"
 
 maxusers	64		# estimated number of users
 
@@ -771,6 +771,7 @@ bnx*	at pci? dev ? function ?	# Broadcom
 bwi*	at pci? dev ? function ?	# Broadcom BCM43xx wireless
 bwfm*	at pci? dev ? function ?	# Broadcom FullMAC
 dge*	at pci? dev ? function ?	# Intel 82597 10GbE LR
+ena*	at pci? dev ? function ?	# Amazon.com Elastic Network Adapter
 ep*	at pci? dev ? function ?	# 3Com 3c59x
 epic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
 esh*	at pci? dev ? function ?	# Essential HIPPI card



CVS commit: src/sys/arch/amd64/conf

2019-08-01 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Aug  1 13:48:50 UTC 2019

Modified Files:
src/sys/arch/amd64/conf: GENERIC

Log Message:
Add ena(4).


To generate a diff of this commit:
cvs rdiff -u -r1.531 -r1.532 src/sys/arch/amd64/conf/GENERIC

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



CVS commit: src/sys/arch/amd64/conf

2019-07-24 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Jul 24 06:35:04 UTC 2019

Modified Files:
src/sys/arch/amd64/conf: GENERIC

Log Message:
 USE +


To generate a diff of this commit:
cvs rdiff -u -r1.530 -r1.531 src/sys/arch/amd64/conf/GENERIC

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



CVS commit: src/sys/arch/amd64/conf

2019-07-24 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Jul 24 06:35:04 UTC 2019

Modified Files:
src/sys/arch/amd64/conf: GENERIC

Log Message:
 USE +


To generate a diff of this commit:
cvs rdiff -u -r1.530 -r1.531 src/sys/arch/amd64/conf/GENERIC

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/amd64/conf/GENERIC
diff -u src/sys/arch/amd64/conf/GENERIC:1.530 src/sys/arch/amd64/conf/GENERIC:1.531
--- src/sys/arch/amd64/conf/GENERIC:1.530	Mon Jun 17 19:01:17 2019
+++ src/sys/arch/amd64/conf/GENERIC	Wed Jul 24 06:35:04 2019
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.530 2019/06/17 19:01:17 kamil Exp $
+# $NetBSD: GENERIC,v 1.531 2019/07/24 06:35:04 msaitoh Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/amd64/conf/std.amd64"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.530 $"
+#ident		"GENERIC-$Revision: 1.531 $"
 
 maxusers	64		# estimated number of users
 
@@ -115,8 +115,8 @@ options 	DDB_HISTORY_SIZE=512	# enable h
 #options 	KGDB		# remote debugger
 #options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
 makeoptions	DEBUG="-g"	# compile full symbol table for CTF
-#options	KUBSAN		# Kernel Undefined Behavior Sanitizer (kUBSan)
-#options	UBSAN_ALWAYS_FATAL	# (optional) Panic on all kUBSan reports
+#options 	KUBSAN		# Kernel Undefined Behavior Sanitizer (kUBSan)
+#options 	UBSAN_ALWAYS_FATAL	# (optional) Panic on all kUBSan reports
 #options 	SYSCALL_STATS	# per syscall counts
 #options 	SYSCALL_TIMES	# per syscall times
 #options 	SYSCALL_TIMES_HASCOUNTER	# use 'broken' rdtsc (soekris)
@@ -128,8 +128,8 @@ options 	KDTRACE_HOOKS	# kernel DTrace h
 #makeoptions 	KASAN=1		# mandatory
 #options 	KASAN		# mandatory
 #no options	SVS		# mandatory
-#options	POOL_QUARANTINE	# optional
-#options	KASAN_PANIC	# optional
+#options 	POOL_QUARANTINE	# optional
+#options 	KASAN_PANIC	# optional
 
 # Kernel Info Leak Detector.
 #makeoptions 	KLEAK=1
@@ -137,13 +137,13 @@ options 	KDTRACE_HOOKS	# kernel DTrace h
 
 # Kernel Code Coverage Driver.
 #makeoptions	KCOV=1
-#options	KCOV
+#options 	KCOV
 
 # Compatibility options
 # x86_64 never shipped with a.out binaries; the two options below are
 # only relevant to 32-bit i386 binaries
 #options 	EXEC_AOUT	# required by binaries from before 1.5
-#options	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI
+#options 	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI
 
 # NetBSD backward compatibility. Support goes from COMPAT_15 up until
 # the latest release. Note that really old compat (< COMPAT_16) is only



CVS commit: src/sys/arch/amd64/conf

2019-06-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jun 17 03:31:58 UTC 2019

Modified Files:
src/sys/arch/amd64/conf: MODULAR

Log Message:
complete the list of filesystems and enable ffs as a module.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/amd64/conf/MODULAR

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/amd64/conf/MODULAR
diff -u src/sys/arch/amd64/conf/MODULAR:1.11 src/sys/arch/amd64/conf/MODULAR:1.12
--- src/sys/arch/amd64/conf/MODULAR:1.11	Sat Jan 13 07:38:16 2018
+++ src/sys/arch/amd64/conf/MODULAR	Sun Jun 16 23:31:57 2019
@@ -1,4 +1,4 @@
-# $NetBSD: MODULAR,v 1.11 2018/01/13 12:38:16 christos Exp $
+# $NetBSD: MODULAR,v 1.12 2019/06/17 03:31:57 christos Exp $
 #
 # Try to exclude all the drivers in GENERIC that have been modularized
 # XXX: incomplete
@@ -38,28 +38,49 @@ options 	MODULAR_DEFAULT_AUTOLOAD
 -no options	SYSVSEM		# System V-like semaphores
 -no options	SYSVSHM		# System V-like memory sharing
 
-# XXX: for now
-#no file-system FFS		# UFS
--no file-system MFS		# memory file system
--no file-system NFS		# Network File System client
--no file-system TMPFS		# Efficient memory file-system
--no file-system EXT2FS		# second extended file system (linux)
--no file-system LFS		# log-structured file system
--no file-system NTFS		# Windows/NT file system (experimental)
+-no options 	ACPIVERBOSE	# verbose ACPI configuration messages
+-no options 	MIIVERBOSE	# verbose PHY autoconfig messages
+-no options 	PCIVERBOSE	# verbose PCI device autoconfig messages
+-no options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
+-no options 	SCSIVERBOSE	# human readable SCSI error messages
+-no options 	USBVERBOSE	# verbose USB device autoconfig messages
+-no options 	HDAUDIOVERBOSE	# verbose HDAUDIO driver messages
+
+-no file-system ADOSFS		# AmigaDOS-compatible file system
+-no file-system AUTOFS		# Automounter Filesystem
 -no file-system CD9660		# ISO 9660 + Rock Ridge file system
--no file-system MSDOSFS 	# MS-DOS file system
+-no file-system CHFS		# Chip File System
+-no file-system CODA		# Coda File System; also needs vcoda (below)
+-no file-system EFS		# Silicon Graphics Extent File System
+-no file-system EXT2FS		# second extended file system (linux)
 -no file-system FDESC		# /dev/fd
+-no file-system FFS		# UFS
+-no options UFS
+-no options 	QUOTA		# legacy UFS quotas
+-no options 	QUOTA2		# new, in-filesystem UFS quotas
+-no options 	UFS_EXTATTR	# Extended attribute support for UFS1
+-no file-system FILECORE	# Acorn filecore file system
+-no file-system HFS		# experimental - Apple HFS+ (read-only)
 -no file-system KERNFS		# /kern
+-no file-system LAYERFS		# genfs
+-no file-system LFS		# log-structured file system
+-no file-system MFS		# memory file system
+-no file-system MSDOSFS		# MS-DOS file system
+-no file-system NFS		# Network File System client
+-no file-system NILFS		# experimental - NTT's NiLFS(2)
+-no file-system NTFS		# Windows/NT file system (experimental)
 -no file-system NULLFS		# loopback file system
--no file-system OVERLAY 	# overlay file system
+-no file-system OVERLAY		# overlay file system
 -no file-system PROCFS		# /proc
+-no file-system PTYFS		# /dev/ptm support
 -no file-system PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
 -no file-system SMBFS		# experimental - CIFS; also needs nsmb (below)
+-no file-system TMPFS		# Efficient memory file-system
+-no file-system UDF		# experimental - OSTA UDF CD/DVD file-system
 -no file-system UMAPFS		# NULLFS + uid and gid remapping
 -no file-system UNION		# union file system
--no file-system CODA		# Coda File System; also needs vcoda (below)
--no file-system PTYFS		# /dev/ptm support
--no file-system AUTOFS		# Automounter Filesystem
+-no file-system V7FS		# 7th Edition(V7) File System
+-no file-system ZFS		# Solaris ZFS
 
 -no options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
 -no options 	PPP_DEFLATE	# Deflate compression support for PPP



CVS commit: src/sys/arch/amd64/conf

2019-06-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jun 17 03:31:58 UTC 2019

Modified Files:
src/sys/arch/amd64/conf: MODULAR

Log Message:
complete the list of filesystems and enable ffs as a module.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/amd64/conf/MODULAR

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



CVS commit: src/sys/arch/amd64/conf

2019-06-12 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jun 12 23:17:40 UTC 2019

Modified Files:
src/sys/arch/amd64/conf: NOCOMPAT

Log Message:
Fix typo in comment (missing 'need')


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/amd64/conf/NOCOMPAT

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



CVS commit: src/sys/arch/amd64/conf

2019-06-12 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jun 12 23:17:40 UTC 2019

Modified Files:
src/sys/arch/amd64/conf: NOCOMPAT

Log Message:
Fix typo in comment (missing 'need')


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/amd64/conf/NOCOMPAT

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/amd64/conf/NOCOMPAT
diff -u src/sys/arch/amd64/conf/NOCOMPAT:1.2 src/sys/arch/amd64/conf/NOCOMPAT:1.3
--- src/sys/arch/amd64/conf/NOCOMPAT:1.2	Sun Jan 27 02:08:37 2019
+++ src/sys/arch/amd64/conf/NOCOMPAT	Wed Jun 12 23:17:40 2019
@@ -1,6 +1,6 @@
 include "arch/amd64/conf/GENERIC"
 
-#ident		"NOCOMPAT-$Revision: 1.2 $"
+#ident		"NOCOMPAT-$Revision: 1.3 $"
 
 no options 	SYSVMSG		# System V-like message queues
 no options 	SYSVSEM		# System V-like semaphores
@@ -10,8 +10,8 @@ no options	COMPAT_43
 no options	COMPAT_44
 no options	COMPAT_BSDPTY
 
-# We only to use ``no options COMPAT_15'' because only COMPAT_15 is
-# explicitly enabled.  (The others are pulled in by statements in
+# We only need to use ``no options COMPAT_15'' because only COMPAT_15
+# is explicitly enabled.  (The others are pulled in by statements in
 # sys/conf/files)
 
 #no options	COMPAT_09



Re: CVS commit: src/sys/arch/amd64/conf

2018-03-15 Thread Joerg Sonnenberger
On Tue, Mar 13, 2018 at 06:02:54PM +0100, Maxime Villard wrote:
> Le 11/03/2018 à 22:30, Joerg Sonnenberger a écrit :
> > Haswell, using VTx. It seems to hit a triple fault in db_panic according
> > to the vbox.log.
> 
> At which stage of the boot procedure does it happen? Does it happen right
> before init is launched? Or does the kernel fault right after the bootloader?

Right after the boot loader.

Joerg


Re: CVS commit: src/sys/arch/amd64/conf

2018-03-13 Thread Maxime Villard

Le 11/03/2018 à 22:30, Joerg Sonnenberger a écrit :

On Sat, Mar 10, 2018 at 06:58:39PM +0100, Maxime Villard wrote:

Le 09/03/2018 à 20:33, Joerg Sonnenberger a écrit :

On Fri, Mar 09, 2018 at 06:36:45PM +0100, Maxime Villard wrote:

Le 09/03/2018 à 18:14, Joerg Sonnenberger a écrit :

On Mon, Feb 26, 2018 at 05:52:50AM +, Maxime Villard wrote:

Module Name:src
Committed By:   maxv
Date:   Mon Feb 26 05:52:50 UTC 2018

Modified Files:
src/sys/arch/amd64/conf: GENERIC

Log Message:
Enable SVS by default.


This broke using VirtualBox and I wouldn't be surprised by other
virtualisation solutions to be affected as well.


I'm using VirtualBox with SVS enabled, and have been doing this for two
months already, everything works fine for me.


I get an instant guru meditation once the kernel is loaded and starting.


hardware-assisted or not? I use hardware-assisted, 4.x and 5.x.


Haswell, using VTx. It seems to hit a triple fault in db_panic according
to the vbox.log.


At which stage of the boot procedure does it happen? Does it happen right
before init is launched? Or does the kernel fault right after the bootloader?


Re: CVS commit: src/sys/arch/amd64/conf

2018-03-11 Thread Joerg Sonnenberger
On Sat, Mar 10, 2018 at 06:58:39PM +0100, Maxime Villard wrote:
> Le 09/03/2018 à 20:33, Joerg Sonnenberger a écrit :
> > On Fri, Mar 09, 2018 at 06:36:45PM +0100, Maxime Villard wrote:
> > > Le 09/03/2018 à 18:14, Joerg Sonnenberger a écrit :
> > > > On Mon, Feb 26, 2018 at 05:52:50AM +, Maxime Villard wrote:
> > > > > Module Name:  src
> > > > > Committed By: maxv
> > > > > Date: Mon Feb 26 05:52:50 UTC 2018
> > > > > 
> > > > > Modified Files:
> > > > >   src/sys/arch/amd64/conf: GENERIC
> > > > > 
> > > > > Log Message:
> > > > > Enable SVS by default.
> > > > 
> > > > This broke using VirtualBox and I wouldn't be surprised by other
> > > > virtualisation solutions to be affected as well.
> > > 
> > > I'm using VirtualBox with SVS enabled, and have been doing this for two
> > > months already, everything works fine for me.
> > 
> > I get an instant guru meditation once the kernel is loaded and starting.
> 
> hardware-assisted or not? I use hardware-assisted, 4.x and 5.x.

Haswell, using VTx. It seems to hit a triple fault in db_panic according
to the vbox.log.

Joerg


Re: CVS commit: src/sys/arch/amd64/conf

2018-03-11 Thread Martin Husemann
On Sat, Mar 10, 2018 at 06:58:39PM +0100, Maxime Villard wrote:
> hardware-assisted or not? I use hardware-assisted, 4.x and 5.x.

I guess also the host CPU will matter (at least in virtualbox).

Martin


Re: CVS commit: src/sys/arch/amd64/conf

2018-03-10 Thread Maxime Villard

Le 09/03/2018 à 20:33, Joerg Sonnenberger a écrit :

On Fri, Mar 09, 2018 at 06:36:45PM +0100, Maxime Villard wrote:

Le 09/03/2018 à 18:14, Joerg Sonnenberger a écrit :

On Mon, Feb 26, 2018 at 05:52:50AM +, Maxime Villard wrote:

Module Name:src
Committed By:   maxv
Date:   Mon Feb 26 05:52:50 UTC 2018

Modified Files:
src/sys/arch/amd64/conf: GENERIC

Log Message:
Enable SVS by default.


This broke using VirtualBox and I wouldn't be surprised by other
virtualisation solutions to be affected as well.


I'm using VirtualBox with SVS enabled, and have been doing this for two
months already, everything works fine for me.


I get an instant guru meditation once the kernel is loaded and starting.


hardware-assisted or not? I use hardware-assisted, 4.x and 5.x.


Re: CVS commit: src/sys/arch/amd64/conf

2018-03-09 Thread Joerg Sonnenberger
On Fri, Mar 09, 2018 at 06:36:45PM +0100, Maxime Villard wrote:
> Le 09/03/2018 à 18:14, Joerg Sonnenberger a écrit :
> > On Mon, Feb 26, 2018 at 05:52:50AM +, Maxime Villard wrote:
> > > Module Name:  src
> > > Committed By: maxv
> > > Date: Mon Feb 26 05:52:50 UTC 2018
> > > 
> > > Modified Files:
> > >   src/sys/arch/amd64/conf: GENERIC
> > > 
> > > Log Message:
> > > Enable SVS by default.
> > 
> > This broke using VirtualBox and I wouldn't be surprised by other
> > virtualisation solutions to be affected as well.
> 
> I'm using VirtualBox with SVS enabled, and have been doing this for two
> months already, everything works fine for me.

I get an instant guru meditation once the kernel is loaded and starting.

Joerg


Re: CVS commit: src/sys/arch/amd64/conf

2018-03-09 Thread Maxime Villard

Le 09/03/2018 à 18:36, Maxime Villard a écrit :

Le 09/03/2018 à 18:14, Joerg Sonnenberger a écrit :

On Mon, Feb 26, 2018 at 05:52:50AM +, Maxime Villard wrote:

Module Name:src
Committed By:maxv
Date:Mon Feb 26 05:52:50 UTC 2018

Modified Files:
src/sys/arch/amd64/conf: GENERIC

Log Message:
Enable SVS by default.


This broke using VirtualBox and I wouldn't be surprised by other
virtualisation solutions to be affected as well.


I'm using VirtualBox with SVS enabled, and have been doing this for two
months already, everything works fine for me.


and by the way I also booted NetBSD+SVS on Qemu several times with different
cpu configurations, everything works fine, there is no problem.


Re: CVS commit: src/sys/arch/amd64/conf

2018-03-09 Thread Maxime Villard

Le 09/03/2018 à 18:14, Joerg Sonnenberger a écrit :

On Mon, Feb 26, 2018 at 05:52:50AM +, Maxime Villard wrote:

Module Name:src
Committed By:   maxv
Date:   Mon Feb 26 05:52:50 UTC 2018

Modified Files:
src/sys/arch/amd64/conf: GENERIC

Log Message:
Enable SVS by default.


This broke using VirtualBox and I wouldn't be surprised by other
virtualisation solutions to be affected as well.


I'm using VirtualBox with SVS enabled, and have been doing this for two
months already, everything works fine for me.


Re: CVS commit: src/sys/arch/amd64/conf

2018-03-09 Thread Joerg Sonnenberger
On Mon, Feb 26, 2018 at 05:52:50AM +, Maxime Villard wrote:
> Module Name:  src
> Committed By: maxv
> Date: Mon Feb 26 05:52:50 UTC 2018
> 
> Modified Files:
>   src/sys/arch/amd64/conf: GENERIC
> 
> Log Message:
> Enable SVS by default.

This broke using VirtualBox and I wouldn't be surprised by other
virtualisation solutions to be affected as well.

Joerg


Re: CVS commit: src/sys/arch/amd64/conf

2017-12-03 Thread David Holland
On Sat, Dec 02, 2017 at 09:59:02AM +, Maxime Villard wrote:
 > Module Name: src
 > Committed By:maxv
 > Date:Sat Dec  2 09:59:02 UTC 2017
 > 
 > Modified Files:
 >  src/sys/arch/amd64/conf: ALL
 > 
 > Log Message:
 > Remove options that do not exist on amd64.

Compile-testing those is still useful.

-- 
David A. Holland
dholl...@netbsd.org


Re: CVS commit: src/sys/arch/amd64/conf

2017-10-23 Thread Nick Hudson

On 10/20/17 11:08, Manuel Bouyer wrote:

On Fri, Oct 20, 2017 at 07:06:18AM -0300, Jared McNeill wrote:

On Fri, 20 Oct 2017, Manuel Bouyer wrote:


Any reason to not add it to other arches (especially i386) too ?

I wasn't sure it would work everywhere because there are structures used to
talk to the firmware that are defined (by both the bwfm driver and the
firmware) w/o __packed.

Are you able to test i386?

no, I don't have such device ...


WFM - I added it.


Nick



Re: CVS commit: src/sys/arch/amd64/conf

2017-10-20 Thread Manuel Bouyer
On Fri, Oct 20, 2017 at 07:06:18AM -0300, Jared McNeill wrote:
> On Fri, 20 Oct 2017, Manuel Bouyer wrote:
> 
> > Any reason to not add it to other arches (especially i386) too ?
> 
> I wasn't sure it would work everywhere because there are structures used to
> talk to the firmware that are defined (by both the bwfm driver and the
> firmware) w/o __packed.
> 
> Are you able to test i386?

no, I don't have such device ...

-- 
Manuel Bouyer 
 NetBSD: 26 ans d'experience feront toujours la difference
--


Re: CVS commit: src/sys/arch/amd64/conf

2017-10-20 Thread Jared McNeill

On Fri, 20 Oct 2017, Manuel Bouyer wrote:


Any reason to not add it to other arches (especially i386) too ?


I wasn't sure it would work everywhere because there are structures used 
to talk to the firmware that are defined (by both the bwfm driver and the 
firmware) w/o __packed.


Are you able to test i386?


Re: CVS commit: src/sys/arch/amd64/conf

2017-10-20 Thread Manuel Bouyer
On Thu, Oct 19, 2017 at 11:59:56PM +, Jared D. McNeill wrote:
> Module Name:  src
> Committed By: jmcneill
> Date: Thu Oct 19 23:59:56 UTC 2017
> 
> Modified Files:
>   src/sys/arch/amd64/conf: GENERIC
> 
> Log Message:
> add bwfm

Any reason to not add it to other arches (especially i386) too ?

-- 
Manuel Bouyer 
 NetBSD: 26 ans d'experience feront toujours la difference
--


Re: CVS commit: src/sys/arch/amd64/conf

2017-08-18 Thread Paul Goyette

See PR kern/51597

There is some rtsock stuff that does not get included in the compat 
module.



On Sat, 19 Aug 2017, co...@sdf.org wrote:


try to run 7.1 ifconfig on 8.0. without COMPAT_70 in the kernel, it won't run.
Its non-compatibility is probably buried deep within a switch statement for a 
generic function.

The only way we can reasonably make it work is:
- lie about what compat is, and build it inot the kernel, which also hurts 
people who want to remove it because they are using weak archs
- make networking modular?
- kernel hot patching (runtime cost)

We can drop the pretense. it doesn't work.

!DSPAM:59979908113027780614962!




+--+--++
| Paul Goyette | PGP Key fingerprint: | E-mail addresses:  |
| (Retired)| FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+--+--++


Re: CVS commit: src/sys/arch/amd64/conf

2017-08-18 Thread coypu
try to run 7.1 ifconfig on 8.0. without COMPAT_70 in the kernel, it won't run.
Its non-compatibility is probably buried deep within a switch statement for a 
generic function.

The only way we can reasonably make it work is:
- lie about what compat is, and build it inot the kernel, which also hurts 
people who want to remove it because they are using weak archs
- make networking modular?
- kernel hot patching (runtime cost)

We can drop the pretense. it doesn't work.


Re: CVS commit: src/sys/arch/amd64/conf

2017-08-16 Thread Martin Husemann
On Wed, Aug 16, 2017 at 05:46:29AM +0800, Paul Goyette wrote:
> On Tue, 15 Aug 2017, Martin Husemann wrote:
> 
> > On Tue, Aug 15, 2017 at 04:33:19PM +0200, Maxime Villard wrote:
> > > So we agree? Each compat should be independent.
> > 
> > Yes.
> 
> Well, not totally independent!  We have module dependencies to enable the
> use of common code.

Sure, but independend of each other (top level compat modules). The other
modules are just implementation details.

Btw: if some ifdefs can not be resolved, it would still be good to build
the .o files from a common source, and do other ifdef magic in the file
including the implementation (similar to what we do with Elf32 vs. Elf64)
or just Makefile magic to set the proper ifdefs and output names.

Martin


Re: CVS commit: src/sys/arch/amd64/conf

2017-08-16 Thread Paul Goyette

On Tue, 15 Aug 2017, Martin Husemann wrote:


On Tue, Aug 15, 2017 at 04:33:19PM +0200, Maxime Villard wrote:

So we agree? Each compat should be independent.


Yes.


Well, not totally independent!  We have module dependencies to enable 
the use of common code.



It seems to me that
re-implementing (copy-paste) a few functions for linux is a step towards
direction, isn't it?


No, it isn't (but it MAY be ok for real trivial ones).

Untangling the maze, renaming the common functions and fixing the
modularization for them is the way to go, IMO.


Definitely agree here, 110%


BTW, the "new" module we're recommending might better be called 
compat_utils rather than compat_common.




+--+--++
| Paul Goyette | PGP Key fingerprint: | E-mail addresses:  |
| (Retired)| FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+--+--++


Re: CVS commit: src/sys/arch/amd64/conf

2017-08-15 Thread Martin Husemann
On Tue, Aug 15, 2017 at 04:33:19PM +0200, Maxime Villard wrote:
> So we agree? Each compat should be independent.

Yes.

> It seems to me that
> re-implementing (copy-paste) a few functions for linux is a step towards
> direction, isn't it?

No, it isn't (but it MAY be ok for real trivial ones).

Untangling the maze, renaming the common functions and fixing the 
modularization for them is the way to go, IMO.

Martin


Re: CVS commit: src/sys/arch/amd64/conf

2017-08-15 Thread Maxime Villard

Le 15/08/2017 à 14:50, Martin Husemann a écrit :

On Tue, Aug 15, 2017 at 02:48:39PM +0200, Maxime Villard wrote:

Why is it a bad idea re-implement the few compat_xx functions used in
compat_linux? This would eliminate the dependency, and a single modload
would suffice.


Move them into a common module required by all current consumers.


This module already exists, and it's modules/compat. The problem, again,
is that this module will register new syscalls, while we only want the
functions to be available. And it's more than that: if dynamically loaded,
this module may conflict with the kernel, since several COMPAT_xx options
are enabled in GENERIC by default. So you get the same functions twice.

Maxime


Re: CVS commit: src/sys/arch/amd64/conf

2017-08-15 Thread Martin Husemann
On Tue, Aug 15, 2017 at 02:48:39PM +0200, Maxime Villard wrote:
> Why is it a bad idea re-implement the few compat_xx functions used in
> compat_linux? This would eliminate the dependency, and a single modload
> would suffice.

Move them into a common module required by all current consumers.

Martin


Re: CVS commit: src/sys/arch/amd64/conf

2017-08-15 Thread Maxime Villard

Le 04/08/2017 à 10:00, matthew green a écrit :

the setup comes from before modules and it allows code sharing
because the old 43 version matches other systems.  so there's
a single implementation of this code for a large number of
consumers, and the name of it describes where it comes from.
this is entirely as designed and desired.


Thinking about this again; this may have been desired, but it's clearly
a wrong design - and it also was with config(5), regardless of the modules.

The user finds himself in a situation where if he wants to use a linux
binary, he has to enable a whole bunch of unrelated compat options, just
because our compat_linux borrows one function here, and another there, etc.

While I agree that deduplicating code is a good thing in general, it
certainly is not when the subsystems that share the code are this distant,
and when these subsystems end up being less user-friendly.

Why is it a bad idea re-implement the few compat_xx functions used in
compat_linux? This would eliminate the dependency, and a single modload
would suffice.

Maxime


Re: CVS commit: src/sys/arch/amd64/conf

2017-08-04 Thread Maxime Villard

Le 04/08/2017 à 10:00, matthew green a écrit :

Maxime Villard writes:

Yes, I saw that too a few days later when moving the compat_freebsd files and
trying to do a modload. I went "what the hell is this", but didn't do anything.

What I could see, is that many of our compat options are at some point using
at least one compat_43_* function, even if they have nothing to do with 4.3BSD.

It appears that people just chose to use them, because they were convenient,
instead of re-writing them on purpose. The assumption was that the compat_43
functions would always be there; that's obviously a wrong assumption.

As a quick fix, I can revert my change. But that does not fix this mess; we
would have to either rename compat_43_* to compat_common_* and compile them by
default (ie, without depending on an #ifdef COMPAT_43), or we would have to
implement the functions in all of the compat options with proper names (eg
compat_43_sys_lseek -> freebsd_sys_lseek).


please revert your change (for now?).  thanks.


Alright, I'll do that for now.


Frankly, this is a huge mess.


i don't agree.

the setup comes from before modules and it allows code sharing
because the old 43 version matches other systems. so there's
a single implementation of this code for a large number of
consumers, and the name of it describes where it comes from.


Yes, but the fact that the availability of the compat_43_* functions depends
on #ifdef COMPAT_43, while they are just common functions used in a lot of
places, is wrong. And it has nothing to do with the modules, it was already
wrong before they were introduced (even if it used to be harmless).

As a third (and simpler) solution, we could make sure that these functions are
compiled regardless of COMPAT_43, without renaming them.

Maxime


re: CVS commit: src/sys/arch/amd64/conf

2017-08-04 Thread matthew green
Maxime Villard writes:
> Yes, I saw that too a few days later when moving the compat_freebsd files and
> trying to do a modload. I went "what the hell is this", but didn't do 
> anything.
> 
> What I could see, is that many of our compat options are at some point using
> at least one compat_43_* function, even if they have nothing to do with 
> 4.3BSD.
> 
> It appears that people just chose to use them, because they were convenient,
> instead of re-writing them on purpose. The assumption was that the compat_43
> functions would always be there; that's obviously a wrong assumption.
> 
> As a quick fix, I can revert my change. But that does not fix this mess; we
> would have to either rename compat_43_* to compat_common_* and compile them by
> default (ie, without depending on an #ifdef COMPAT_43), or we would have to
> implement the functions in all of the compat options with proper names (eg
> compat_43_sys_lseek -> freebsd_sys_lseek).

please revert your change (for now?).  thanks.

> Frankly, this is a huge mess.

i don't agree.

the setup comes from before modules and it allows code sharing
because the old 43 version matches other systems.  so there's
a single implementation of this code for a large number of 
consumers, and the name of it describes where it comes from.
this is entirely as designed and desired.

normal kernels handle this fine within the config(5) framework.

that modules don't know how to do this properly yet is not the
existing code's problem -- that's just other of the issues that
modules have that are why they're not yet an acceptible way to
replace functionality.


.mrg.


Re: CVS commit: src/sys/arch/amd64/conf

2017-08-04 Thread Maxime Villard

Le 03/08/2017 à 23:32, co...@sdf.org a écrit :

On Fri, Jul 28, 2017 at 04:10:29PM +, Maxime Villard wrote:

Module Name:src
Committed By:   maxv
Date:   Fri Jul 28 16:10:29 UTC 2017

Modified Files:
src/sys/arch/amd64/conf: GENERIC XEN3_DOM0 XEN3_DOMU

Log Message:
After a careful review, and all things considered, disable compat43 by
default on amd64. The use case is limited, the potential for damage too
high, and it is safer to run a BSD4.3 binary on i386 since the kernel does
not have to go through netbsd32 - which may not correctly reproduce i386.


To generate a diff of this commit:
cvs rdiff -u -r1.461 -r1.462 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -u -r1.136 -r1.137 src/sys/arch/amd64/conf/XEN3_DOM0
cvs rdiff -u -r1.75 -r1.76 src/sys/arch/amd64/conf/XEN3_DOMU


This breaks running compat_linux as a kernel module:

Aug  4 00:19:19 loggy /netbsd: kobj_checksyms, 974: [compat_linux]: linker 
error: symbol `compat_43_sys_sethostname' not found
Aug  4 00:19:19 loggy /netbsd: kobj_checksyms, 974: [compat_linux]: linker 
error: symbol `compat_43_sys_lseek' not found
Aug  4 00:19:19 loggy /netbsd: WARNING: module error: unable to affix module 
`compat_linux', error 8

I believe paulg made PR kern/51597 for similar issues


Yes, I saw that too a few days later when moving the compat_freebsd files and
trying to do a modload. I went "what the hell is this", but didn't do anything.

What I could see, is that many of our compat options are at some point using
at least one compat_43_* function, even if they have nothing to do with 4.3BSD.

It appears that people just chose to use them, because they were convenient,
instead of re-writing them on purpose. The assumption was that the compat_43
functions would always be there; that's obviously a wrong assumption.

As a quick fix, I can revert my change. But that does not fix this mess; we
would have to either rename compat_43_* to compat_common_* and compile them by
default (ie, without depending on an #ifdef COMPAT_43), or we would have to
implement the functions in all of the compat options with proper names (eg
compat_43_sys_lseek -> freebsd_sys_lseek).

Frankly, this is a huge mess.

Maxime


Re: CVS commit: src/sys/arch/amd64/conf

2017-08-03 Thread coypu
paulg adds:

This is not making GENERIC fail because COMPAT_43 is not really removed
on it.

$ nm /home/fly/amd/sys/arch/amd64/compile/GENERIC/netbsd |grep compat_43
80403485 T compat_43_netbsd32_fstat43
8040371a T compat_43_netbsd32_killpg
80403431 T compat_43_netbsd32_lstat43
804037b5 T compat_43_netbsd32_oaccept
...

This is from:
sys/compat/netbsd32/files.netbsd32:

filecompat/netbsd32/netbsd32_compat_43.ccompat_netbsd32 & (compat_43 | 
compat_sunos | compat_linux32)

So with COMPAT_LINUX32, it still builds the COMPAT_43 code.


Re: CVS commit: src/sys/arch/amd64/conf

2017-07-28 Thread Paul Goyette

On Fri, 28 Jul 2017, Maxime Villard wrote:


Module Name:src
Committed By:   maxv
Date:   Fri Jul 28 16:10:29 UTC 2017

Modified Files:
src/sys/arch/amd64/conf: GENERIC XEN3_DOM0 XEN3_DOMU

Log Message:
After a careful review, and all things considered, disable compat43 by
default on amd64. The use case is limited, the potential for damage too
high, and it is safer to run a BSD4.3 binary on i386 since the kernel does
not have to go through netbsd32 - which may not correctly reproduce i386.


Should COMPAT43 also be removed from the default build of compat module?

See line #26 in src/sys/modules/netbsd/Makefile



+--+--++
| Paul Goyette | PGP Key fingerprint: | E-mail addresses:  |
| (Retired)| FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+--+--++


Re: CVS commit: src/sys/arch/amd64/conf

2016-11-26 Thread David Holland
On Sat, Nov 26, 2016 at 09:21:17PM +1100, matthew green wrote:
 > > Modified Files:
 > >src/sys/arch/amd64/conf: GENERIC
 > > 
 > > Log Message:
 > > 1.6 was the first amd64 release. (although it didn't really work too well
 > > before -5)
 > 
 > dunno what you're talking about.  i ran it for many years before -5.

If you like :-) I'm just going by what I saw in gnats at the time.

-- 
David A. Holland
dholl...@netbsd.org


re: CVS commit: src/sys/arch/amd64/conf

2016-11-26 Thread matthew green
"David A. Holland" writes:
> Module Name:  src
> Committed By: dholland
> Date: Sat Nov 26 01:09:33 UTC 2016
> 
> Modified Files:
>   src/sys/arch/amd64/conf: GENERIC
> 
> Log Message:
> 1.6 was the first amd64 release. (although it didn't really work too well
> before -5)

dunno what you're talking about.  i ran it for many years before -5.


.mrg.


Re: CVS commit: src/sys/arch/amd64/conf

2016-08-07 Thread Christos Zoulas
will do.

christos



re: CVS commit: src/sys/arch/amd64/conf

2016-08-07 Thread matthew green
"Christos Zoulas" writes:
> Module Name:  src
> Committed By: christos
> Date: Sun Aug  7 10:39:59 UTC 2016
> 
> Modified Files:
>   src/sys/arch/amd64/conf: MODULAR
> 
> Log Message:
> Use "-no" and add more cloners.

please bump the config version and the minimum required config version.

thanks.


.mrg.

ps:  since we stopped failing on "no options" that don't exist, i'd
actually be more inclined to simply make "no device " work as the
same by default than add this (either way, the version matters.)


Re: CVS commit: src/sys/arch/amd64/conf

2016-01-09 Thread Christos Zoulas
On Jan 10, 12:57pm, tsut...@ceres.dti.ne.jp (Izumi Tsutsui) wrote:
-- Subject: Re: CVS commit: src/sys/arch/amd64/conf

| christos@ wrote:
| 
| > Modified Files:
| > src/sys/arch/amd64/conf: GENERIC
| > 
| > Log Message:
| > PR/50636: Ryo ONODERA: Add scsibus to vioscsi
| 
| >> +#mos* at uhub? port ? # Moschip MCS7730/MCS7830/MCS7832 based 
adapters
| 
| What's this one?
| 
| >> +scsibus* at vioscsi?
| 
| Why the existing common "scsibus* at scsi" doesn't work for vioscsi?

I don't know; that's what he reported. I did not need it.

christos


Re: CVS commit: src/sys/arch/amd64/conf

2016-01-09 Thread Ryo ONODERA
Hi,

From: chris...@zoulas.com (Christos Zoulas), Date: Sat, 9 Jan 2016 23:01:25 
-0500

> On Jan 10, 12:57pm, tsut...@ceres.dti.ne.jp (Izumi Tsutsui) wrote:
> -- Subject: Re: CVS commit: src/sys/arch/amd64/conf
> 
> | christos@ wrote:
> | 
> | > Modified Files:
> | >   src/sys/arch/amd64/conf: GENERIC
> | > 
> | > Log Message:
> | > PR/50636: Ryo ONODERA: Add scsibus to vioscsi
> | 
> | >> +#mos*   at uhub? port ? # Moschip MCS7730/MCS7830/MCS7832 based 
> adapters
> | 
> | What's this one?
> | 
> | >> +scsibus* at vioscsi?
> | 
> | Why the existing common "scsibus* at scsi" doesn't work for vioscsi?
> 
> I don't know; that's what he reported. I did not need it.

I will check again whether it is really needed or not.

--
Ryo ONODERA // ryo...@yk.rim.or.jp
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Re: CVS commit: src/sys/arch/amd64/conf

2016-01-09 Thread Izumi Tsutsui
christos@ wrote:

> Modified Files:
>   src/sys/arch/amd64/conf: GENERIC
> 
> Log Message:
> PR/50636: Ryo ONODERA: Add scsibus to vioscsi

>> +#mos*   at uhub? port ? # Moschip MCS7730/MCS7830/MCS7832 based 
>> adapters

What's this one?

>> +scsibus* at vioscsi?

Why the existing common "scsibus* at scsi" doesn't work for vioscsi?

---
Izumi Tsutsui


Re: CVS commit: src/sys/arch/amd64/conf

2016-01-09 Thread Ryo ONODERA
From: Ryo ONODERA <ryo...@yk.rim.or.jp>, Date: Sun, 10 Jan 2016 13:04:07 +0900 
(JST)

> Hi,
> 
> From: chris...@zoulas.com (Christos Zoulas), Date: Sat, 9 Jan 2016 23:01:25 
> -0500
> 
>> On Jan 10, 12:57pm, tsut...@ceres.dti.ne.jp (Izumi Tsutsui) wrote:
>> -- Subject: Re: CVS commit: src/sys/arch/amd64/conf
>> 
>> | christos@ wrote:
>> | 
>> | > Modified Files:
>> | >  src/sys/arch/amd64/conf: GENERIC
>> | > 
>> | > Log Message:
>> | > PR/50636: Ryo ONODERA: Add scsibus to vioscsi
>> | 
>> | >> +#mos*  at uhub? port ? # Moschip MCS7730/MCS7830/MCS7832 based 
>> adapters
>> | 
>> | What's this one?
>> | 
>> | >> +scsibus* at vioscsi?
>> | 
>> | Why the existing common "scsibus* at scsi" doesn't work for vioscsi?
>> 
>> I don't know; that's what he reported. I did not need it.
> 
> I will check again whether it is really needed or not.

It is not needed.
Sorry.

--
Ryo ONODERA // ryo...@yk.rim.or.jp
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Re: CVS commit: src/sys/arch/amd64/conf

2016-01-09 Thread Christos Zoulas
On Jan 10,  2:29pm, ryo...@yk.rim.or.jp (Ryo ONODERA) wrote:
-- Subject: Re: CVS commit: src/sys/arch/amd64/conf

| It is not needed.

I've removed it already!

christos


Re: CVS commit: src/sys/arch/amd64/conf

2015-09-07 Thread Masao Uebayashi
On Sun, Sep 6, 2015 at 4:17 PM, Masao Uebayashi  wrote:
> Module Name:src
> Committed By:   uebayasi
> Date:   Sun Sep  6 07:17:14 UTC 2015
>
> Modified Files:
> src/sys/arch/amd64/conf: Makefile.amd64 files.amd64
>
> Log Message:
> Define MD start code at the top of files.${MACHINE} relying on config(1)'s
> deterministic file output order.  No need to define ${MD_OBJS} and its 
> useless,
> explicit compile rules.

Although it was true that config(1) preserves file order, I have
mistakenly reordered files in ${OBJS}, that is passed to ${LD}, and
the first file (locore.o) has been mistakenly linked after all *.o
files derived from *.c.  Just fixed now in sys/conf/Makefile.kern.inc
Rev. 1.244.

(Kernel booted because boot loader honored ELF entry address.)


Re: CVS commit: src/sys/arch/amd64/conf

2014-10-15 Thread Robert Elz
Date:Sun, 12 Oct 2014 00:17:22 +0900
From:Masao Uebayashi uebay...@gmail.com
Message-ID:  
cadbf7ecem8n2vhq_9ats2ysjzx-zl-4cg65jtd7vuu0nigt...@mail.gmail.com

For what it is worth, this change (below) just bit me - I did my first new
builds for a couple of weeks, and my own Dom0 config failed to build
(because even though the standard XEN3_DOM0 got the include ... added to it,
my private config file, that is tailored to my sustem (which does have
atheros wireless) did not have that, just the ath* at ... stuff.

The link failed in a way that was (to me) bizarre...

  | On Sun, Oct 12, 2014 at 12:05 AM, Manuel Bouyer bou...@antioche.eu.org 
wrote:
  |  On Sat, Oct 11, 2014 at 09:50:03AM +, Masao Uebayashi wrote:

  |  Don't include std.ath_hal for XEN3_DOMU.
  | 
  |  Why ?

  | Including std.ath_hal means that you pull in ath device code in your
  | kernel.

No it doesn't.  All it is is a bunch of option definitions, by themselves,
those do (or should do) nothing.   What's more, I verified that my DomU
kernels from before this change had no ath related code in them at all (I'm
not interested in the possibility of pci passthrough, or at least, not
right now) and my Dom0 kernel did (as it was intended to).

As I see it, all the ath code is conditioned by at least requiring ath
which is obtained by having ath* at in the config file somewhjere (which
normally DOM0 does, and DOMU does not).   That includes ath code in DOM0
and excludes it from DOMU, and all this has seemed to work essentially 
forever.   What has changed, or is changing that makes specifying a
useless option do anything different?   The options to include the various
different ath drivers - or whatever they do - might truly be better explicitly
listed in the config files, so only the appropriate ones will be included,
but just including all or nothing via std.ath_hal being there or not
doesn't seem like it is the correct level of granualarity.  That is, if the
way the drivers are written (currently) even allows selecting one, or two,
but not all (no idea, I have never tried.)

Now, clearly fixing this for my kernel config just meant adding the include
line (once I found this particular change) - but I don't really think that's
the way kernel config files should be written.

kre



Re: CVS commit: src/sys/arch/amd64/conf

2014-10-15 Thread Manuel Bouyer
On Wed, Oct 15, 2014 at 08:28:31PM +0700, Robert Elz wrote:
 [...]
   | Including std.ath_hal means that you pull in ath device code in your
   | kernel.
 
 No it doesn't.  All it is is a bunch of option definitions, by themselves,
 those do (or should do) nothing.   What's more, I verified that my DomU
 kernels from before this change had no ath related code in them at all (I'm
 not interested in the possibility of pci passthrough, or at least, not
 right now) and my Dom0 kernel did (as it was intended to).

OK, I didn't really check this, but it removing ath from the kernel
config file really cause all ath-related files to be ommitted, then there's
no reason to not have std.ath_hal inclued by default.

One can still use no options ... if he really wants to strip down
the kernel with only the required ath bits.

-- 
Manuel Bouyer bou...@antioche.eu.org
 NetBSD: 26 ans d'experience feront toujours la difference
--


Re: CVS commit: src/sys/arch/amd64/conf

2014-10-11 Thread Manuel Bouyer
On Sat, Oct 11, 2014 at 09:50:03AM +, Masao Uebayashi wrote:
 Module Name:  src
 Committed By: uebayasi
 Date: Sat Oct 11 09:50:03 UTC 2014
 
 Modified Files:
   src/sys/arch/amd64/conf: XEN3_DOM0 std.xen
 
 Log Message:
 Don't include std.ath_hal for XEN3_DOMU.

Why ?
We still support PCI pass-through, so we could have a ath in a domU

-- 
Manuel Bouyer bou...@antioche.eu.org
 NetBSD: 26 ans d'experience feront toujours la difference
--


Re: CVS commit: src/sys/arch/amd64/conf

2014-10-11 Thread Masao Uebayashi
On Sun, Oct 12, 2014 at 12:05 AM, Manuel Bouyer bou...@antioche.eu.org wrote:
 On Sat, Oct 11, 2014 at 09:50:03AM +, Masao Uebayashi wrote:
 Module Name:  src
 Committed By: uebayasi
 Date: Sat Oct 11 09:50:03 UTC 2014

 Modified Files:
   src/sys/arch/amd64/conf: XEN3_DOM0 std.xen

 Log Message:
 Don't include std.ath_hal for XEN3_DOMU.

 Why ?
 We still support PCI pass-through, so we could have a ath in a domU

In that case you have to enable xpci/pci at first.

Including std.ath_hal means that you pull in ath device code in your
kernel.  But you don't have no parent buses.  This might be OK for
ath(4), but in general, it means that config(1) doesn't resolve
dependency, and your kernel may be bloated by unnecessary code.

(config(1) is not great in reporting dependency errors yet.)


Re: CVS commit: src/sys/arch/amd64/conf

2014-10-11 Thread Manuel Bouyer
On Sun, Oct 12, 2014 at 12:17:22AM +0900, Masao Uebayashi wrote:
 On Sun, Oct 12, 2014 at 12:05 AM, Manuel Bouyer bou...@antioche.eu.org 
 wrote:
  On Sat, Oct 11, 2014 at 09:50:03AM +, Masao Uebayashi wrote:
  Module Name:  src
  Committed By: uebayasi
  Date: Sat Oct 11 09:50:03 UTC 2014
 
  Modified Files:
src/sys/arch/amd64/conf: XEN3_DOM0 std.xen
 
  Log Message:
  Don't include std.ath_hal for XEN3_DOMU.
 
  Why ?
  We still support PCI pass-through, so we could have a ath in a domU
 
 In that case you have to enable xpci/pci at first.
 
 Including std.ath_hal means that you pull in ath device code in your
 kernel.  But you don't have no parent buses.  This might be OK for
 ath(4), but in general, it means that config(1) doesn't resolve
 dependency, and your kernel may be bloated by unnecessary code.

why isn't this compiled in only when ath(4) is inclued in config file ?
isn't that what attributes are for ?

-- 
Manuel Bouyer bou...@antioche.eu.org
 NetBSD: 26 ans d'experience feront toujours la difference
--


Re: CVS commit: src/sys/arch/amd64/conf

2014-10-11 Thread Masao Uebayashi
On Sun, Oct 12, 2014 at 3:06 AM, Manuel Bouyer bou...@antioche.eu.org wrote:
 On Sun, Oct 12, 2014 at 12:17:22AM +0900, Masao Uebayashi wrote:
 On Sun, Oct 12, 2014 at 12:05 AM, Manuel Bouyer bou...@antioche.eu.org 
 wrote:
  On Sat, Oct 11, 2014 at 09:50:03AM +, Masao Uebayashi wrote:
  Module Name:  src
  Committed By: uebayasi
  Date: Sat Oct 11 09:50:03 UTC 2014
 
  Modified Files:
src/sys/arch/amd64/conf: XEN3_DOM0 std.xen
 
  Log Message:
  Don't include std.ath_hal for XEN3_DOMU.
 
  Why ?
  We still support PCI pass-through, so we could have a ath in a domU

 In that case you have to enable xpci/pci at first.

 Including std.ath_hal means that you pull in ath device code in your
 kernel.  But you don't have no parent buses.  This might be OK for
 ath(4), but in general, it means that config(1) doesn't resolve
 dependency, and your kernel may be bloated by unnecessary code.

 why isn't this compiled in only when ath(4) is inclued in config file ?
 isn't that what attributes are for ?

I don't understand.  If you say config file, is it files.*
(definition) or std.* (selection)?


  1   2   >