Commit Graph
2346 Commits
Author SHA1 Message Date
Vladimír Čunát 3e6c5a25f3 Merge branch 'staging'
In particular, this upgrades the default gcc: 6 -> 7.
Fixes #27794, /cc #31747.
2018-02-22 00:32:46 +01:00
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