Commit graph

2395 commits

Author SHA1 Message Date
Tim Steinbach 09cc8872ef
Merge pull request #35043 from NeQuissimus/cfs_bandwidth
linux-common: Add CFS_BANDWIDTH
2018-02-21 23:18:44 +00:00
Frederik Rietdijk b5391b2451 Merge remote-tracking branch 'upstream/master' into HEAD 2018-02-21 20:43:10 +01:00
Austin Seipp 2fa6cd257d perf: separateDebugInfo = true
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-02-20 22:17:24 -06:00
Austin Seipp cbf6fa3cc7 perf: fix some hardcoded paths with newer, more exciting hardcoded NixOS paths!
In the long run it looks like we may actually need a small set of patches to
Perf if that's more maintainable, in which case we would much rather check
NIX_DEBUG_INFO_DIRS.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-02-20 22:17:12 -06:00
Vladimír Čunát 1d15dadbec
Merge branch 'master' into staging
Larger rebuilds from master.
2018-02-20 20:33:40 +01:00
Shea Levy 39ff498418
kernelPatches: Add pointer to ml threads for riscv patches. 2018-02-20 11:26:44 -05:00
Shea Levy f8b5b93b88
linux_riscv: Add patches for initrd support 2018-02-20 09:18:17 -05:00
Austin Seipp f0fe7bae99 linuxPackages.perf: fix tips.txt lookup, few extra deps
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-02-20 07:00:21 -06:00
Shea Levy bd7d5b3657
linux: Don't try to install firmware on newer kernels.
This was disabled in torvalds/linux@5620a0d1aa
2018-02-19 17:08:24 -05:00
Shea Levy 7ce1f0b8ae
linuxManualConfig: Fix build on non-modular kernels 2018-02-19 15:16:29 -05:00
Shea Levy 6173f2f945
linux_riscv: Add 4.16-rc1.
Fixes #35148.
2018-02-19 12:14:22 -05:00
Shea Levy c7439b435c
Merge branch 'kernel-gcc7-cross' of git://github.com/lopsided98/nixpkgs 2018-02-18 18:18:00 -05:00
Shea Levy 32ce7012f0
Merge branch 'master' into gcc-7 2018-02-18 16:27:22 -05:00
Tim Steinbach 246359e855
linux: 4.15.3 -> 4.15.4 2018-02-18 09:55:54 -05:00
Tim Steinbach 9d55ab2c4b
linux: 4.14.19 -> 4.14.20 2018-02-18 09:55:21 -05:00
Tim Steinbach e3dd76f76c
linux: 4.9.81 -> 4.9.82 2018-02-18 09:54:56 -05:00
Tim Steinbach 07e7a67f7b
linux: 4.4.115 -> 4.4.116 2018-02-18 09:54:31 -05:00
Tim Steinbach 734f40a0a5
linux-copperhead: 4.15.3.a -> 4.15.4.a 2018-02-18 09:53:59 -05:00
Ben Wolsieffer 643ba8254d kernel: fix cross compilation with gcc 7 2018-02-17 22:09:56 -05:00
Vladimír Čunát 7d19d7ee18
Revert "linux-*: build with gcc7, but allow overriding it"
This reverts commit ae040525d8.
gcc7 is the default now.
2018-02-17 16:30:26 +01:00
Tim Steinbach bbbd9de9d7
linux-common: Add CFS_BANDWIDTH
The option is needed to limit CPU usage of processes.
It seems to have no negative impact if left unused.

See https://lwn.net/Articles/428230/
2018-02-16 10:00:08 -05:00
Tuomas Tynkkynen b98a3f247a linux_testing: 4.15-rc9 -> 4.16-rc1 2018-02-16 01:13:30 +02:00
Tuomas Tynkkynen 64fa0d5b97 kernel: Add deps for building 4.16 2018-02-16 01:13:30 +02:00
Tuomas Tynkkynen 7a7e8a8004 kernel config: Disable USB_SERIAL_* on 4.16 and above
They got removed:

commit 003948c54e5b5034a9bbb4923336f5aba125eae6
Author: Benjamin Gilbert <benjamin.gilbert@coreos.com>
Date:   Tue Jan 23 18:06:30 2018 -0800

    USB: serial: keyspan: Drop firmware Kconfig options

    The USB_SERIAL_KEYSPAN_* firmware options no longer do anything.
