From 34b0a86bb23ff15fce8aea172b47293bd65e02e4 Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Mon, 2 Feb 2026 12:52:31 +0100 Subject: [PATCH] linux: Build-in i2c-powermac on ppc64 systems https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=713943 --- pkgs/os-specific/linux/kernel/common-config.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 1626f9f29d09..0a1400a18a30 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -1560,6 +1560,15 @@ let # avoid driver/FS trouble arising from unusual page size PPC_64K_PAGES = no; PPC_4K_PAGES = yes; + + # Does not get auto-loaded on relevant systems, makes fans stuck at max speed. + # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=713943 (2014 :<) + # > This module ought to be auto-loaded where it's needed, but somehow that + # > has broken. I asked Benjamin Herrenschmidt (upstream powerpc maintainer + # > and the last person to touch it) and he was aware of this but hadn't got + # > round to working out why. The workaround is to build it in[…]. + # > (It won't do any harm on non-Mac systems.) + I2C_POWERMAC = yes; }; accel = {