@@ -11746,6 +11746,23 @@ with pkgs;
1174611746 ];
1174711747 };
1174811748
11749+ linux_4_11 = callPackage ../os-specific/linux/kernel/linux-4.11.nix {
11750+ kernelPatches =
11751+ [ kernelPatches.bridge_stp_helper
11752+ kernelPatches.p9_fixes
11753+ # See pkgs/os-specific/linux/kernel/cpu-cgroup-v2-patches/README.md
11754+ # when adding a new linux version
11755+ # !!! 4.7 patch doesn't apply, 4.9 patch not up yet, will keep checking
11756+ # kernelPatches.cpu-cgroup-v2."4.7"
11757+ kernelPatches.modinst_arg_list_too_long
11758+ ]
11759+ ++ lib.optionals ((platform.kernelArch or null) == "mips")
11760+ [ kernelPatches.mips_fpureg_emu
11761+ kernelPatches.mips_fpu_sigill
11762+ kernelPatches.mips_ext3_n32
11763+ ];
11764+ };
11765+
1174911766 linux_testing = callPackage ../os-specific/linux/kernel/linux-testing.nix {
1175011767 kernelPatches = [
1175111768 kernelPatches.bridge_stp_helper
@@ -11914,7 +11931,7 @@ with pkgs;
1191411931 linux = linuxPackages.kernel;
1191511932
1191611933 # Update this when adding the newest kernel major version!
11917− linuxPackages_latest = linuxPackages_4_10;
11934+ linuxPackages_latest = linuxPackages_4_11;
1191811935 linux_latest = linuxPackages_latest.kernel;
1191911936
1192011937 # Build the kernel modules for the some of the kernels.
@@ -11924,6 +11941,7 @@ with pkgs;
1192411941 linuxPackages_4_4 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_4_4);
1192511942 linuxPackages_4_9 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_4_9);
1192611943 linuxPackages_4_10 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_4_10);
11944+ linuxPackages_4_11 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_4_11);
1192711945 # Don't forget to update linuxPackages_latest!
1192811946
1192911947 # Intentionally lacks recurseIntoAttrs, as -rc kernels will quite likely break out-of-tree modules and cause failed Hydra builds.