2018-02-16 01:13:30 +02:00
Tuomas Tynkkynen db38e0c7e7 kernel config: Cleanup self-test module disabling
No reason to have complex version-dependent conditionals when the
question mark already handles this just as well.

Also add RUNTIME_TESTING_MENU setting which nicely disables all of this
on >= 4.16.
2018-02-16 01:13:30 +02:00
Herwig Hochleitner 3027b80f1d linuxPackages.kernel: add feature.debug flag for enabling DEBUG_INFO 2018-02-15 09:10:32 +01:00
Herwig Hochleitner 66080ae4d8 programs.criu: add nixos option for installing criu + kernel flags 2018-02-15 09:10:32 +01:00
Tim Steinbach 45e9b7b1c1
linux: 4.9.80 -> 4.9.81 2018-02-13 12:44:43 -05:00
Tim Steinbach 3b9f6874d8
linux: 4.14.18 -> 4.14.19 2018-02-13 12:40:34 -05:00
Vladimír Čunát 5e62091c45
Merge #34882: linux: use absolute paths for compilers
This is needed to really build linux with gcc7 after ae040525d.
2018-02-12 22:20:31 +01:00
Vladimír Čunát 3d24c5eecc linux: use absolute paths for compilers
HOSTCC was taking precedence before stdenv's normal CC,
at least in case of non-cross build.
2018-02-12 14:00:51 -05:00
Tim Steinbach 8a60770f6b
linux-copperhead: 4.15.2.a -> 4.15.3.a 2018-02-12 07:56:21 -05:00
Tim Steinbach 71a2ffaa63
linux: 4.15.2 -> 4.15.3 2018-02-12 07:53:22 -05:00
Vladimír Čunát 169216fe14
linuxPackages: build by kernel's stdenv 2018-02-11 18:55:21 +01:00
Vladimír Čunát ae040525d8
linux-*: build with gcc7, but allow overriding it
I expect we will revert this after general upgrade to gcc7.
See https://github.com/NixOS/nixpkgs/issues/34383
2018-02-11 18:55:18 +01:00
Tuomas Tynkkynen 6d8c1fe01c linux: Use concatStringsSep 2018-02-11 00:17:47 +02:00
Jörg Thalheim 3b8bb02f68
Merge pull request #34792 from dywedir/bcachefs
linux_testing_bcachefs: 4.11.2017.08.23 -> 4.15.2018.02.09
2018-02-10 08:20:35 +00:00
dywedir bad837fd3b linux_testing_bcachefs: 4.11.2017.08.23 -> 4.15.2018.02.09 2018-02-10 00:41:04 +02:00
Jan Malakhovski 3a2ee6e5c3 linuxPackages: introduce hardenedLinuxPackagesFor and cleanup some expressions using it 2018-02-09 19:50:04 +00:00
Michael Raskin a600b621c8 linux_4_15: fix a partial version downgrade on staging merge 2018-02-08 12:43:08 +01:00
Frederik Rietdijk 50a9d51a09 Merge commit '30d031b5d8d05422586043c3f105f4d9110e4f59' into HEAD 2018-02-08 12:14:07 +01:00
Tim Steinbach c46a833e6c
linux-copperhead: 4.15.1.a -> 4.15.2.a 2018-02-07 19:47:20 -05:00
Tim Steinbach 9f3d57a31f
linux: 4.15.1 -> 4.15.2 2018-02-07 19:36:35 -05:00
Tim Steinbach 0b43d5a9cf
linux: 4.14.17 -> 4.14.18 2018-02-07 19:36:21 -05:00
Tuomas Tynkkynen 4c6c919a31 Merge remote-tracking branch 'upstream/master' into HEAD
Conflicts:
	pkgs/os-specific/linux/kernel/generic.nix
2018-02-07 03:41:24 +02:00
Tuomas Tynkkynen 685ceb999e kernel: Fix missing config options from platform
common-config.nix has:

${kernelPlatform.kernelExtraConfig or ""}

