Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify kconfig #92

Merged
merged 11 commits into from
Apr 24, 2024
180 changes: 0 additions & 180 deletions base-defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,6 @@ CONFIG_SENSORS_CORETEMP=y
# SElinux
CONFIG_SECURITY_SELINUX_DISABLE=y

# File systems
CONFIG_BTRFS_FS=y
CONFIG_BTRFS_FS_POSIX_ACL=y
CONFIG_FUSE_FS=m

# Required by Ubuntu snaps. Avoids a systemctl "degraded" state due to
# failed snap-*.mount (each snap package has one squashfs mount)
CONFIG_SQUASHFS=m
CONFIG_SQUASHFS_XATTR=y
CONFIG_SQUASHFS_ZLIB=y
CONFIG_SQUASHFS_LZ4=y
CONFIG_SQUASHFS_LZO=y
CONFIG_SQUASHFS_XZ=y
CONFIG_SQUASHFS_ZSTD=y

# Required to boot some Fedora spins with default settings.
CONFIG_DM_THIN_PROVISIONING=y
CONFIG_XFS_FS=y
Expand All @@ -49,24 +34,6 @@ CONFIG_IOSCHED_BFQ=y
# Memory management
CONFIG_FRONTSWAP=y

CONFIG_ZRAM=m
CONFIG_ZRAM_DEF_COMP_LZORLE=y
# CONFIG_ZRAM_DEF_COMP_LZ4 is not set
# CONFIG_ZRAM_DEF_COMP_LZO is not set
# CONFIG_ZRAM_DEF_COMP_LZ4HC is not set
# CONFIG_ZRAM_DEF_COMP_842 is not set
CONFIG_ZRAM_DEF_COMP="lzo-rle"

CONFIG_ZSWAP=y
CONFIG_ZSMALLOC=y
CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZO=y
CONFIG_ZSWAP_COMPRESSOR_DEFAULT="lzo"
CONFIG_ZSWAP_ZPOOL_DEFAULT_ZBUD=y
CONFIG_ZSWAP_ZPOOL_DEFAULT="zbud"

# build netconsole as module to configure it with /etc/modprobe.d
CONFIG_NETCONSOLE=m

# Need this when graphics fail (don't forget to drop "quiet splash"
# in the grub config)

Expand Down Expand Up @@ -95,52 +62,6 @@ CONFIG_EFI_MIXED=y
# DEVMEM - disable strict for debug - don't use for distros!!
CONFIG_STRICT_DEVMEM=n

# NVME required on KBL NUC
CONFIG_NVME_CORE=y
CONFIG_BLK_DEV_NVME=y
# CONFIG_NVME_MULTIPATH is not set
CONFIG_NVME_FABRICS=m
CONFIG_NVME_FC=m

# USB3
CONFIG_USB_XHCI_HCD=m
CONFIG_USB_XHCI_DBGCAP=y
CONFIG_USB_XHCI_PCI=m
CONFIG_USB_XHCI_PLATFORM=m

# Gigabit Ethernet for MinnowBoard Turbot D0/ i211
CONFIG_IGB=m

# Override linux/arch/x86/configs/x86_64_deconfig:
# make them modules so they can be blocklisted when needed.
CONFIG_E100=m
CONFIG_E1000=m
CONFIG_E1000E=m

# WIFI
CONFIG_CFG80211_WEXT=y
CONFIG_MAC80211_RC_MINSTREL_VHT=y

CONFIG_WLAN_VENDOR_INTEL=y
# CONFIG_IPW2100 is not set
# CONFIG_IPW2200 is not set
# CONFIG_IWL4965 is not set
# CONFIG_IWL3945 is not set
CONFIG_IWLWIFI=m
CONFIG_IWLWIFI_LEDS=y
# CONFIG_IWLDVM is not set
CONFIG_IWLMVM=m
CONFIG_IWLWIFI_OPMODE_MODULAR=y
# CONFIG_IWLWIFI_BCAST_FILTERING is not set
# CONFIG_IWLWIFI_PCIE_RTPM is not set

#USB Net Adaptors (when WiFi fails)
CONFIG_USB_USBNET=m
CONFIG_USB_RTL8152=m

# MII PHY device drivers
CONFIG_ASIX_PHY=m

# LPSS
CONFIG_X86_INTEL_LPSS=y
CONFIG_MFD_CORE=m
Expand Down Expand Up @@ -189,38 +110,6 @@ CONFIG_SPI_DW_PCI=m
CONFIG_SPI_DW_MID_DMA=y
CONFIG_SPI_DW_MMIO=m

# MMC (taken from Ubuntu)
CONFIG_TIFM_CORE=m
CONFIG_CB710_CORE=m

CONFIG_MMC=y
CONFIG_MMC_BLOCK=m
CONFIG_MMC_BLOCK_MINORS=8
CONFIG_SDIO_UART=m
# CONFIG_MMC_TEST is not set

