mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
vanadium: document some kernel option choices
This commit is contained in:
parent
941a8c4c9d
commit
fbc7ba4f6c
1 changed files with 5 additions and 10 deletions
|
|
@ -3,6 +3,7 @@ final: prev: let
|
||||||
in {
|
in {
|
||||||
linuxPackages = final.linuxPackagesFor (
|
linuxPackages = final.linuxPackagesFor (
|
||||||
prev.linuxPackages.kernel.override {
|
prev.linuxPackages.kernel.override {
|
||||||
|
# turn this off for testing to view errors
|
||||||
ignoreConfigErrors = true;
|
ignoreConfigErrors = true;
|
||||||
structuredExtraConfig = with lib.kernel; {
|
structuredExtraConfig = with lib.kernel; {
|
||||||
# optimisation for ryzen 7
|
# optimisation for ryzen 7
|
||||||
|
|
@ -16,22 +17,16 @@ in {
|
||||||
X86_MCE = yes;
|
X86_MCE = yes;
|
||||||
X86_MCE_AMD = yes;
|
X86_MCE_AMD = yes;
|
||||||
PERF_EVENTS_INTEL_RAPL = yes;
|
PERF_EVENTS_INTEL_RAPL = yes;
|
||||||
# # unused option
|
|
||||||
# CPU_FREQ_DEFAULT_GOV_ONDEMAND = yes;
|
|
||||||
# # no such option
|
|
||||||
# MICROCODE_AMD = yes;
|
|
||||||
# # <5.17
|
|
||||||
# X86_ACPI_CPUFREQ = yes;
|
|
||||||
X86_AMD_PSTATE = yes;
|
X86_AMD_PSTATE = yes;
|
||||||
X86_POWERNOW_K8 = no;
|
X86_POWERNOW_K8 = no;
|
||||||
# # FIXME: crashes the build, seems to answer the question twice
|
# # not available
|
||||||
|
# CPU_FREQ_DEFAULT_GOV_ONDEMAND = yes;
|
||||||
|
# # a suboption for ONDEMAND governor
|
||||||
# X86_AMD_FREQ_SENSITIVITY = yes;
|
# X86_AMD_FREQ_SENSITIVITY = yes;
|
||||||
# skipping firmware loading since it's handled by other parts of nix
|
# skipping firmware loading section since it's handled by other parts of nixos options
|
||||||
SENSORS_K10TEMP = yes;
|
SENSORS_K10TEMP = yes;
|
||||||
IOMMU_SUPPORT = yes;
|
IOMMU_SUPPORT = yes;
|
||||||
AMD_IOMMU = yes;
|
AMD_IOMMU = yes;
|
||||||
# # no such option
|
|
||||||
# AMD_IOMMU_2 = yes;
|
|
||||||
|
|
||||||
# additional chipset drivers
|
# additional chipset drivers
|
||||||
I2C_PIIX4 = yes;
|
I2C_PIIX4 = yes;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue