Skip to content

Add Linux 4.7.3 #119

Merged
merged 2 commits into from
Sep 9, 2016
Merged

Add Linux 4.7.3 #119

merged 2 commits into from
Sep 9, 2016

Commits on Sep 8, 2016

  1. linux: Add stable version 4.7.3, select CPU_FREQ

    Do as Greg says [1]:
    
    > All users of the 4.7 kernel series must upgrade.
    
    Summary of changes [2][3]:
    
    > ### AMDGPU, Intel i915, and Btrfs improvements, many updated drivers ###
    >
    > Looking at the changelog, we can notice that Linux kernel 4.7.3 comes
    > with several improvements to the Btrfs file system, many updated
    > drivers, in particular for things like AMDGPU, Intel i915, hwmon, I2C,
    > iiO, IOMMU, MD, PCI, PINCTRL, s390, USB, SCSI, VFIO, Virtio, GPIO,
    > EDAC, DAX, DMA, ACPI, CLK, and Crypto, as well as some enhancements to
    > the ARC, ARM64 (AArch64), PA-RISC, and x86 hardware architectures.
    >
    > Last but not least, the networking and sound stacks have been improved
    > as well, with support for new sound devices, as well as various
    > changes to the mac80211 wireless framework and SunRPC protocol. If
    > you're using a GNU/Linux distribution powered by a kernel from the
    > Linux 4.7 series, we recommend that you update to Linux kernel 4.7.3
    > as soon as possible.  The sources are available for download right now
    > via our website or from kernel.org.
    
    Also, enable frequency scaling.
    
    ```
    > diff -u /boot/config-4.7.2.mx64.99 /boot/config-4.7.3.mx64.102
    --- /boot/config-4.7.2.mx64.99	2016-08-23 10:10:49.000000000 +0200
    +++ /boot/config-4.7.3.mx64.102	2016-09-08 19:27:06.000000000 +0200
    @@ -1,6 +1,6 @@
     #
     # Automatically generated file; DO NOT EDIT.
    -# Linux/x86 4.7.2 Kernel Configuration
    +# Linux/x86 4.7.3 Kernel Configuration
     #
     CONFIG_64BIT=y
     CONFIG_X86_64=y
    @@ -53,7 +53,7 @@
     CONFIG_INIT_ENV_ARG_LIMIT=32
     CONFIG_CROSS_COMPILE=""
     # CONFIG_COMPILE_TEST is not set
    -CONFIG_LOCALVERSION=".mx64.99"
    +CONFIG_LOCALVERSION=".mx64.102"
     CONFIG_LOCALVERSION_AUTO=y
     CONFIG_HAVE_KERNEL_GZIP=y
     CONFIG_HAVE_KERNEL_BZIP2=y
    @@ -609,7 +609,40 @@
     #
     # CPU Frequency scaling
     #
    -# CONFIG_CPU_FREQ is not set
    +CONFIG_CPU_FREQ=y
    +CONFIG_CPU_FREQ_GOV_ATTR_SET=y
    +CONFIG_CPU_FREQ_GOV_COMMON=y
    +CONFIG_CPU_FREQ_STAT=y
    +# CONFIG_CPU_FREQ_STAT_DETAILS is not set
    +CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
    +# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
    +# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
    +# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
    +# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
    +# CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set
    +CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
    +CONFIG_CPU_FREQ_GOV_POWERSAVE=m
    +CONFIG_CPU_FREQ_GOV_USERSPACE=m
    +CONFIG_CPU_FREQ_GOV_ONDEMAND=m
    +CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m
    +CONFIG_CPU_FREQ_GOV_SCHEDUTIL=m
    +
    +#
    +# CPU frequency scaling drivers
    +#
    +CONFIG_X86_INTEL_PSTATE=y
    +# CONFIG_X86_PCC_CPUFREQ is not set
    +CONFIG_X86_ACPI_CPUFREQ=m
    +CONFIG_X86_ACPI_CPUFREQ_CPB=y
    +CONFIG_X86_POWERNOW_K8=m
    +CONFIG_X86_AMD_FREQ_SENSITIVITY=m
    +# CONFIG_X86_SPEEDSTEP_CENTRINO is not set
    +# CONFIG_X86_P4_CLOCKMOD is not set
    +
    +#
    +# shared options
    +#
    +# CONFIG_X86_SPEEDSTEP_LIB is not set
    
     #
     # CPU Idle
    ```
    
    This addresses the Linux warnings below.
    
    ```
    Sep 07 16:54:36 keineahnung.molgen.mpg.de kernel: acpi PNP0C0B:04: Failed to set initial power state
    Sep 07 16:54:36 keineahnung.molgen.mpg.de kernel: acpi PNP0C0B:04: Cannot transition from (unknown) to D3hot
    Sep 07 16:54:36 keineahnung.molgen.mpg.de kernel: Monitor-Mwait will be used to enter C-1 state
    Sep 07 16:54:36 keineahnung.molgen.mpg.de kernel: Monitor-Mwait will be used to enter C-2 state
    Sep 07 16:54:36 keineahnung.molgen.mpg.de kernel: Monitor-Mwait will be used to enter C-3 state
    Sep 07 16:54:36 keineahnung.molgen.mpg.de kernel: Warning: Processor Platform Limit event detected, but not handled.
    Sep 07 16:54:36 keineahnung.molgen.mpg.de kernel: Consider compiling CPUfreq support into your kernel.
    ```
    
    [1] https://lkml.org/lkml/2016/9/7/69
    [2] http://news.softpedia.com/news/linux-kernel-4-7-3-released-with-btrfs-and-amdgpu-improvements-bugfixes-508063.shtml
    [3] https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.7.3
    pmenzel committed Sep 8, 2016
    Configuration menu
    Copy the full SHA
    a6557b9 View commit details
    Browse the repository at this point in the history
  2. nvidia_linux: Build 340.96 and 367.18 for Linux 4.7.3

    Use the older version 367.18, as the newer version 367.44 causes
    problems for the CUDA users.
    pmenzel committed Sep 8, 2016
    Configuration menu
    Copy the full SHA
    8f0bc41 View commit details
    Browse the repository at this point in the history