summaryrefslogtreecommitdiff
path: root/sys-kernel/linux/files/amd.config
blob: a6e42e6384573fa7a1640ea884e424a66a9d920f (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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# No logo
CONFIG_LOGO=n
CONFIG_LOCALVERSION=""

# Ryzen specific
CONFIG_MK8=y
CONFIG_PROCESSOR_SELECT=y
CONFIG_PERF_EVENTS_AMD_POWER=y
CONFIG_X86_PCC_CPUFREQ=y
CONFIG_X86_ACPI_CPUFREQ=y
CONFIG_X86_POWERNOW_K8=y
CONFIG_X86_AMD_FREQ_SENSITIVITY=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_AMD_IOMMU_V2=y
# Disable suport for some other processors
CONFIG_CPU_SUP_INTEL=n
CONFIG_CPU_SUP_CENTAUR=n
CONFIG_MICROCODE_INTEL=n
CONFIG_X86_INTEL_PSTATE=n
CONFIG_X86_P4_CLOCKMOD=n
CONFIG_INTEL_IOMMU=n

# Disable nouveau, radeon and intel
CONFIG_DRM_NOUVEAU=n
CONFIG_DRM_RADEON=n
CONFIG_DRM_I915=n
CONFIG_DRM_GMA500=n

# Enable incompatible v3 process information file format
CONFIG_BSD_PROCESS_ACCT_V3=y

# Built in keyboard support
CONFIG_KEYBOARD_ATKBD=y

# SATA support compile in
CONFIG_ATA=y
CONFIG_SATA_AHCI=y
CONFIG_BLK_DEV_SD=y
# Compile BTRFS to kernel (used for root)
CONFIG_BTRFS_FS=y
# Compile FAT to kernel (used for efi partition)
CONFIG_VFAT_FS=y
# Cryptsetup
CONFIG_BLK_DEV_DM=y
CONFIG_DM_CRYPT=y
CONFIG_CRYPTO_XTS=y
CONFIG_CRYPTO_SHA256_SSSE3=y
CONFIG_CRYPTO_SHA512_SSSE3=y
CONFIG_CRYPTO_AES_X86_64=y
CONFIG_CRYPTO_USER_API_SKCIPHER=y

# Built in USB
CONFIG_USB=y
CONFIG_USB_XHCI_HCD=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_STORAGE=y
# Built in HID (keyboard and so on)
CONFIG_HID_GENERIC=y
CONFIG_USB_HID=y
CONFIG_I2C_HID=y
CONFIG_HID_ASUS=y

# Compile to kernel also other filesytems so we can use it if we need it
CONFIG_EXT4_FS=y
CONFIG_OVERLAY_FS=y
CONFIG_SQUASHFS=y

# Scrollback buffer size
CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=1024

# AMD GPU
CONFIG_AGP=y
CONFIG_DRM=y
CONFIG_DRM_AMDGPU=y
CONFIG_HSA_AMD=y

# VFIO (gpu passtrough)
CONFIG_VFIO=y
CONFIG_VFIO_PCI=y

# X input
CONFIG_INPUT_EVDEV=y

# Consolekit
CONFIG_AUDIT=y

# Build configuration into the kernel but as module
CONFIG_IKCONFIG=m
CONFIG_IKCONFIG_PROC=y

# Chromium requires user namespace sandbox?
CONFIG_USER_NS=y

## Gentoo specific just to be sure
# Udev
CONFIG_DEVTMPFS=y
CONFIG_TMPFS=y
CONFIG_UNIX=y
CONFIG_MMU=y
CONFIG_SHMEM=y
# Portage
CONFIG_CGROUPS=y
CONFIG_NAMESPACES=y
CONFIG_IPC_NS=y
CONFIG_NET_NS=y
CONFIG_SYSVIPC=y
# OpenRC
CONFIG_BINFMT_SCRIPT=y

# Options enabled just to make previous options enabled
CONFIG_LEDS_CLASS=y