and indeed kernelExtraConfig is in hostPlatform.platform, and not in
hostPlatform. (Ugh.).
2018-02-06 22:13:57 +02:00
Matthieu Coudron f620b1b693 kernel: buildLinux replaces import ./generic.nix
- defined buildLinux as generic.nix instead of manual-config.nix. This
makes kernel derivations a tad more similar to your typical derivations.
- moved $buildRoot to within the source folder, this way it doesn't have to be created before the unpackPhase
and make it easier to work on kernel source without running the unpackPhase
2018-02-07 10:07:13 +09:00
Tim Steinbach 8c280d3ad5
linux: 4.15 -> 4.15.1 2018-02-03 20:38:25 -05:00
Tim Steinbach 4069faad7f
linux-copperhead: 4.15.a -> 4.15.1.a 2018-02-03 20:36:14 -05:00
Tim Steinbach fcbb7da942
linux: 4.4.114 -> 4.4.115 2018-02-03 20:31:52 -05:00
Tim Steinbach e5ffae3966
linux: 4.14.16 -> 4.14.17 2018-02-03 20:29:23 -05:00
Tim Steinbach d6d4ef6580
linux: 4.9.79 -> 4.9.80 2018-02-03 20:27:04 -05:00
Tim Steinbach 6aa13b6b1d
linux: 4.9.78 -> 4.9.79 2018-01-31 09:06:30 -05:00
Tim Steinbach 26e06c9a92
linux: 4.4.113 -> 4.4.114 2018-01-31 09:06:17 -05:00
Tim Steinbach 27f5262cf2
linux: 4.14.15 -> 4.14.16 2018-01-31 09:05:54 -05:00
Tim Steinbach 61043ad4d1
linux: Add 4.15 2018-01-29 11:52:50 -05:00
Tim Steinbach da26e92078
linux-copperhead: 4.14.15.a -> 4.15.a 2018-01-29 11:52:50 -05:00
Tim Steinbach 3391266ee7
linux-copperhead: 4.14.14.a -> 4.14.15.a 2018-01-25 09:12:03 -05:00
Tuomas Tynkkynen d9aebebaf5 Revert "perf: apply patch to fix build of 4.9"
This reverts commit 44dc31bad1.

The patch has been applied in 4.9.78, so no need to have this in
nixpkgs anymore.
2018-01-23 23:17:24 +02:00
Tuomas Tynkkynen acf5b8e662 kernel: 4.9.77 -> 4.9.78 2018-01-23 23:17:24 +02:00
Tuomas Tynkkynen 4276c0d898 kernel: 4.4.112 -> 4.4.113 2018-01-23 23:17:24 +02:00
Tuomas Tynkkynen 1481937af2 kernel: 4.14.14 -> 4.14.15 2018-01-23 23:17:24 +02:00
Tuomas Tynkkynen a2b8264377 linux_testing: 4.15-rc8 -> 4.15-rc9 2018-01-22 10:44:50 +02:00
Ben Wolsieffer 94276da9e9 perf: inherit makeFlags from kernel 2018-01-21 13:54:39 +02:00
Ben Wolsieffer 44dc31bad1 perf: apply patch to fix build of 4.9 2018-01-21 13:54:39 +02:00
Will Dietz 4ca9b43f12 perf: fix cross evaluation 2018-01-18 10:47:40 -06:00
Will Dietz fc4535b6e8 Revert "perf: inherit makeFlags from kernel"
https://github.com/NixOS/nixpkgs/issues/34013

