lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <174980588551.406.17181283015896978758.tip-bot2@tip-bot2>
Date: Fri, 13 Jun 2025 09:11:25 -0000
From: "tip-bot2 for Ingo Molnar" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Peter Zijlstra <peterz@...radead.org>, Ingo Molnar <mingo@...nel.org>,
 Ard Biesheuvel <ardb@...nel.org>, Arnd Bergmann <arnd@...db.de>,
 David Woodhouse <dwmw@...zon.co.uk>, "H. Peter Anvin" <hpa@...or.com>,
 jgross@...e.com, Linus Torvalds <torvalds@...ux-foundation.org>,
 Masahiro Yamada <yamada.masahiro@...ionext.com>,
 Michal Marek <michal.lkml@...kovi.net>,
 Vitaly Kuznetsov <vkuznets@...hat.com>, linux-kernel@...r.kernel.org,
 x86@...nel.org
Subject: [tip: x86/kconfig] x86/kconfig: Remove the CONFIG_DRM_I915=y driver
 from the defconfig

The following commit has been merged into the x86/kconfig branch of tip:

Commit-ID:     c86ec5635d079e62a66e767422ee71a06f930c86
Gitweb:        https://git.kernel.org/tip/c86ec5635d079e62a66e767422ee71a06f930c86
Author:        Ingo Molnar <mingo@...nel.org>
AuthorDate:    Fri, 13 Jun 2025 10:49:04 +02:00
Committer:     Ingo Molnar <mingo@...nel.org>
CommitterDate: Fri, 13 Jun 2025 11:02:41 +02:00

x86/kconfig: Remove the CONFIG_DRM_I915=y driver from the defconfig

The i915 driver was enabled in the x86 defconfig in 2008 via:

  5cb04df8d3f0 ("x86: defconfig updates")

... basically as part of a slimmed-down distro config.

But we don't really enable AMD or Nvidia GPU drivers,
and the i915 driver adds +10% to the defconfig build time,
as reported by Peter Zijlstra and quantified by my testing:

  starship:~/tip> perf stat --null --repeat 3 --sync --pre='make clean >/dev/null' make -j128 bzImage >/dev/null

  | CONFIG_DRM_I915=y
  38.726 +- 0.529 seconds time elapsed  ( +-  1.37% )

  | # CONFIG_DRM_I915 is not set
  34.446 +- 0.659 seconds time elapsed  ( +-  1.91% )

So disable this driver.

Note that disabling this driver has a number of side-effects
on the options enabled in the defconfigs.

Reported-by: Peter Zijlstra <peterz@...radead.org>
Signed-off-by: Ingo Molnar <mingo@...nel.org>
Acked-by: Peter Zijlstra <peterz@...radead.org>
Cc: Ard Biesheuvel <ardb@...nel.org>
Cc: Arnd Bergmann <arnd@...db.de>
Cc: David Woodhouse <dwmw@...zon.co.uk>
Cc: H. Peter Anvin <hpa@...or.com>
Cc: Jürgen Groß <jgross@...e.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Masahiro Yamada <yamada.masahiro@...ionext.com>
Cc: Michal Marek <michal.lkml@...kovi.net>
Cc: Vitaly Kuznetsov <vkuznets@...hat.com>
Cc: linux-kernel@...r.kernel.org
---
 arch/x86/configs/i386_defconfig   | 6 ------
 arch/x86/configs/x86_64_defconfig | 5 -----
 2 files changed, 11 deletions(-)

diff --git a/arch/x86/configs/i386_defconfig b/arch/x86/configs/i386_defconfig
index fac0f57..aeba958 100644
--- a/arch/x86/configs/i386_defconfig
+++ b/arch/x86/configs/i386_defconfig
@@ -158,7 +158,6 @@ CONFIG_NET_CLS_ACT=y
 CONFIG_CGROUP_NET_PRIO=y
 CONFIG_CFG80211=y
 CONFIG_MAC80211=y
-CONFIG_MAC80211_LEDS=y
 CONFIG_RFKILL=y
 CONFIG_RFKILL_INPUT=y
 CONFIG_NET_9P=y
@@ -240,7 +239,6 @@ CONFIG_AGP=y
 CONFIG_AGP_AMD64=y
 CONFIG_AGP_INTEL=y
 CONFIG_DRM=y
