Go to file
Laura Abbott 1cbc899294 Fix noisy iwlwifi warning (rhbz 1205083) 2015-04-22 18:45:47 -07:00
scripts generate-git-snapshot.sh: warn if $LINUX_GIT dir is unset 2013-07-18 20:14:24 -04:00
.gitignore arm64-revert-tlb-rcu_table_free.patch: revert 5e5f6dc1 which causes 2015-03-13 12:52:43 -04:00
0001-iwlwifi-mvm-remove-WARN_ON-for-invalid-BA-notificati.patch Fix noisy iwlwifi warning (rhbz 1205083) 2015-04-22 18:45:47 -07:00
0001-lib-cpumask-Make-CPUMASK_OFFSTACK-usable-without-deb.patch Update patches with bugzilla/upstream-status fields 2013-12-17 11:16:02 -05:00
ACPI-Limit-access-to-custom_method.patch CVE-2014-8133 x86: espfix(64) bypass via set_thread_area and CLONE_SETTLS (rhbz 1172797 1174374) 2014-12-15 14:29:01 -05:00
ARM-tegra-usb-no-reset.patch Refresh patches from git tree 2015-03-18 09:19:16 -04:00
Add-EFI-signature-data-types.patch Refresh patches from git tree 2015-03-18 09:19:16 -04:00
Add-an-EFI-signature-blob-parser-and-key-loader.patch Refresh patches from git tree 2015-03-18 09:19:16 -04:00
Add-option-to-automatically-enforce-module-signature.patch Refresh patches from git tree 2015-03-18 09:19:16 -04:00
Add-secure_modules-call.patch Refresh patches from git tree 2015-03-18 09:19:16 -04:00
Add-sysrq-option-to-disable-secure-boot-mode.patch Refresh patches from git tree 2015-03-18 09:19:16 -04:00
Bluetooth-ath3k-Add-support-Atheros-AR5B195-combo-Mi.patch Refresh patches from git tree 2015-03-18 09:19:16 -04:00
HID-logitech-hidpp-add-a-module-parameter-to-keep-fi.patch Allow disabling raw mode in logitech-hidpp (rhbz 1210801) 2015-04-17 08:29:51 -04:00
HID-multitouch-add-support-of-clickpads.patch Refresh patches from git tree 2015-03-18 09:19:16 -04:00
HID-rmi-check-sanity-of-the-incoming-report.patch Linux v3.17.2 2014-10-30 14:29:04 -04:00
Input-synaptics-re-route-tracksticks-buttons-on-the-.patch Patch series to fix Lenovo *40 and Carbon X1 touchpads (rhbz 1200777 1200778) 2015-03-11 10:25:54 -04:00
Input-synaptics-remove-TOPBUTTONPAD-property-for-Len.patch Patch series to fix Lenovo *40 and Carbon X1 touchpads (rhbz 1200777 1200778) 2015-03-11 10:25:54 -04:00
Input-synaptics-remove-X1-Carbon-3rd-gen-from-the-to.patch Patch series to fix Lenovo *40 and Carbon X1 touchpads (rhbz 1200777 1200778) 2015-03-11 10:25:54 -04:00
Input-synaptics-remove-X250-from-the-topbuttonpad-li.patch Patch series to fix Lenovo *40 and Carbon X1 touchpads (rhbz 1200777 1200778) 2015-03-11 10:25:54 -04:00
Input-synaptics-retrieve-the-extended-capabilities-i.patch Patch series to fix Lenovo *40 and Carbon X1 touchpads (rhbz 1200777 1200778) 2015-03-11 10:25:54 -04:00
KEYS-Add-a-system-blacklist-keyring.patch Refresh patches from git tree 2015-03-18 09:19:16 -04:00
Kbuild-Add-an-option-to-enable-GCC-VTA.patch Refresh from git 2015-04-20 10:35:06 -04:00
MODSIGN-Import-certificates-from-UEFI-Secure-Boot.patch Refresh patches from git tree 2015-03-18 09:19:16 -04:00
MODSIGN-Support-not-importing-certs-from-db.patch CVE-2014-8133 x86: espfix(64) bypass via set_thread_area and CLONE_SETTLS (rhbz 1172797 1174374) 2014-12-15 14:29:01 -05:00
Makefile Don't enable CONFIG_DEBUG_WW_MUTEX_SLOWPATH (rhbz 1114160) 2014-08-28 10:38:28 -04:00
Makefile.config Remove ppc32 support 2014-10-06 09:19:35 -04:00
Makefile.release Don't enable CONFIG_DEBUG_WW_MUTEX_SLOWPATH (rhbz 1114160) 2014-08-28 10:38:28 -04:00
PCI-Lock-down-BAR-access-when-module-security-is-ena.patch Rebase patches from git tree 2015-03-26 09:47:24 -04:00
PatchList.txt Linux v3.13-rc1-77-g4c1cc40 2013-11-24 08:42:45 -05:00
README.txt document inheritance/heirarchy of config generation 2012-01-13 15:42:52 -05:00
Restrict-dev-mem-and-dev-kmem-when-module-loading-is.patch Refresh patches from git tree 2015-03-18 09:19:16 -04:00
Revert-Revert-ACPI-video-change-acpi-video-brightnes.patch Refresh patches from git tree 2015-03-18 09:19:16 -04:00
TODO 3.5 reminder 2012-04-30 12:20:09 -04:00
acpi-Ignore-acpi_rsdp-kernel-parameter-when-module-l.patch Refresh patches from git tree 2015-03-18 09:19:16 -04:00
acpi-video-Add-disable_native_backlight-quirk-for-Sa.patch Refresh patches from f21 branch in the git tree 2015-01-29 16:06:31 -05:00
acpi-video-Add-force-native-backlight-quirk-for-Leno.patch Fix brightness on Lenovo Ideapad Z570 (rhbz 1187004) 2015-03-20 11:38:44 -04:00
acpi-video-Allow-forcing-native-backlight-on-non-win.patch Fix brightness on Lenovo Ideapad Z570 (rhbz 1187004) 2015-03-20 11:38:44 -04:00
acpi-video-add-disable_native_backlight_quirk_for_samsung_510r.patch Add disable_native_backlight quirk for Samsung 510R (rhbz 1186097) 2015-02-11 12:32:57 -06:00
arm-dts-am335x-bone-common-add-uart2_pins-uart4_pins.patch CVE-2015-2042 rds: information handling flaw in sysctl (rhbz 1195355 1199365) 2015-03-10 08:43:37 -04:00
arm-dts-am335x-bone-common-enable-and-use-i2c2.patch CVE-2015-2042 rds: information handling flaw in sysctl (rhbz 1195355 1199365) 2015-03-10 08:43:37 -04:00
arm-dts-am335x-bone-common-setup-default-pinmux-http.patch CVE-2015-2042 rds: information handling flaw in sysctl (rhbz 1195355 1199365) 2015-03-10 08:43:37 -04:00
arm-dts-am335x-boneblack-add-cpu0-opp-points.patch Refresh patches from git tree 2015-03-18 09:19:16 -04:00
arm-dts-am335x-boneblack-lcdc-add-panel-info.patch Refresh patches from git tree 2015-03-18 09:19:16 -04:00
arm-highbank-l2-reverts.patch Refresh patches from f21 branch in the git tree 2015-01-29 16:06:31 -05:00
arm-i.MX6-Utilite-device-dtb.patch CVE-2014-8133 x86: espfix(64) bypass via set_thread_area and CLONE_SETTLS (rhbz 1172797 1174374) 2014-12-15 14:29:01 -05:00
asus-wmi-Restrict-debugfs-interface-when-module-load.patch Refresh patches from git tree 2015-03-18 09:19:16 -04:00
ath9k-rx-dma-stop-check.patch Refresh patches from f21 branch in the git tree 2015-01-29 16:06:31 -05:00
compile-fixes.patch Rename a bunch of patches. 2013-01-10 14:24:41 -05:00
config-arm-generic Linux v3.19.1 2015-03-16 12:35:05 -05:00
config-arm64 Linux v3.19.1 2015-03-16 12:35:05 -05:00
config-armv7 Disable the broken CONFIG_MSM_IOMMU (via kwizart) 2015-03-26 11:17:36 +00:00
config-armv7-generic Refix Panda on ARMv7 crash on boot 2015-03-23 13:05:07 +00:00
config-armv7-lpae Linux v3.19.1 2015-03-16 12:35:05 -05:00
config-debug Linux v3.19.1 2015-03-16 12:35:05 -05:00
config-generic Enable CONFIG_SND_BEBOB (rhbz 1204342) 2015-03-23 15:17:39 -04:00
config-i686-PAE Linux v3.17 2014-10-06 13:00:30 -04:00
config-local Add support for local rebuild config option overrides 2011-01-10 17:37:27 -05:00
config-no-extra disable extras on arm 2013-10-03 12:22:16 -04:00
config-nodebug Linux v3.19.1 2015-03-16 12:35:05 -05:00
config-powerpc-generic Linux v3.19.1 2015-03-16 12:35:05 -05:00
config-powerpc64 Linux v3.19.1 2015-03-16 12:35:05 -05:00
config-powerpc64le Linux v3.17 2014-10-06 13:00:30 -04:00
config-powerpc64p7 Linux v3.19.1 2015-03-16 12:35:05 -05:00
config-s390x Linux v3.19.1 2015-03-16 12:35:05 -05:00
config-x86-32-generic Linux v3.19.1 2015-03-16 12:35:05 -05:00
config-x86-generic Linux v3.19.1 2015-03-16 12:35:05 -05:00
config-x86_64-generic Linux v3.19.1 2015-03-16 12:35:05 -05:00
cpupower.config Create the kernel-tools package. WHEE 2011-08-17 21:19:57 -04:00
cpupower.service Create the kernel-tools package. WHEE 2011-08-17 21:19:57 -04:00
crash-driver.patch Refresh patches from git tree 2015-03-18 09:19:16 -04:00
criu-no-expert.patch Refresh patches from git tree 2015-03-18 09:19:16 -04:00
die-floppy-die.patch CVE-2014-8133 x86: espfix(64) bypass via set_thread_area and CLONE_SETTLS (rhbz 1172797 1174374) 2014-12-15 14:29:01 -05:00
disable-i8042-check-on-apple-mac.patch Refresh patches from git tree 2015-03-18 09:19:16 -04:00
drm-i915-Disable-verbose-state-checks.patch Re-add patch to quiet i915 state machine 2015-03-17 10:25:37 -05:00
drm-i915-hush-check-crtc-state.patch Refresh from git 2015-04-20 10:35:06 -04:00
drm-i915-tame-the-chattermouth-v2.patch Refresh from git 2015-04-20 10:35:06 -04:00
efi-Add-EFI_SECURE_BOOT-bit.patch Refresh patches from git tree 2015-03-18 09:19:16 -04:00
efi-Disable-secure-boot-if-shim-is-in-insecure-mode.patch Refresh patches from git tree 2015-03-18 09:19:16 -04:00
efi-Make-EFI_SECURE_BOOT_SIG_ENFORCE-depend-on-EFI.patch Refresh patches from git tree 2015-03-18 09:19:16 -04:00
ext4-Allocate-entire-range-in-zero-range.patch Refresh patches from git tree 2015-03-18 09:19:16 -04:00
filter-aarch64.sh Linux v3.18.2 2015-01-13 16:51:24 -06:00
filter-armv7hl.sh Linux v3.18.2 2015-01-13 16:51:24 -06:00
filter-i686.sh Move mtpspi and related mods to kernel-core for VMWare guests (rhbz 1194612) 2015-02-20 11:45:39 -05:00
filter-modules.sh Move mtpspi and related mods to kernel-core for VMWare guests (rhbz 1194612) 2015-02-20 11:45:39 -05:00
filter-ppc64.sh Linux v3.18.2 2015-01-13 16:51:24 -06:00
filter-ppc64le.sh Linux v3.18.2 2015-01-13 16:51:24 -06:00
filter-ppc64p7.sh Linux v3.18.2 2015-01-13 16:51:24 -06:00
filter-s390x.sh Rename kernel-drivers to kernel-modules 2014-05-01 21:10:48 -04:00
filter-x86_64.sh Rename kernel-drivers to kernel-modules 2014-05-01 21:10:48 -04:00
hibernate-Disable-in-a-signed-modules-environment.patch Linux v3.19.1 2015-03-16 12:35:05 -05:00
hibernate-freeze-filesystems.patch Update patches with bugzilla/upstream-status fields 2013-12-17 11:16:02 -05:00
input-kill-stupid-messages.patch Refresh patches from git tree 2015-03-18 09:19:16 -04:00
input-silence-i8042-noise.patch Rebase patches from git tree 2015-03-26 09:47:24 -04:00
iommu-exynos-Play-nice-in-multi-platform-builds.patch ARMv7: add patches to fix crash on boot for some devices on multiplatform 2015-03-26 09:40:49 -04:00
iommu-omap-Play-nice-in-multi-platform-builds.patch ARMv7: add patches to fix crash on boot for some devices on multiplatform 2015-03-26 09:40:49 -04:00
iommu-rockchip-Play-nice-in-multi-platform-builds.patch ARMv7: add patches to fix crash on boot for some devices on multiplatform 2015-03-26 09:40:49 -04:00
ipv6-Don-t-reduce-hop-limit-for-an-interface.patch DoS against IPv6 stacks due to improper handling of RA (rhbz 1203712 1208491) 2015-04-02 08:27:09 -04:00
kbuild-AFTER_LINK.patch Refresh patches from f21 branch in the git tree 2015-01-29 16:06:31 -05:00
kernel-arm64.patch Linux v3.19.1 2015-03-16 12:35:05 -05:00
kernel.spec Fix noisy iwlwifi warning (rhbz 1205083) 2015-04-22 18:45:47 -07:00
kexec-Disable-at-runtime-if-the-kernel-enforces-modu.patch Refresh patches from git tree 2015-03-18 09:19:16 -04:00
lib-cpumask-Make-CPUMASK_OFFSTACK-usable-without-deb.patch CVE-2014-8133 x86: espfix(64) bypass via set_thread_area and CLONE_SETTLS (rhbz 1172797 1174374) 2014-12-15 14:29:01 -05:00
lis3-improve-handling-of-null-rate.patch CVE-2014-8133 x86: espfix(64) bypass via set_thread_area and CLONE_SETTLS (rhbz 1172797 1174374) 2014-12-15 14:29:01 -05:00
merge.pl initial srpm import 2010-07-29 16:46:31 -07:00
mod-extra.list Add USBIP drivers to kernel-modules-extra 2014-12-17 12:28:58 -05:00
mod-extra.sh Prep mod-extra.sh for signed modules 2012-09-25 13:22:00 -04:00
mod-sign.sh simplify the signing stuff now that sign-file takes pub/priv key args 2013-03-28 16:33:21 -04:00
nfs-don-t-call-blocking-operations-while-TASK_RUNNIN.patch Linux v3.19.1 2015-03-16 12:35:05 -05:00
no-pcspkr-modalias.patch Refresh patches from git tree 2015-03-18 09:19:16 -04:00
perf-man.tar.gz Linux v3.17.8 2015-01-08 17:04:10 -06:00
pinctrl-pinctrl-single-must-be-initialized-early.patch Refresh patches from git tree 2015-03-18 09:19:16 -04:00
pty-Fix-input-race-when-closing.patch Refresh from git 2015-04-20 10:35:06 -04:00
rebase-notes.txt Fix ext4 remount with journal_checksum option (rhbz 1190933) 2015-02-24 11:14:30 -05:00
sb-hibernate.patch Linux v3.15-9930-g0e04c641b199 2014-06-14 09:09:58 -04:00
scsi-sd_revalidate_disk-prevent-NULL-ptr-deref.patch Refresh patches from git tree 2015-03-18 09:19:16 -04:00
silence-fbcon-logo.patch Linux v3.19.1 2015-03-16 12:35:05 -05:00
silence-noise.patch Update patches with bugzilla/upstream-status fields 2013-12-17 11:16:02 -05:00
sources Linux v3.19.5 2015-04-20 14:26:46 -05:00
tg3-Hold-tp-lock-before-calling-tg3_halt-from-tg3_in.patch Backport patch to fix tg3 deadlock (rhbz 1207789) 2015-04-01 20:30:48 -04:00
tun-return-proper-error-code-from-tun_do_read.patch Rebase patches from git tree 2015-03-26 09:47:24 -04:00
upstream-reverts.patch Rename a bunch of patches. 2013-01-10 14:24:41 -05:00
vhost-scsi-potential-memory-corruption.patch Refresh patches from git tree 2015-03-18 09:19:16 -04:00
watchdog-Disable-watchdog-on-virtual-machines.patch Refresh patches from f21 branch in the git tree 2015-01-29 16:06:31 -05:00
weird-root-dentry-name-debug.patch Update patches with bugzilla/upstream-status fields 2013-12-17 11:16:02 -05:00
x86-Lock-down-IO-port-access-when-module-security-is.patch Refresh patches from git tree 2015-03-18 09:19:16 -04:00
x86-Restrict-MSR-access-when-module-loading-is-restr.patch Refresh patches from git tree 2015-03-18 09:19:16 -04:00
x86-microcode-intel-Guard-against-stack-overflow-in-.patch Validate iovec range in sys_sendto/sys_recvfrom 2015-03-23 15:13:01 -04:00
x509.genkey Switch to using modsign-post-KS upstream with x509 certs 2012-09-25 13:22:04 -04:00
xen-pciback-Don-t-disable-PCI_COMMAND-on-PCI-device-.patch CVE-2015-2150 xen: NMIs triggerable by guests (rhbz 1196266 1200397) 2015-04-01 08:42:08 -04:00

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.