#
# MMC/SD/SDIO Host Controller Drivers
#
# CONFIG_MMC_DEBUG is not set
CONFIG_MMC_SDHCI=m
CONFIG_MMC_SDHCI_PCI=m
CONFIG_MMC_RICOH_MMC=y
CONFIG_MMC_SDHCI_ACPI=m
CONFIG_MMC_SDHCI_PLTFM=m
CONFIG_MMC_TIFM_SD=m
# CONFIG_MMC_SPI is not set
CONFIG_MMC_SDRICOH_CS=m
CONFIG_MMC_CB710=m
CONFIG_MMC_VIA_SDMMC=m
CONFIG_MMC_VUB300=m
CONFIG_MMC_USHC=m
CONFIG_MMC_USDHI6ROL0=m
CONFIG_MMC_TOSHIBA_PCI=m
# CONFIG_MMC_MTK is not set
# CONFIG_MMC_SDHCI_XENON is not set
# CONFIG_MEMSTICK is not set

# SOUND
CONFIG_SOUND=m
CONFIG_SND=m
Expand Down Expand Up @@ -265,33 +154,6 @@ CONFIG_INTEL_PCH_THERMAL=m
CONFIG_INTEL_IOMMU_SVM=y
CONFIG_IRQ_REMAP=y

# ELAN I2C touchpad support for Chromebooks
CONFIG_MOUSE_ELAN_I2C=m
CONFIG_MOUSE_ELAN_I2C_I2C=y
CONFIG_MOUSE_ELAN_SMBUS=y

# Touchpad support for ACER devices
CONFIG_HID_MULTITOUCH=m
CONFIG_ACPI_WMI=m
CONFIG_WMI_BMOF=m

# I2C touchpad (Dell, Asus and many other laptops)
CONFIG_I2C_HID=m
CONFIG_I2C_HID_ACPI=m
CONFIG_I2C_HID_CORE=m
CONFIG_INTEL_ISH_HID=m
CONFIG_INTEL_ISH_FIRMWARE_DOWNLOADER=m

# Touchpad support for Broadwell Samus (Pixelbook 2015)
CONFIG_TOUCHSCREEN_ATMEL_MXT=m
CONFIG_CHROME_PLATFORMS=y
CONFIG_CHROMEOS_LAPTOP=m
#CONFIG_CHROMEOS_PSTORE=m
#CONFIG_CROS_EC=m
#CONFIG_CROS_EC_LPC=m
#CONFIG_CROS_EC_PROTO=y
#CONFIG_CROS_KBD_LED_BACKLIGHT=m

# Buttons and LEDs
CONFIG_THINKPAD_ACPI=m
CONFIG_THINKPAD_ACPI_ALSA_SUPPORT=y
Expand Down Expand Up @@ -320,12 +182,6 @@ CONFIG_SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC=y
# needed for Broadwell
CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=n

# Suspend-resume support on Broadwell Samus (Pixelbook 2015)
CONFIG_TCG_TPM=y
CONFIG_TCG_TIS_CORE=y
CONFIG_TCG_TIS=y
CONFIG_HW_RANDOM_TPM=y

# TigerLake support
CONFIG_PCI_IOV=y
CONFIG_VMD=m
Expand All @@ -335,32 +191,6 @@ CONFIG_PCIE_DW_PLAT=y
CONFIG_PCIE_DW_PLAT_HOST=y
CONFIG_INTEL_IDMA64=m

# Atheros WiFi
CONFIG_ATH_COMMON=m
CONFIG_WLAN_VENDOR_ATH=y
# CONFIG_ATH_DEBUG is not set
# CONFIG_ATH5K is not set
CONFIG_ATH5K_PCI=y
# CONFIG_ATH9K is not set
# CONFIG_ATH9K_HTC is not set
# CONFIG_CARL9170 is not set
# CONFIG_ATH6KL is not set
# CONFIG_AR5523 is not set
# CONFIG_WIL6210 is not set
CONFIG_ATH10K=m
CONFIG_ATH10K_CE=y
CONFIG_ATH10K_PCI=m
# CONFIG_ATH10K_SDIO is not set
# CONFIG_ATH10K_USB is not set
# CONFIG_ATH10K_DEBUG is not set
CONFIG_ATH10K_DEBUGFS=y
CONFIG_ATH10K_SPECTRAL=y
CONFIG_ATH10K_TRACING=y

# Touchpad fallback if i2c-hid is blacklisted (needed on some TGL devices)
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=m

# Scheduling
# after 5.16-rc1, PREEMPT_VOLUNTARY is the default, but this raises problems
# with interrupts
Expand All @@ -379,16 +209,6 @@ CONFIG_DEVFREQ_GOV_POWERSAVE=m
CONFIG_DEVFREQ_GOV_USERSPACE=m
CONFIG_DEVFREQ_GOV_PASSIVE=m

# Panda Wireless wants RT2800
CONFIG_RT2X00=m
CONFIG_RT2800USB=m
CONFIG_RT2800USB_RT33XX=y
CONFIG_RT2800USB_RT35XX=y
CONFIG_RT2800USB_RT3573=y
CONFIG_RT2800USB_RT53XX=y
CONFIG_RT2800USB_RT55XX=y
CONFIG_RT2800USB_UNKNOWN=y

# some systems are locked to X86_X2APIC and can not fall back to the
# legacy APIC modes if SGX or TDX are enabled in the BIOS
CONFIG_X86_X2APIC=y
Loading
Loading