-CONFIG_DRM_I915=y
 CONFIG_DRM_VIRTIO_GPU=y
 CONFIG_DRM_HYPERV=y
 CONFIG_SOUND=y
@@ -252,7 +250,6 @@ CONFIG_SND_HDA_INTEL=y
 CONFIG_SND_HDA_HWDEP=y
 CONFIG_HIDRAW=y
 CONFIG_HID_A4TECH=y
-CONFIG_HID_APPLE=y
 CONFIG_HID_BELKIN=y
 CONFIG_HID_CHERRY=y
 CONFIG_HID_CHICONY=y
@@ -269,7 +266,6 @@ CONFIG_HID_PANTHERLORD=y
 CONFIG_PANTHERLORD_FF=y
 CONFIG_HID_PETALYNX=y
 CONFIG_HID_SAMSUNG=y
-CONFIG_HID_SONY=y
 CONFIG_HID_SUNPLUS=y
 CONFIG_HID_HYPERV_MOUSE=y
 CONFIG_HID_TOPSEED=y
@@ -292,7 +288,6 @@ CONFIG_VIRTIO_INPUT=y
 CONFIG_HYPERV=y
 CONFIG_HYPERV_UTILS=y
 CONFIG_HYPERV_BALLOON=y
-CONFIG_EEEPC_LAPTOP=y
 CONFIG_INTEL_IOMMU=y
 # CONFIG_INTEL_IOMMU_DEFAULT_ON is not set
 CONFIG_EXT4_FS=y
@@ -308,7 +303,6 @@ CONFIG_ZISOFS=y
 CONFIG_MSDOS_FS=y
 CONFIG_VFAT_FS=y
 CONFIG_PROC_KCORE=y
-CONFIG_TMPFS_POSIX_ACL=y
 CONFIG_HUGETLBFS=y
 CONFIG_NFS_FS=y
 CONFIG_NFS_V3_ACL=y
diff --git a/arch/x86/configs/x86_64_defconfig b/arch/x86/configs/x86_64_defconfig
index 09362bc..c20100d 100644
--- a/arch/x86/configs/x86_64_defconfig
+++ b/arch/x86/configs/x86_64_defconfig
@@ -173,7 +173,6 @@ CONFIG_NET_CLS_ACT=y
 CONFIG_CGROUP_NET_PRIO=y
 CONFIG_CFG80211=y
 CONFIG_MAC80211=y
-CONFIG_MAC80211_LEDS=y
 CONFIG_RFKILL=y
 CONFIG_NET_9P=y
 CONFIG_NET_9P_VIRTIO=y
@@ -249,7 +248,6 @@ CONFIG_AGP=y
 CONFIG_AGP_AMD64=y
 CONFIG_AGP_INTEL=y
 CONFIG_DRM=y
-CONFIG_DRM_I915=y
 CONFIG_DRM_VIRTIO_GPU=y
 CONFIG_DRM_HYPERV=y
 CONFIG_SOUND=y
@@ -266,7 +264,6 @@ CONFIG_HID_PANTHERLORD=y
 CONFIG_PANTHERLORD_FF=y
 CONFIG_HID_PETALYNX=y
 CONFIG_HID_SAMSUNG=y
-CONFIG_HID_SONY=y
 CONFIG_HID_SUNPLUS=y
 CONFIG_HID_HYPERV_MOUSE=y
 CONFIG_HID_TOPSEED=y
@@ -289,7 +286,6 @@ CONFIG_VIRTIO_INPUT=y
 CONFIG_HYPERV=y
 CONFIG_HYPERV_UTILS=y
 CONFIG_HYPERV_BALLOON=y
-CONFIG_EEEPC_LAPTOP=y
 CONFIG_AMD_IOMMU=y
 CONFIG_INTEL_IOMMU=y
 # CONFIG_INTEL_IOMMU_DEFAULT_ON is not set
@@ -306,7 +302,6 @@ CONFIG_ZISOFS=y
 CONFIG_MSDOS_FS=y
 CONFIG_VFAT_FS=y
 CONFIG_PROC_KCORE=y
-CONFIG_TMPFS_POSIX_ACL=y
 CONFIG_HUGETLBFS=y
 CONFIG_NFS_FS=y
 CONFIG_NFS_V3_ACL=y

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