aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/config/linux/bits/x86_64.yml
blob: e6aa048f1f2387b00ca61298a7061fdfc0f1b0c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Copyright 2020 syzkaller project authors. All rights reserved.
# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.

shell:
 - make x86_64_defconfig: [-nodefconfig]
 - make allyesconfig: [allyes]
 - make kvm_guest.config: [-cuttlefish]

config:
 # root=/dev/sda is not necessary correct, but it's a common setting and user arguments are appended
 # to the builtin command line, so user can always override this.
 # vsyscall=native required to run x86_64 executables on android kernels (it disables VDSO by default).
 - CMDLINE: [append, "root=/dev/sda console=ttyS0 vsyscall=native numa=fake=2 kvm-intel.nested=1 spec_store_bypass_disable=prctl nopcid vivid.n_devs=64 vivid.multiplanar=1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2 netrom.nr_ndevs=32 rose.rose_ndevs=32"]
 - CMDLINE_BOOL

 # Should be faster this way.
 - MCORE2: [-v6.15]
 - BASE_FULL: [-v6.10]

 # 32-on-64 support (compat).
 - IA32_EMULATION
 # X86_X32 renamed to X86_X32_ABI in v5.18
 # Note that we cannot build X86_X32(_ABI) with LLVM=1.
 - X86_X32: [-baseline, -clang, -v5.18]
 - X86_X32_ABI: [-baseline, -clang, v5.18]

 # Moved from legacy config, reason for enabling is unknown.
 - KALLSYMS_ABSOLUTE_PERCPU: [-v6.15]
 - X86_MSR
 - X86_CPUID
 - X86_5LEVEL: n

 # Should be faster this way.
 - PARAVIRT_SPINLOCKS
 - PARAVIRT_DEBUG

 - PROCESSOR_SELECT
 - CPU_SUP_HYGON: n
 - CPU_SUP_CENTAUR: n
 - CPU_SUP_ZHAOXIN: n

 # Required to boot Debian Wheezy.
 - X86_VSYSCALL_EMULATION

 # Intel network support.
 # TODO: should we switch to virtio instead?
 - ETHERNET
 - NET_VENDOR_INTEL
 # Module in cuttlefish.
 - E1000: [-cuttlefish]

 - X86_ACPI_CPUFREQ
 - CPU_IDLE_GOV_HALTPOLL: [v4.16]
 - X86_INTEL_TSX_MODE_ON: [v4.16]
 - INTEL_IDLE
 - LEGACY_VSYSCALL_EMULATE: [-v5.18]
 - EFI: n

 - TRACE_EVENT_INJECT: [v5.5]
 - PM_TRACE_RTC: [optional]

 # Allows to boot kernel via qemu directly from a vmlinux file.
 - PVH: [v5.0]