xref: /freebsd/sys/arm64/conf/std.arm64 (revision 4b9d605768acabc460aa6dcfe8a1f8db35b16794)
1# Standard kernel config items for all ARM64 systems.
2#
3
4makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
5makeoptions	WITH_CTF=1		# Run ctfconvert(1) for DTrace support
6
7options 	SCHED_ULE		# ULE scheduler
8options 	NUMA			# Non-Uniform Memory Architecture support
9options 	PREEMPTION		# Enable kernel thread preemption
10options 	VIMAGE			# Subsystem virtualization, e.g. VNET
11options 	INET			# InterNETworking
12options 	INET6			# IPv6 communications protocols
13options 	CC_CUBIC		# include CUBIC congestion control
14options 	IPSEC_SUPPORT		# Allow kldload of ipsec and tcpmd5
15options 	ROUTE_MPATH		# Multipath routing support
16options 	FIB_ALGO		# Modular fib lookups
17options 	TCP_OFFLOAD		# TCP offload
18options 	TCP_BLACKBOX		# Enhanced TCP event logging
19options 	TCP_HHOOK		# hhook(9) framework for TCP
20options 	TCP_RFC7413		# TCP Fast Open
21options 	SCTP_SUPPORT		# Allow kldload of SCTP
22options 	KERN_TLS		# TLS transmit & receive offload
23options 	FFS			# Berkeley Fast Filesystem
24options 	SOFTUPDATES		# Enable FFS soft updates support
25options 	UFS_ACL			# Support for access control lists
26options 	UFS_DIRHASH		# Improve performance on big directories
27options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
28options 	QUOTA			# Enable disk quotas for UFS
29options 	MD_ROOT			# MD is a potential root device
30options 	NFSCL			# Network Filesystem Client
31options 	NFSD			# Network Filesystem Server
32options 	NFSLOCKD		# Network Lock Manager
33options 	NFS_ROOT		# NFS usable as /, requires NFSCL
34options 	MSDOSFS			# MSDOS Filesystem
35options 	CD9660			# ISO 9660 Filesystem
36options 	PROCFS			# Process filesystem (requires PSEUDOFS)
37options 	PSEUDOFS		# Pseudo-filesystem framework
38options 	TMPFS			# Efficient memory filesystem
39options 	GEOM_RAID		# Soft RAID functionality.
40options 	GEOM_LABEL		# Provides labelization
41options 	EFIRT			# EFI Runtime Services support
42options 	COMPAT_FREEBSD32	# Compatible with FreeBSD/arm
43options 	COMPAT_FREEBSD11	# Compatible with FreeBSD11
44options 	COMPAT_FREEBSD12	# Compatible with FreeBSD12
45options 	COMPAT_FREEBSD13	# Compatible with FreeBSD13
46options 	COMPAT_FREEBSD14	# Compatible with FreeBSD14
47options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
48options 	KTRACE			# ktrace(1) support
49options 	STACK			# stack(9) support
50options 	SYSVSHM			# SYSV-style shared memory
51options 	SYSVMSG			# SYSV-style message queues
52options 	SYSVSEM			# SYSV-style semaphores
53options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
54options 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
55options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
56options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
57options 	AUDIT			# Security event auditing
58options 	CAPABILITY_MODE		# Capsicum capability mode
59options 	CAPABILITIES		# Capsicum capabilities
60options 	MAC			# TrustedBSD MAC Framework
61options 	KDTRACE_FRAME		# Ensure frames are compiled in
62options 	KDTRACE_HOOKS		# Kernel DTrace hooks
63options 	DDB_CTF			# Kernel ELF linker loads CTF data
64options 	INCLUDE_CONFIG_FILE	# Include this file in kernel
65options 	VFP			# Floating-point support
66options 	RACCT			# Resource accounting framework
67options 	RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
68options 	RCTL			# Resource limits
69options 	LINUX_BOOT_ABI		# Boot using booti command from U-Boot
70options 	PERTHREAD_SSP		# Per-thread SSP canary
71
72# Debugging support.  Always need this:
73options 	KDB			# Enable kernel debugger support.
74options 	KDB_TRACE		# Print a stack trace for a panic.
75# For full debugger support use (turn off in stable branch):
76options 	DDB			# Support DDB.
77options 	GDB			# Support remote GDB.
78options 	DEADLKRES		# Enable the deadlock resolver
79options 	INVARIANTS		# Enable calls of extra sanity checking
80options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
81options 	WITNESS			# Enable checks to detect deadlocks and cycles
82options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
83options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
84options 	ALT_BREAK_TO_DEBUGGER	# Enter debugger on keyboard escape sequence
85options 	VERBOSE_SYSINIT=0	# Support debug.verbose_sysinit, off by default
86
87# Kernel Sanitizers
88#options 	COVERAGE		# Generic kernel coverage. Used by KCOV
89#options 	KCOV			# Kernel Coverage Sanitizer
90# Warning: KUBSAN can result in a kernel too large for loader to load
91#options 	KUBSAN			# Kernel Undefined Behavior Sanitizer
92#options 	KCSAN			# Kernel Concurrency Sanitizer
93
94# Kernel dump features.
95options 	EKCD			# Support for encrypted kernel dumps
96options 	GZIO			# gzip-compressed kernel and user dumps
97options 	ZSTDIO			# zstd-compressed kernel and user dumps
98options 	DEBUGNET		# debugnet networking
99options 	NETDUMP			# netdump(4) client support
100
101# Make an SMP-capable kernel by default
102options 	SMP			# Symmetric MultiProcessor Kernel
103
104# Enable support for the kernel PLL to use an external PPS signal,
105# under supervision of [x]ntpd(8)
106# More info in ntpd documentation: http://www.eecis.udel.edu/~ntp
107
108options 	PPS_SYNC
109