Commit graph

336 commits

Author SHA1 Message Date
Evgenii Shatokhin
3663fa6899 Allow to set the default loglevel threshold for the console at build time
...And set it to 3, which should only allow to print the messages with
KERN_EMERG, KERN_ALERT and KERN_CRIT levels. This should make the boot
process less noisy.

Can be overridden with loglevel=n boot option.
2017-03-12 17:09:04 +03:00
Evgenii Shatokhin
b903081a5c Added a patch to fix the support for RT3290-based WiFi devices 2017-03-12 16:50:52 +03:00
Evgenii Shatokhin
3de6930ecf Removed the upstreamed patches 2017-03-12 16:14:07 +03:00
Evgenii Shatokhin
05af90b1e4 Release up 2017-03-09 15:13:47 +03:00
Evgenii Shatokhin
80c29b9ae6 Partially revert mainline commit 92923ca to fix a regression
The following commit seems to cause problems with hibernation on 32-bit
systems:

  commit 92923ca3aacef63c92dc297a75ad0c6dfe4eab37
  Author: Nathan Zimmer <nzimmer@sgi.com>
  Date:   Tue Jun 30 14:56:48 2015 -0700

      mm: meminit: only set page reserved in the memblock region

Without this commit, it takes less than 10-15 seconds on our test system
(https://linux-hardware.org/index.php?probe=e6a06c64c7) from
"systemctl hibernate" command till the system powers off. With the
mainline kernels 4.2-4.7, the system resumes OK.

With this commit, it takes more than 2 minutes for that system to
hibernate and it usually hangs on resume.

Let us revert the main parts of this commit in the 32-bit kernels for
now.
2017-03-09 15:02:52 +03:00
Evgenii Shatokhin
3e203e9f79 Added patches from the stable queue 2017-02-24 22:32:57 +03:00
Evgenii Shatokhin
3c1f50de39 Updated to version 4.1.12 2017-02-24 22:16:35 +03:00
Evgenii Shatokhin
324e0c35da Updated to version 4.9.11 2017-02-18 22:22:44 +03:00
Evgenii Shatokhin
b82708aad4 Updated to version 4.9.9 2017-02-10 13:14:04 +03:00
Evgenii Shatokhin
f10040858a Updated to version 4.9.7 2017-02-01 22:19:39 +03:00
Evgenii Shatokhin
10aa95b125 Release up 2017-01-21 22:28:43 +03:00
Evgenii Shatokhin
9e20e2f56c Use versioned 'Obsoletes' for cpufreq and cpufrequtils 2017-01-21 22:28:16 +03:00
Evgenii Shatokhin
4edb569773 Updated to version 4.9.5 2017-01-21 17:36:36 +03:00
Evgenii Shatokhin
70d094429e Updated to version 4.9.4 2017-01-15 19:29:46 +03:00
Evgenii Shatokhin
b9bef1e0ce Updated to version 4.9.3 2017-01-13 17:33:31 +03:00
Evgenii Shatokhin
0405522bc1 Updated to version 4.9.2 2017-01-10 17:21:41 +03:00
Evgenii Shatokhin
367fefb614 Updated to version 4.9.1 - the 1st take 2017-01-06 21:19:39 +03:00
Evgenii Shatokhin
1c53a53098 Added the files for 4.9.0
Including a fake patch patch-4.9.0.xz that does nothing - just to avoid
changing spec file a lot.
2017-01-05 18:48:49 +03:00
Evgenii Shatokhin
b32d565192 Updated to version 4.8.14 2016-12-11 20:31:31 +03:00
Evgenii Shatokhin
d5366e222d Updated to version 4.8.12 2016-12-04 16:44:57 +03:00
Evgenii Shatokhin
71bc655e65 Updated to version 4.8.11 2016-11-27 21:28:27 +03:00
Evgenii Shatokhin
9e4e8bacaf Updated to version 4.8.10 2016-11-21 17:20:47 +03:00
Evgenii Shatokhin
5b075ee3b7 Added a patch to work around the issues with Intel HD 5xx GPUs
https://bugs.freedesktop.org/show_bug.cgi?id=97822
http://bugs.rosalinux.ru/show_bug.cgi?id=7533

Allows to specify i915.vbt_sdvo_panel_type=0 in the kernel command line
at boot time as a workaround to the above issues.
2016-11-21 17:13:00 +03:00
Evgenii Shatokhin
c0ded65cca Updated to version 4.8.8 2016-11-15 18:47:57 +03:00
Evgenii Shatokhin
b945784e63 Updated to version 4.8.7 2016-11-11 22:32:00 +03:00
Evgenii Shatokhin
cbfb2a9197 Updated to version 4.8.6 2016-11-01 11:46:09 +03:00
Evgenii Shatokhin
eced5244ca Do not meddle with 'Documentation/DocBook/media/*.b64' 2016-10-24 11:02:17 +03:00
Evgenii Shatokhin
0260460708 Updated to version 4.8.4, the first take
Besides the upstream kernel update to 4.8.x, the following changes were
made:

* BFQ was updated to v8r4
* AUFS was updated to version 4.8-20161010
2016-10-23 22:01:06 +03:00
Evgenii Shatokhin
bc7a217f8e Updated to version 4.7.9 2016-10-21 15:17:29 +03:00
Evgenii Shatokhin
4fc279050a Updated to version 4.7.8 2016-10-17 18:57:40 +03:00
Evgenii Shatokhin
4112dcc178 Updated to version 4.7.7 2016-10-08 21:41:05 +03:00
Evgenii Shatokhin
41c61e07eb Updated to version 4.7.6 2016-09-30 22:00:26 +03:00
Evgenii Shatokhin
b5c9cb5405 Updated to version 4.7.5 2016-09-25 16:30:25 +03:00
Evgenii Shatokhin
72851070e5 Updated to version 4.7.4 2016-09-16 18:12:58 +03:00
Evgenii Shatokhin
aed506f599 Updated to version 4.7.3 2016-09-09 18:01:01 +03:00
Evgenii Shatokhin
d621eef633 Updated BFQ to v8r3
Changes since v8r2:

* BUGFIX:
Update weight-raising coefficient when switching from interactive to soft
real-time.
2016-09-09 17:55:10 +03:00
Evgenii Shatokhin
7f79fc7648 Version of libcpupower.so changed to 0.0.1, take this into account 2016-08-23 21:35:47 +03:00
Evgenii Shatokhin
e7a7e32ae0 Revisited the patches and configs for the kernel 4.7.x 2016-08-23 16:24:13 +03:00
Evgenii Shatokhin
46b844c77d Updated to version 4.6.7 2016-08-17 14:05:08 +03:00
Evgenii Shatokhin
9e4cb88857 Removed unused stuff 2016-07-29 22:51:19 +03:00
Evgenii Shatokhin
5533da8c64 Updated to version 4.6.5 2016-07-29 13:47:55 +03:00
Evgenii Shatokhin
9d9b9b948c Revisited memory sanitization mechanism for 4.6.x
1. Got rid of statistics to simplify maintenance. Changing global
kernel structures is not a thing to take lightly.

2. Removed sanitization of pages. Starting from kernel 4.6, page
poisoning should be used instead. To enable it, set page_poison=on in
the boot options for the kernel.

3. The sanitization patch is now applied only if enhanced security is
enabled (disabled by default for ROSA Fresh, enabled for cert. builds).

You can also use "rpmbuild -ba --with enhanced_security <...>" to force
enable the feature.
2016-07-29 13:39:16 +03:00
Evgenii Shatokhin
16da528365 Require development files of libcrypto for the build: Perf may need them 2016-07-26 18:18:51 +03:00
Evgenii Shatokhin
870fa28828 Process the headers needed for SELinux 2016-07-26 17:11:01 +03:00
Evgenii Shatokhin
2704c491b7 Release up for a rebuild 2016-07-26 16:18:47 +03:00
Evgenii Shatokhin
7a379a810d Require more recent firmware 2016-07-26 13:23:48 +03:00
Evgenii Shatokhin
61fcf120c7 Removed the conflicts with and obsoletes for the driver packages
It does not work. Say, kernel 4.6.x does not support broadcom-wl version
5.x. However, installing kernel 4.6.x should not remove that driver
because the user might have a different kernel installed that supports
it.

It would be cleaner if the driver packages specified the minimum required
kernel versions, "kernel >= x.y.z" (the kernel has the appropriate
"Provides" for that). Same for the maximum kernel versions supported by
the driver.

Similar for the obsoletes: this kernel may provide the listed drivers
but we cannot be sure about other kernels the user might have installed.
A safer route seems to be not to require dkms-* directly but rather -
via "Requires: kmod(xxx)". Again, it is not the kernel's responsibility
to keep track of all this.

While at it, cleaned up the spec a bit more.
2016-07-26 12:14:03 +03:00
Evgenii Shatokhin
7b27d594bb Do not build the RPM with the sources by default
If anyone needs the sources of our kernel, they can easily get an SRPM,
unpack it and run "rpmbuild -bp" to get the properly patched source
tree.

The configuration files for the different kernel flavours will also be
available in that source tree, in arch/x86/configs/.

Let us save a bit of a build time then and not build the RPM with the
sources by default.
2016-07-26 11:45:23 +03:00
Evgenii Shatokhin
32b2537bcc Removed some distro-specific descriptions and comments
Mandriva seems to use these kernels no longer, their ones are different.
ROSA may use other kernels as well.
2016-07-26 11:41:00 +03:00
Evgenii Shatokhin
e42e28c709 Keep the patches in the kernel project instead of a separate one
Earlier, the patches were kept in the respective branches of a separate
project, https://abf.io/soft/kernel-patches-and-configs. And before that -
in the custom tarballs.

Now all the patches are kept here along with the spec file and are
applied the default way rather than by separate scripts. This should
make the maintenance of the patches as well as the experiments with the
new ones a lot easier.

The previous scheme seemed to offer a bit more flexibility (different
patch sets for different cases) at the cost of maintenance. But as it
turned out,  that flexibility was not worth it and was rarely used,
at most.
2016-07-26 11:24:24 +03:00