xref: /freebsd/sys/amd64/conf/NOTES (revision 2f721943bf20e53b0ba7b5032a2900d0beb67413)
1#
2# NOTES -- Lines that can be cut/pasted into kernel and hints configs.
3#
4# This file contains machine dependent kernel configuration notes.  For
5# machine independent notes, look in /sys/conf/NOTES.  For notes shared
6# with i386, look in /sys/x86/conf/NOTES.
7#
8#
9
10# GCOV (code coverage) support
11
12options 	LINDEBUGFS
13options 	GCOV
14
15
16#####################################################################
17# SMP OPTIONS:
18
19# Optional:
20device		atpic			# Optional legacy pic support
21device		mptable			# Optional MPSPEC mptable support
22
23
24#####################################################################
25# CPU OPTIONS
26
27#
28# You must specify at least one CPU (the one you intend to run on);
29# deleting the specification for CPUs you don't need to use may make
30# parts of the system run faster.
31#
32cpu		HAMMER			# aka K8, aka Opteron & Athlon64
33
34#
35# Options for CPU features.
36#
37
38
39#####################################################################
40# HARDWARE DEVICE CONFIGURATION
41
42#
43# Optional devices:
44#
45
46# vt(4) drivers.
47device		vt_efifb	# EFI framebuffer
48
49# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support.  This will create
50# the /dev/3dfx0 device to work with glide implementations.  This should get
51# linked to /dev/3dfx and /dev/voodoo.  Note that this is not the same as
52# the tdfx DRI module from XFree86 and is completely unrelated.
53#
54
55device		tdfx			# Enable 3Dfx Voodoo support
56
57#
58# RAID adapters
59#
60
61#XXX this stores pointers in a 32bit field that is defined by the hardware
62#device	pst
63
64#
65# Microsemi smartpqi controllers.
66# These controllers have a SCSI-like interface, and require the
67# CAM infrastructure.
68#
69device		smartpqi
70
71# Broadcom MPT Fusion, version 4, is 64-bit only
72device		mpi3mr			# LSI-Logic MPT-Fusion 4
73
74#
75# Network interfaces:
76#
77
78# axp: AMD EPYC integrated NIC
79#	Requires the miibus module
80# ice:	Intel 800 Series Physical Function
81#	Requires the ice_ddp module for full functionality
82# irdma: Intel 800 Series RDMA driver
83#        Requires the ice module
84# qlxgb: QLogic 3200 and 8200 series 10 Gigabit Ethernet & CNA Adapter
85# qlxgbe: QLogic 8300 series 10 Gigabit Ethernet & CNA Adapter
86# qlxge: QLogic 8100 series 10 Gigabit Ethernet & CNA Adapter
87# qlnxe: Cavium QLogic 41000/45000 series 10/25/40/100 Gigabit Ethernet & CNA Adapter
88# sfxge: Solarflare SFC9000 family 10Gb Ethernet adapters
89
90device		axp		# AMD EPYC integrated NIC
91device		ixl		# Intel 700 Series Physical Function
92device		iavf		# Intel Adaptive Virtual Function
93device		ice		# Intel 800 Series Physical Function
94device		ice_ddp		# Intel 800 Series DDP Package
95device		irdma		# Intel 800 Series RDMA driver
96device		qlxgb		# QLogic 3200/8200 Ethernet
97device		qlxgbe		# QLogic 8300 Ethernet
98device		qlxge		# QLogic 8100 Ethernet
99device		qlnxe		# QLogic 41000/45000 Ethernet
100device		sfxge		# Solarflare SFC9000 10Gb Ethernet
101
102#####################################################################
103
104#
105# Miscellaneous hardware:
106#
107
108device		ioat		# Intel I/OAT DMA engine
109
110# EFI Runtime Services support
111options 	EFIRT
112
113# EFI pseudo-device
114device		efidev
115
116# EFI RTC
117device		efirtc
118
119#
120# Intel QuickAssist driver with OpenCrypto support
121#
122# Only for legacy Atom C2XXX chipsets.
123device		qat_c2xxx
124
125# Xen HVM Guest Optimizations
126options 	XENHVM		# Xen HVM kernel infrastructure
127device		xenefi		# Xen EFI timer device
128device 		xenpci		# Xen HVM Hypervisor services driver
129device		xentimer	# Xen x86 PV timer device
130
131#####################################################################
132# ABI Emulation
133
134# Enable 32-bit runtime support for FreeBSD/i386 binaries.
135options 	COMPAT_FREEBSD32
136
137# Enable (32-bit) a.out binary support
138options 	COMPAT_AOUT
139
140#####################################################################
141# ZFS support
142
143# NB: This depends on crypto, cryptodev and ZSTDIO
144options 	ZFS
145
146#####################################################################
147# VM OPTIONS
148
149#
150# Number of initial kernel page table pages used for early bootstrap.
151# This number should include enough pages to map the kernel and any
152# modules or other data loaded with the kernel by the loader.  Each
153# page table page maps 2MB.
154#
155options 	NKPT=31
156
157# KSTACK_PAGES is the number of memory pages to assign to the kernel
158# stack of each thread.
159
160options 	KSTACK_PAGES=5
161
162# Enable detailed accounting by the PV entry allocator.
163
164options 	PV_STATS
165
166#####################################################################
167# Kernel sanitizers
168
169#options	COVERAGE		# Generic kernel coverage. Used by KCOV
170#options	KCOV			# Kernel Coverage Sanitizer
171# Warning: KUBSAN can result in a kernel too large for loader to load
172#options	KUBSAN			# Kernel Undefined Behavior Sanitizer
173#options	KCSAN			# Kernel Concurrency Sanitizer
174#options	KASAN			# Kernel Address Sanitizer
175#options	KCSAN			# Kernel Concurrency Sanitizer
176#options	KMSAN			# Kernel Memory Sanitizer
177