xref: /freebsd/sys/arm64/conf/std.arm64 (revision e67e85659c0de33e617e5fbf1028c6e8b49eee53)
1# Standard kernel config items for all ARM64 systems.
2#
3# $FreeBSD$
4
5makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
6makeoptions	WITH_CTF=1		# Run ctfconvert(1) for DTrace support
7
8options 	SCHED_ULE		# ULE scheduler
9options 	NUMA			# Non-Uniform Memory Architecture support
10options 	PREEMPTION		# Enable kernel thread preemption
11options 	VIMAGE			# Subsystem virtualization, e.g. VNET
12options 	INET			# InterNETworking
13options 	INET6			# IPv6 communications protocols
14options		CC_NEWRENO		# include newreno congestion control
15options		CC_DEFAULT=\"newreno\"	# define our default CC module it should be compiled in.
16options 	IPSEC_SUPPORT		# Allow kldload of ipsec and tcpmd5
17options 	ROUTE_MPATH		# Multipath routing support
18options 	FIB_ALGO		# Modular fib lookups
19options 	TCP_OFFLOAD		# TCP offload
20options 	TCP_HHOOK		# hhook(9) framework for TCP
21options 	TCP_RFC7413		# TCP Fast Open
22options 	SCTP_SUPPORT		# Allow kldload of SCTP
23options 	KERN_TLS		# TLS transmit & receive offload
24options 	FFS			# Berkeley Fast Filesystem
25options 	SOFTUPDATES		# Enable FFS soft updates support
26options 	UFS_ACL			# Support for access control lists
27options 	UFS_DIRHASH		# Improve performance on big directories
28options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
29options 	QUOTA			# Enable disk quotas for UFS
30options 	MD_ROOT			# MD is a potential root device
31options 	NFSCL			# Network Filesystem Client
32options 	NFSD			# Network Filesystem Server
33options 	NFSLOCKD		# Network Lock Manager
34options 	NFS_ROOT		# NFS usable as /, requires NFSCL
35options 	MSDOSFS			# MSDOS Filesystem
36options 	CD9660			# ISO 9660 Filesystem
37options 	PROCFS			# Process filesystem (requires PSEUDOFS)
38options 	PSEUDOFS		# Pseudo-filesystem framework
39options 	TMPFS			# Efficient memory filesystem
40options 	GEOM_RAID		# Soft RAID functionality.
41options 	GEOM_LABEL		# Provides labelization
42options 	EFIRT			# EFI Runtime Services support
43options 	COMPAT_FREEBSD32	# Compatible with FreeBSD/arm
44options 	COMPAT_FREEBSD11	# Compatible with FreeBSD11
45options 	COMPAT_FREEBSD12	# Compatible with FreeBSD12
46options 	COMPAT_FREEBSD13	# Compatible with FreeBSD13
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 	VFP			# Floating-point support
65options 	RACCT			# Resource accounting framework
66options 	RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
67options 	RCTL			# Resource limits
68options 	INTRNG
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