1 # We have to override the new %%install behavior because, well... the kernel is special.
2 %global __spec_install_pre %{___build_pre}
4 Summary: The Linux kernel
6 # For a stable, released kernel, released_kernel should be 1. For rawhide
7 # and/or a kernel built from an rc or git snapshot, released_kernel should
9 %global released_kernel 1
11 # Versions of various parts
13 # Polite request for people who spin their own kernel rpms:
14 # please modify the "buildid" define in a way that identifies
15 # that the kernel isn't the stock distribution kernel, for example,
16 # by setting the define to ".local" or ".bz123456"
19 %define buildid .vs2.3.0.36.27
21 # fedora_build defines which build revision of this kernel version we're
22 # building. Rather than incrementing forever, as with the prior versioning
23 # setup, we set fedora_cvs_origin to the current cvs revision s/1.// of the
24 # kernel spec when the kernel is rebased, so fedora_build automatically
25 # works out to the offset from the rebase, so it doesn't get too ginormous.
27 # If you're building on a branch, the RCS revision will be something like
28 # 1.1205.1.1. In this case we drop the initial 1, subtract fedora_cvs_origin
29 # from the second number, and then append the rest of the RCS string as is.
30 # Don't stare at the awk too long, you'll go blind.
31 %define fedora_cvs_origin 1786
32 %define fedora_cvs_revision() %2
33 %global fedora_build %(echo %{fedora_cvs_origin}.%{fedora_cvs_revision $Revision: 1.1948 $} | awk -F . '{ OFS = "."; ORS = ""; print $3 - $1 ; i = 4 ; OFS = ""; while (i <= NF) { print ".", $i ; i++} }')
35 # base_sublevel is the kernel version we're starting with and patching
36 # on top of -- for example, 2.6.22-rc7-git1 starts with a 2.6.21 base,
37 # which yields a base_sublevel of 21.
38 %define base_sublevel 31
40 ## If this is a released kernel ##
41 %if 0%{?released_kernel}
43 # Do we have a -stable update to apply?
44 %define stable_update 6
47 # Set rpm version accordingly
48 %if 0%{?stable_update}
49 %define stablerev .%{stable_update}
50 %define stable_base %{stable_update}
52 # stable RCs are incremental patches, so we need the previous stable patch
53 %define stable_base %(echo $((%{stable_update} - 1)))
56 %define rpmversion 2.6.%{base_sublevel}%{?stablerev}
58 ## The not-released-kernel case ##
60 # The next upstream release sublevel (base_sublevel+1)
61 %define upstream_sublevel %(echo $((%{base_sublevel} + 1)))
62 # The rc snapshot level
64 # The git snapshot level
66 # Set rpm version accordingly
67 %define rpmversion 2.6.%{upstream_sublevel}
69 # Nb: The above rcrev and gitrev values automagically define Patch00 and Patch01 below.
71 # What parts do we want to build? We must build at least one kernel.
72 # These are the kernels that are built IF the architecture allows it.
73 # All should default to 1 (enabled) and be flipped to 0 (disabled)
74 # by later arch-specific checks.
76 # The following build options are enabled by default.
77 # Use either --without <opt> in your rpmbuild command or force values
78 # to 0 in here to disable them.
81 %define with_up %{?_without_up: 0} %{?!_without_up: 1}
82 # kernel-smp (only valid for ppc 32-bit)
83 %define with_smp %{?_without_smp: 0} %{?!_without_smp: 1}
85 %define with_kdump %{?_without_kdump: 0} %{?!_without_kdump: 1}
87 %define with_debug %{?_without_debug: 0} %{?!_without_debug: 1}
89 %define with_doc %{?_without_doc: 0} %{?!_without_doc: 1}
91 %define with_headers %{?_without_headers: 0} %{?!_without_headers: 1}
93 %define with_firmware %{?_with_firmware: 1} %{?!_with_firmware: 0}
95 %define with_perftool %{?_without_perftool: 0} %{?!_without_perftool: 1}
97 %define with_perf %{?_without_perf: 0} %{?!_without_perf: 1}
99 %define with_debuginfo %{?_without_debuginfo: 0} %{?!_without_debuginfo: 1}
100 # kernel-bootwrapper (for creating zImages from kernel + initrd)
101 %define with_bootwrapper %{?_without_bootwrapper: 0} %{?!_without_bootwrapper: 1}
102 # Want to build a the vsdo directories installed
103 %define with_vdso_install %{?_without_vdso_install: 0} %{?!_without_vdso_install: 1}
104 # Use dracut instead of mkinitrd for initrd image generation
105 %define with_dracut %{?_without_dracut: 0} %{?!_without_dracut: 1}
107 # Build the kernel-doc package, but don't fail the build if it botches.
108 # Here "true" means "continue" and "false" means "fail the build".
109 %if 0%{?released_kernel}
110 %define doc_build_fail false
112 %define doc_build_fail true
115 %define rawhide_skip_docs 0
116 %if 0%{?rawhide_skip_docs}
120 # Additional options for user-friendly one-off kernel building:
122 # Only build the base kernel (--with baseonly):
123 %define with_baseonly %{?_with_baseonly: 1} %{?!_with_baseonly: 0}
124 # Only build the smp kernel (--with smponly):
125 %define with_smponly %{?_with_smponly: 1} %{?!_with_smponly: 0}
126 # Only build the debug kernel (--with dbgonly):
127 %define with_dbgonly %{?_with_dbgonly: 1} %{?!_with_dbgonly: 0}
129 # should we do C=1 builds with sparse
130 %define with_sparse %{?_with_sparse: 1} %{?!_with_sparse: 0}
132 # Set debugbuildsenabled to 1 for production (build separate debug kernels)
133 # and 0 for rawhide (all kernels are debug kernels).
134 # See also 'make debug' and 'make release'.
135 %define debugbuildsenabled 1
137 # Want to build a vanilla kernel build without any non-upstream patches?
138 # (well, almost none, we need nonintconfig for build purposes). Default to 0 (off).
139 %define with_vanilla %{?_with_vanilla: 1} %{?!_with_vanilla: 0}
141 # pkg_release is what we'll fill in for the rpm Release: field
142 %if 0%{?released_kernel}
145 %define stable_rctag .rc%{stable_rc}
147 %define pkg_release %{fedora_build}%{?stable_rctag}%{?buildid}%{?dist}
151 # non-released_kernel
153 %define rctag .rc%rcrev
156 %define gittag .git%gitrev
161 %define pkg_release 0.%{fedora_build}%{?rctag}%{?gittag}%{?buildid}%{?dist}
165 # The kernel tarball/base version
166 %define kversion 2.6.%{base_sublevel}
168 %define make_target bzImage
170 %define KVERREL %{PACKAGE_VERSION}-%{PACKAGE_RELEASE}.%{_target_cpu}
171 %define hdrarch %_target_cpu
172 %define asmarch %_target_cpu
174 %if 0%{!?nopatches:1}
183 %define with_bootwrapper 0
184 %define variant -vanilla
186 %define variant_fedora -fedora
189 %define using_upstream_branch 0
190 %if 0%{?upstream_branch:1}
191 %define stable_update 0
192 %define using_upstream_branch 1
193 %define variant -%{upstream_branch}%{?variant_fedora}
194 %define pkg_release 0.%{fedora_build}%{upstream_branch_tag}%{?buildid}%{?dist}
197 %if !%{debugbuildsenabled}
201 %if !%{with_debuginfo}
202 %define _enable_debug_packages 0
204 %define debuginfodir /usr/lib/debug
206 # kernel-PAE is only built on i686.
213 # if requested, only build base kernel
220 # if requested, only build smp kernel
227 # if requested, only build debug kernel
229 %if %{debugbuildsenabled}
236 %define with_perftool 0
239 %define all_x86 i386 i686
241 %if %{with_vdso_install}
242 # These arches install vdso/ directories.
243 %define vdso_arches %{all_x86} x86_64 ppc ppc64
246 # Overrides for generic default options
248 # only ppc and alphav56 need separate smp kernels
249 %ifnarch ppc alphaev56
253 # only build kernel-kdump on ppc64
254 # (no relocatable kernel support upstream yet)
255 #FIXME: Temporarily disabled to speed up builds.
260 # don't do debug builds on anything but i686 and x86_64
265 # only package docs noarch
271 # don't build noarch kernels or headers (duh)
274 %define with_headers 0
275 %define all_arch_configs kernel-%{version}-*.config
276 %define with_firmware %{?_without_firmware: 0} %{?!_without_firmware: 1}
279 # bootwrapper is only on ppc
281 %define with_bootwrapper 0
284 # sparse blows up on ppc64 alpha and sparc64
285 %ifarch ppc64 ppc alpha sparc64
286 %define with_sparse 0
294 %define all_arch_configs kernel-%{version}-i?86*.config
295 %define image_install_path boot
296 %define kernel_image arch/x86/boot/bzImage
301 %define all_arch_configs kernel-%{version}-x86_64*.config
302 %define image_install_path boot
303 %define kernel_image arch/x86/boot/bzImage
307 %define asmarch powerpc
308 %define hdrarch powerpc
309 %define all_arch_configs kernel-%{version}-ppc64*.config
310 %define image_install_path boot
311 %define make_target vmlinux
312 %define kernel_image vmlinux
313 %define kernel_image_elf 1
319 %define all_arch_configs kernel-%{version}-s390x.config
320 %define image_install_path boot
321 %define make_target image
322 %define kernel_image arch/s390/boot/image
326 # We only build sparc headers since we dont support sparc32 hardware
330 %define asmarch sparc
331 %define all_arch_configs kernel-%{version}-sparc64*.config
332 %define make_target image
333 %define kernel_image arch/sparc/boot/image
334 %define image_install_path boot
335 %define with_perftool 0
339 %define asmarch powerpc
340 %define hdrarch powerpc
341 %define all_arch_configs kernel-%{version}-ppc{-,.}*config
342 %define image_install_path boot
343 %define make_target vmlinux
344 %define kernel_image vmlinux
345 %define kernel_image_elf 1
349 %define all_arch_configs kernel-%{version}-ia64*.config
350 %define image_install_path boot/efi/EFI/redhat
351 %define make_target compressed
352 %define kernel_image vmlinux.gz
355 %ifarch alpha alphaev56
356 %define all_arch_configs kernel-%{version}-alpha*.config
357 %define image_install_path boot
358 %define make_target vmlinux
359 %define kernel_image vmlinux
363 %define all_arch_configs kernel-%{version}-arm*.config
364 %define image_install_path boot
366 %define make_target vmlinux
367 %define kernel_image vmlinux
371 # XXX temporary until last vdso patches are upstream
372 %define vdso_arches ppc ppc64
375 %if %{nopatches}%{using_upstream_branch}
376 # Ignore unknown options in our config-* files.
377 # Some options go with patches we're not applying.
378 %define oldconfig_target loose_nonint_oldconfig
380 %define oldconfig_target nonint_oldconfig
383 # To temporarily exclude an architecture from being built, add it to
384 # %nobuildarches. Do _NOT_ use the ExclusiveArch: line, because if we
385 # don't build kernel-headers then the new build system will no longer let
386 # us use the previous build of that package -- it'll just be completely AWOL.
387 # Which is a BadThing(tm).
389 # We don't build a kernel on i386; we only do kernel-headers there,
390 # and we no longer build for 31bit S390. Same for 32bit sparc and arm.
391 %define nobuildarches i386 s390 sparc %{arm}
393 %ifarch %nobuildarches
398 %define with_debuginfo 0
399 %define with_perftool 0
400 %define _enable_debug_packages 0
403 %define with_pae_debug 0
405 %define with_pae_debug %{with_debug}
409 # Three sets of minimum package version requirements in the form of Conflicts:
410 # to versions below the minimum
414 # First the general kernel 2.6 required versions as per
415 # Documentation/Changes
417 %define kernel_dot_org_conflicts ppp < 2.4.3-3, isdn4k-utils < 3.2-32, nfs-utils < 1.0.7-12, e2fsprogs < 1.37-4, util-linux < 2.12, jfsutils < 1.1.7-2, reiserfs-utils < 3.6.19-2, xfsprogs < 2.6.13-4, procps < 3.2.5-6.3, oprofile < 0.9.1-2
420 # Then a series of requirements that are distribution specific, either
421 # because we add patches for something, or the older versions have
422 # problems with the newer kernel or lack certain things that make
423 # integration in the distro harder than needed.
425 %define package_conflicts initscripts < 7.23, udev < 063-6, iptables < 1.3.2-1, ipw2200-firmware < 2.4, iwl4965-firmware < 228.57.2, selinux-policy-targeted < 1.25.3-14, squashfs-tools < 4.0, wireless-tools < 29-3
428 # The ld.so.conf.d file we install uses syntax older ldconfig's don't grok.
430 %define kernel_xen_conflicts glibc < 2.3.5-1, xen < 3.0.1
432 %define kernel_PAE_obsoletes kernel-smp < 2.6.17, kernel-xen <= 2.6.27-0.2.rc0.git6.fc10
433 %define kernel_PAE_provides kernel-xen = %{rpmversion}-%{pkg_release}
436 %define kernel_obsoletes kernel-xen <= 2.6.27-0.2.rc0.git6.fc10
437 %define kernel_provides kernel-xen = %{rpmversion}-%{pkg_release}
440 # We moved the drm include files into kernel-headers, make sure there's
441 # a recent enough libdrm-devel on the system that doesn't have those.
442 %define kernel_headers_conflicts libdrm-devel < 2.4.0-0.15
445 # Packages that need to be installed before the kernel is, because the %post
448 %define kernel_prereq fileutils, module-init-tools, initscripts >= 8.11.1-1, kernel-firmware >= %{rpmversion}-%{fedora_build}, grubby >= 7.0.4-1
450 %define initrd_prereq dracut >= 001-7
452 %define initrd_prereq mkinitrd >= 6.0.61-1
456 # This macro does requires, provides, conflicts, obsoletes for a kernel package.
457 # %%kernel_reqprovconf <subpackage>
458 # It uses any kernel_<subpackage>_conflicts and kernel_<subpackage>_obsoletes
459 # macros defined above.
461 %define kernel_reqprovconf \
462 Provides: kernel = %{rpmversion}-%{pkg_release}\
463 Provides: kernel-%{_target_cpu} = %{rpmversion}-%{pkg_release}%{?1:.%{1}}\
464 Provides: kernel-drm = 4.3.0\
465 Provides: kernel-drm-nouveau = 15\
466 Provides: kernel-modeset = 1\
467 Provides: kernel-uname-r = %{KVERREL}%{?1:.%{1}}\
468 Requires(pre): %{kernel_prereq}\
469 Requires(pre): %{initrd_prereq}\
470 Requires(post): /sbin/new-kernel-pkg\
471 Requires(preun): /sbin/new-kernel-pkg\
472 Conflicts: %{kernel_dot_org_conflicts}\
473 Conflicts: %{package_conflicts}\
474 %{expand:%%{?kernel%{?1:_%{1}}_conflicts:Conflicts: %%{kernel%{?1:_%{1}}_conflicts}}}\
475 %{expand:%%{?kernel%{?1:_%{1}}_obsoletes:Obsoletes: %%{kernel%{?1:_%{1}}_obsoletes}}}\
476 %{expand:%%{?kernel%{?1:_%{1}}_provides:Provides: %%{kernel%{?1:_%{1}}_provides}}}\
477 # We can't let RPM do the dependencies automatic because it'll then pick up\
478 # a correct but undesirable perl dependency from the module headers which\
479 # isn't required for the kernel proper to function\
484 Name: kernel%{?variant}
485 Group: System Environment/Kernel
487 URL: http://www.kernel.org/
488 Version: %{rpmversion}
489 Release: %{pkg_release}
490 # DO NOT CHANGE THE 'ExclusiveArch' LINE TO TEMPORARILY EXCLUDE AN ARCHITECTURE BUILD.
491 # SET %%nobuildarches (ABOVE) INSTEAD
492 ExclusiveArch: noarch %{all_x86} x86_64 ppc ppc64 ia64 sparc sparc64 s390x alpha alphaev56 %{arm}
496 %ifarch x86_64 sparc64
497 Obsoletes: kernel-smp
502 # List the packages used during the kernel build
504 BuildRequires: module-init-tools, patch >= 2.5.4, bash >= 2.03, sh-utils, tar
505 BuildRequires: bzip2, findutils, gzip, m4, perl, make >= 3.78, diffutils, gawk
506 BuildRequires: gcc >= 3.4.2, binutils >= 2.12, redhat-rpm-config
507 BuildRequires: net-tools
508 BuildRequires: xmlto, asciidoc
510 BuildRequires: sparse >= 0.4.1
513 BuildRequires: elfutils-libelf-devel zlib-devel binutils-devel
515 BuildConflicts: rhbuildsys(DiskFree) < 500Mb
517 %define fancy_debuginfo 0
518 %if %{with_debuginfo}
519 %if 0%{?fedora} >= 8 || 0%{?rhel} >= 6
520 %define fancy_debuginfo 1
524 %if %{fancy_debuginfo}
525 # Fancy new debuginfo generation introduced in Fedora 8.
526 BuildRequires: rpm-build >= 4.4.2.1-4
527 %define debuginfo_args --strict-build-id
530 Source0: ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-%{kversion}.tar.bz2
533 Source14: find-provides
536 Source20: Makefile.config
537 Source21: config-debug
538 Source22: config-nodebug
539 Source23: config-generic
540 Source24: config-rhel-generic
542 Source30: config-x86-generic
543 Source31: config-i686-PAE
545 Source40: config-x86_64-generic
547 Source50: config-powerpc-generic
548 Source51: config-powerpc32-generic
549 Source52: config-powerpc32-smp
550 Source53: config-powerpc64
552 Source60: config-ia64-generic
554 Source70: config-s390x
556 Source90: config-sparc64-generic
558 Source100: config-arm
562 # Here should be only the patches up to the upstream canonical Linus tree.
564 # For a stable release kernel
565 %if 0%{?stable_update}
567 %define stable_patch_00 patch-2.6.%{base_sublevel}.%{stable_base}.bz2
568 Patch00: %{stable_patch_00}
571 %define stable_patch_01 patch-2.6.%{base_sublevel}.%{stable_update}-rc%{stable_rc}.bz2
572 Patch01: %{stable_patch_01}
575 # non-released_kernel case
576 # These are automagically defined by the rcrev and gitrev values set up
577 # near the top of this spec file.
580 Patch00: patch-2.6.%{upstream_sublevel}-rc%{rcrev}.bz2
582 Patch01: patch-2.6.%{upstream_sublevel}-rc%{rcrev}-git%{gitrev}.bz2
585 # pre-{base_sublevel+1}-rc1 case
587 Patch00: patch-2.6.%{base_sublevel}-git%{gitrev}.bz2
592 %if %{using_upstream_branch}
596 Patch02: git-linus.diff
598 # we always need nonintconfig, even for -vanilla kernels
599 Patch03: linux-2.6-build-nonintconfig.patch
601 # we also need compile fixes for -vanilla
602 Patch04: linux-2.6-compile-fixes.patch
604 # build tweak for build ID magic, even for -vanilla
605 Patch05: linux-2.6-makefile-after_link.patch
607 ###-vs- http://vserver.13thfloor.at/ExperimentalT/patch-2.6.31.6-vs2.3.0.36.27.diff
608 Patch06: patch-2.6.31.6-vs2.3.0.36.27.diff
612 # revert upstream patches we get via other methods
613 Patch09: linux-2.6-upstream-reverts.patch
615 Patch10: git-cpufreq.patch
616 Patch11: git-bluetooth.patch
619 Patch20: linux-2.6-hotfixes.patch
621 Patch21: linux-2.6-tracehook.patch
622 Patch22: linux-2.6-utrace.patch
624 Patch30: sched-introduce-SCHED_RESET_ON_FORK-scheduling-policy-flag.patch
626 Patch31: disable-stackprotector-all.patch
628 # Intel IOMMU fixes/workarounds
629 Patch100: linux-2.6-die-closed-source-bios-muppets-die.patch
630 Patch101: linux-2.6-intel-iommu-updates.patch
631 Patch102: linux-2.6-iommu-at-zero.patch
632 Patch103: linux-2.6-iommu-dmar-all-1s.patch
633 Patch104: linux-2.6-iommu-another-hp-screwup.patch
634 Patch105: linux-2.6-iommu-sanity-checks-for-intr-remap-too.patch
635 Patch106: linux-2.6-iommu-hp-cantiga-resume.patch
637 Patch141: linux-2.6-ps3-storage-alias.patch
638 Patch143: linux-2.6-g5-therm-shutdown.patch
639 Patch144: linux-2.6-vio-modalias.patch
640 Patch147: linux-2.6-imac-transparent-bridge.patch
642 Patch150: linux-2.6.29-sparc-IOC_TYPECHECK.patch
644 Patch160: linux-2.6-execshield.patch
646 Patch250: linux-2.6-debug-sizeof-structs.patch
647 Patch260: linux-2.6-debug-nmi-timeout.patch
648 Patch270: linux-2.6-debug-taint-vm.patch
649 Patch280: linux-2.6-debug-spinlock-taint.patch
650 Patch300: linux-2.6-driver-level-usb-autosuspend.diff
651 Patch302: linux-2.6-qcserial-autosuspend.diff
652 Patch303: linux-2.6-bluetooth-autosuspend.diff
653 Patch304: linux-2.6-usb-uvc-autosuspend.diff
654 Patch340: linux-2.6-debug-vm-would-have-oomkilled.patch
655 Patch360: linux-2.6-debug-always-inline-kzalloc.patch
656 Patch380: linux-2.6-defaults-pci_no_msi.patch
657 Patch381: linux-2.6-pciehp-update.patch
658 Patch382: linux-2.6-defaults-pciehp.patch
659 Patch383: linux-2.6-defaults-aspm.patch
660 Patch390: linux-2.6-defaults-acpi-video.patch
661 Patch391: linux-2.6-acpi-video-dos.patch
662 Patch450: linux-2.6-input-kill-stupid-messages.patch
663 Patch451: linux-2.6-input-fix-toshiba-hotkeys.patch
664 Patch452: linux-2.6.30-no-pcspkr-modalias.patch
666 Patch460: linux-2.6-serial-460800.patch
668 Patch470: die-floppy-die.patch
670 Patch500: linux-2.6.31-copy_from_user-bounds.patch
672 Patch510: linux-2.6-silence-noise.patch
673 Patch520: linux-2.6.30-hush-rom-warning.patch
674 Patch530: linux-2.6-silence-fbcon-logo.patch
675 Patch570: linux-2.6-selinux-mprotect-checks.patch
676 Patch580: linux-2.6-sparc-selinux-mprotect-checks.patch
678 Patch600: linux-2.6-defaults-alsa-hda-beep-off.patch
679 Patch601: linux-2.6-alsa-improve-hda-powerdown.patch
680 Patch610: hda_intel-prealloc-4mb-dmabuffer.patch
681 Patch611: alsa-tell-user-that-stream-to-be-rewound-is-suspended.patch
683 Patch670: linux-2.6-ata-quirk.patch
684 Patch671: linux-2.6-ahci-export-capabilities.patch
686 Patch680: prism54-remove-pci-dev-table.patch
687 Patch681: linux-2.6-ath9k-fixes.patch
689 Patch800: linux-2.6-crash-driver.patch
691 Patch900: linux-2.6-pci-cacheline-sizing.patch
694 Patch1100: linux-2.6.31-cpuidle-faster-io.patch
695 # EC fixes from 2.6.32 (#492699, #525681)
696 Patch1110: acpi-ec-merge-irq-and-poll-modes.patch
697 Patch1120: acpi-ec-use-burst-mode-only-for-msi-notebooks.patch
698 Patch1130: acpi-ec-restart-command-even-if-no-interrupts-from-ec.patch
700 Patch1515: lirc-2.6.31.patch
701 Patch1517: hdpvr-ir-enable.patch
702 Patch1518: hid-ignore-all-recent-imon-devices.patch
705 Patch1550: linux-2.6-ksm.patch
706 Patch1551: linux-2.6-ksm-kvm.patch
707 Patch1552: linux-2.6-ksm-updates.patch
708 Patch1553: linux-2.6-ksm-fix-munlock.patch
709 Patch1554: linux-2.6-ksm-updates-from-32.patch
710 Patch1579: linux-2.6-virtio_blk-revert-QUEUE_FLAG_VIRT-addition.patch
711 Patch1583: linux-2.6-xen-fix-is_disconnected_device-exists_disconnected_device.patch
712 Patch1584: linux-2.6-xen-improvement-to-wait_for_devices.patch
713 Patch1585: linux-2.6-xen-increase-device-connection-timeout.patch
714 Patch1586: linux-2.6-virtio_blk-add-support-for-cache-flush.patch
716 # nouveau + drm fixes
717 Patch1810: kms-offb-handoff.patch
718 Patch1812: drm-next-b390f944.patch
719 Patch1813: drm-radeon-pm.patch
720 Patch1814: drm-nouveau.patch
721 Patch1818: drm-i915-resume-force-mode.patch
722 # intel drm is all merged upstream
723 Patch1824: drm-intel-next.patch
724 Patch1825: drm-intel-pm.patch
725 Patch1826: drm-intel-no-tv-hotplug.patch
726 Patch1827: drm-i915-fix-tvmode-oops.patch
727 Patch1831: drm-conservative-fallback-modes.patch
728 Patch1832: drm-edid-retry.patch
729 Patch1834: drm-edid-header-fixup.patch
730 Patch1835: drm-default-mode.patch
731 Patch1837: drm-i915-fix-sync-to-vbl-when-vga-is-off.patch
732 Patch1839: drm-radeon-misc-fixes.patch
733 Patch1840: drm-radeon-rv410-test-fix.patch
736 Patch1900: linux-2.6-vga-arb.patch
737 Patch1901: drm-vga-arb.patch
738 Patch1902: drm-radeon-kms-arbiter-return-ignore.patch
740 # make harmless fbcon debug less loud
741 Patch1903: fbcon-lower-debug.patch
743 # kludge to make ich9 e1000 work
744 Patch2000: linux-2.6-e1000-ich9.patch
746 # linux1394 git patches
747 Patch2200: linux-2.6-firewire-git-update.patch
748 Patch2201: linux-2.6-firewire-git-pending.patch
751 # silence the ACPI blacklist code
752 Patch2802: linux-2.6-silence-acpi-blacklist.patch
754 Patch2899: linux-2.6-v4l-dvb-fixes.patch
755 Patch2900: linux-2.6-v4l-dvb-update.patch
756 Patch2901: linux-2.6-v4l-dvb-experimental.patch
757 Patch2904: v4l-dvb-fix-cx25840-firmware-loading.patch
762 Patch3000: linux-2.6-btrfs-upstream.patch
765 Patch3050: linux-2.6-nfsd4-proots.patch
766 Patch3060: linux-2.6-nfs4-ver4opt.patch
767 Patch3061: linux-2.6-nfs4-callback-hidden.patch
769 # VIA Nano / VX8xx updates
770 Patch11010: via-hwmon-temp-sensor.patch
772 # patches headed upstream
773 Patch12010: linux-2.6-dell-laptop-rfkill-fix.patch
774 Patch12011: linux-2.6-block-silently-error-unsupported-empty-barriers-too.patch
775 Patch12012: linux-2.6-rtc-show-hctosys.patch
776 Patch12013: linux-2.6-rfkill-all.patch
777 Patch12014: linux-2.6-selinux-module-load-perms.patch
779 # sched fixes cherry-picked from 2.6.32
780 Patch13100: sched-deal-with-low-load-in-wake-affine.patch
781 Patch13101: sched-ensure-child-cant-gain-time-over-its-parent-after-fork.patch
782 Patch13102: sched-remove-shortcut-from-select-task-rq-fair.patch
783 # latency defaults from 2.6.32
784 Patch13110: sched-retune-scheduler-latency-defaults.patch
785 # Fix huge wakeup latencies
786 Patch13120: sched-update-the-clock-of-runqueue-select-task-rq-selected.patch
788 # patches headed for -stable
790 # make perf counter API available to userspace (#527264)
791 Patch14010: perf-make-perf-counter-h-available-to-userspace.patch
793 # fix resource counter issues on *big* machines
794 Patch14101: improve-resource-counter-scalability.patch
796 # fix perf for sysprof
797 Patch14420: perf-events-fix-swevent-hrtimer-sampling.patch
798 Patch14421: perf-events-dont-generate-events-for-the-idle-task.patch
800 Patch14430: crypto-via-padlock-fix-nano-aes.patch
802 # tg3 fixes (#527209)
803 Patch14451: tg3-01-delay-mdio-bus-init-until-fw-finishes.patch
804 Patch14452: tg3-02-fix-tso-test-against-wrong-flags-var.patch
805 Patch14453: tg3-03-fix-57780-asic-rev-pcie-link-receiver-errors.patch
806 Patch14454: tg3-04-prevent-tx-bd-corruption.patch
807 Patch14455: tg3-05-assign-flags-to-fixes-in-start_xmit_dma_bug.patch
808 Patch14456: tg3-06-fix-5906-transmit-hangs.patch
810 Patch14460: highmem-Fix-debug_kmap_atomic-to-also-handle-KM_IRQ_.patch
811 Patch14461: highmem-Fix-race-in-debug_kmap_atomic-which-could-ca.patch
812 Patch14462: highmem-fix-arm-powerpc-kmap_types.patch
814 Patch14463: dlm-fix-connection-close-handling.patch
816 # rhbz#544144 [bbf31bf18d34caa87dd01f08bf713635593697f2]
817 Patch14464: ipv4-fix-null-ptr-deref-in-ip_fragment.patch
821 BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root
824 The kernel package contains the Linux kernel (vmlinuz), the core of any
825 Linux operating system. The kernel handles the basic functions
826 of the operating system: memory allocation, process allocation, device
827 input and output, etc.
831 Summary: Various documentation bits found in the kernel source
834 This package contains documentation files from the kernel
835 source. Various bits of information about the Linux kernel and the
836 device drivers shipped with it are documented in these files.
838 You'll want to install this package if you need a reference to the
839 options that can be passed to Linux kernel modules at load time.
843 Summary: Header files for the Linux kernel for use by glibc
844 Group: Development/System
845 Obsoletes: glibc-kernheaders
846 Provides: glibc-kernheaders = 3.0-46
848 Kernel-headers includes the C header files that specify the interface
849 between the Linux kernel and userspace libraries and programs. The
850 header files define structures and constants that are needed for
851 building most standard programs and are also needed for rebuilding the
855 Summary: Firmware files used by the Linux kernel
856 Group: Development/System
857 # This is... complicated.
858 # Look at the WHENCE file.
859 License: GPL+ and GPLv2+ and MIT and Redistributable, no modification permitted
860 %if "x%{?variant}" != "x"
861 Provides: kernel-firmware = %{rpmversion}-%{pkg_release}
863 %description firmware
864 Kernel-firmware includes firmware files required for some devices to
868 Summary: Boot wrapper files for generating combined kernel + initrd images
869 Group: Development/System
871 %description bootwrapper
872 Kernel-bootwrapper contains the wrapper code which makes bootable "zImage"
873 files combining both kernel and initial ramdisk.
875 %package debuginfo-common-%{_target_cpu}
876 Summary: Kernel source files used by %{name}-debuginfo packages
877 Group: Development/Debug
878 %description debuginfo-common-%{_target_cpu}
879 This package is required by %{name}-debuginfo subpackages.
880 It provides the kernel source files common to all builds.
883 Summary: Performance monitoring for the Linux kernel
884 Group: Development/System
887 This package provides the supporting documentation for the perf tool
888 shipped in each kernel image subpackage.
891 # This macro creates a kernel-<subpackage>-debuginfo package.
892 # %%kernel_debuginfo_package <subpackage>
894 %define kernel_debuginfo_package() \
895 %package %{?1:%{1}-}debuginfo\
896 Summary: Debug information for package %{name}%{?1:-%{1}}\
897 Group: Development/Debug\
898 Requires: %{name}-debuginfo-common-%{_target_cpu} = %{version}-%{release}\
899 Provides: %{name}%{?1:-%{1}}-debuginfo-%{_target_cpu} = %{version}-%{release}\
901 %description -n %{name}%{?1:-%{1}}-debuginfo\
902 This package provides debug information for package %{name}%{?1:-%{1}}.\
903 This is required to use SystemTap with %{name}%{?1:-%{1}}-%{KVERREL}.\
904 %{expand:%%global debuginfo_args %{?debuginfo_args} -p '/.*/%%{KVERREL}%{?1:\.%{1}}/.*|/.*%%{KVERREL}%{?1:\.%{1}}(\.debug)?' -o debuginfo%{?1}.list}\
908 # This macro creates a kernel-<subpackage>-devel package.
909 # %%kernel_devel_package <subpackage> <pretty-name>
911 %define kernel_devel_package() \
912 %package %{?1:%{1}-}devel\
913 Summary: Development package for building kernel modules to match the %{?2:%{2} }kernel\
914 Group: System Environment/Kernel\
915 Provides: kernel%{?1:-%{1}}-devel-%{_target_cpu} = %{version}-%{release}\
916 Provides: kernel-devel-%{_target_cpu} = %{version}-%{release}%{?1:.%{1}}\
917 Provides: kernel-devel = %{version}-%{release}%{?1:.%{1}}\
918 Provides: kernel-devel-uname-r = %{KVERREL}%{?1:.%{1}}\
920 Requires(pre): /usr/bin/find\
921 %description -n kernel%{?variant}%{?1:-%{1}}-devel\
922 This package provides kernel headers and makefiles sufficient to build modules\
923 against the %{?2:%{2} }kernel package.\
927 # This macro creates a kernel-<subpackage> and its -devel and -debuginfo too.
928 # %%define variant_summary The Linux kernel compiled for <configuration>
929 # %%kernel_variant_package [-n <pretty-name>] <subpackage>
931 %define kernel_variant_package(n:) \
933 Summary: %{variant_summary}\
934 Group: System Environment/Kernel\
936 %{expand:%%kernel_devel_package %1 %{!?-n:%1}%{?-n:%{-n*}}}\
937 %{expand:%%kernel_debuginfo_package %1}\
941 # First the auxiliary packages of the main kernel package.
942 %kernel_devel_package
943 %kernel_debuginfo_package
946 # Now, each variant package.
948 %define variant_summary The Linux kernel compiled for SMP machines
949 %kernel_variant_package -n SMP smp
951 This package includes a SMP version of the Linux kernel. It is
952 required only on machines with two or more CPUs as well as machines with
953 hyperthreading technology.
955 Install the kernel-smp package if your machine uses two or more CPUs.
958 %define variant_summary The Linux kernel compiled for PAE capable machines
959 %kernel_variant_package PAE
961 This package includes a version of the Linux kernel with support for up to
962 64GB of high memory. It requires a CPU with Physical Address Extensions (PAE).
963 The non-PAE kernel can only address up to 4GB of memory.
964 Install the kernel-PAE package if your machine has more than 4GB of memory.
967 %define variant_summary The Linux kernel compiled with extra debugging enabled for PAE capable machines
968 %kernel_variant_package PAEdebug
969 Obsoletes: kernel-PAE-debug
970 %description PAEdebug
971 This package includes a version of the Linux kernel with support for up to
972 64GB of high memory. It requires a CPU with Physical Address Extensions (PAE).
973 The non-PAE kernel can only address up to 4GB of memory.
974 Install the kernel-PAE package if your machine has more than 4GB of memory.
976 This variant of the kernel has numerous debugging options enabled.
977 It should only be installed when trying to gather additional information
978 on kernel bugs, as some of these options impact performance noticably.
981 %define variant_summary The Linux kernel compiled with extra debugging enabled
982 %kernel_variant_package debug
984 The kernel package contains the Linux kernel (vmlinuz), the core of any
985 Linux operating system. The kernel handles the basic functions
986 of the operating system: memory allocation, process allocation, device
987 input and output, etc.
989 This variant of the kernel has numerous debugging options enabled.
990 It should only be installed when trying to gather additional information
991 on kernel bugs, as some of these options impact performance noticably.
994 %define variant_summary A minimal Linux kernel compiled for crash dumps
995 %kernel_variant_package kdump
997 This package includes a kdump version of the Linux kernel. It is
998 required only on machines which will use the kexec-based kernel crash dump
1003 # do a few sanity-checks for --with *only builds
1004 %if %{with_baseonly}
1005 %if !%{with_up}%{with_pae}
1006 echo "Cannot build --with baseonly, up build is disabled"
1013 echo "Cannot build --with smponly, smp build is disabled"
1018 # more sanity checking; do it quietly
1019 if [ "%{patches}" != "%%{patches}" ] ; then
1020 for patch in %{patches} ; do
1021 if [ ! -f $patch ] ; then
1022 echo "ERROR: Patch ${patch##/*/} listed in specfile but is missing"
1028 patch_command='patch -p1 -F1 -s'
1033 if [ ! -f $RPM_SOURCE_DIR/$patch ]; then
1036 if ! egrep "^Patch[0-9]+: $patch\$" %{_specdir}/${RPM_PACKAGE_NAME%%%%%{?variant}}.spec ; then
1037 if [ "${patch:0:10}" != "patch-2.6." ] ; then
1038 echo "ERROR: Patch $patch not listed as a source patch in specfile"
1043 *.bz2) bunzip2 < "$RPM_SOURCE_DIR/$patch" | $patch_command ${1+"$@"} ;;
1044 *.gz) gunzip < "$RPM_SOURCE_DIR/$patch" | $patch_command ${1+"$@"} ;;
1045 *) $patch_command ${1+"$@"} < "$RPM_SOURCE_DIR/$patch" ;;
1049 # don't apply patch if it's empty
1050 ApplyOptionalPatch()
1054 if [ ! -f $RPM_SOURCE_DIR/$patch ]; then
1057 local C=$(wc -l $RPM_SOURCE_DIR/$patch | awk '{print $1}')
1058 if [ "$C" -gt 9 ]; then
1059 ApplyPatch $patch ${1+"$@"}
1063 # we don't want a .config file when building firmware: it just confuses the build system
1064 %define build_firmware \
1065 mv .config .config.firmware_save \
1066 make INSTALL_FW_PATH=$RPM_BUILD_ROOT/lib/firmware firmware_install \
1067 mv .config.firmware_save .config
1069 # First we unpack the kernel tarball.
1070 # If this isn't the first make prep, we use links to the existing clean tarball
1071 # which speeds things up quite a bit.
1073 # Update to latest upstream.
1074 %if 0%{?released_kernel}
1075 %define vanillaversion 2.6.%{base_sublevel}
1076 # non-released_kernel case
1079 %define vanillaversion 2.6.%{upstream_sublevel}-rc%{rcrev}
1081 %define vanillaversion 2.6.%{upstream_sublevel}-rc%{rcrev}-git%{gitrev}
1084 # pre-{base_sublevel+1}-rc1 case
1086 %define vanillaversion 2.6.%{base_sublevel}-git%{gitrev}
1091 # We can share hardlinked source trees by putting a list of
1092 # directory names of the CVS checkouts that we want to share
1093 # with in .shared-srctree. (Full pathnames are required.)
1094 [ -f .shared-srctree ] && sharedirs=$(cat .shared-srctree)
1096 if [ ! -d kernel-%{kversion}/vanilla-%{vanillaversion} ]; then
1098 if [ -d kernel-%{kversion}/vanilla-%{kversion} ]; then
1100 cd kernel-%{kversion}
1102 # Any vanilla-* directories other than the base one are stale.
1103 for dir in vanilla-*; do
1104 [ "$dir" = vanilla-%{kversion} ] || rm -rf $dir &
1109 # Ok, first time we do a make prep.
1110 rm -f pax_global_header
1111 for sharedir in $sharedirs ; do
1112 if [[ ! -z $sharedir && -d $sharedir/kernel-%{kversion}/vanilla-%{kversion} ]] ; then
1116 if [[ ! -z $sharedir && -d $sharedir/kernel-%{kversion}/vanilla-%{kversion} ]] ; then
1117 %setup -q -n kernel-%{kversion} -c -T
1118 cp -rl $sharedir/kernel-%{kversion}/vanilla-%{kversion} .
1120 %setup -q -n kernel-%{kversion} -c
1121 mv linux-%{kversion} vanilla-%{kversion}
1126 %if "%{kversion}" != "%{vanillaversion}"
1128 for sharedir in $sharedirs ; do
1129 if [[ ! -z $sharedir && -d $sharedir/kernel-%{kversion}/vanilla-%{vanillaversion} ]] ; then
1133 if [[ ! -z $sharedir && -d $sharedir/kernel-%{kversion}/vanilla-%{vanillaversion} ]] ; then
1135 cp -rl $sharedir/kernel-%{kversion}/vanilla-%{vanillaversion} .
1139 cp -rl vanilla-%{kversion} vanilla-%{vanillaversion}
1140 cd vanilla-%{vanillaversion}
1142 # Update vanilla to the latest upstream.
1143 # (non-released_kernel case only)
1145 ApplyPatch patch-2.6.%{upstream_sublevel}-rc%{rcrev}.bz2
1147 ApplyPatch patch-2.6.%{upstream_sublevel}-rc%{rcrev}-git%{gitrev}.bz2
1150 # pre-{base_sublevel+1}-rc1 case
1152 ApplyPatch patch-2.6.%{base_sublevel}-git%{gitrev}.bz2
1163 # We already have a vanilla dir.
1164 cd kernel-%{kversion}
1167 if [ -d linux-%{kversion}.%{_target_cpu} ]; then
1168 # Just in case we ctrl-c'd a prep already
1169 rm -rf deleteme.%{_target_cpu}
1170 # Move away the stale away, and delete in background.
1171 mv linux-%{kversion}.%{_target_cpu} deleteme.%{_target_cpu}
1172 rm -rf deleteme.%{_target_cpu} &
1175 cp -rl vanilla-%{vanillaversion} linux-%{kversion}.%{_target_cpu}
1177 cd linux-%{kversion}.%{_target_cpu}
1179 # released_kernel with possible stable updates
1180 %if 0%{?stable_base}
1181 ApplyPatch %{stable_patch_00}
1184 ApplyPatch %{stable_patch_01}
1187 %if %{using_upstream_branch}
1188 ### BRANCH APPLY ###
1191 # Drop some necessary files from the source dir into the buildroot
1192 cp $RPM_SOURCE_DIR/config-* .
1195 # Dynamically generate kernel .config files from config-* files
1196 make -f %{SOURCE20} VERSION=%{version} configs
1198 #if a rhel kernel, apply the rhel config options
1200 for i in %{all_arch_configs}
1203 ./merge.pl config-rhel-generic $i.tmp > $i
1208 #ApplyOptionalPatch git-linus.diff
1210 # This patch adds a "make nonint_oldconfig" which is non-interactive and
1211 # also gives a list of missing options at the end. Useful for automated
1212 # builds (as used in the buildsystem).
1213 ApplyPatch linux-2.6-build-nonintconfig.patch
1215 ApplyPatch linux-2.6-makefile-after_link.patch
1218 ApplyPatch patch-2.6.31.6-vs2.3.0.36.27.diff
1221 # misc small stuff to make things compile
1223 ApplyOptionalPatch linux-2.6-compile-fixes.patch
1227 # revert patches from upstream that conflict or that we get via other means
1228 ApplyOptionalPatch linux-2.6-upstream-reverts.patch -R
1230 ApplyOptionalPatch git-cpufreq.patch
1231 #ApplyOptionalPatch git-bluetooth.patch
1233 ApplyPatch linux-2.6-hotfixes.patch
1235 # Roland's utrace ptrace replacement.
1236 ApplyPatch linux-2.6-tracehook.patch
1238 ApplyPatch linux-2.6-utrace.patch -F3
1240 ApplyPatch sched-introduce-SCHED_RESET_ON_FORK-scheduling-policy-flag.patch
1242 ApplyPatch disable-stackprotector-all.patch
1244 # Architecture patches
1246 ApplyPatch via-hwmon-temp-sensor.patch
1247 ApplyPatch linux-2.6-dell-laptop-rfkill-fix.patch
1252 # Quiesce USB host controllers before setting up the IOMMU
1253 ApplyPatch linux-2.6-die-closed-source-bios-muppets-die.patch
1254 # Some performance fixes, unify hardware/software passthrough support, and
1255 # most importantly: notice when the BIOS points us to a region that returns
1256 # all 0xFF, and claims that there's an IOMMU there.
1257 ApplyPatch linux-2.6-intel-iommu-updates.patch
1258 ApplyPatch linux-2.6-iommu-at-zero.patch
1259 ApplyPatch linux-2.6-iommu-dmar-all-1s.patch
1260 # Check for RMRRs which end before they start
1261 ApplyPatch linux-2.6-iommu-another-hp-screwup.patch
1262 # Apply the 'at zero' and 'all 0xFF' sanity checks for intr_remap too
1263 ApplyPatch linux-2.6-iommu-sanity-checks-for-intr-remap-too.patch
1264 # Fix up MMIO BAR for integrated graphics on HP laptops on resume (#536675)
1265 ApplyPatch linux-2.6-iommu-hp-cantiga-resume.patch
1270 ### NOT (YET) UPSTREAM:
1271 # The storage alias patch is Fedora-local, and allows the old 'ps3_storage'
1272 # module name to work on upgrades. Otherwise, I believe mkinitrd will fail
1273 # to pull the module in,
1274 ApplyPatch linux-2.6-ps3-storage-alias.patch
1275 # Alleviate G5 thermal shutdown problems
1276 ApplyPatch linux-2.6-g5-therm-shutdown.patch
1277 # Provide modalias in sysfs for vio devices
1278 ApplyPatch linux-2.6-vio-modalias.patch
1279 # Work around PCIe bridge setup on iSight
1280 ApplyPatch linux-2.6-imac-transparent-bridge.patch
1285 ApplyPatch linux-2.6.29-sparc-IOC_TYPECHECK.patch
1291 ApplyPatch linux-2.6-execshield.patch -F3
1294 # bugfixes to drivers and filesystems
1303 ApplyPatch linux-2.6-btrfs-upstream.patch
1308 ApplyPatch linux-2.6-nfsd4-proots.patch
1309 ApplyPatch linux-2.6-nfs4-ver4opt.patch
1310 ApplyPatch linux-2.6-nfs4-callback-hidden.patch
1313 ApplyPatch linux-2.6-driver-level-usb-autosuspend.diff
1314 ApplyPatch linux-2.6-qcserial-autosuspend.diff
1315 ApplyPatch linux-2.6-bluetooth-autosuspend.diff
1316 ApplyPatch linux-2.6-usb-uvc-autosuspend.diff
1319 ApplyPatch linux-2.6-defaults-acpi-video.patch
1320 ApplyPatch linux-2.6-acpi-video-dos.patch
1321 # cpuidle: Fix the menu governor to boost IO performance
1322 ApplyPatch linux-2.6.31-cpuidle-faster-io.patch
1323 # EC fixes from 2.6.32 (#492699, #525681)
1324 ApplyPatch acpi-ec-merge-irq-and-poll-modes.patch
1325 ApplyPatch acpi-ec-use-burst-mode-only-for-msi-notebooks.patch
1326 ApplyPatch acpi-ec-restart-command-even-if-no-interrupts-from-ec.patch
1328 # Various low-impact patches to aid debugging.
1329 ApplyPatch linux-2.6-debug-sizeof-structs.patch
1330 ApplyPatch linux-2.6-debug-nmi-timeout.patch
1331 ApplyPatch linux-2.6-debug-taint-vm.patch
1332 ApplyPatch linux-2.6-debug-spinlock-taint.patch
1334 ApplyPatch linux-2.6-debug-vm-would-have-oomkilled.patch
1335 ApplyPatch linux-2.6-debug-always-inline-kzalloc.patch
1340 # disable message signaled interrupts
1341 ApplyPatch linux-2.6-defaults-pci_no_msi.patch
1342 # update the pciehp driver
1343 #ApplyPatch linux-2.6-pciehp-update.patch
1344 # default to enabling passively listening for hotplug events
1345 #ApplyPatch linux-2.6-defaults-pciehp.patch
1346 # enable ASPM by default on hardware we expect to work
1347 ApplyPatch linux-2.6-defaults-aspm.patch
1354 # squelch hda_beep by default
1355 ApplyPatch linux-2.6-defaults-alsa-hda-beep-off.patch
1356 ApplyPatch linux-2.6-alsa-improve-hda-powerdown.patch
1357 ApplyPatch hda_intel-prealloc-4mb-dmabuffer.patch
1358 ApplyPatch alsa-tell-user-that-stream-to-be-rewound-is-suspended.patch
1363 # The input layer spews crap no-one cares about.
1364 ApplyPatch linux-2.6-input-kill-stupid-messages.patch
1366 # stop floppy.ko from autoloading during udev...
1367 ApplyPatch die-floppy-die.patch
1369 # make copy_from_user to a stack slot provable right
1370 # hosed stuff, just drop this close to beta
1371 #ApplyPatch linux-2.6.31-copy_from_user-bounds.patch
1373 # Get away from having to poll Toshibas
1374 #ApplyPatch linux-2.6-input-fix-toshiba-hotkeys.patch
1376 ApplyPatch linux-2.6.30-no-pcspkr-modalias.patch
1378 # Allow to use 480600 baud on 16C950 UARTs
1379 ApplyPatch linux-2.6-serial-460800.patch
1381 # Silence some useless messages that still get printed with 'quiet'
1382 ApplyPatch linux-2.6-silence-noise.patch
1383 ApplyPatch linux-2.6.30-hush-rom-warning.patch
1385 # Make fbcon not show the penguins with 'quiet'
1386 ApplyPatch linux-2.6-silence-fbcon-logo.patch
1388 # Fix the SELinux mprotect checks on executable mappings
1389 #ApplyPatch linux-2.6-selinux-mprotect-checks.patch
1390 # Fix SELinux for sparc
1391 #ApplyPatch linux-2.6-sparc-selinux-mprotect-checks.patch
1393 # Changes to upstream defaults.
1397 ApplyPatch linux-2.6-ata-quirk.patch
1399 # Make it possible to identify non-hotplug SATA ports
1400 ApplyPatch linux-2.6-ahci-export-capabilities.patch
1402 # prism54: remove pci modinfo device table
1403 ApplyPatch prism54-remove-pci-dev-table.patch
1405 # ath9k: add fixes suggested by upstream maintainer
1406 ApplyPatch linux-2.6-ath9k-fixes.patch
1408 # /dev/crash driver.
1409 ApplyPatch linux-2.6-crash-driver.patch
1411 # Determine cacheline sizes in a generic manner.
1412 ApplyPatch linux-2.6-pci-cacheline-sizing.patch
1414 # http://www.lirc.org/
1415 ApplyPatch lirc-2.6.31.patch
1416 # enable IR receiver on Hauppauge HD PVR (v4l-dvb merge pending)
1417 ApplyPatch hdpvr-ir-enable.patch
1418 # tell usbhid to ignore all imon devices (sent upstream 2009.07.31)
1419 ApplyPatch hid-ignore-all-recent-imon-devices.patch
1421 # Add kernel KSM support
1422 ApplyPatch linux-2.6-ksm.patch
1423 ApplyPatch linux-2.6-ksm-updates.patch
1424 ApplyPatch linux-2.6-ksm-fix-munlock.patch
1425 ApplyPatch linux-2.6-ksm-updates-from-32.patch
1426 # Optimize KVM for KSM support
1427 ApplyPatch linux-2.6-ksm-kvm.patch
1429 # Assorted Virt Fixes
1430 ApplyPatch linux-2.6-virtio_blk-revert-QUEUE_FLAG_VIRT-addition.patch
1431 ApplyPatch linux-2.6-xen-fix-is_disconnected_device-exists_disconnected_device.patch
1432 ApplyPatch linux-2.6-xen-improvement-to-wait_for_devices.patch
1433 ApplyPatch linux-2.6-xen-increase-device-connection-timeout.patch
1434 ApplyPatch linux-2.6-virtio_blk-add-support-for-cache-flush.patch
1436 # Fix block I/O errors in KVM
1437 ApplyPatch linux-2.6-block-silently-error-unsupported-empty-barriers-too.patch
1439 ApplyPatch linux-2.6-e1000-ich9.patch
1441 # Nouveau DRM + drm fixes
1442 ApplyPatch kms-offb-handoff.patch
1443 ApplyPatch drm-next-b390f944.patch
1444 ApplyPatch drm-radeon-misc-fixes.patch
1445 ApplyPatch drm-radeon-rv410-test-fix.patch
1446 ApplyPatch drm-conservative-fallback-modes.patch
1447 ApplyPatch drm-edid-retry.patch
1448 ApplyPatch drm-edid-header-fixup.patch
1449 ApplyPatch drm-default-mode.patch
1451 ApplyPatch drm-nouveau.patch
1452 # pm broken on my thinkpad t60p - airlied
1453 #ApplyPatch drm-radeon-pm.patch
1454 ApplyPatch drm-i915-resume-force-mode.patch
1455 ApplyOptionalPatch drm-intel-next.patch
1456 #this appears to be upstream - mjg59?
1457 #ApplyPatch drm-intel-pm.patch
1458 ApplyPatch drm-intel-no-tv-hotplug.patch
1459 ApplyPatch drm-i915-fix-tvmode-oops.patch
1460 ApplyPatch drm-i915-fix-sync-to-vbl-when-vga-is-off.patch
1461 #ApplyPatch drm-disable-r600-aspm.patch
1464 ApplyPatch linux-2.6-vga-arb.patch
1465 ApplyPatch drm-vga-arb.patch
1466 ApplyPatch drm-radeon-kms-arbiter-return-ignore.patch
1468 # Lower debug level of fbcon handover messages (rh#538526)
1469 ApplyPatch fbcon-lower-debug.patch
1471 # linux1394 git patches
1472 # apply if non-empty
1473 ApplyOptionalPatch linux-2.6-firewire-git-update.patch
1474 ApplyOptionalPatch linux-2.6-firewire-git-pending.patch
1476 # silence the ACPI blacklist code
1477 ApplyPatch linux-2.6-silence-acpi-blacklist.patch
1479 # V4L/DVB updates/fixes/experimental drivers
1480 # apply if non-empty
1481 ApplyOptionalPatch linux-2.6-v4l-dvb-fixes.patch
1482 ApplyOptionalPatch linux-2.6-v4l-dvb-update.patch
1483 ApplyOptionalPatch linux-2.6-v4l-dvb-experimental.patch
1485 ApplyPatch v4l-dvb-fix-cx25840-firmware-loading.patch
1487 # Patches headed upstream
1488 ApplyPatch linux-2.6-rtc-show-hctosys.patch
1489 ApplyPatch linux-2.6-rfkill-all.patch
1490 ApplyPatch linux-2.6-selinux-module-load-perms.patch
1492 # patches headed for -stable
1494 # make perf counter API available to userspace (#527264)
1495 ApplyPatch perf-make-perf-counter-h-available-to-userspace.patch
1497 ApplyPatch improve-resource-counter-scalability.patch
1499 # fix perf for sysprof
1500 ApplyPatch perf-events-fix-swevent-hrtimer-sampling.patch
1501 ApplyPatch perf-events-dont-generate-events-for-the-idle-task.patch
1503 # Fix oops in padlock
1504 ApplyPatch crypto-via-padlock-fix-nano-aes.patch
1506 # tg3 fixes (#527209)
1507 ApplyPatch tg3-01-delay-mdio-bus-init-until-fw-finishes.patch
1508 ApplyPatch tg3-02-fix-tso-test-against-wrong-flags-var.patch
1509 ApplyPatch tg3-03-fix-57780-asic-rev-pcie-link-receiver-errors.patch
1510 ApplyPatch tg3-04-prevent-tx-bd-corruption.patch
1511 ApplyPatch tg3-05-assign-flags-to-fixes-in-start_xmit_dma_bug.patch
1512 ApplyPatch tg3-06-fix-5906-transmit-hangs.patch
1514 # sched fixes cherry-picked from 2.6.32
1515 ApplyPatch sched-deal-with-low-load-in-wake-affine.patch
1516 ApplyPatch sched-ensure-child-cant-gain-time-over-its-parent-after-fork.patch
1517 ApplyPatch sched-remove-shortcut-from-select-task-rq-fair.patch
1518 # latency defaults from 2.6.32
1519 ApplyPatch sched-retune-scheduler-latency-defaults.patch
1520 # fix wakeup latency
1521 ApplyPatch sched-update-the-clock-of-runqueue-select-task-rq-selected.patch
1523 ApplyPatch highmem-Fix-debug_kmap_atomic-to-also-handle-KM_IRQ_.patch
1524 ApplyPatch highmem-Fix-race-in-debug_kmap_atomic-which-could-ca.patch
1525 ApplyPatch highmem-fix-arm-powerpc-kmap_types.patch
1527 ApplyPatch dlm-fix-connection-close-handling.patch
1530 ApplyPatch ipv4-fix-null-ptr-deref-in-ip_fragment.patch
1532 # END OF PATCH APPLICATIONS
1536 # Any further pre-build tree manipulations happen here.
1538 chmod +x scripts/checkpatch.pl
1540 # only deal with configs if we are going to build for the arch
1541 %ifnarch %nobuildarches
1545 # Remove configs not for the buildarch
1546 for cfg in kernel-%{version}-*.config; do
1547 if [ `echo %{all_arch_configs} | grep -c $cfg` -eq 0 ]; then
1552 %if !%{debugbuildsenabled}
1553 rm -f kernel-%{version}-*debug.config
1556 # now run oldconfig over all the config files
1560 Arch=`head -1 .config | cut -b 3-`
1561 make ARCH=$Arch %{oldconfig_target}
1562 echo "# $Arch" > configs/$i
1563 cat .config >> configs/$i
1565 # end of kernel config
1568 # get rid of unwanted files resulting from patch fuzz
1569 find . \( -name "*.orig" -o -name "*~" \) -exec rm -f {} \; >/dev/null
1579 %define sparse_mflags C=1
1582 %if %{fancy_debuginfo}
1583 # This override tweaks the kernel makefiles so that we run debugedit on an
1584 # object before embedding it. When we later run find-debuginfo.sh, it will
1585 # run debugedit again. The edits it does change the build ID bits embedded
1586 # in the stripped object, but repeating debugedit is a no-op. We do it
1587 # beforehand to get the proper final build ID bits into the embedded image.
1588 # This affects the vDSO images in vmlinux, and the vmlinux image in bzImage.
1590 'sh -xc "/usr/lib/rpm/debugedit -b $$RPM_BUILD_DIR -d /usr/src/debug -i $@"'
1595 eu-strip --remove-comment -o "$2" "$1"
1602 InstallName=${4:-vmlinuz}
1604 # Pick the right config file for the kernel we're building
1605 Config=kernel-%{version}-%{_target_cpu}${Flavour:+-${Flavour}}.config
1606 DevelDir=/usr/src/kernels/%{KVERREL}${Flavour:+.${Flavour}}
1608 # When the bootable image is just the ELF kernel, strip it.
1609 # We already copy the unstripped file into the debuginfo package.
1610 if [ "$KernelImage" = vmlinux ]; then
1611 CopyKernel=cp_vmlinux
1616 KernelVer=%{version}-%{release}.%{_target_cpu}${Flavour:+.${Flavour}}
1617 echo BUILDING A KERNEL FOR ${Flavour} %{_target_cpu}...
1619 # make sure EXTRAVERSION says what we want it to say
1620 perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = %{?stablerev}-%{release}.%{_target_cpu}${Flavour:+.${Flavour}}/" Makefile
1622 # if pre-rc1 devel kernel, must fix up SUBLEVEL for our versioning scheme
1625 perl -p -i -e 's/^SUBLEVEL.*/SUBLEVEL = %{upstream_sublevel}/' Makefile
1629 # and now to start the build process
1632 cp configs/$Config .config
1634 Arch=`head -1 .config | cut -b 3-`
1635 echo USING ARCH=$Arch
1637 make -s ARCH=$Arch %{oldconfig_target} > /dev/null
1638 make -s ARCH=$Arch V=1 %{?_smp_mflags} $MakeTarget %{?sparse_mflags}
1639 make -s ARCH=$Arch V=1 %{?_smp_mflags} modules %{?sparse_mflags} || exit 1
1641 %if %{with_perftool}
1643 # make sure the scripts are executable... won't be in tarball until 2.6.31 :/
1644 chmod +x util/generate-cmdlist.sh util/PERF-VERSION-GEN
1645 make -s V=1 %{?_smp_mflags} perf
1646 mkdir -p $RPM_BUILD_ROOT/usr/libexec/
1647 install -m 755 perf $RPM_BUILD_ROOT/usr/libexec/perf.$KernelVer
1651 # Start installing the results
1652 %if %{with_debuginfo}
1653 mkdir -p $RPM_BUILD_ROOT%{debuginfodir}/boot
1654 mkdir -p $RPM_BUILD_ROOT%{debuginfodir}/%{image_install_path}
1656 mkdir -p $RPM_BUILD_ROOT/%{image_install_path}
1657 install -m 644 .config $RPM_BUILD_ROOT/boot/config-$KernelVer
1658 install -m 644 System.map $RPM_BUILD_ROOT/boot/System.map-$KernelVer
1660 # We estimate the size of the initramfs because rpm needs to take this size
1661 # into consideration when performing disk space calculations. (See bz #530778)
1662 dd if=/dev/zero of=$RPM_BUILD_ROOT/boot/initramfs-$KernelVer.img bs=1M count=20
1664 dd if=/dev/zero of=$RPM_BUILD_ROOT/boot/initrd-$KernelVer.img bs=1M count=5
1666 if [ -f arch/$Arch/boot/zImage.stub ]; then
1667 cp arch/$Arch/boot/zImage.stub $RPM_BUILD_ROOT/%{image_install_path}/zImage.stub-$KernelVer || :
1669 $CopyKernel $KernelImage \
1670 $RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer
1671 chmod 755 $RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer
1673 mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer
1674 # Override $(mod-fw) because we don't want it to install any firmware
1675 # We'll do that ourselves with 'make firmware_install'
1676 make -s ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT modules_install KERNELRELEASE=$KernelVer mod-fw=
1677 %ifarch %{vdso_arches}
1678 make -s ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT vdso_install KERNELRELEASE=$KernelVer
1679 if grep '^CONFIG_XEN=y$' .config >/dev/null; then
1680 echo > ldconfig-kernel.conf "\
1681 # This directive teaches ldconfig to search in nosegneg subdirectories
1682 # and cache the DSOs there with extra bit 0 set in their hwcap match
1683 # fields. In Xen guest kernels, the vDSO tells the dynamic linker to
1684 # search in nosegneg subdirectories and to match this extra hwcap bit
1685 # in the ld.so.cache file.
1688 if [ ! -s ldconfig-kernel.conf ]; then
1689 echo > ldconfig-kernel.conf "\
1690 # Placeholder file, no vDSO hwcap entries used in this kernel."
1692 %{__install} -D -m 444 ldconfig-kernel.conf \
1693 $RPM_BUILD_ROOT/etc/ld.so.conf.d/kernel-$KernelVer.conf
1696 # And save the headers/makefiles etc for building modules against
1698 # This all looks scary, but the end result is supposed to be:
1699 # * all arch relevant include/ files
1700 # * all Makefile/Kconfig files
1701 # * all script/ files
1703 rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1704 rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/source
1705 mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1706 (cd $RPM_BUILD_ROOT/lib/modules/$KernelVer ; ln -s build source)
1707 # dirs for additional modules per module-init-tools, kbuild/modules.txt
1708 mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/extra
1709 mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/updates
1710 mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/weak-updates
1711 # first copy everything
1712 cp --parents `find -type f -name "Makefile*" -o -name "Kconfig*"` $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1713 cp Module.symvers $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1714 cp System.map $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1715 if [ -s Module.markers ]; then
1716 cp Module.markers $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1718 # then drop all but the needed Makefiles/Kconfig files
1719 rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/Documentation
1720 rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts
1721 rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
1722 cp .config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1723 cp -a scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1724 if [ -d arch/$Arch/scripts ]; then
1725 cp -a arch/$Arch/scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch} || :
1727 if [ -f arch/$Arch/*lds ]; then
1728 cp -a arch/$Arch/*lds $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch}/ || :
1730 rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/*.o
1731 rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/*/*.o
1733 cp -a --parents arch/powerpc/lib/crtsavres.[So] $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
1735 if [ -d arch/%{asmarch}/include ]; then
1736 cp -a --parents arch/%{asmarch}/include $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
1738 mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
1740 cp -a acpi config crypto keys linux math-emu media mtd net pcmcia rdma rxrpc scsi sound trace video drm asm-generic $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
1741 asmdir=$(readlink asm)
1742 cp -a $asmdir $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/
1743 pushd $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
1746 # Make sure the Makefile and version.h have a matching timestamp so that
1747 # external modules can be built
1748 touch -r $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/Makefile $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/linux/version.h
1749 touch -r $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/.config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/linux/autoconf.h
1750 # Copy .config to include/config/auto.conf so "make prepare" is unnecessary.
1751 cp $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/.config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/config/auto.conf
1755 # save the vmlinux file for kernel debugging into the kernel-debuginfo rpm
1757 %if %{with_debuginfo}
1758 mkdir -p $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer
1759 cp vmlinux $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer
1762 find $RPM_BUILD_ROOT/lib/modules/$KernelVer -name "*.ko" -type f >modnames
1764 # mark modules executable so that strip-to-file can strip them
1765 xargs --no-run-if-empty chmod u+x < modnames
1767 # Generate a list of modules for block and networking.
1769 fgrep /drivers/ modnames | xargs --no-run-if-empty nm -upA |
1770 sed -n 's,^.*/\([^/]*\.ko\): *U \(.*\)$,\1 \2,p' > drivers.undef
1772 collect_modules_list()
1774 sed -r -n -e "s/^([^ ]+) \\.?($2)\$/\\1/p" drivers.undef |
1775 LC_ALL=C sort -u > $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$1
1778 collect_modules_list networking \
1779 'register_netdev|ieee80211_register_hw|usbnet_probe'
1780 collect_modules_list block \
1781 'ata_scsi_ioctl|scsi_add_host|blk_init_queue|register_mtd_blktrans|scsi_esp_register|scsi_register_device_handler'
1782 collect_modules_list drm \
1784 collect_modules_list modesetting \
1787 # detect missing or incorrect license tags
1791 echo -n "${i#$RPM_BUILD_ROOT/lib/modules/$KernelVer/} " >> modinfo
1792 /sbin/modinfo -l $i >> modinfo
1796 'GPL( v2)?$|Dual BSD/GPL$|Dual MPL/GPL$|GPL and additional rights$' \
1799 rm -f modinfo modnames
1801 # remove files that will be auto generated by depmod at rpm -i time
1802 for i in alias alias.bin ccwmap dep dep.bin ieee1394map inputmap isapnpmap ofmap pcimap seriomap symbols symbols.bin usbmap
1804 rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$i
1807 # Move the devel headers out of the root file system
1808 mkdir -p $RPM_BUILD_ROOT/usr/src/kernels
1809 mv $RPM_BUILD_ROOT/lib/modules/$KernelVer/build $RPM_BUILD_ROOT/$DevelDir
1810 ln -sf ../../..$DevelDir $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1817 # prepare directories
1818 rm -rf $RPM_BUILD_ROOT
1819 mkdir -p $RPM_BUILD_ROOT/boot
1821 cd linux-%{kversion}.%{_target_cpu}
1824 BuildKernel %make_target %kernel_image debug
1827 %if %{with_pae_debug}
1828 BuildKernel %make_target %kernel_image PAEdebug
1832 BuildKernel %make_target %kernel_image PAE
1836 BuildKernel %make_target %kernel_image
1840 BuildKernel %make_target %kernel_image smp
1844 BuildKernel vmlinux vmlinux kdump vmlinux
1848 # Make the HTML and man pages.
1849 # XXX nix %{?_smp_mflags} here, buggy Documentation/*/Makefile!
1850 make htmldocs mandocs || %{doc_build_fail}
1852 # sometimes non-world-readable files sneak into the kernel source tree
1853 chmod -R a=rX Documentation
1854 find Documentation -type d | xargs chmod u+w
1859 make %{?_smp_mflags} man || %{doc_build_fail}
1864 ### Special hacks for debuginfo subpackages.
1867 # This macro is used by %%install, so we must redefine it before that.
1868 %define debug_package %{nil}
1870 %if %{fancy_debuginfo}
1871 %define __debug_install_post \
1872 /usr/lib/rpm/find-debuginfo.sh %{debuginfo_args} %{_builddir}/%{?buildsubdir}\
1876 %if %{with_debuginfo}
1878 %global __debug_package 1
1879 %files -f debugfiles.list debuginfo-common-%{_target_cpu}
1880 %defattr(-,root,root)
1890 cd linux-%{kversion}.%{_target_cpu}
1893 docdir=$RPM_BUILD_ROOT%{_datadir}/doc/kernel-doc-%{rpmversion}
1894 man9dir=$RPM_BUILD_ROOT%{_datadir}/man/man9
1896 # copy the source over
1898 tar -f - --exclude=man --exclude='.*' -c Documentation | tar xf - -C $docdir
1900 # Install man pages for the kernel API.
1902 find Documentation/DocBook/man -name '*.9.gz' -print0 |
1903 xargs -0 --no-run-if-empty %{__install} -m 444 -t $man9dir $m
1904 ls $man9dir | grep -q '' || > $man9dir/BROKEN
1909 mandir=$RPM_BUILD_ROOT%{_datadir}/man
1910 man1dir=$mandir/man1
1911 pushd tools/perf/Documentation
1912 make install-man mandir=$mandir
1922 # perf shell wrapper
1924 mkdir -p $RPM_BUILD_ROOT/usr/sbin/
1925 cp $RPM_SOURCE_DIR/perf $RPM_BUILD_ROOT/usr/sbin/perf
1926 chmod 0755 $RPM_BUILD_ROOT/usr/sbin/perf
1927 mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/perf
1931 # Install kernel headers
1932 make ARCH=%{hdrarch} INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr headers_install
1934 # Do headers_check but don't die if it fails.
1935 make ARCH=%{hdrarch} INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr headers_check \
1936 > hdrwarnings.txt || :
1937 if grep -q exist hdrwarnings.txt; then
1938 sed s:^$RPM_BUILD_ROOT/usr/include/:: hdrwarnings.txt
1939 # Temporarily cause a build failure if header inconsistencies.
1943 find $RPM_BUILD_ROOT/usr/include \
1944 \( -name .install -o -name .check -o \
1945 -name ..install.cmd -o -name ..check.cmd \) | xargs rm -f
1947 # glibc provides scsi headers for itself, for now
1948 rm -rf $RPM_BUILD_ROOT/usr/include/scsi
1949 rm -f $RPM_BUILD_ROOT/usr/include/asm*/atomic.h
1950 rm -f $RPM_BUILD_ROOT/usr/include/asm*/io.h
1951 rm -f $RPM_BUILD_ROOT/usr/include/asm*/irq.h
1954 %if %{with_firmware}
1958 %if %{with_bootwrapper}
1959 make DESTDIR=$RPM_BUILD_ROOT bootwrapper_install WRAPPER_OBJDIR=%{_libdir}/kernel-wrapper WRAPPER_DTSDIR=%{_libdir}/kernel-wrapper/dts
1968 rm -rf $RPM_BUILD_ROOT
1975 # This macro defines a %%post script for a kernel*-devel package.
1976 # %%kernel_devel_post [<subpackage>]
1978 %define kernel_devel_post() \
1979 %{expand:%%post %{?1:%{1}-}devel}\
1980 if [ -f /etc/sysconfig/kernel ]\
1982 . /etc/sysconfig/kernel || exit $?\
1984 if [ "$HARDLINK" != "no" -a -x /usr/sbin/hardlink ]\
1986 (cd /usr/src/kernels/%{KVERREL}%{?1:.%{1}} &&\
1987 /usr/bin/find . -type f | while read f; do\
1988 hardlink -c /usr/src/kernels/*.fc*.*/$f $f\
1993 # This macro defines a %%posttrans script for a kernel package.
1994 # %%kernel_variant_posttrans [<subpackage>]
1995 # More text can follow to go at the end of this variant's %%post.
1997 %define kernel_variant_posttrans() \
1998 %{expand:%%posttrans %{?1}}\
1999 /sbin/new-kernel-pkg --package kernel%{?1:-%{1}} --rpmposttrans %{KVERREL}%{?1:.%{1}} || exit $?\
2003 # This macro defines a %%post script for a kernel package and its devel package.
2004 # %%kernel_variant_post [-v <subpackage>] [-r <replace>]
2005 # More text can follow to go at the end of this variant's %%post.
2007 %define kernel_variant_post(v:r:) \
2008 %{expand:%%kernel_devel_post %{?-v*}}\
2009 %{expand:%%kernel_variant_posttrans %{?-v*}}\
2010 %{expand:%%post %{?-v*}}\
2012 if [ `uname -i` == "x86_64" -o `uname -i` == "i386" ] &&\
2013 [ -f /etc/sysconfig/kernel ]; then\
2014 /bin/sed -r -i -e 's/^DEFAULTKERNEL=%{-r*}$/DEFAULTKERNEL=kernel%{?-v:-%{-v*}}/' /etc/sysconfig/kernel || exit $?\
2018 /sbin/new-kernel-pkg --package kernel%{?-v:-%{-v*}} --mkinitrd --dracut --depmod --install %{KVERREL}%{?-v:.%{-v*}} || exit $?\
2020 /sbin/new-kernel-pkg --package kernel%{?-v:-%{-v*}} --mkinitrd --depmod --install %{KVERREL}%{?-v:.%{-v*}} || exit $?\
2022 #if [ -x /sbin/weak-modules ]\
2024 # /sbin/weak-modules --add-kernel %{KVERREL}%{?-v*} || exit $?\
2029 # This macro defines a %%preun script for a kernel package.
2030 # %%kernel_variant_preun <subpackage>
2032 %define kernel_variant_preun() \
2033 %{expand:%%preun %{?1}}\
2034 /sbin/new-kernel-pkg --rminitrd --rmmoddep --remove %{KVERREL}%{?1:.%{1}} || exit $?\
2035 #if [ -x /sbin/weak-modules ]\
2037 # /sbin/weak-modules --remove-kernel %{KVERREL}%{?1} || exit $?\
2041 %kernel_variant_preun
2043 %kernel_variant_post -r (kernel-smp|kernel-xen)
2045 %kernel_variant_post -r kernel-smp
2048 %kernel_variant_preun smp
2049 %kernel_variant_post -v smp
2051 %kernel_variant_preun PAE
2052 %kernel_variant_post -v PAE -r (kernel|kernel-smp|kernel-xen)
2054 %kernel_variant_preun debug
2055 %kernel_variant_post -v debug
2057 %kernel_variant_post -v PAEdebug -r (kernel|kernel-smp|kernel-xen)
2058 %kernel_variant_preun PAEdebug
2060 if [ -x /sbin/ldconfig ]
2062 /sbin/ldconfig -X || exit $?
2071 %defattr(-,root,root)
2075 %if %{with_firmware}
2077 %defattr(-,root,root)
2079 %doc linux-%{kversion}.%{_target_cpu}/firmware/WHENCE
2082 %if %{with_bootwrapper}
2084 %defattr(-,root,root)
2086 %{_libdir}/kernel-wrapper
2089 # only some architecture builds need kernel-doc
2092 %defattr(-,root,root)
2093 %{_datadir}/doc/kernel-doc-%{rpmversion}/Documentation/*
2094 %dir %{_datadir}/doc/kernel-doc-%{rpmversion}/Documentation
2095 %dir %{_datadir}/doc/kernel-doc-%{rpmversion}
2096 %{_datadir}/man/man9/*
2101 %defattr(-,root,root)
2102 %{_datadir}/doc/perf
2104 %{_datadir}/man/man1/*
2107 # This is %{image_install_path} on an arch where that includes ELF files,
2108 # or empty otherwise.
2109 %define elf_image_install_path %{?kernel_image_elf:%{image_install_path}}
2112 # This macro defines the %%files sections for a kernel package
2113 # and its devel and debuginfo packages.
2114 # %%kernel_variant_files [-k vmlinux] <condition> <subpackage>
2116 %define kernel_variant_files(k:) \
2118 %{expand:%%files %{?2}}\
2119 %defattr(-,root,root)\
2120 /%{image_install_path}/%{?-k:%{-k*}}%{!?-k:vmlinuz}-%{KVERREL}%{?2:.%{2}}\
2121 /boot/System.map-%{KVERREL}%{?2:.%{2}}\
2122 %if %{with_perftool}\
2123 /usr/libexec/perf.%{KVERREL}%{?2:.%{2}}\
2125 #/boot/symvers-%{KVERREL}%{?2:.%{2}}.gz\
2126 /boot/config-%{KVERREL}%{?2:.%{2}}\
2127 %dir /lib/modules/%{KVERREL}%{?2:.%{2}}\
2128 /lib/modules/%{KVERREL}%{?2:.%{2}}/kernel\
2129 /lib/modules/%{KVERREL}%{?2:.%{2}}/build\
2130 /lib/modules/%{KVERREL}%{?2:.%{2}}/source\
2131 /lib/modules/%{KVERREL}%{?2:.%{2}}/extra\
2132 /lib/modules/%{KVERREL}%{?2:.%{2}}/updates\
2133 /lib/modules/%{KVERREL}%{?2:.%{2}}/weak-updates\
2134 %ifarch %{vdso_arches}\
2135 /lib/modules/%{KVERREL}%{?2:.%{2}}/vdso\
2136 /etc/ld.so.conf.d/kernel-%{KVERREL}%{?2:.%{2}}.conf\
2138 /lib/modules/%{KVERREL}%{?2:.%{2}}/modules.*\
2140 /boot/initramfs-%{KVERREL}%{?2:.%{2}}.img\
2142 /boot/initrd-%{KVERREL}%{?2:.%{2}}.img\
2144 %{expand:%%files %{?2:%{2}-}devel}\
2145 %defattr(-,root,root)\
2146 %dir /usr/src/kernels\
2147 %verify(not mtime) /usr/src/kernels/%{KVERREL}%{?2:.%{2}}\
2148 /usr/src/kernels/%{KVERREL}%{?2:.%{2}}\
2149 %if %{with_debuginfo}\
2151 %if %{fancy_debuginfo}\
2152 %{expand:%%files -f debuginfo%{?2}.list %{?2:%{2}-}debuginfo}\
2154 %{expand:%%files %{?2:%{2}-}debuginfo}\
2156 %defattr(-,root,root)\
2157 %if !%{fancy_debuginfo}\
2158 %if "%{elf_image_install_path}" != ""\
2159 %{debuginfodir}/%{elf_image_install_path}/*-%{KVERREL}%{?2:.%{2}}.debug\
2161 %{debuginfodir}/lib/modules/%{KVERREL}%{?2:.%{2}}\
2162 %{debuginfodir}/usr/src/kernels/%{KVERREL}%{?2:.%{2}}\
2170 %kernel_variant_files %{with_up}
2171 %kernel_variant_files %{with_smp} smp
2172 %kernel_variant_files %{with_debug} debug
2173 %kernel_variant_files %{with_pae} PAE
2174 %kernel_variant_files %{with_pae_debug} PAEdebug
2175 %kernel_variant_files -k vmlinux %{with_kdump} kdump
2177 # plz don't put in a version string unless you're going to tag
2181 * Thu Dec 03 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.6-162
2182 - ipv4-fix-null-ptr-deref-in-ip_fragment.patch: null ptr deref
2185 * Thu Dec 03 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-161
2186 - rv410 LVDS on resume test fix from AMD (#541562)
2188 * Wed Dec 02 2009 John W. Linville <linville@redhat.com> 2.6.31.6-160
2189 - ath9k: add fixes suggested by upstream maintainer
2191 * Wed Dec 02 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-159
2192 - drm-radeon-misc-fixes.patch: r400 LVDS, r600 digital dpms, cursor fix, tv property
2194 * Wed Dec 02 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31.6-158
2195 - nouveau: more complete lvds script selection on >=G80 (rh#522690, rh#529859)
2196 - nouveau: more complete tmds script selection on >=G80 (rh#537853)
2197 - nouveau: TV detection fixes
2199 * Tue Dec 01 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-157
2200 - div/0 fix harder (#540593) - also ignore unposted GPUs with no BIOS
2202 * Tue Dec 01 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-156
2203 - drm-next: fixes LVDS resume on r4xx, div/0 on no bios (#540593)
2204 lockup on tv-out only startup.
2206 * Mon Nov 30 2009 Kyle McMartin <kyle@redhat.com>
2207 - drm-i915-fix-sync-to-vbl-when-vga-is-off.patch: add (rhbz#541670)
2209 * Sun Nov 29 2009 Kyle McMartin <kyle@redhat.com>
2210 - Drop linux-2.6-sysrq-c.patch, made consistent upstream.
2212 * Fri Nov 27 2009 Jarod Wilson <jarod@redhat.com> 2.6.31.6-153
2213 - add device name to lirc_zilog, fixes issues w/multiple target devices
2214 - add lirc_imon pure input mode support for onboard decode devices
2216 * Wed Nov 26 2009 David Woodhouse <David.Woodhouse@intel.com> 2.6.31.6-152
2217 - Fix intel_tv_mode_set oops (#540218)
2219 * Wed Nov 26 2009 David Woodhouse <David.Woodhouse@intel.com> 2.6.31.6-151
2220 - VT-d: Work around yet more HP BIOS brokenness (#536675)
2222 * Wed Nov 25 2009 Kyle McMartin <kyle@redhat.com>
2223 - dlm: fix connection close handling.
2224 Fix by lmb, requested by fabio.
2226 * Wed Nov 25 2009 David Woodhouse <David.Woodhouse@intel.com> 2.6.31.6-149
2227 - VT-d: Work around more HP BIOS brokenness.
2229 * Tue Nov 24 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-148
2230 - radeon: flush HDP cache on rendering wait - fixes r600 rendercheck failure
2232 * Mon Nov 23 2009 Adam Jackson <ajax@redhat.com>
2233 - drm-default-mode.patch: Default to 1024x768 to match UMS. (#538761)
2235 * Mon Nov 23 2009 Roland McGrath <roland@redhat.com> 2.6.31.6-146
2236 - Fix oops in x86-32 kernel's iret handling for bogus user %cs. (#540580)
2238 * Fri Nov 21 2009 Kyle McMartin <kyle@redhat.com>
2239 - Fix up ssp' highmem fixes with fixes for arm & ppc.
2241 * Thu Nov 20 2009 Chris Wright <chrisw@redhat.com> 2.6.31.6-144
2242 - VT-d: another fallback for another BIOS bug (#524808)
2244 * Thu Nov 19 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31.6-142
2245 - Oops, add new patch to spec file
2247 * Thu Nov 19 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31.6-141
2248 - Lower debug level of fbcon handover messages (rh#538526)
2250 * Thu Nov 19 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-140
2251 - drm-next-44c83571.patch: oops pulled the wrong tree into my f12 tree
2253 * Thu Nov 19 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31.6-139
2254 - nouveau: s/r fixes on chipsets using bios opcode 0x87
2255 - nouveau: fixes to bios opcode 0x8e
2256 - nouveau: hopefully fix nv1x context switching issues (rh#526577)
2257 - nouveau: support for NVA5 (GeForce G220)
2258 - nouveau: fixes for NVAA support
2260 * Thu Nov 19 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-138
2261 - drm-next-d56672a9.patch: fix some rn50 cloning issues
2263 * Wed Nov 18 2009 David Woodhouse <David.Woodhouse@intel.com> 2.6.31.6-137
2264 - Actually force the IOMMU not to be used when we detect the HP/Acer bug.
2266 * Tue Nov 17 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.6-136
2267 - ACPI embedded controller fixes from Fedora 11.
2269 * Tue Nov 17 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.6-135
2270 - Scheduler fixes and latency tuning patches from F-11.
2272 * Tue Nov 17 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-134
2273 - glad to see edid retry patch was compiled.
2275 * Tue Nov 17 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-133
2276 - drm-next-984d1f3c.patch: rebase with upstream fixes - drop all merged
2278 * Thu Nov 12 2009 Adam Jackson <ajax@redhat.com>
2279 - Actually apply the EDID retry patch
2280 - drm-edid-header-fixup.patch: Fix up some broken EDID headers (#534120)
2282 * Thu Nov 12 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.6-130
2283 - Use ApplyOptionalPatch for v4l and firewire updates.
2284 - Drop unused v4l ABI fix.
2286 * Thu Nov 12 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.6-129
2288 - Drop merged patches:
2289 linux-2.6-iwlwifi-reduce-noise-when-skb-allocation-fails.patch
2290 linux-2.6-libertas-crash.patch
2291 pci-increase-alignment-to-make-more-space.patch
2292 acpi-revert-attach-device-to-handle-early.patch
2293 ahci-revert-restore-sb600-sata-controller-64-bit-dma.patch
2294 acpi-pci-fix-null-pointer-dereference-in-acpi-get-pci-dev.patch
2295 af_unix-fix-deadlock-connecting-to-shutdown-socket.patch
2296 keys-get_instantiation_keyring-should-inc-the-keyring-refcount.patch
2297 netlink-fix-typo-in-initialization.patch
2298 fs-pipe-null-ptr-deref-fix.patch
2300 * Wed Nov 11 2009 Justin M. Forbes <jforbes@redhat.com> 2.6.31.5-128
2301 - Fix KSM for i686 users. (#532215)
2302 - Add KSM fixes from 2.6.32
2304 * Sun Nov 08 2009 David Woodhouse <David.Woodhouse@intel.com> 2.6.31.5-127
2305 - Apply fix for fallback when HP/Acer BIOS bug detected (#524808)
2307 - Fix libertas crash due to skb pointer bug
2309 * Sat Nov 07 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.5-126
2310 - Re-enable linux-2.6-die-closed-source-bios-muppets-die.patch, DMAR
2311 still defaulting to off.
2313 * Sat Nov 07 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.5-125
2314 - Disable linux-2.6-die-closed-source-bios-muppets-die.patch and
2315 default DMAR to off (can be re-enabled with intel_iommu=on on the
2316 command line due to last minute issues and reversion upstream.)
2318 * Thu Nov 05 2009 Jarod Wilson <jarod@redhat.com>
2319 - Add --with dbgonly rpmbuild option to build only debug kernels
2321 * Thu Nov 05 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-122
2322 - comment out kmap atomic for now, it breaks ppc build
2324 * Thu Nov 05 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-121
2325 - drm-radeon-fix-agp-resume.patch (#531825)
2327 * Thu Nov 05 2009 Kyle McMartin <kyle@redhat.com>
2328 - Add two patches from Soren from mingo/linux-2.6-x86.git to fix
2329 debug_kmap_atomic prints.
2331 * Thu Nov 05 2009 Ben Skeggs <bskeggs@redhat.com>
2332 - nouveau: fix rh#532924
2334 * Wed Nov 04 2009 Kyle McMartin <kyle@redhat.com>
2335 - Make JBD2_DEBUG a toggleable debug setting. Leave it the way it was.
2336 (Double checked resulting configs, don't fret.)
2338 * Wed Nov 04 2009 Adam Jackson <ajax@redhat.com> 2.6.31.5-117
2339 - drm-edid-retry.patch: Try DDC up to four times, like X. (#532957)
2341 * Wed Nov 04 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.5-116
2342 - tg3 bug fixes (#527209)
2344 * Wed Nov 04 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.5-115
2345 - fs/pipe.c: fix null pointer dereference (CVE-2009-3547)
2347 * Wed Nov 04 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31.5-114
2348 - nouveau: provide info userspace needs to handle low memory situations
2349 - nouveau: fix for rh#532711
2350 - nouveau: add option to provide more debug info for rh#532579
2351 - patch only so large because of included register rename
2353 * Tue Nov 03 2009 Adam Jackson <ajax@redhat.com> 2.6.31.5-113
2354 - drm-conservative-fallback-modes.patch: When an output is connected but
2355 fails EDID, only add modes with refresh rates <= 60 (#514600)
2357 * Tue Nov 03 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-112
2358 - drm-r600-lenovo-w500-fix.patch: add second patch from upstream fix
2360 * Tue Nov 03 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-111
2361 - drm-r600-lenovo-w500-fix.patch: fix lenovo w500 acpi video kill laptop dead
2362 - drop aspm r600 patch as correct fix should be in 110
2364 * Tue Nov 03 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-110
2365 - r600: fix for ring setup RMW issue.
2367 * Mon Nov 02 2009 John W. Linville <linville@redhat.com> 2.6.31.5-109
2368 - prism54: remove pci modinfo device table (#447047)
2370 * Mon Nov 02 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.5-108
2371 - Enable acerhdf driver for fan speed control on Acer Aspire One notebook (#532463)
2373 * Mon Nov 02 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-107
2374 - r600: back that out, thanks to yaneti for testing.
2376 * Mon Nov 02 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-106
2377 - r600: ring size guesswork fix.
2379 * Fri Oct 30 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-105
2380 - drm-radeon-agp-font-fix.patch: hopefully fix AGP coherency issue
2382 * Wed Oct 28 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-104
2383 - drm-next-ea1495a6.patch: fix rs400 resume on my test box
2385 * Wed Oct 28 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-103
2386 - drm-next-fc7f7119.patch: fix oops in SS code, fix multi-card, dvo.
2387 - drm-radeon-kms-arbiter-return-ignore.patch: fix arbiter for non-VGA display
2389 * Tue Oct 27 2009 Chuck Ebbert <cebbert@redhat.com>
2390 - Fix oops in VIA padlock-aes code.
2392 * Tue Oct 27 2009 Dave Airlie <airlied@redhat.com>
2393 - kms: add offb handoff patch for ppc to work
2395 * Tue Oct 27 2009 Ben Skeggs <bskeggs@redhat.com>
2396 - drm-nouveau.patch: misc fixes, very initial NVA8 work
2398 * Tue Oct 27 2009 Dave Airlie <airlied@redhat.com>
2399 - fix dd command lines
2401 * Mon Oct 26 2009 Dave Jones <davej@redhat.com>
2402 - Make a 20MB initramfs file so rpm gets its diskspace calculations right. (#530778)
2404 * Mon Oct 26 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-97
2405 - drm: rebase to drm-next, drop palette fix, merged upstream
2406 - drm-intel-big-hammer.patch: drop, proper fix in 2.6.31.5
2407 - drm-disable-r600-aspm.patch: test patch to disable aspm on r600/r700 for now
2409 * Fri Oct 23 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.5-96
2410 - Bump NR_CPUS to 256 on x86_64.
2411 - Add two backports (ugh, just had to go renaming perf counters to events...)
2412 for fixing sysprof with perf.
2414 * Fri Oct 23 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-95
2417 * Fri Oct 23 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-94
2418 - disable debug + stackprotector
2420 * Fri Oct 23 2009 Chuck Ebbert <cebbert@redhat.com>
2423 * Thu Oct 22 2009 Chuck Ebbert <cebbert@redhat.com>
2424 - Fix exploitable OOPS in keyring code. (CVE-2009-3624)
2425 - Fix kernel memory leak to userspace. (CVE-2009-3612)
2427 * Thu Oct 22 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-91.rc1
2430 * Wed Oct 21 2009 Chuck Ebbert <cebbert@redhat.com>
2431 - Disable powersave by default for AC97 audio devices. (#524414)
2433 * Wed Oct 21 2009 Chuck Ebbert <cebbert@redhat.com>
2434 - Linux 2.6.31.5-rc1
2435 - Remove the merged HP DC7900 workaround from iommu-updates patch.
2436 - Drop merged patch:
2437 linux-2.6-raidlockdep.patch
2439 * Mon Oct 19 2009 Kyle McMartin <kyle@redhat.com>
2440 - af_unix-fix-deadlock-connecting-to-shutdown-socket.patch: fix for
2443 * Sat Oct 17 2009 Chuck Ebbert <cebbert@redhat.com>
2444 - Replace linux-2.6-bluetooth-autosuspend.diff with upstream version.
2446 * Fri Oct 16 2009 Josef Bacik <josef@toxicpanda.com>
2447 - Update btrfs to latest upstream
2449 * Fri Oct 16 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.4-85
2450 - Fix another ACPI boot hang (#513680)
2452 * Fri Oct 16 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31.4-84
2453 - nouveau: more vbios opcodes, minor fixes, hopeful fix for rh#529292
2455 * Wed Oct 14 2009 Roland McGrath <roland@redhat.com> 2.6.31.4-83
2456 - Remove work-around for gcc bug #521991, now fixed.
2457 - Build *docs non-parallel, working around kernel's makefile bugs.
2459 * Wed Oct 14 2009 Peter Jones <pjones@redhat.com>
2460 - Add scsi_register_device_handler to modules.block's symbol list so
2461 we'll have scsi device handlers in installer images.
2463 * Tue Oct 13 2009 Steve Dickson <steved@redhat.com> 2.6.31.4-81
2464 - Fixed hang during NFS installs (bz 528537)
2466 * Tue Oct 13 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.4-80
2467 - Disable 64-bit DMA on SB600 SATA controllers.
2469 * Tue Oct 13 2009 Kyle McMartin <kyle@redhat.com>
2470 - Always build perf docs, regardless of whether we build kernel-doc.
2471 Seems rather unfair to not ship the manpages half the time.
2472 Also, drop BuildRequires %if when not with_doc, the rules about %if
2473 there are f*!&^ing complicated.
2475 * Mon Oct 12 2009 Kyle McMartin <kyle@redhat.com>
2476 - Build the perf manpages properly.
2478 * Mon Oct 12 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.4-77
2479 - Fix boot hang with ACPI on some systems.
2481 * Mon Oct 12 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.4-76
2484 * Mon Oct 12 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.4-75.rc2
2485 - improve-resource-counter-scalability.patch: Fix scalability issues
2486 on big machines, requested by prarit.
2488 * Mon Oct 12 2009 Jarod Wilson <jarod@redhat.com>
2489 - Fix irq status check bugs in lirc_ene0100
2491 * Mon Oct 12 2009 Chuck Ebbert <cebbert@redhat.com>
2492 - Fix 2.6.31 regression that caused device failures with ACPI enabled.
2494 * Sun Oct 11 2009 Chuck Ebbert <cebbert@redhat.com>
2495 - Linux 2.6.31.4-rc2
2496 - Drop merged patch: linux-2.6-frace-fixes.patch
2498 * Sat Oct 10 2009 Chuck Ebbert <cebbert@redhat.com>
2499 - Make performance counter API available to userspace programs (#527264)
2501 * Sat Oct 10 2009 Dave Jones <davej@redhat.com>
2502 - Drop the NX kernel data patch for now. Causes no-boot on some systems.
2504 * Fri Oct 09 2009 Dave Jones <davej@redhat.com>
2505 - Backport two critical ftrace fixes.
2506 ftrace: check for failure for all conversions
2507 tracing: correct module boundaries for ftrace_release
2509 * Fri Oct 09 2009 Jarod Wilson <jarod@redhat.com>
2510 - Build docs sub-package again
2512 * Thu Oct 08 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.3-67
2514 - rebase drm-next trivially.
2515 - dropped merged upstream patches,
2516 - linux-2.6-fix-usb-serial-autosuspend.diff
2517 - linux-2.6-iwlagn-modify-digital-SVR-for-1000.patch
2518 - linux-2.6-iwlwifi-Handle-new-firmware-file-with-ucode-build-number-in-header.patch
2519 - linux-2.6-iwlwifi-fix-debugfs-buffer-handling.patch
2520 - linux-2.6-iwlwifi-fix-unloading-driver-while-scanning.patch
2521 - linux-2.6-iwlwifi-remove-deprecated-6000-series-adapters.patch
2522 - linux-2.6-iwlwifi-traverse-linklist-to-find-the-valid-OTP-block.patch
2523 - linux-2.6-iwlwifi-update-1000-series-API-version-to-match-firmware.patch
2524 - linux-2.6-xen-check-efer-fix.patch
2525 - linux-2.6-xen-spinlock-enable-interrupts-only-when-blocking.patch
2526 - linux-2.6-xen-spinlock-stronger-barrier.patch
2527 - linux-2.6-xen-stack-protector-fix.patch
2528 - linux-2.6.31-cpufreq-powernow-k8-oops.patch
2530 * Thu Oct 08 2009 Ben Skeggs <bskeggs@redhat.com>
2531 - ppc: compile nvidiafb as a module only, nvidiafb+nouveau = bang! (rh#491308)
2533 * Thu Oct 08 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31.1-65
2534 - nouveau: {drm-next,context,fbcon,misc} fixes, connector forcing
2536 * Thu Oct 08 2009 Dave Airlie <airlied@redhat.com> 2.6.31.1-64
2537 - rebase latest drm-next, fixes many s/r and r600 problems
2539 * Wed Oct 07 2009 Dave Jones <davej@redhat.com>
2540 - Don't mark the initramfs file as a ghost.
2542 * Wed Oct 07 2009 Dave Jones <davej@redhat.com>
2543 - Enable FUNCTION_GRAPH_TRACER on x86-64.
2545 * Wed Oct 07 2009 Dave Jones <davej@redhat.com>
2546 - Disable CONFIG_IRQSOFF_TRACER on srostedt's recommendation.
2547 (Adds unwanted overhead when not in use).
2549 * Tue Oct 6 2009 Justin M. Forbes <jforbes@redhat.com>
2550 - virtio_blk: add support for cache flush (#526869)
2552 * Fri Oct 2 2009 John W. Linville <linville@redhat.com>
2553 - Backport "iwlwifi: reduce noise when skb allocation fails"
2555 * Wed Sep 30 2009 David Woodhouse <David.Woodhouse@intel.com>
2556 - Update IOMMU code; mostly a bunch more workarounds for broken BIOSes.
2558 * Wed Sep 30 2009 Dave Airlie <airlied@redhat.com> 2.6.31.1-56
2559 - revert all the arjan patches until someone tests them.
2561 * Tue Sep 29 2009 Steve Dickson <steved@redhat.com> 2.6.31.1-55
2562 - Updated the NFS4 pseudo root code with a fix from upstream
2564 * Tue Sep 29 2009 Dave Airlie <airlied@redhat.com> 2.6.31.1-54
2565 - Fix broken capabilties that stopped dbus working due to copy from user
2568 * Tue Sep 29 2009 Dave Airlie <airlied@redhat.com> 2.6.31.1-53
2569 - drm-next-4c57edba4.patch: fix r600 dri1 memory leak and r600 bugs
2571 * Mon Sep 28 2009 Dave Jones <davej@redhat.com> 2.6.31.1-52
2572 - Use __builtin_object_size to validate the buffer size for copy_from_user
2573 + associated fixes to various copy_from_user invocations.
2575 * Mon Sep 28 2009 Justin M. Forbes <jmforbes@redhat.com> 2.6.31.1-50
2576 - Increase timeout for xen frontend devices to connect.
2578 * Sat Sep 26 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.1-49
2579 - Add Xen spinlock patches to improve scalability.
2581 * Sat Sep 26 2009 Dave Airlie <airlied@redhat.com> 2.6.31.1-48
2582 - drm-next-8ef8678c8.patch: fix intel/nouveau kms
2584 * Fri Sep 25 2009 Justin M. Forbes <bskeggs@redhat.com> 2.6.31.1-47
2585 - Fix xen guest booting when NX is disabled (#525290)
2587 * Fri Sep 25 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31.1-46
2588 - drm-nouveau.patch: cleanups, fixes, pre-G80 s/r fixes, init rework
2590 * Fri Sep 25 2009 Dave Airlie <airlied@redhat.com> 2.6.31.1-45
2591 - drm-next-adea4796c.patch: fix r600 glxgears
2593 * Fri Sep 25 2009 Dave Airlie <airlied@redhat.com> 2.6.31.1-44
2594 - bump a extra one because I accidentially CVS.
2596 * Thu Sep 24 2009 Dave Airlie <airlied@redhat.com> 2.6.31.1-42
2597 - drm-next update - fix r600 s/r, and command line mode picking and r600 tv
2599 * Thu Sep 24 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.1-41
2601 - Drop patches merged upstream:
2602 linux-2.6-kvm-vmx-check-cpl-before-emulating-debug-register-access.patch
2603 linux-2.6-use-__pa_symbol-to-calculate-address-of-C-symbol.patch
2604 linux-2.6-kvm-pvmmu-do-not-batch-pte-updates-from-interrupt-context.patch
2605 linux-2.6-scsi-sd-fix-oops-during-scanning.patch
2606 linux-2.6-scsi-sg-fix-oops-in-error-path.patch
2608 * Thu Sep 24 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-40
2609 - Drop the modules-ro-nx patch: it's causing ftrace to be unable
2610 to NOP out module function call tracking. (#524042)
2612 * Wed Sep 23 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-39
2613 - touch initramfs-$foo not dracut-$foo.
2615 * Wed Sep 23 2009 Adam Jackson <ajax@redhat.com> 2.6.31-37
2616 - drm: Fix various buglets in EDID parsing.
2618 * Mon Sep 21 2009 Ben Skeggs <bskeggs@redhat.com>
2619 - nouveau: more on rh#522649, added some useful info to debugfs
2620 - lots of coding style cleanups, which is the reason for the huge commit
2622 * Fri Sep 18 2009 Dave Jones <davej@redhat.com>
2623 - %ghost the dracut initramfs file.
2625 * Thu Sep 17 2009 Hans de Goede <hdegoede@redhat.com>
2626 - Now that we have %%post generation of dracut images we do not need to
2627 Require dracut-kernel anymore
2629 * Thu Sep 17 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-33
2630 - Turn off CONFIG_CC_OPTIMIZE_FOR_SIZE on ppc64 until ld decides to play nice
2631 and generate the save/restore stubs.
2633 * Thu Sep 17 2009 Kristian Høgsberg <krh@redhat.com>
2634 - Drop drm page-flip patch for F12.
2636 * Thu Sep 17 2009 Dave Jones <davej@redhat.com>
2637 - cpuidle: Fix the menu governor to boost IO performance.
2639 * Wed Sep 16 2009 John W. Linville <linville@redhat.com>
2640 - Add a few more iwl1000 support patches.
2641 - Remove support for deprecated iwl6000 parts.
2643 * Wed Sep 16 2009 Eric Paris <eparis@redhat.com>
2644 - Do not check CAP_SYS_MODULE when networking tres to autoload a module
2646 * Wed Sep 16 2009 John W. Linville <linville@redhat.com>
2647 - Add iwl1000 support patches.
2649 * Wed Sep 16 2009 Adam Jackson <ajax@redhat.com>
2650 - Disable hotplug interrupts on TV connectors on i915.
2652 * Wed Sep 16 2009 Dave Jones <davej@redhat.com>
2653 - Fix NULL deref in powernow-k8 driver. (korg #13780)
2655 * Wed Sep 16 2009 Hans de Goede <hdegoede@redhat.com>
2656 - Fix lockdep warning (and potential real deadlock) in mdraid10 code,
2657 requested for -stable, rh#515471
2659 * Wed Sep 16 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31-17
2660 - nouveau: potential fix for rh#522649 + misc other fixes
2662 * Tue Sep 15 2009 Chuck Ebbert <cebbert@redhat.com>
2663 - Add unused-kernel-patches Make target, change some patches to
2664 use ApplyOptionalPatch
2666 * Tue Sep 15 2009 Ben Skeggs <bskeggs@redhat.com>
2667 - nouveau: misc fixes to context-related issues, fixes some severe nv4x bugs
2669 * Tue Sep 15 2009 Ben Skeggs <bskeggs@redhat.com>
2670 - nouveau: temporarily disable fbcon accel, it's racing with ttm
2672 * Mon Sep 14 2009 Steve Dickson <steved@redhat.com>
2673 - Added support for -o v4 mount parsing
2675 * Mon Sep 14 2009 Ben Skeggs <bskeggs@redhat.com>
2676 - nouveau: avoid PFIFO IRQ hardlock, misc LVDS mode fixes, nv5x RAMFC cleanup
2678 * Sun Sep 13 2009 Chuck Ebbert <cebbert@redhat.com>
2679 - SCSI oops fixes requested for -stable
2681 * Fri Sep 11 2009 Dave Jones <davej@redhat.com>
2682 - Apply NX/RO to modules
2684 * Fri Sep 11 2009 Dave Jones <davej@redhat.com>
2685 - Mark kernel data section as NX
2687 * Fri Sep 11 2009 Ben Skeggs <bskeggs@redhat.com>
2688 - nouveau: bring in Matthew Garret's initial switchable graphics support
2690 * Fri Sep 11 2009 Ben Skeggs <bskeggs@redhat.com>
2691 - nouveau: fixed use of strap-based panel mode when required (rh#522649)
2692 - nouveau: temporarily block accel on NVAC chipsets (rh#522361, rh#522575)
2694 * Thu Sep 10 2009 Matthew Garrett <mjg@redhat.com>
2695 - linux-2.6-ahci-export-capabilities.patch: Backport from upstream
2696 - linux-2.6-rtc-show-hctosys.patch: Export the hctosys state of an rtc
2697 - linux-2.6-rfkill-all.patch: Support for keys that toggle all rfkill state
2699 * Thu Sep 10 2009 Ben Skeggs <bskeggs@redhat.com>
2700 - drm-nouveau.patch: add some scaler-only modes for LVDS, GEM/TTM fixes
2702 * Wed Sep 09 2009 Dennis Gilmore <dennis@ausil.us> 2.6.31-2
2703 - touch the dracut initrd file when using %%{with_dracut}
2705 * Wed Sep 09 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-1
2708 * Wed Sep 09 2009 Chuck Ebbert <cebbert@redhat.com>
2709 - Enable VXpocket and PDaudioCF PCMCIA sound drivers.
2711 * Wed Sep 09 2009 Hans de Goede <hdegoede@redhat.com>
2712 - Move to %%post generation of dracut initrd, because of GPL issues surrounding
2713 shipping a prebuild initrd
2714 - Require grubby >= 7.0.4-1, for %%post generation
2716 * Wed Sep 9 2009 Steve Dickson <steved@redhat.com>
2717 - Updated the NFS4 pseudo root code to the latest release.
2719 * Wed Sep 09 2009 Justin M. Forbes <jforbes@redhat.com>
2720 - Revert virtio_blk to rotational mode. (#509383)
2722 * Wed Sep 09 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.219.rc9.git
2723 - uggh lost nouveau bits in page flip
2725 * Wed Sep 09 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.218.rc9.git2
2726 - fix r600 oops with page flip patch (#520766)
2728 * Wed Sep 09 2009 Ben Skeggs <bskeggs@redhat.com>
2729 - drm-nouveau.patch: fix display resume on pre-G8x chips
2731 * Wed Sep 09 2009 Ben Skeggs <bskeggs@redhat.com>
2732 - drm-nouveau.patch: add getparam to know using tile_flags is ok for scanout
2734 * Wed Sep 09 2009 Chuck Ebbert <cebbert@redhat.com>
2737 * Wed Sep 9 2009 Roland McGrath <roland@redhat.com> 2.6.31-0.214.rc9.git1
2738 - compile with -fno-var-tracking-assignments, work around gcc bug #521991
2740 * Wed Sep 09 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.213.rc9.git1
2741 - fix two bugs in r600 kms, fencing + mobile lvds
2743 * Tue Sep 08 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31-0.212.rc9.git1
2744 - drm-nouveau.patch: fix ppc build
2746 * Tue Sep 08 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31-0.211.rc9.git1
2747 - drm-nouveau.patch: more misc fixes
2749 * Tue Sep 08 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.210.rc9.git1
2750 - drm-page-flip.patch: rebase again
2752 * Tue Sep 08 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.209.rc9.git1
2753 - drm-next.patch: fix r600 signal interruption return value
2755 * Tue Sep 08 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31-0.208.rc9.git1
2756 - drm-nouveau.patch: latest upstream + rebase onto drm-next
2758 * Tue Sep 08 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.207.rc9.git1
2759 - drm-vga-arb.patch: update to avoid lockdep + add r600 support
2761 * Tue Sep 08 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.206.rc9.git1
2762 - drm: rebase to drm-next - r600 accel + kms should start working now
2764 * Mon Sep 07 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.205.rc9.git1
2766 - Temporarily hack the drm-next patch so it still applies; the result
2767 should still be safe to build.
2769 * Sat Sep 05 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.204.rc9
2772 * Fri Sep 04 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.203.rc8.git2
2773 - Fix kernel build errors when building firmware by removing the
2774 .config file before that step and restoring it afterward.
2776 * Thu Sep 03 2009 Adam Jackson <ajax@redhat.com>
2777 - drm-ddc-caching-bug.patch: Empty the connector's mode list when it's
2780 * Thu Sep 03 2009 Jarod Wilson <jarod@redhat.com>
2781 - Update hdpvr and lirc_zilog drivers for 2.6.31 i2c
2783 * Thu Sep 03 2009 Justin M.Forbes <jforbes@redhat.com>
2784 - Fix xen guest with stack protector. (#508120)
2787 * Wed Sep 02 2009 Adam Jackson <ajax@redhat.com> 2.6.31-0.199.rc8.git2
2788 - drm-intel-pm.patch: Disable by default, too flickery on too many machines.
2789 Enable with i915.powersave=1.
2791 * Wed Sep 02 2009 Dave Jones <davej@redhat.com>
2792 - Add missing scriptlet dependancy. (#520788)
2794 * Tue Sep 01 2009 Adam Jackson <ajax@redhat.com>
2795 - Make DRM less chatty about EDID failures. No one cares.
2797 * Tue Sep 01 2009 Chuck Ebbert <cebbert@redhat.com>
2799 - Blank out drm-intel-next: entire contents are now upstream.
2801 * Tue Sep 01 2009 Dave Jones <davej@redhat.com>
2802 - Make firmware buildarch noarch. (Suggested by drago01 on irc)
2804 * Tue Sep 01 2009 Jarod Wilson <jarod@redhat.com>
2805 - Fix up lirc_zilog to enable functional IR transmit and receive
2806 on the Hauppauge HD PVR
2807 - Fix audio on PVR-500 when used in same system as HVR-1800 (#480728)
2809 * Sun Aug 30 2009 Chuck Ebbert <cebbert@redhat.com>
2811 - Drop linux-2.6-inotify-accounting.patch, merged upstream.
2813 * Sun Aug 30 2009 Jarod Wilson <jarod@redhat.com>
2814 - fix lirc_imon oops on older devices w/o tx ctrl ep (#520008)
2816 * Fri Aug 28 2009 Eric Paris <eparis@redhat.com> 2.6.31-0.190.rc8
2817 - fix inotify length accounting and send inotify events
2819 * Fri Aug 28 2009 David Woodhouse <David.Woodhouse@intel.com>
2820 - Enable Solos DSL driver
2822 * Fri Aug 28 2009 Chuck Ebbert <cebbert@redhat.com>
2825 * Thu Aug 27 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.185.rc7.git6
2827 - Drop patch merged upstream:
2828 xen-fb-probe-fix.patch
2830 * Thu Aug 27 2009 Adam Jackson <ajax@redhat.com>
2831 - drm-rv710-ucode-fix.patch: Treat successful microcode load on RV710 as,
2832 you know, success. (#519718)
2834 * Thu Aug 27 2009 Chuck Ebbert <cebbert@redhat.com>
2836 - Drop patch linux-2.6-ima-leak.patch, now merged upstream.
2838 * Wed Aug 26 2009 Jarod Wilson <jarod@redhat.com>
2839 - Fix up hdpvr ir enable patch for use w/modular i2c (David Engel)
2841 * Wed Aug 26 2009 Eric Paris <eparis@redhat.com>
2842 - fix iint_cache leak in IMA code
2843 drop the ima=0 patch
2845 * Wed Aug 26 2009 Justin M. Forbes <jforbes@redhat.com>
2846 - Fix munlock with KSM (#516909)
2849 * Wed Aug 26 2009 Chuck Ebbert <cebbert@redhat.com>
2851 - Drop patches merged upstream:
2852 xen-x86-fix-stackprotect.patch
2853 xen-x86-no-stackprotect.patch
2855 * Wed Aug 26 2009 Adam Jackson <ajax@redhat.com>
2856 - drm-intel-next.patch: Update, various output setup fixes.
2858 * Wed Aug 26 2009 David Woodhouse <David.Woodhouse@intel.com>
2859 - Make WiMAX modular (#512070)
2861 * Tue Aug 25 2009 Kyle McMartin <kyle@redhat.com>
2862 - allow-disabling-ima.diff: debugging patch... adds ima=0 kernel
2863 param to disable initialization of IMA.
2865 * Tue Aug 25 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31-0.174.rc7.git2
2866 - drm-nouveau.patch: upstream update, pre-nv50 tv-out + misc fixes
2868 * Tue Aug 25 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.173.rc7.git2
2869 - Fix Xen boot (#508120)
2871 * Tue Aug 25 2009 Dave Airlie <airlied@redhat.com>
2872 - pull in drm-next tree + rebase around it
2874 * Mon Aug 24 2009 Chuck Ebbert <cebbert@redhat.com>
2877 * Mon Aug 24 2009 Chuck Ebbert <cebbert@redhat.com>
2880 * Sat Aug 22 2009 Chuck Ebbert <cebbert@redhat.com>
2883 * Thu Aug 20 2009 Mark McLoughlin <markmc@redhat.com>
2884 - Disable LZMA for xen (#515831)
2886 * Thu Aug 20 2009 Chuck Ebbert <cebbert@redhat.com>
2888 - Fix up drm-r600-kms.patch
2889 - Drop fix-perf-make-man-failure.patch
2891 * Wed Aug 19 2009 Chuck Ebbert <cebbert@redhat.com>
2893 - Revert linux-2.6-debug-vm-would-have-oomkilled.patch to v1.2
2894 because upstream changes to oom-kill.c were all reverted.
2896 * Tue Aug 18 2009 Kyle McMartin <kyle@redhat.com>
2897 - Fix up perf so that it builds docs now that they are fixed.
2898 - with_docs disables perf docs too. be warned. (logic is that the
2899 build deps are (mostly) the same, so if you don't want one, odds are...)
2901 * Tue Aug 18 2009 Dave Jones <davej@redhat.com>
2904 * Mon Aug 17 2009 Dave Jones <davej@redhat.com> 2.6.31-0.161.rc6.git2
2907 * Mon Aug 17 2009 Chuck Ebbert <cebbert@redhat.com>
2908 - Stop generating the (unused) ppc64-kdump.config file.
2910 * Mon Aug 17 2009 Jarod Wilson <jarod@redhat.com>
2911 - Add new lirc driver for built-in ENE0100 device on some laptops
2913 * Sun Aug 16 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.158.rc6
2914 - Improve the perf script so it prints something helpful if the
2915 perf binary doesn't exist.
2917 * Sat Aug 15 2009 Dave Jones <davej@redhat.com> 2.6.31-0.157.rc6
2918 - Disable KSM patches on a hunch. Chasing the "encrypted VGs don't work" bug.
2920 * Fri Aug 14 2009 Dave Jones <davej@redhat.com> 2.6.31-0.155.rc6
2923 * Wed Aug 12 2009 Kyle McMartin <kyle@redhat.com>
2925 - move perf to perf.$ver instead of perf-$ver...
2927 * Wed Aug 12 2009 Dennis Gilmore <dennis@ausil.us>
2928 - Obsolete kernel-smp on sparc64
2929 - Require grubby >= 7.0.2-1 since thats what introduces the dracut options we use
2931 * Wed Aug 12 2009 Kristian Høgsberg <krh@redhat.com>
2932 - Fix drm-page-flip.patch to not break radeon kms and to not reset
2933 crtc offset into fb on flip.
2935 * Wed Aug 12 2009 Adam Jackson <ajax@redhat.com>
2936 - Update drm-intel-next patch
2938 * Tue Aug 11 2009 Dennis Gilmore <dennis@ausil.us> - 2.6.31-0.149.rc5.git3
2939 - disable building the -smp kernel on sparc64
2940 - disable building kernel-perf on sparc64 syscalls not supported
2942 * Tue Aug 11 2009 Eric Paris <eparis@redhat.com>
2945 * Tue Aug 11 2009 Ben Skeggs <bskeggs@redhat.com>
2946 - nouveau: various cleanups and fixes + more sanity checking in dma paths
2948 * Mon Aug 10 2009 Jarod Wilson <jarod@redhat.com>
2949 - Add new device ID to lirc_mceusb (#512483)
2950 - Fix some lockdep false positives
2951 - Add support for setting and enabling iMON clock via sysfs
2952 - Add tunable pad threshold support to lirc_imon
2953 - Add new pseudo-IR protocl to lirc_imon for universals w/o a pad
2954 - Fix mouse device support on older iMON devices
2956 * Mon Aug 10 2009 David Woodhouse <David.Woodhouse@intel.com> 2.6.31-0.145.rc5.git3
2957 - Merge latest Intel IOMMU fixes and BIOS workarounds, re-enable by default.
2959 * Sun Aug 09 2009 Kyle McMartin <kyle@redhat.com>
2960 - btusb autosuspend: fix build on !CONFIG_PM by stubbing out
2961 suspend/resume methods.
2963 * Sat Aug 08 2009 Dennis Gilmore <dennis@ausil.us> 2.6.31-0.141.rc5.git3
2964 - disable kgdb on sparc64 uni-processor kernel
2965 - set max cpus to 256 on sparc64
2966 - enable AT keyboard on sparc64
2968 * Fri Aug 07 2009 Justin M. Forbes <jforbes@redhat.com>
2969 - Apply KSM updates from upstream
2971 * Fri Aug 07 2009 Hans de Goede <hdegoede@redhat.com>
2972 - When building a dracut generic initrd tell new-kernel-pkg to use that
2973 instead of running mkinitrd
2975 * Fri Aug 07 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.139.rc5.git3
2976 - drm-r600-kms.patch - update r600 KMS
2977 - drm-radeon-fixes.patch - patches for queue to Linus
2979 * Thu Aug 06 2009 Justin M. Forbes <jforbes@redhat.com> 2.6.31-0.138.rc5.git3
2980 - Fix kvm virtio_blk errors (#514901)
2982 * Thu Aug 06 2009 Adam Jackson <ajax@redhat.com>
2983 - Hush DRM vblank warnings, they're constant (and harmless) under DRI2.
2985 * Thu Aug 06 2009 Dave Airlie <airlied@redhat.com> 2.6.31.0.134.rc5.git3
2986 - fixup vga arb warning at startup and handover between gpus
2988 * Thu Aug 06 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.0.133.rc5.git3
2989 - die-floppy-die.patch: it's the 21st century, let's not rely on
2990 steam powered technology.
2992 * Wed Aug 05 2009 Dave Airlie <airlied@redhat.com> 2.6.31.0.132.rc5.git3
2993 - revert-ftrace-powerpc-snafu.patch - fix ppc build
2995 * Wed Aug 05 2009 Ben Skeggs <bskeggs@redhat.com>
2996 - nouveau: respect nomodeset
2998 * Wed Aug 05 2009 Chuck Ebbert <cebbert@redhat.com>
2999 - Fix /usr/sbin/perf script. (#515494)
3001 * Wed Aug 05 2009 Dave Jones <davej@redhat.com>
3002 - Fix shift in pci cacheline size printk.
3004 * Wed Aug 05 2009 Dave Airlie <airlied@redhat.com> 2.6.31.0.128.rc5.git3
3006 - drop cpufreq + set memory fixes
3008 * Wed Aug 05 2009 Dave Airlie <airlied@redhat.com>
3009 - Add Jeromes initial r600 kms work.
3012 * Tue Aug 04 2009 Kyle McMartin <kyle@redhat.com>
3013 - alsa-tell-user-that-stream-to-be-rewound-is-suspended.patch: apply patch
3014 destined for 2.6.32, requested by Lennart.
3016 * Tue Aug 04 2009 Ben Skeggs <bskeggs@redhat.com>
3017 - nouveau: more code share between nv50/<nv50 kms, bug fixes
3019 * Tue Aug 04 2009 Dave Airlie <airlied@redhat.com>
3020 - update VGA arb patches again
3022 * Mon Aug 03 2009 Adam Jackson <ajax@redhat.com>
3023 - Update intel drm from anholt's tree
3024 - Rebase drm-intel-pm.patch to match
3025 - Drop gen3 fb hack, merged
3026 - Drop previous watermark setup change
3028 * Mon Aug 03 2009 Dave Jones <davej@redhat.com> 2.6.31-0.122.rc5.git2
3031 * Mon Aug 03 2009 Adam Jackson <ajax@redhat.com>
3032 - (Attempt to) fix watermark setup on Intel 9xx parts.
3034 * Mon Aug 03 2009 Jarod Wilson <jarod@redhat.com>
3035 - make usbhid driver ignore all recent SoundGraph iMON devices, so the
3036 lirc_imon driver can grab them instead
3038 * Mon Aug 03 2009 Dave Airlie <airlied@redhat.com>
3039 - update VGA arb patches
3041 * Sat Aug 01 2009 David Woodhouse <David.Woodhouse@intel.com> 2.6.31-0.118.rc5
3042 - Fix boot failures on ppc32 (#514010, #505071)
3044 * Fri Jul 31 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.117.rc5
3047 * Fri Jul 31 2009 Matthew Garrett <mjg@redhat.com>
3048 - linux-2.6-dell-laptop-rfkill-fix.patch: Fix up Dell rfkill
3050 * Fri Jul 31 2009 Ben Skeggs <bskeggs@redhat.com>
3051 - nouveau: build against 2.6.31-rc4-git6, fix script parsing on some G8x chips
3053 * Thu Jul 30 2009 Chuck Ebbert <cebbert@redhat.com>
3054 - Linux 2.6.31-rc4-git6
3055 New config item: CONFIG_BATTERY_DS2782 is not set
3056 - Add last-minute set_memory_wc() fix from LKML.
3058 * Thu Jul 30 2009 Matthew Garrett <mjg@redhat.com>
3059 - drm-intel-pm.patch: Don't reclock external outputs. Increase the reduced
3060 clock slightly to avoid upsetting some hardware. Disable renderclock
3061 adjustment for the moment - it's breaking on some hardware.
3063 * Thu Jul 30 2009 Ben Skeggs <bskeggs@redhat.com>
3064 - nouveau: another DCB 1.5 entry, G80 corruption fixes, small <G80 KMS fix
3066 * Thu Jul 30 2009 Dave Airlie <airlied@redhat.com>
3069 * Wed Jul 29 2009 Dave Jones <davej@redhat.com>
3070 - Add support for dracut. (Harald Hoyer)
3072 * Wed Jul 29 2009 Ben Skeggs <bskeggs@redhat.com>
3073 - drm-nouveau.patch: nv50/nva0 tiled scanout fixes, nv40 kms fixes
3075 * Wed Jul 29 2009 Chuck Ebbert <cebbert@redhat.com>
3076 - Linux 2.6.31-rc4-git3
3077 - Drop linux-2.6-ecryptfs-overflow-fixes.patch, merged upstream now.
3079 * Wed Jul 29 2009 Dave Airlie <airlied@redhat.com>
3080 - update VGA arb patches
3082 * Tue Jul 28 2009 Adam Jackson <ajax@redhat.com>
3083 - Remove the pcspkr modalias. If you're still living in 1994, load it
3086 * Tue Jul 28 2009 Eric Sandeen <sandeen@redhat.com> 2.6.31-0.102.rc4.git2
3087 - Fix eCryptfs overflow issues (CVE-2009-2406, CVE-2009-2407)
3089 * Tue Jul 28 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.101.rc4.git2
3091 - rebase linux-2.6-fix-usb-serial-autosuspend.diff
3093 - USB_GSPCA_SN9C20X=m (_EVDEV=y)
3095 * Tue Jul 28 2009 Ben Skeggs <bskeggs@redhat.com>
3096 - drm-nouveau.patch: cleanup userspace API, various bugfixes.
3097 Looks worse than it is, register macros got cleaned up, which
3098 touches pretty much everywhere..
3100 * Mon Jul 27 2009 Adam Jackson <ajax@redhat.com>
3101 - Warn quieter about not finding PCI bus parents for ROM BARs, they're
3102 not usually needed and there's nothing you can do about it anyway.
3104 * Mon Jul 27 2009 Matthew Garrett <mjg@redhat.com>
3105 - linux-2.6-alsa-improve-hda-powerdown.patch - attempt to reduce audio glitches
3106 caused by HDA powerdown
3107 - disable CONFIG_DEBUG_KOBJECT again for now, since it produces huge dmesg spew
3109 * Mon Jul 27 2009 Dave Airlie <airlied@redhat.com>
3110 - update vga arb code
3112 * Mon Jul 27 2009 Matthew Garrett <mjg@redhat.com>
3113 - drm-intel-pm.patch - Add runtime PM for Intel graphics
3115 * Fri Jul 24 2009 Kristian Høgsberg <krh@redhat.com>
3116 - Add drm-page-flip.patch to support vsynced page flipping on intel
3119 - Fix patch to not break nouveau.
3121 * Fri Jul 24 2009 Chuck Ebbert <cebbert@redhat.com>
3122 - Enable CONFIG_DEBUG_KOBJECT in debug kernels. (#513606)
3124 * Thu Jul 23 2009 Kyle McMartin <kyle@redhat.com>
3125 - perf BuildRequires binutils-devel now.
3127 * Thu Jul 23 2009 Justin M. Forbes <jforbes@redhat.com>
3130 * Thu Jul 23 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.87.rc4
3133 - USB_CDC_PHONET=m [all]
3134 - EVENT_PROFILE=y [i386, x86_64, powerpc, s390]
3136 * Wed Jul 22 2009 Tom "spot" Callaway <tcallawa@redhat.com>
3137 - We have to override the new %%install behavior because, well... the kernel is special.
3139 * Wed Jul 22 2009 Dave Jones <davej@redhat.com>
3142 * Wed Jul 22 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31-0.82.rc3.git4
3143 - Enable KMS for nouveau
3145 * Wed Jul 22 2009 Ben Skeggs <bskeggs@redhat.com>
3146 - Update nouveau from upstream (initial suspend/resume + misc bugfixes)
3148 * Mon Jul 20 2009 Adam Jackson <ajax@redhat.com>
3149 - Disable VGA arbiter patches for a moment
3151 * Mon Jul 20 2009 Adam Jackson <ajax@redhat.com>
3152 - Revive 4k framebuffers for intel gen3
3154 * Mon Jul 20 2009 Dave Jones <davej@redhat.com> 2.6.31-0.78.rc3.git4
3155 - Enable CONFIG_RTC_HCTOSYS (#489494)
3157 * Mon Jul 20 2009 Dave Jones <davej@redhat.com> 2.6.31-0.77.rc3.git4
3158 - Don't build 586 kernels any more.
3160 * Sun Jul 19 2009 Dave Jones <davej@redhat.com> 2.6.31-0.75.rc3.git4
3161 - build a 'full' package on i686 (Bill Nottingham)
3163 * Sun Jul 19 2009 Dave Jones <davej@redhat.com> 2.6.31-0.74.rc3.git4
3166 * Sat Jul 18 2009 Matthew Garrett <mjg@redhat.com>
3167 - linux-2.6-driver-level-usb-autosuspend.diff - allow drivers to enable autopm
3168 - linux-2.6-fix-usb-serial-autosuspend.diff - fix generic usb-serial autopm
3169 - linux-2.6-qcserial-autosuspend.diff - enable autopm by default on qcserial
3170 - linux-2.6-bluetooth-autosuspend.diff - enable autopm by default on btusb
3171 - linux-2.6-usb-uvc-autosuspend.diff - enable autopm by default on uvc
3173 * Thu Jul 16 2009 Chuck Ebbert <cebbert@redhat.com>
3176 * Thu Jul 16 2009 Matthew Garrett <mjg@redhat.com>
3177 - linux-2.6-defaults-aspm.patch - default ASPM to on for PCIe >= 1.1 hardware
3179 * Thu Jul 16 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.69.rc3
3180 - linux-2.6-vga-arb.patch - add VGA arbiter.
3181 - drm-vga-arb.patch - add VGA arbiter support to drm
3183 * Tue Jul 14 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.68-rc3
3186 - RTL8192SU is not set, (staging)
3188 * Mon Jul 13 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.67.rc2.git9
3193 * Mon Jul 13 2009 Ben Skeggs <bskeggs@redhat.com>
3194 - drm-nouveau.patch: update from upstream
3196 * Fri Jul 10 2009 Chuck Ebbert <cebbert@redhat.com>
3198 - Drop dmadebug-spinlock patch -- merged upstream.
3200 * Fri Jul 10 2009 Dave Jones <davej@redhat.com> 2.6.31-0.64.rc2.git5
3201 - Don't jump through hoops that ppc powerbooks have to on sensible systems
3204 * Fri Jul 10 2009 Dave Jones <davej@redhat.com>
3207 * Thu Jul 09 2009 Dave Jones <davej@redhat.com> 2.6.31-0.62.rc2.git4
3208 - Use correct spinlock initialization in dma-debug
3210 * Thu Jul 09 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.61.rc2.git4
3213 * Thu Jul 09 2009 Jarod Wilson <jarod@redhat.com>
3214 - Enable IR receiver on the Hauppauge HD PVR
3215 - Trim the changelog, axing everything before 2.6.29 (see cvs
3216 if you still really want to see that far back)
3218 * Wed Jul 08 2009 Dave Jones <davej@redhat.com>
3219 - Enable a bunch of debugging options that were missed somehow.
3221 * Wed Jul 08 2009 Kyle McMartin <kyle@redhat.com>
3222 - Bump NR_CPUS on x86_64 to 512.
3224 * Wed Jul 08 2009 Adam Jackson <ajax@redhat.com>
3225 - drm-no-gem-on-i8xx.patch: Drop, intel 2D driver requires GEM now. This
3226 should be entertaining.
3228 * Wed Jul 08 2009 Kyle McMartin <kyle@redhat.com>
3229 - First cut of /usr/sbin/perf wrapper script and 'perf'
3232 * Wed Jul 08 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.54.rc2.git2
3233 - Rebase and re-apply all the Fedora-specific linux-2.6-debug-*
3235 - Cull a bunch of upstreamed patches from the spec.
3237 * Wed Jul 08 2009 Steve Dickson <steved@redhat.com>
3238 - Added NFSD v4 dynamic pseudo root patch which allows
3239 NFS v3 exports to be mounted by v4 clients.
3241 * Tue Jul 07 2009 Jarod Wilson <jarod@redhat.com>
3242 - See if we can't make lirc_streamzap behave better... (#508952)
3244 * Tue Jul 07 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.47.rc2.git2
3247 * Tue Jul 07 2009 Jarod Wilson <jarod@redhat.com>
3248 - Make lirc_i2c actually work with 2.6.31 i2c
3250 * Mon Jul 06 2009 Chuck Ebbert <cebbert@redhat.com>
3251 - Use LZMA for kernel compression on X86.
3253 * Mon Jul 06 2009 Jarod Wilson <jarod@redhat.com>
3254 - Hack up lirc_i2c and lirc_zilog to compile with 2.6.31 i2c
3255 changes. The drivers might not actually be functional now, but
3256 at least they compile again. Will fix later, if need be...
3258 * Sat Jul 04 2009 Dave Jones <davej@redhat.com> 2.6.31-0.42.rc2
3261 * Sat Jul 04 2009 Chuck Ebbert <cebbert@redhat.com>
3264 * Fri Jul 03 2009 Hans de Goede <hdegoede@redhat.com>
3265 - Disable v4l1 ov511 and quickcam_messenger drivers (obsoleted by
3266 v4l2 gspca subdrivers)
3268 * Thu Jul 02 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.39.rc1.git9
3270 - linux-2.6-dm-fix-exstore-search.patch: similar patch merged upstream.
3272 * Tue Jun 30 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.38.rc1.git7
3275 * Tue Jun 30 2009 Dave Jones <davej@redhat.com> 2.6.31-0.37.rc1.git5
3276 - Disable kmemleak. Way too noisy, and not finding any real bugs.
3278 * Tue Jun 30 2009 Ben Skeggs <bskeggs@redhat.com>
3279 - drm-nouveau.patch: match upstream
3281 * Mon Jun 29 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.35.rc1.git5
3283 - CONFIG_LEDS_LP3944=m
3285 * Mon Jun 29 2009 Chuck Ebbert <cebbert@redhat.com>
3286 - Try to fix the dm overlay bug for real (#505121)
3288 * Sat Jun 27 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31-0.33.rc1.git2
3289 - drm-nouveau.patch: fix conflicts from 2.6.31-rc1-git2
3291 * Fri Jun 26 2009 Dave Jones <davej@redhat.com> 2.6.31-0.31.rc1.git2
3292 - Further improvements to kmemleak
3294 * Fri Jun 26 2009 Dave Jones <davej@redhat.com> 2.6.31-0.30.rc1.git2
3297 * Fri Jun 26 2009 Ben Skeggs <bskeggs@redhat.com>
3298 - drm-nouveau.patch: latest upstream + reenable
3300 * Thu Jun 25 2009 Dave Jones <davej@redhat.com> 2.6.31-0.29.rc1
3301 - Make kmemleak scan process stacks by default.
3302 Should reduce false positives (which does also increase false negatives,
3303 but that's at least less noisy)
3305 * Wed Jun 24 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.28.rc1
3307 - linux-2.6-utrace.patch: rebase on kernel/Makefile changes
3310 - CONFIG_DM_LOG_USERSPACE=m
3311 - CONFIG_DM_MULTIPATH_QL=m
3312 - CONFIG_DM_MULTIPATH_ST=m
3313 - CONFIG_BATTERY_MAX17040=m
3314 - CONFIG_I2C_DESIGNWARE is off (depends on clk.h)
3316 * Wed Jun 24 2009 Kyle McMartin <kyle@redhat.com>
3317 - Move perf to /usr/libexec/perf-$KernelVer.
3319 * Wed Jun 24 2009 Kyle McMartin <kyle@redhat.com>
3322 - CONFIG_SCSI_DEBUG=m (was off, requested by davidz)
3324 * Wed Jun 24 2009 Dave Jones <davej@redhat.com> 2.6.31-0.22.rc0.git22
3327 * Tue Jun 23 2009 Dave Jones <davej@redhat.com> 2.6.31-0.22.rc0.git20
3330 * Mon Jun 22 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.24.rc0.git18
3331 - Enable tools/perf, installed as /bin/perf-$KernelVer. Docs and a /bin/perf
3332 wrapper come next if this builds ok.
3334 * Mon Jun 22 2009 Kyle McMartin <kyle@redhat.com>
3335 - sched-introduce-SCHED_RESET_ON_FORK-scheduling-policy-flag.patch: pull in
3336 two fixes from Mike Galbraith from tip.git
3338 * Sun Jun 21 2009 Dave Jones <davej@redhat.com> 2.6.31-0.21.rc0.git18
3339 - Add patch to possibly fix the pktlen problem on via-velocity.
3341 * Sun Jun 21 2009 Dave Jones <davej@redhat.com> 2.6.31-0.20.rc0.git18
3343 VIA crypto & mmc patches now upstream.
3345 * Sun Jun 21 2009 Dave Jones <davej@redhat.com>
3346 - Determine cacheline sizes in a generic manner.
3348 * Sun Jun 21 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.18.rc0.git17
3352 CONFIG_PERF_COUNTERS=y
3354 CONFIG_KEYBOARD_LM8323 is not set
3355 CONFIG_MOUSE_SYNAPTICS_I2C=m
3356 CONFIG_TOUCHSCREEN_EETI=m
3357 CONFIG_TOUCHSCREEN_W90X900=m
3358 - Dropped agp-set_memory_ucwb.patch, all fixed upstream now.
3360 * Sat Jun 20 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.0.17.rc0.git15
3363 - CONFIG_PPC_DISABLE_WERROR=y (switched... chrp fails otherwise, stack
3366 * Sat Jun 20 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.0.16.rc0.git15
3372 - CONFIG_USB_SERIAL_QUATECH2 is not set
3373 - CONFIG_VT6655 is not set
3374 - CONFIG_USB_CPC is not set
3375 - CONFIG_RDC_17F3101X is not set
3376 - CONFIG_FB_UDL is not set
3380 - CONFIG_PPC_DISABLE_WERROR is not set
3381 - lirc disabled due to i2c detach_client removal.
3383 * Sat Jun 20 2009 Kyle McMartin <kyle@redhat.com>
3384 - sched-introduce-SCHED_RESET_ON_FORK-scheduling-policy-flag.patch: add,
3385 queued in tip/sched/core (ca94c442535a44d508c99a77e54f21a59f4fc462)
3387 * Fri Jun 19 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.0.15.rc0.git14
3388 - Fix up ptrace, hopefully. Builds on x86_64 at least.
3390 * Fri Jun 19 2009 Chuck Ebbert <cebbert@redhat.com>
3391 - linux-2.6-tip.git-203abd67b75f7714ce98ab0cdbd6cfd7ad79dec4.patch
3392 Fixes oops on boot with qemu (#507007)
3394 * Fri Jun 19 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.13.rc0.git14
3397 * Fri Jun 19 2009 Chuck Ebbert <cebbert@redhat.com>
3398 - Fix up the via-sdmmc and via-hwmon-temp-sensor patches.
3399 - Drop VIA Padlock patches merged upstream:
3400 via-rng-enable-64bit.patch
3401 via-padlock-10-enable-64bit.patch
3402 via-padlock-20-add-x86-dependency.patch
3404 * Thu Jun 18 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.11.rc0.git13
3408 - CONFIG_UACCESS_WITH_MEMCPY is not set
3410 - CONFIG_XEN_DEV_EVTCHN=m
3411 - CONFIG_XEN_SYS_HYPERVISOR=y
3413 - CONFIG_RCU_FANOUT=64
3415 - CONFIG_DEBUG_KMEMLEAK is not set
3416 - CONFIG_DEBUG_KMEMLEAK_TEST=m
3418 - CONFIG_CAN_SJA1000_OF_PLATFORM=m
3419 - CONFIG_PPC_EMULATED_STATS=y
3421 - CONFIG_RDS is not set (broken on ppc32)
3423 - CONFIG_RCU_FANOUT=32
3425 - CONFIG_RCU_FANOUT=64
3426 - CONFIG_PERF_COUNTERS=y
3428 - CONFIG_RCU_FANOUT=64
3431 - CONFIG_HIBERNATION=y
3432 - CONFIG_PM_STD_PARTITION="/dev/jokes"
3434 - CONFIG_RCU_FANOUT=64
3436 - CONFIG_RCU_FANOUT=32
3437 - CONFIG_IOMMU_STRESS is not set
3438 - CONFIG_PERF_COUNTERS=y
3439 - CONFIG_X86_OLD_MCE is not set
3440 - CONFIG_X86_MCE_INTEL=y
3441 - CONFIG_X86_MCE_AMD=y
3442 - CONFIG_X86_ANCIENT_MCE is not set
3443 - CONFIG_X86_MCE_INJECT is not set
3445 - CONFIG_EDAC_AMD64=m
3446 - CONFIG_EDAC_AMD64_ERROR_INJECTION is not set
3447 - CONFIG_XEN_DEV_EVTCHN=m
3448 - CONFIG_XEN_SYS_HYPERVISOR=y
3449 - CONFIG_RCU_FANOUT=64
3450 - CONFIG_IOMMU_STRESS is not set
3451 - CONFIG_PERF_COUNTERS=y
3452 - CONFIG_X86_MCE_INJECT is not set
3454 - CONFIG_RCU_FANOUT=32
3455 - CONFIG_MMC_SDHCI_PLTFM=m
3456 - CONFIG_MMC_CB710=m
3457 - CONFIG_CB710_CORE=m
3458 - CONFIG_CB710_DEBUG is not set
3459 - CONFIG_SCSI_MVSAS_DEBUG is not set
3460 - CONFIG_SCSI_BNX2_ISCSI=m
3461 - CONFIG_NETFILTER_XT_MATCH_OSF=m
3462 - CONFIG_RFKILL_INPUT=y (used to be =m, which was invalid)
3463 - CONFIG_DE2104X_DSL=0
3464 - CONFIG_KS8842 is not set
3465 - CONFIG_CFG80211_DEBUGFS=y
3466 - CONFIG_MAC80211_DEFAULT_PS=y
3468 - CONFIG_IWM_DEBUG is not set
3469 - CONFIG_RT2800USB=m
3471 - CONFIG_CAN_CALC_BITTIMING=y
3472 - CONFIG_CAN_SJA1000=m
3473 - CONFIG_CAN_SJA1000_PLATFORM=m
3474 - CONFIG_CAN_EMS_PCI=m
3475 - CONFIG_CAN_KVASER_PCI=m
3476 - CONFIG_EEPROM_MAX6875=m
3477 - CONFIG_SENSORS_TMP401=m
3478 - CONFIG_MEDIA_SUPPORT=m
3479 - CONFIG_SND_CTXFI=m
3480 - CONFIG_SND_LX6464ES=m
3481 - CONFIG_SND_HDA_CODEC_CA0110=y
3482 - CONFIG_USB_XHCI_HCD=m
3483 - CONFIG_USB_XHCI_HCD_DEBUGGING is not set
3484 - CONFIG_DRAGONRISE_FF=y (used to be =m)
3485 - CONFIG_GREENASIA_FF=y (used to be =m)
3486 - CONFIG_SMARTJOYPLUS_FF=y (used to be =m)
3487 - CONFIG_USB_NET_INT51X1=m
3489 - CONFIG_FUNCTION_PROFILER=y
3490 - CONFIG_RING_BUFFER_BENCHMARK=m
3491 - CONFIG_REGULATOR_USERSPACE_CONSUMER=m
3492 - CONFIG_REGULATOR_MAX1586=m
3493 - CONFIG_REGULATOR_LP3971=m
3494 - CONFIG_RCU_FANOUT_EXACT is not set
3495 - CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
3497 - CONFIG_IEEE802154=m
3498 - CONFIG_IEEE802154_DRIVERS=m
3499 - CONFIG_IEEE802154_FAKEHARD=m
3502 * Wed Jun 17 2009 Jarod Wilson <jarod@redhat.com>
3503 - New lirc_imon hotness, update 2:
3504 * support dual-interface devices with a single lirc device
3505 * directional pad functions as an input device mouse
3506 * touchscreen devices finally properly supported
3507 * support for using MCE/RC-6 protocol remotes
3508 * fix oops in RF remote association code (F10 bug #475496)
3509 * fix re-enabling case/panel buttons and/or knobs
3510 - Add some misc additional lirc_mceusb2 transceiver IDs
3511 - Add missing unregister_chrdev_region() call to lirc_dev exit
3512 - Add it8720 support to lirc_it87
3514 * Tue Jun 16 2009 Chuck Ebbert <cebbert@redhat.com>
3515 - Update via-sdmmc driver
3517 * Mon Jun 15 2009 Jarod Wilson <jarod@redhat.com>
3518 - Update lirc patches w/new imon hotness
3520 * Fri Jun 12 2009 Chuck Ebbert <cebbert@redhat.com>
3521 - Update VIA temp sensor and mmc drivers.
3523 * Fri Jun 12 2009 John W. Linville <linville@redhat.com> 2.6.30-6
3524 - neigh: fix state transition INCOMPLETE->FAILED via Netlink request
3525 - enable CONFIG_ARPD (used by OpenNHRP)
3527 * Wed Jun 10 2009 Chuck Ebbert <cebbert@redhat.com>
3529 Enable Padlock AES encryption and random number generator on x86-64
3530 Add via-sdmmc and via-cputemp drivers
3532 * Wed Jun 10 2009 Kyle McMartin <kyle@redhat.com> 2.6.30-1
3533 - Linux 2.6.30 rebase.
3535 * Tue Jun 09 2009 John W. Linville <linville@tuxdriver.com>
3536 - Clean-up some wireless bits in config-generic
3538 * Tue Jun 09 2009 Chuck Ebbert <cebbert@redhat.com>
3539 - Add support for ACPI P-states on VIA processors.
3540 - Disable the e_powersaver driver.
3542 * Tue Jun 09 2009 Chuck Ebbert <cebbert@redhat.com>
3543 - Linux 2.6.30-rc8-git6
3545 * Fri Jun 05 2009 Chuck Ebbert <cebbert@redhat.com>
3546 - Linux 2.6.30-rc8-git1
3548 * Wed Jun 03 2009 Kyle McMartin <kyle@redhat.com>
3551 * Tue Jun 2 2009 Roland McGrath <roland@redhat.com>
3552 - utrace update (fixes stap PR10185)
3554 * Tue Jun 02 2009 Dave Jones <davej@redhat.com>
3555 - For reasons unknown, RT2X00 driver was being built-in.
3558 * Tue Jun 02 2009 Dave Jones <davej@redhat.com>
3561 * Sat May 30 2009 Dave Jones <davej@redhat.com>
3564 * Thu May 28 2009 Dave Jones <davej@redhat.com
3567 * Wed May 27 2009 Dave Jones <davej@redhat.com>
3570 * Tue May 26 2009 Dave Jones <davej@redhat.com>
3571 - Various cpufreq patches from git.
3573 * Tue May 26 2009 Dave Jones <davej@redhat.com
3576 * Tue May 26 2009 Dave Jones <davej@redhat.com>
3579 * Mon May 25 2009 Kyle McMartin <kyle@redhat.com>
3580 - rds-only-on-64-bit-or-x86.patch: drop patch, issue is fixed upstream.
3582 * Sat May 23 2009 Dave Jones <davej@redhat.com>
3585 * Thu May 21 2009 Dave Jones <davej@redhat.com>
3588 * Wed May 20 2009 Chuck Ebbert <cebbert@redhat.com>
3589 - Enable Divas (formerly Eicon) ISDN drivers on x86_64. (#480837)
3591 * Wed May 20 2009 Dave Jones <davej@redhat.com>
3594 * Mon May 18 2009 Dave Jones <davej@redhat.com>
3597 * Sun May 17 2009 Dave Jones <davej@redhat.com>
3600 * Sat May 16 2009 Dave Jones <davej@redhat.com>
3603 * Mon May 11 2009 Kyle McMartin <kyle@redhat.com>
3604 - Linux 2.6.30-rc5-git1
3606 * Fri May 08 2009 Kyle McMartin <kyle@redhat.com>
3609 * Fri May 08 2009 Kyle McMartin <kyle@redhat.com>
3610 - Linux 2.6.30-rc4-git4
3612 * Wed May 06 2009 Kyle McMartin <kyle@redhat.com>
3613 - Linux 2.6.30-rc4-git3
3614 - linux-2.6-cdrom-door-status.patch: merged upstream.
3615 - linux-2.6-iwl3945-remove-useless-exports.patch: merged upstream.
3616 - linux-2.6-utrace.patch: rebase against changes to fs/proc/array.c
3619 * Fri May 01 2009 Eric Sandeen <sandeen@redhat.com>
3620 - Fix ext4 corruption on partial write into prealloc block
3622 * Thu Apr 30 2009 Kyle McMartin <kyle@redhat.com>
3625 * Wed Apr 29 2009 Dave Jones <davej@redhat.com>
3628 * Tue Apr 28 2009 Dave Jones <davej@redhat.com>
3631 * Tue Apr 28 2009 Chuck Ebbert <cebbert@redhat.com>
3632 - Make the kernel-vanilla package buildable again.
3633 - Allow building with older versions of RPM.
3635 * Tue Apr 28 2009 Neil Horman <nhorman@redhat.com>
3636 - Backport missing snmp stats (bz 492391)
3638 * Tue Apr 28 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.30-0.72.rc3.git3
3639 - Drop unused exports from the iwl3945 driver.
3641 * Tue Apr 28 2009 Chuck Ebbert <cebbert@redhat.com>
3642 - Linux 2.6.30-rc3-git3
3644 * Mon Apr 27 2009 Dave Jones <davej@redhat.com>
3647 * Sun Apr 26 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.30-0.68.rc3.git1
3648 - Linux 2.6.30-rc3-git1
3650 * Wed Apr 22 2009 Dave Jones <davej@redhat.com> 2.6.30-0.67.rc3
3651 - Disable SYSFS_DEPRECATED on ia64
3653 * Wed Apr 22 2009 Kyle McMartin <kyle@redhat.com>
3655 - PROC_VMCORE=y: Exports the dump image of crashed
3656 kernel in ELF format
3658 * Wed Apr 22 2009 Neil Horman <nhorman@redhat.com>
3659 - Enable RELOCATABLE and CRASH_DUMP for powerpc64
3660 - With this we can remove the -kdump build variant
3661 - for the ppc64 arch
3663 * Tue Apr 21 2009 Chuck Ebbert <cebbert@redhat.com>
3664 - Don't include the modules.*.bin files in the RPM package.
3666 * Tue Apr 21 2009 Dave Jones <davej@redhat.com>
3669 * Mon Apr 20 2009 Dave Jones <davej@redhat.com>
3670 - Various s390x config tweaks. (#496596, #496601, #496605, #496607)
3672 * Mon Apr 20 2009 Dave Jones <davej@redhat.com>
3675 * Sat Apr 18 2009 Chuck Ebbert <cebbert@redhat.com>
3676 - Set CONFIG_UEVENT_HELPER_PATH to the empty string (#496296)
3678 * Fri Apr 17 2009 Dave Jones <davej@redhat.com>
3681 * Thu Apr 16 2009 Kyle McMartin <kyle@redhat.com> 2.6.30-0.58.rc2.git1
3684 * Wed Apr 15 2009 Kyle McMartin <kyle@redhat.com> 2.6.30-0.57.rc2
3687 * Tue Apr 14 2009 Kyle McMartin <kyle@redhat.com>
3689 - CONFIG_TOUCHSCREEN_AD7879_I2C=m
3690 - CONFIG_STRIP_ASM_SYMS=y, off for -debug
3692 * Mon Apr 13 2009 Kyle McMartin <kyle@redhat.com>
3693 - ppc-fix-parport_pc.patch: add from linuxppc-dev@
3695 * Mon Apr 13 2009 Kyle McMartin <kyle@redhat.com>
3696 - execshield: fix build (load_user_cs_desc is 32-bit only in tlb.c)
3698 * Sun Apr 12 2009 Kyle McMartin <kyle@redhat.com>
3700 - revert-fix-modules_install-via-nfs.patch: reverted upstream
3702 * Thu Apr 09 2009 Kyle McMartin <kyle@redhat.com>
3703 - actually drop utrace-ftrace from srpm.
3705 * Thu Apr 09 2009 Kyle McMartin <kyle@redhat.com>
3708 - CONFIG_NETFILTER_XT_TARGET_LED=m
3710 * Thu Apr 09 2009 Dave Jones <davej@redhat.com>
3711 - Bring back the /dev/crash driver. (#492803)
3713 * Wed Apr 08 2009 Dave Jones <davej@redhat.com>
3714 - disable MMIOTRACE in non-debug builds (#494584)
3716 * Wed Apr 08 2009 Kyle McMartin <kyle@redhat.com> 2.6.30-0.44.rc1
3718 - linux-2.6-hwmon-atk0110.patch: drop
3719 - CONFIG_DETECT_HUNG_TASK=y
3720 - # CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set
3722 * Tue Apr 7 2009 Roland McGrath <roland@redhat.com>
3723 - utrace update, drop unfinished utrace-ftrace
3725 * Tue Apr 07 2009 Kyle McMartin <kyle@redhat.com>
3726 - Linux 2.6.29-git15
3727 - EXT3_DEFAULTS_TO_ORDERED on for now.
3728 - X86_X2APIC enabled.
3729 - LEDS_LP5521, LEDS_BD2802 off... look not generally relevant.
3732 * Tue Apr 07 2009 Dave Jones <davej@redhat.com>
3733 - Enable CONFIG_CIFS_STATS (#494545)
3735 * Mon Apr 06 2009 Kyle McMartin <kyle@redhat.com>
3736 - linux-2.6-execshield.patch: rebase for 2.6.30
3738 * Mon Apr 06 2009 Kyle McMartin <kyle@redhat.com>
3739 - Linux 2.6.29-git13
3740 - drop patches merged upstream:
3741 - fix-ppc-debug_kmap_atomic.patch
3742 - fix-staging-at76.patch
3743 - linux-2.6-acpi-video-didl-intel-outputs.patch
3744 - linux-2.6-acpi-strict-resources.patch
3745 - linux-2.6-sony-laptop-rfkill.patch
3746 - linux-2.6-btrfs-fix-umount-hang.patch
3747 - linux-2.6-fiemap-header-install.patch
3748 - linux-2.6-debug-dma-api.patch
3749 - dma-api-debug-fixes.patch
3750 - linux-2.6-ext4-flush-on-close.patch
3751 - linux-2.6-relatime-by-default.patch
3752 - linux-2.6-pci-sysfs-remove-id.patch
3753 - linux-2.6-scsi-cpqarray-set-master.patch
3754 - alsa-rewrite-hw_ptr-updaters.patch
3755 - alsa-pcm-always-reset-invalid-position.patch
3756 - alsa-pcm-fix-delta-calc-at-overlap.patch
3757 - alsa-pcm-safer-boundary-checks.patch
3758 - linux-2.6-input-hid-extra-gamepad.patch
3759 - linux-2.6-ipw2x00-age-scan-results-on-resume.patch
3760 - linux-2.6-dropwatch-protocol.patch
3761 - linux-2.6-net-fix-gro-bug.patch
3762 - linux-2.6-net-fix-another-gro-bug.patch
3763 - linux-2.6-net-xfrm-fix-spin-unlock.patch
3764 - linux-2.6.29-pat-change-is_linear_pfn_mapping-to-not-use-vm_pgoff.patch
3765 - linux-2.6.29-pat-pci-change-prot-for-inherit.patch
3767 * Thu Apr 02 2009 Josef Bacik <josef@toxicpanda.com>
3768 - linux-2.6-btrfs-fix-umount-hang.patch: fix umount hang on btrfs
3770 * Thu Apr 02 2009 Kyle McMartin <kyle@redhat.com>
3771 - fix-ppc-debug_kmap_atomic.patch: fix build failures on ppc.
3773 * Thu Apr 02 2009 Kyle McMartin <kyle@redhat.com>
3776 * Tue Mar 31 2009 Kyle McMartin <kyle@redhat.com>
3777 - rds-only-on-64-bit-or-x86.patch: add
3778 - at76-netdev_ops.patch: add
3780 * Tue Mar 31 2009 Kyle McMartin <kyle@redhat.com>
3782 - linux-2.6-net-fix-another-gro-bug.patch: upstream.
3784 * Tue Mar 31 2009 Eric Sandeen <sandeen@redhat.com>
3785 - add fiemap.h to kernel-headers
3786 - build ext4 (and jbd2 and crc16) into the kernel
3788 * Tue Mar 31 2009 Kyle McMartin <kyle@redhat.com>
3790 - fix-staging-at76.patch: pull patch from linux-wireless to fix...
3792 * Mon Mar 30 2009 Kyle McMartin <kyle@redhat.com> 2.6.30-0.28.rc0.git6
3794 - Bunch of stuff disabled, most merged, some needs rebasing.
3796 * Mon Mar 30 2009 Chuck Ebbert <cebbert@redhat.com>
3797 - Make the .shared-srctree file a list so more than two checkouts
3798 can share source files.
3800 * Mon Mar 30 2009 Chuck Ebbert <cebbert@redhat.com>
3801 - Separate PAT fixes that are headed for -stable from our out-of-tree ones.
3803 * Mon Mar 30 2009 Dave Jones <davej@redhat.com>
3804 - Make io schedulers selectable at boot time again. (#492817)
3806 * Mon Mar 30 2009 Dave Jones <davej@redhat.com>
3807 - Add a strict-devmem=0 boot argument (#492803)
3809 * Mon Mar 30 2009 Adam Jackson <ajax@redhat.com>
3810 - linux-2.6.29-pat-fixes.patch: Fix PAT/GTT interaction
3812 * Mon Mar 30 2009 Mauro Carvalho Chehab <mchehab@redhat.com>
3813 - some fixes of troubles caused by v4l2 subdev conversion
3815 * Mon Mar 30 2009 Mark McLoughlin <markmc@redhat.com> 2.6.29-21
3816 - Fix guest->remote network stall with virtio/GSO (#490266)
3818 * Mon Mar 30 2009 Ben Skeggs <bskeggs@redhat.com>
3820 - rewrite nouveau PCI(E) GART functions, should fix rh#492492
3821 - kms: kernel option to allow dual-link dvi
3822 - modinfo descriptions for module parameters
3824 * Sun Mar 29 2009 Mauro Carvalho Chehab <mchehab@redhat.com>
3825 - more v4l/dvb updates: v4l subdev conversion and some driver improvements
3827 * Sun Mar 29 2009 Chuck Ebbert <cebbert@redhat.com>
3828 - More fixes for ALSA hardware pointer updating.
3830 * Sat Mar 28 2009 Mauro Carvalho Chehab <mchehab@redhat.com>
3831 - linux-2.6-revert-dvb-net-kabi-change.patch: attempt to fix dvb net breakage
3832 - update v4l fixes patch to reflect what's ready for 2.6.30
3833 - update v4l devel patch to reflect what will be kept on linux-next for a while
3835 * Fri Mar 27 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.29-16
3836 - Fix 2.6.29 networking lockups.
3837 - Fix locking in net/xfrm/xfrm_state.c (#489764)
3839 * Fri Mar 27 2009 Ben Skeggs <bskeggs@redhat.com>
3840 - drm-nouveau.patch: do nothing for dac_{prepare,commit}, it's useless
3841 and breaks some things in strange ways.
3843 * Fri Mar 27 2009 Ben Skeggs <bskeggs@redhat.com>
3844 - nv50: clear 0x1900/8 on init, possible fix for rh#492240
3845 - forcibly disable GEM also if KMS requested where not supported
3846 - inform the user if we disable KMS because of it not being supported
3848 * Thu Mar 26 2009 Matthew Garrett <mjg@redhat.com>
3849 - linux-2.6-relatime-by-default.patch: Backport relatime code from 2.6.30
3851 * Thu Mar 26 2009 Dave Jones <davej@redhat.com>
3852 - Check for modesetting enabled before forcing mode on 915. (#490336)
3854 * Thu Mar 26 2009 Dave Jones <davej@redhat.com>
3855 - Set kernel-PAE as default in grub. (#487578)
3857 * Thu Mar 26 2009 Dave Jones <davej@redhat.com>
3858 - Enable CONFIG_MOUSE_PS2_ELANTECH (#492163)
3860 * Thu Mar 26 2009 Kyle McMartin <kyle@redhat.com>
3861 - linux-2.6-v4l-pvrusb2-fixes.patch: fix build for uncle steve.
3863 * Thu Mar 26 2009 Mauro Carvalho Chehab <mchehab@redhat.com>
3864 - Move all 2.6.30 stuff into linux-2.6-v4l-dvb-fixes.patch, in
3865 preparation for upstream pull;
3866 - Added two new drivers: gspca sq905c and DVB Intel ce6230
3867 - Updated to the latest v4l-dvb drivers.
3869 * Wed Mar 25 2009 Mauro Carvalho Chehab <mchehab@redhat.com>
3870 - remove duplicated Cinergy T2 entry at config-generic
3872 * Wed Mar 25 2009 Neil Horman <nhorman@redhat.com>
3873 - Add dropmonitor/dropwatch protocol from 2.6.30
3875 * Wed Mar 25 2009 Kyle McMartin <kyle@redhat.com>
3876 - alsa-rewrite-hw_ptr-updaters.patch: snd_pcm_update_hw_ptr() tries to
3877 detect the unexpected hwptr jumps more strictly to avoid the position
3878 mess-up, which often results in the bad quality I/O with pulseaudio.
3880 * Wed Mar 25 2009 Ben Skeggs <bskeggs@redhat.com>
3881 - drm-nouveau.patch: idle channels better before destroying them
3883 * Tue Mar 24 2009 Kyle McMartin <kyle@redhat.com>
3884 - Disable DMAR by default until suspend & resume is fixed.
3886 * Tue Mar 24 2009 Josef Bacik <josef@toxicpanda.com>
3887 - fsync replay fixes for btrfs
3889 * Mon Mar 23 2009 Dave Jones <davej@redhat.com>
3893 # The following Emacs magic makes C-c C-e use UTC dates.
3895 # rpm-change-log-uses-utc: t