Skip to content
**DEPRECATED** Use distro-provided kernel
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
scripts Save the full sha1sum of the commit we generate patch-4.y-*-gitN from Sep 28, 2015
.gitignore add kernel-4* to .gitignore Mar 13, 2015
ACPI-Limit-access-to-custom_method.patch Linux v4.2-10637-ga794b4f32921 Sep 9, 2015
ARM-tegra-usb-no-reset.patch Linux v4.1-11235-gc63f887bdae8 Jun 29, 2015
Add-EFI-signature-data-types.patch Linux v4.3-1107-g66ef349 Nov 4, 2015
Add-an-EFI-signature-blob-parser-and-key-loader.patch Linux v4.2-10637-ga794b4f32921 Sep 9, 2015
Add-multitouch-support-for-Microsoft-Type-Cover-3.patch Fix up patch Nov 15, 2015
Add-option-to-automatically-enforce-module-signature.patch Linux v4.2-10637-ga794b4f32921 Sep 9, 2015
Add-secure_modules-call.patch
Add-sysrq-option-to-disable-secure-boot-mode.patch Linux v4.2-10637-ga794b4f32921 Sep 9, 2015
HID-multitouch-Add-MT_QUIRK_NOT_SEEN_MEANS_UP-to-MT_.patch Add touchscreen patch from Daniel Martin Dec 14, 2015
HID-multitouch-Ignore-invalid-reports.patch Other half of touchscreen patch from Daniel Martin Dec 14, 2015
Input-synaptics-pin-3-touches-when-the-firmware-repo.patch Linux v4.2-rc2 Jul 13, 2015
KEYS-Add-a-system-blacklist-keyring.patch Linux v4.4-8606-g5807fca Jan 18, 2016
Kbuild-Add-an-option-to-enable-GCC-VTA.patch Linux v4.2-rc2 Jul 13, 2015
MODSIGN-Import-certificates-from-UEFI-Secure-Boot.patch Linux v4.2-11142-gb0a1ea51bda4 Sep 11, 2015
MODSIGN-Support-not-importing-certs-from-db.patch Linux v4.2-10637-ga794b4f32921 Sep 9, 2015
Makefile v4.4-1175-g03891f9 Jan 12, 2016
Makefile.config Reorganisation and cleanup of the powerpc configs Jun 26, 2015
Makefile.release v4.4-1175-g03891f9 Jan 12, 2016
Microsoft-Surface-Pro-4-Surface-Book-camera-support.patch Add back patch for Surface Pro 4 / Surface Book cameras Dec 14, 2015
PCI-Lock-down-BAR-access-when-module-security-is-ena.patch Linux v4.2-10637-ga794b4f32921 Sep 9, 2015
PatchList.txt Linux v3.13-rc1-77-g4c1cc40 Nov 24, 2013
README.txt document inheritance/heirarchy of config generation Jan 13, 2012
Restrict-dev-mem-and-dev-kmem-when-module-loading-is.patch Linux v4.2-10637-ga794b4f32921 Sep 9, 2015
TODO re-enable RCU_FAST_NO_HZ, enable NO_HZ_FULL on x86_64 Sep 17, 2014
acpi-Ignore-acpi_rsdp-kernel-parameter-when-module-l.patch Linux v4.2-10637-ga794b4f32921 Sep 9, 2015
amd-xgbe-a0-Add-support-for-XGBE-on-A0.patch Update AMD xgbe driver for 4.4 Nov 23, 2015
amd-xgbe-phy-a0-Add-support-for-XGBE-PHY-on-A0.patch Update AMD xgbe driver for 4.4 Nov 23, 2015
arm-i.MX6-Utilite-device-dtb.patch Linux v4.1-rc2-79-g0e1dc4274828 May 7, 2015
arm64-acpi-drop-expert-patch.patch Linux v4.2-rc1 Jul 6, 2015
arm64-avoid-needing-console-to-enable-serial-console.patch Linux v4.3-6681-g8e483ed Nov 5, 2015
asus-wmi-Restrict-debugfs-interface-when-module-load.patch Linux v4.2-10637-ga794b4f32921 Sep 9, 2015
ath9k-rx-dma-stop-check.patch Linux v4.1-rc2-79-g0e1dc4274828 May 7, 2015
config-arm-generic Linux v4.4-10062-g30f0530 Jan 21, 2016
config-arm64 Linux v4.4-10062-g30f0530 Jan 21, 2016
config-armv7 Linux v4.4-10062-g30f0530 Jan 21, 2016
config-armv7-generic Linux v4.4-10062-g30f0530 Jan 21, 2016
config-armv7-lpae Linux v4.4-8855-ga200dcb Jan 19, 2016
config-debug v4.4-1175-g03891f9 Jan 12, 2016
config-generic Linux v4.4-8855-ga200dcb Jan 19, 2016
config-i686-PAE Clean up config files Dec 10, 2015
config-local Add support for local rebuild config option overrides Jan 10, 2011
config-no-extra disable extras on arm Oct 3, 2013
config-nodebug v4.4-1175-g03891f9 Jan 12, 2016
config-powerpc64 Linux v4.2-rc1 Jul 6, 2015
config-powerpc64-generic Linux v4.4-8606-g5807fca Jan 18, 2016
config-powerpc64le Enable CHECKPOINT_RESTORE on power64le for CRIU feature Sep 8, 2015
config-powerpc64p7 Reorganisation and cleanup of the powerpc configs Jun 26, 2015
config-s390x Linux v4.4-5593-g7fdec82 Jan 14, 2016
config-x86-32-generic Linux v4.4-8606-g5807fca Jan 18, 2016
config-x86-generic Linux v4.4-8950-g2b4015e Jan 20, 2016
config-x86_64-generic Linux v4.4-rc8 Jan 10, 2016
cpupower.config Create the kernel-tools package. WHEE Aug 18, 2011
cpupower.service Create the kernel-tools package. WHEE Aug 18, 2011
crash-driver.patch Linux v4.1-11355-g6aaf0da8728c Jun 30, 2015
criu-no-expert.patch Linux v4.2-rc1 Jul 6, 2015
die-floppy-die.patch Linux v4.1-rc2-79-g0e1dc4274828 May 7, 2015
disable-i8042-check-on-apple-mac.patch Linux v4.2-9700-g7d9071a09502 Sep 8, 2015
drm-i915-hush-check-crtc-state.patch Linux v4.2-9700-g7d9071a09502 Sep 8, 2015
drm-i915-turn-off-wc-mmaps.patch Linux v4.1-11235-gc63f887bdae8 Jun 29, 2015
drm-udl-Use-unlocked-gem-unreferencing.patch Fix unlocked gem warning (rhbz 1295646) Jan 7, 2016
efi-Add-EFI_SECURE_BOOT-bit.patch Linux v4.3-1107-g66ef349 Nov 4, 2015
efi-Disable-secure-boot-if-shim-is-in-insecure-mode.patch Linux v4.2-10637-ga794b4f32921 Sep 9, 2015
efi-Make-EFI_SECURE_BOOT_SIG_ENFORCE-depend-on-EFI.patch Linux v4.2-10637-ga794b4f32921 Sep 9, 2015
filter-aarch64.sh filters: move firewire mwave w1 from core to modules Jan 15, 2016
filter-armv7hl.sh filters: drmdrvs: add amd, i2c, i915, and radeon plus ARMv7 specific … Jan 15, 2016
filter-i686.sh filters: move firewire mwave w1 from core to modules Jan 15, 2016
filter-modules.sh filters: filter char drivers mwave pcmcia Jan 17, 2016
filter-ppc64.sh filters: move firewire mwave w1 from core to modules Jan 15, 2016
filter-ppc64le.sh filters: move firewire mwave w1 from core to modules Jan 15, 2016
filter-ppc64p7.sh filters: move firewire mwave w1 from core to modules Jan 15, 2016
filter-s390x.sh Rename kernel-drivers to kernel-modules May 2, 2014
filter-x86_64.sh Rename kernel-drivers to kernel-modules May 2, 2014
firmware-Drop-WARN-from-usermodehelper_read_trylock-.patch Linux v4.2-rc2 Jul 13, 2015
gitrev Linux v4.4-10062-g30f0530 Jan 21, 2016
hibernate-Disable-in-a-signed-modules-environment.patch Linux v4.2-10637-ga794b4f32921 Sep 9, 2015
ideapad-laptop-Add-Lenovo-ideapad-Y700-17ISK-to-no_h.patch Fix rfkill issues on ideapad Y700-17ISK (rhbz 1286293) Dec 10, 2015
input-kill-stupid-messages.patch Linux v4.1-rc2-79-g0e1dc4274828 May 7, 2015
kbuild-AFTER_LINK.patch v4.4-3408-g6799060 Jan 13, 2016
kernel.spec Remove upstream merged UVC patch Jan 21, 2016
kexec-Disable-at-runtime-if-the-kernel-enforces-modu.patch Linux v4.2-11142-gb0a1ea51bda4 Sep 11, 2015
kexec-uefi-copy-secure_boot-flag-in-boot-params.patch kexec/uefi: copy secure boot flag in boot params across kexec reboot Aug 7, 2015
lib-cpumask-Make-CPUMASK_OFFSTACK-usable-without-deb.patch Linux v4.1-11355-g6aaf0da8728c Jun 30, 2015
lis3-improve-handling-of-null-rate.patch Linux v4.2-rc1 Jul 6, 2015
merge.pl initial srpm import Jul 29, 2010
mod-extra.list sort mod-extra.list alphabetically (NFC) Sep 9, 2015
mod-extra.sh Prep mod-extra.sh for signed modules Sep 25, 2012
mod-sign.sh simplify the signing stuff now that sign-file takes pub/priv key args Mar 28, 2013
no-pcspkr-modalias.patch Linux v4.1-rc2-79-g0e1dc4274828 May 7, 2015
ptrace-being-capable-wrt-a-process-requires-mapped-u.patch CVE-2015-8709 ptrace: potential priv escalation with userns (rhbz 129… Jan 5, 2016
rebase-notes.txt drop i915 patch to turn off wc mmaps Jan 12, 2016
rtlwifi-rtl8821ae-Fix-5G-failure-when-EEPROM-is-inco.patch Fix incorrect country code issue on RTL8812AE devices (rhbz 1279653) Jan 21, 2016
scsi-sd_revalidate_disk-prevent-NULL-ptr-deref.patch Linux v4.4-rc4 Dec 7, 2015
silence-fbcon-logo.patch Linux v4.1-11235-gc63f887bdae8 Jun 29, 2015
sources Linux v4.4-10062-g30f0530 Jan 21, 2016
tty-Fix-unsafe-ldisc-reference-via-ioctl-TIOCGETD.patch CVE-2016-0723 memory disclosure and crash in tty layer (rhbz 1296253 … Jan 20, 2016
usb-serial-visor-fix-crash-on-detecting-device-witho.patch CVE-2015-7566 usb: visor: Crash on invalid USB dev descriptors (rhbz … Jan 12, 2016
watchdog-Disable-watchdog-on-virtual-machines.patch v4.4-1175-g03891f9 Jan 12, 2016
x509.genkey Switch to using modsign-post-KS upstream with x509 certs Sep 25, 2012
x86-Lock-down-IO-port-access-when-module-security-is.patch Linux v4.2-10637-ga794b4f32921 Sep 9, 2015
x86-Restrict-MSR-access-when-module-loading-is-restr.patch Linux v4.2-10637-ga794b4f32921 Sep 9, 2015
xen-pciback-Don-t-disable-PCI_COMMAND-on-PCI-device-.patch Linux v4.1-rc2-79-g0e1dc4274828 May 7, 2015

README.txt

		Kernel package tips & tricks.
		~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The kernel is one of the more complicated packages in the distro, and
for the newcomer, some of the voodoo in the spec file can be somewhat scary.
This file attempts to document some of the magic.


Speeding up make prep
---------------------
The kernel is nearly 500MB of source code, and as such, 'make prep'
takes a while. The spec file employs some trickery so that repeated
invocations of make prep don't take as long.  Ordinarily the %prep
phase of a package will delete the tree it is about to untar/patch.
The kernel %prep keeps around an unpatched version of the tree,
and makes a symlink tree clone of that clean tree and than applies
the patches listed in the spec to the symlink tree.
This makes a huge difference if you're doing multiple make preps a day.
As an added bonus, doing a diff between the clean tree and the symlink
tree is slightly faster than it would be doing two proper copies of the tree.


build logs.
-----------
There's a convenience helper script in scripts/grab-logs.sh
that will grab the build logs from koji for the kernel version reported
by make verrel


config heirarchy.
-----------------
Instead of having to maintain a config file for every arch variant we build on,
the kernel spec uses a nested system of configs.  At the top level, is
config-generic. Add options here that should be present in every possible
config on all architectures.

Beneath this are per-arch overrides. For example config-x86-generic add
additional x86 specific options, and also _override_ any options that were
set in config-generic.

The heirarchy looks like this..

                           config-generic
                                 |
                         config-x86-generic
                         |                |
             config-x86-32-generic   config-x86-64-generic

An option set in a lower level will override the same option set in one
of the higher levels.


There exist two additional overrides, config-debug, and config-nodebug,
which override -generic, and the per-arch overrides. It is documented
further below.


debug options.
--------------
This is a little complicated, as the purpose & meaning of this changes
depending on where we are in the release cycle.
If we are building for a current stable release, 'make release' has
typically been run already, which sets up the following..
- Two builds occur, a 'kernel' and a 'kernel-debug' flavor.
- kernel-debug will get various heavyweight debugging options like
  lockdep etc turned on.

If we are building for rawhide, 'make debug' has been run, which changes
the status quo to:
- We only build one kernel 'kernel'
- The debug options from 'config-debug' are always turned on.
This is done to increase coverage testing, as not many people actually
run kernel-debug.

To add new debug options, add an option to _both_ config-debug and config-nodebug,
and also new stanzas to the Makefile 'debug' and 'release' targets.

Sometimes debug options get added to config-generic, or per-arch overrides
instead of config-[no]debug. In this instance, the options should have no
discernable performance impact, otherwise they belong in the debug files.

You can’t perform that action at this time.