This reverts commit 92083c3f40.
2018-01-18 10:47:26 -06:00
Drew Hess 83a85b60ad linux_beagleboard: 4.9.61-ti-r76 -> 4.14.12-ti-r23 2018-01-18 17:04:47 +02:00
Tim Steinbach 696be7a0b0
linux-copperhead: 4.14.13.a -> 4.14.14.a 2018-01-17 13:30:16 -05:00
Tim Steinbach 791d5b3cc0
linux: 4.4.111 -> 4.4.112 2018-01-17 08:57:19 -05:00
Tim Steinbach c460e268bf
linux: 4.9.76 -> 4.9.77 2018-01-17 08:57:19 -05:00
Tim Steinbach 94d03b3b21
linux: 4.14.13 -> 4.14.14 2018-01-17 08:57:19 -05:00
Ben Wolsieffer 7bb3a044be kernel: fix dependencies 2018-01-15 22:28:45 -05:00
Ben Wolsieffer 80f6b8e2ba kernel: revert seemingly incorrect change to extraMeta merging 2018-01-15 12:55:24 -05:00
Ben Wolsieffer 92083c3f40 perf: inherit makeFlags from kernel 2018-01-15 12:48:56 -05:00
Ben Wolsieffer 285181a1db kernel: remove leftover remnants of old cross compiling system 2018-01-15 12:48:51 -05:00
Ben Wolsieffer a09709bf2a kernel: don't force ignoreConfigErrors when cross compiling, only set the
default
2018-01-15 12:39:45 -05:00
Ben Gamari b4b04dd29f kernel: Fix cross-compilation 2018-01-15 11:55:23 -05:00
Ben Gamari 50e2bb12f6 kernel: Use build kmod 2018-01-15 11:55:23 -05:00
Ben Gamari 7a9b6ac39a kernel: Enable cross compiling 2018-01-15 11:55:06 -05:00
Tuomas Tynkkynen 6e84522610 linux_testing: 4.15-rc7 -> 4.15-rc8 2018-01-15 12:14:39 +02:00
Vladimír Čunát 67e8392383
Merge #33057: stdenv meta checks: make them lazy
Closes #22277 - it's superseded;  I have some WIP on evaluation
performance, but best do that in a separate PR/thread.
2018-01-14 21:41:31 +01:00
Jan Malakhovski 85cd22cf7d treewide: replace addPassthru 2018-01-14 19:53:57 +00:00
Jan Malakhovski 8606dd8556 lib: change the order of arguments of addPassthru 2018-01-14 13:24:30 +00:00
Tim Steinbach eb0ecd7eba
linux-copperhead: 4.14.12.a -> 4.14.13.a 2018-01-11 08:30:19 -05:00
Andreas Rammhold 74c9d1696f
linux_4_9: 4.9.75 -> 4.9.76 2018-01-10 13:50:49 +01:00
Andreas Rammhold e94dab0ca3
linux_4_4: 4.4.110 -> 4.4.111 2018-01-10 13:50:49 +01:00
Andreas Rammhold cf8021e73a
linux_4_14: 4.14.12 -> 4.14.13
In terms of spectre/meltdown this version also supports loading of amd
fam17h firmware.
2018-01-10 13:50:45 +01:00
Andreas Rammhold c864b07d09
linux_testing: 4.15-rc4 -> 4.15-rc7 2018-01-08 15:05:24 +01:00
Eelco Dolstra 424aa1a681
Merge pull request #33505 from peterhoeg/f/wbt
kernel: enable writeback throttling to avoid IO queues filling up
2018-01-08 11:23:00 +01:00
Tuomas Tynkkynen dc84ce085f linux_samus_4_12: Doesn't build on aarch64
https://hydra.nixos.org/build/67137766
2018-01-07 15:26:20 +02:00
Andreas Rammhold e5715d92a7 linux_hardened_copperhead: 4.14.11a -> 4.14.12a 2018-01-06 18:40:35 +01:00
Peter Hoeg f674cb5ecc kernel: enable writeback throttling to avoid IO queues filling up 2018-01-06 11:20:48 +08:00
Tim Steinbach 6960541eb8
linux: 4.4.109 -> 4.4.110 2018-01-05 10:35:10 -05:00
Tim Steinbach b5ce60228d
linux: 4.14.11 -> 4.14.12 2018-01-05 10:35:10 -05:00
Eelco Dolstra 19eb5d6c27
linux: 4.9.74 -> 4.9.75 2018-01-05 16:28:08 +01:00
Franz Pletz ccb0ba56ef
linux_hardended: enable gcc latent entropy plugin 2018-01-04 05:02:39 +01:00
Tim Steinbach b720e9c23a
linux-copperhead: 4.14.10.a -> 4.14.11.a 2018-01-02 19:38:01 -05:00
Tim Steinbach 1e129a3f99
linux: 4.14.10 -> 4.14.11 2018-01-02 19:31:31 -05:00
Tim Steinbach 56f91dcb7b
linux: 4.9.73 -> 4.9.74 2018-01-02 19:31:14 -05:00