5 # We have to override the new %%install behavior because, well... the kernel is special.
6 %global __spec_install_pre %{___build_pre}
8 Summary: The Linux kernel
10 # For a stable, released kernel, released_kernel should be 1. For rawhide
11 # and/or a kernel built from an rc or git snapshot, released_kernel should
13 %global released_kernel 1
15 # Versions of various parts
17 # Polite request for people who spin their own kernel rpms:
18 # please modify the "buildid" define in a way that identifies
19 # that the kernel isn't the stock distribution kernel, for example,
20 # by setting the define to ".local" or ".bz123456"
23 %define buildid .vs2.3.0.36.27
25 # fedora_build defines which build revision of this kernel version we're
26 # building. Rather than incrementing forever, as with the prior versioning
27 # setup, we set fedora_cvs_origin to the current cvs revision s/1.// of the
28 # kernel spec when the kernel is rebased, so fedora_build automatically
29 # works out to the offset from the rebase, so it doesn't get too ginormous.
31 # If you're building on a branch, the RCS revision will be something like
32 # 1.1205.1.1. In this case we drop the initial 1, subtract fedora_cvs_origin
33 # from the second number, and then append the rest of the RCS string as is.
34 # Don't stare at the awk too long, you'll go blind.
35 %define fedora_cvs_origin 1786
36 %define fedora_cvs_revision() %2
37 %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++} }')
39 # base_sublevel is the kernel version we're starting with and patching
40 # on top of -- for example, 2.6.22-rc7-git1 starts with a 2.6.21 base,
41 # which yields a base_sublevel of 21.
42 %define base_sublevel 31
44 ## If this is a released kernel ##
45 %if 0%{?released_kernel}
47 # Do we have a -stable update to apply?
48 %define stable_update 6
51 # Set rpm version accordingly
52 %if 0%{?stable_update}
53 %define stablerev .%{stable_update}
54 %define stable_base %{stable_update}
56 # stable RCs are incremental patches, so we need the previous stable patch
57 %define stable_base %(echo $((%{stable_update} - 1)))
60 %define rpmversion 2.6.%{base_sublevel}%{?stablerev}
62 ## The not-released-kernel case ##
64 # The next upstream release sublevel (base_sublevel+1)
65 %define upstream_sublevel %(echo $((%{base_sublevel} + 1)))
66 # The rc snapshot level
68 # The git snapshot level
70 # Set rpm version accordingly
71 %define rpmversion 2.6.%{upstream_sublevel}
73 # Nb: The above rcrev and gitrev values automagically define Patch00 and Patch01 below.
75 # What parts do we want to build? We must build at least one kernel.
76 # These are the kernels that are built IF the architecture allows it.
77 # All should default to 1 (enabled) and be flipped to 0 (disabled)
78 # by later arch-specific checks.
80 # The following build options are enabled by default.
81 # Use either --without <opt> in your rpmbuild command or force values
82 # to 0 in here to disable them.
85 %define with_up %{?_without_up: 0} %{?!_without_up: 1}
86 # kernel-smp (only valid for ppc 32-bit)
87 %define with_smp %{?_without_smp: 0} %{?!_without_smp: 1}
89 %define with_kdump %{?_without_kdump: 0} %{?!_without_kdump: 1}
91 %define with_debug %{?_without_debug: 0} %{?!_without_debug: 1}
93 %define with_doc %{?_without_doc: 0} %{?!_without_doc: 1}
95 %define with_headers %{?_without_headers: 0} %{?!_without_headers: 1}
97 %define with_firmware %{?_with_firmware: 1} %{?!_with_firmware: 0}
99 %define with_perftool %{?_without_perftool: 0} %{?!_without_perftool: 1}
101 %define with_perf %{?_without_perf: 0} %{?!_without_perf: 1}
103 %define with_debuginfo %{?_without_debuginfo: 0} %{?!_without_debuginfo: 1}
104 # kernel-bootwrapper (for creating zImages from kernel + initrd)
105 %define with_bootwrapper %{?_without_bootwrapper: 0} %{?!_without_bootwrapper: 1}
106 # Want to build a the vsdo directories installed
107 %define with_vdso_install %{?_without_vdso_install: 0} %{?!_without_vdso_install: 1}
108 # Use dracut instead of mkinitrd for initrd image generation
109 %define with_dracut %{?_without_dracut: 0} %{?!_without_dracut: 1}
111 # Build the kernel-doc package, but don't fail the build if it botches.
112 # Here "true" means "continue" and "false" means "fail the build".
113 %if 0%{?released_kernel}
114 %define doc_build_fail false
116 %define doc_build_fail true
119 %define rawhide_skip_docs 0
120 %if 0%{?rawhide_skip_docs}
124 # Additional options for user-friendly one-off kernel building:
126 # Only build the base kernel (--with baseonly):
127 %define with_baseonly %{?_with_baseonly: 1} %{?!_with_baseonly: 0}
128 # Only build the smp kernel (--with smponly):
129 %define with_smponly %{?_with_smponly: 1} %{?!_with_smponly: 0}
130 # Only build the debug kernel (--with dbgonly):
131 %define with_dbgonly %{?_with_dbgonly: 1} %{?!_with_dbgonly: 0}
133 # should we do C=1 builds with sparse
134 %define with_sparse %{?_with_sparse: 1} %{?!_with_sparse: 0}
136 # Set debugbuildsenabled to 1 for production (build separate debug kernels)
137 # and 0 for rawhide (all kernels are debug kernels).
138 # See also 'make debug' and 'make release'.
139 %define debugbuildsenabled 1
141 # Want to build a vanilla kernel build without any non-upstream patches?
142 # (well, almost none, we need nonintconfig for build purposes). Default to 0 (off).
143 %define with_vanilla %{?_with_vanilla: 1} %{?!_with_vanilla: 0}
145 # pkg_release is what we'll fill in for the rpm Release: field
146 %if 0%{?released_kernel}
149 %define stable_rctag .rc%{stable_rc}
151 %define pkg_release %{fedora_build}%{?stable_rctag}%{?buildid}%{?dist}
155 # non-released_kernel
157 %define rctag .rc%rcrev
160 %define gittag .git%gitrev
165 %define pkg_release 0.%{fedora_build}%{?rctag}%{?gittag}%{?buildid}%{?dist}
169 # The kernel tarball/base version
170 %define kversion 2.6.%{base_sublevel}
172 %define make_target bzImage
174 %define KVERREL %{PACKAGE_VERSION}-%{PACKAGE_RELEASE}.%{_target_cpu}
175 %define hdrarch %_target_cpu
176 %define asmarch %_target_cpu
178 %if 0%{!?nopatches:1}
187 %define with_bootwrapper 0
188 %define variant -vanilla
190 %define variant_fedora -fedora
193 %define using_upstream_branch 0
194 %if 0%{?upstream_branch:1}
195 %define stable_update 0
196 %define using_upstream_branch 1
197 %define variant -%{upstream_branch}%{?variant_fedora}
198 %define pkg_release 0.%{fedora_build}%{upstream_branch_tag}%{?buildid}%{?dist}
201 %if !%{debugbuildsenabled}
205 %if !%{with_debuginfo}
206 %define _enable_debug_packages 0
208 %define debuginfodir /usr/lib/debug
210 # kernel-PAE is only built on i686.
217 # if requested, only build base kernel
224 # if requested, only build smp kernel
231 # if requested, only build debug kernel
233 %if %{debugbuildsenabled}
240 %define with_perftool 0
243 %define all_x86 i386 i686
245 %if %{with_vdso_install}
246 # These arches install vdso/ directories.
247 %define vdso_arches %{all_x86} x86_64 ppc ppc64
250 # Overrides for generic default options
252 # only ppc and alphav56 need separate smp kernels
253 %ifnarch ppc alphaev56
257 # only build kernel-kdump on ppc64
258 # (no relocatable kernel support upstream yet)
259 #FIXME: Temporarily disabled to speed up builds.
264 # don't do debug builds on anything but i686 and x86_64
269 # only package docs noarch
275 # don't build noarch kernels or headers (duh)
278 %define with_headers 0
279 %define all_arch_configs kernel-%{version}-*.config
280 %define with_firmware %{?_without_firmware: 0} %{?!_without_firmware: 1}
283 # bootwrapper is only on ppc
285 %define with_bootwrapper 0
288 # sparse blows up on ppc64 alpha and sparc64
289 %ifarch ppc64 ppc alpha sparc64
290 %define with_sparse 0
298 %define all_arch_configs kernel-%{version}-i?86*.config
299 %define image_install_path boot
300 %define kernel_image arch/x86/boot/bzImage
305 %define all_arch_configs kernel-%{version}-x86_64*.config
306 %define image_install_path boot
307 %define kernel_image arch/x86/boot/bzImage
311 %define asmarch powerpc
312 %define hdrarch powerpc
313 %define all_arch_configs kernel-%{version}-ppc64*.config
314 %define image_install_path boot
315 %define make_target vmlinux
316 %define kernel_image vmlinux
317 %define kernel_image_elf 1
323 %define all_arch_configs kernel-%{version}-s390x.config
324 %define image_install_path boot
325 %define make_target image
326 %define kernel_image arch/s390/boot/image
330 # We only build sparc headers since we dont support sparc32 hardware
334 %define asmarch sparc
335 %define all_arch_configs kernel-%{version}-sparc64*.config
336 %define make_target image
337 %define kernel_image arch/sparc/boot/image
338 %define image_install_path boot
339 %define with_perftool 0
343 %define asmarch powerpc
344 %define hdrarch powerpc
345 %define all_arch_configs kernel-%{version}-ppc{-,.}*config
346 %define image_install_path boot
347 %define make_target vmlinux
348 %define kernel_image vmlinux
349 %define kernel_image_elf 1
353 %define all_arch_configs kernel-%{version}-ia64*.config
354 %define image_install_path boot/efi/EFI/redhat
355 %define make_target compressed
356 %define kernel_image vmlinux.gz
359 %ifarch alpha alphaev56
360 %define all_arch_configs kernel-%{version}-alpha*.config
361 %define image_install_path boot
362 %define make_target vmlinux
363 %define kernel_image vmlinux
367 %define all_arch_configs kernel-%{version}-arm*.config
368 %define image_install_path boot
370 %define make_target vmlinux
371 %define kernel_image vmlinux
375 # XXX temporary until last vdso patches are upstream
376 %define vdso_arches ppc ppc64
379 %if %{nopatches}%{using_upstream_branch}
380 # Ignore unknown options in our config-* files.
381 # Some options go with patches we're not applying.
382 %define oldconfig_target loose_nonint_oldconfig
384 %define oldconfig_target nonint_oldconfig
387 # To temporarily exclude an architecture from being built, add it to
388 # %nobuildarches. Do _NOT_ use the ExclusiveArch: line, because if we
389 # don't build kernel-headers then the new build system will no longer let
390 # us use the previous build of that package -- it'll just be completely AWOL.
391 # Which is a BadThing(tm).
393 # We don't build a kernel on i386; we only do kernel-headers there,
394 # and we no longer build for 31bit S390. Same for 32bit sparc and arm.
395 %define nobuildarches i386 s390 sparc %{arm}
397 %ifarch %nobuildarches
402 %define with_debuginfo 0
403 %define with_perftool 0
404 %define _enable_debug_packages 0
407 %define with_pae_debug 0
409 %define with_pae_debug %{with_debug}
413 # Three sets of minimum package version requirements in the form of Conflicts:
414 # to versions below the minimum
418 # First the general kernel 2.6 required versions as per
419 # Documentation/Changes
421 %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
424 # Then a series of requirements that are distribution specific, either
425 # because we add patches for something, or the older versions have
426 # problems with the newer kernel or lack certain things that make
427 # integration in the distro harder than needed.
429 %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
432 # The ld.so.conf.d file we install uses syntax older ldconfig's don't grok.
434 %define kernel_xen_conflicts glibc < 2.3.5-1, xen < 3.0.1
436 %define kernel_PAE_obsoletes kernel-smp < 2.6.17, kernel-xen <= 2.6.27-0.2.rc0.git6.fc10
437 %define kernel_PAE_provides kernel-xen = %{rpmversion}-%{pkg_release}
440 %define kernel_obsoletes kernel-xen <= 2.6.27-0.2.rc0.git6.fc10
441 %define kernel_provides kernel-xen = %{rpmversion}-%{pkg_release}
444 # We moved the drm include files into kernel-headers, make sure there's
445 # a recent enough libdrm-devel on the system that doesn't have those.
446 %define kernel_headers_conflicts libdrm-devel < 2.4.0-0.15
449 # Packages that need to be installed before the kernel is, because the %post
452 %define kernel_prereq fileutils, module-init-tools, initscripts >= 8.11.1-1, kernel-firmware >= %{rpmversion}-%{fedora_build}, grubby >= 7.0.4-1
454 %define initrd_prereq dracut >= 001-7
456 %define initrd_prereq mkinitrd >= 6.0.61-1
460 # This macro does requires, provides, conflicts, obsoletes for a kernel package.
461 # %%kernel_reqprovconf <subpackage>
462 # It uses any kernel_<subpackage>_conflicts and kernel_<subpackage>_obsoletes
463 # macros defined above.
465 %define kernel_reqprovconf \
466 Provides: kernel = %{rpmversion}-%{pkg_release}\
467 Provides: kernel-%{_target_cpu} = %{rpmversion}-%{pkg_release}%{?1:.%{1}}\
468 Provides: kernel-drm = 4.3.0\
469 Provides: kernel-drm-nouveau = 15\
470 Provides: kernel-modeset = 1\
471 Provides: kernel-uname-r = %{KVERREL}%{?1:.%{1}}\
472 Requires(pre): %{kernel_prereq}\
473 Requires(pre): %{initrd_prereq}\
474 Requires(post): /sbin/new-kernel-pkg\
475 Requires(preun): /sbin/new-kernel-pkg\
476 Conflicts: %{kernel_dot_org_conflicts}\
477 Conflicts: %{package_conflicts}\
478 %{expand:%%{?kernel%{?1:_%{1}}_conflicts:Conflicts: %%{kernel%{?1:_%{1}}_conflicts}}}\
479 %{expand:%%{?kernel%{?1:_%{1}}_obsoletes:Obsoletes: %%{kernel%{?1:_%{1}}_obsoletes}}}\
480 %{expand:%%{?kernel%{?1:_%{1}}_provides:Provides: %%{kernel%{?1:_%{1}}_provides}}}\
481 # We can't let RPM do the dependencies automatic because it'll then pick up\
482 # a correct but undesirable perl dependency from the module headers which\
483 # isn't required for the kernel proper to function\
488 Name: kernel%{?variant}
489 Group: System Environment/Kernel
491 URL: http://www.kernel.org/
492 Version: %{rpmversion}
493 Release: %{pkg_release}
494 # DO NOT CHANGE THE 'ExclusiveArch' LINE TO TEMPORARILY EXCLUDE AN ARCHITECTURE BUILD.
495 # SET %%nobuildarches (ABOVE) INSTEAD
496 ExclusiveArch: noarch %{all_x86} x86_64 ppc ppc64 ia64 sparc sparc64 s390x alpha alphaev56 %{arm}
500 %ifarch x86_64 sparc64
501 Obsoletes: kernel-smp
506 # List the packages used during the kernel build
508 BuildRequires: module-init-tools, patch >= 2.5.4, bash >= 2.03, sh-utils, tar
509 BuildRequires: bzip2, findutils, gzip, m4, perl, make >= 3.78, diffutils, gawk
510 BuildRequires: gcc >= 3.4.2, binutils >= 2.12, redhat-rpm-config
511 BuildRequires: net-tools
512 BuildRequires: xmlto, asciidoc
514 BuildRequires: sparse >= 0.4.1
517 BuildRequires: elfutils-libelf-devel zlib-devel binutils-devel
519 BuildConflicts: rhbuildsys(DiskFree) < 500Mb
521 %define fancy_debuginfo 0
522 %if %{with_debuginfo}
523 %if 0%{?fedora} >= 8 || 0%{?rhel} >= 6
524 %define fancy_debuginfo 1
528 %if %{fancy_debuginfo}
529 # Fancy new debuginfo generation introduced in Fedora 8.
530 BuildRequires: rpm-build >= 4.4.2.1-4
531 %define debuginfo_args --strict-build-id
534 Source0: ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-%{kversion}.tar.bz2
537 Source14: find-provides
540 Source20: Makefile.config
541 Source21: config-debug
542 Source22: config-nodebug
543 Source23: config-generic
544 Source24: config-rhel-generic
546 Source30: config-x86-generic
547 Source31: config-i686-PAE
549 Source40: config-x86_64-generic
551 Source50: config-powerpc-generic
552 Source51: config-powerpc32-generic
553 Source52: config-powerpc32-smp
554 Source53: config-powerpc64
556 Source60: config-ia64-generic
558 Source70: config-s390x
560 Source90: config-sparc64-generic
562 Source100: config-arm
566 # Here should be only the patches up to the upstream canonical Linus tree.
568 # For a stable release kernel
569 %if 0%{?stable_update}
571 %define stable_patch_00 patch-2.6.%{base_sublevel}.%{stable_base}.bz2
572 Patch00: %{stable_patch_00}
575 %define stable_patch_01 patch-2.6.%{base_sublevel}.%{stable_update}-rc%{stable_rc}.bz2
576 Patch01: %{stable_patch_01}
579 # non-released_kernel case
580 # These are automagically defined by the rcrev and gitrev values set up
581 # near the top of this spec file.
584 Patch00: patch-2.6.%{upstream_sublevel}-rc%{rcrev}.bz2
586 Patch01: patch-2.6.%{upstream_sublevel}-rc%{rcrev}-git%{gitrev}.bz2
589 # pre-{base_sublevel+1}-rc1 case
591 Patch00: patch-2.6.%{base_sublevel}-git%{gitrev}.bz2
596 %if %{using_upstream_branch}
600 Patch02: git-linus.diff
602 # we always need nonintconfig, even for -vanilla kernels
603 Patch03: linux-2.6-build-nonintconfig.patch
605 # we also need compile fixes for -vanilla
606 Patch04: linux-2.6-compile-fixes.patch
608 # build tweak for build ID magic, even for -vanilla
609 Patch05: linux-2.6-makefile-after_link.patch
611 ###-vs- http://vserver.13thfloor.at/ExperimentalT/patch-2.6.31.6-vs2.3.0.36.27.diff
612 Patch06: patch-2.6.31.6-vs2.3.0.36.27.diff
616 # revert upstream patches we get via other methods
617 Patch09: linux-2.6-upstream-reverts.patch
619 Patch10: git-cpufreq.patch
620 Patch11: git-bluetooth.patch
623 Patch20: linux-2.6-hotfixes.patch
625 Patch21: linux-2.6-tracehook.patch
626 Patch22: linux-2.6-utrace.patch
628 Patch30: sched-introduce-SCHED_RESET_ON_FORK-scheduling-policy-flag.patch
630 Patch31: disable-stackprotector-all.patch
632 # Intel IOMMU fixes/workarounds
633 Patch100: linux-2.6-die-closed-source-bios-muppets-die.patch
634 Patch101: linux-2.6-intel-iommu-updates.patch
635 Patch102: linux-2.6-iommu-at-zero.patch
636 Patch103: linux-2.6-iommu-dmar-all-1s.patch
637 Patch104: linux-2.6-iommu-another-hp-screwup.patch
638 Patch105: linux-2.6-iommu-sanity-checks-for-intr-remap-too.patch
639 Patch106: linux-2.6-iommu-hp-cantiga-resume.patch
641 Patch141: linux-2.6-ps3-storage-alias.patch
642 Patch143: linux-2.6-g5-therm-shutdown.patch
643 Patch144: linux-2.6-vio-modalias.patch
644 Patch147: linux-2.6-imac-transparent-bridge.patch
646 Patch150: linux-2.6.29-sparc-IOC_TYPECHECK.patch
648 Patch160: linux-2.6-execshield.patch
650 Patch250: linux-2.6-debug-sizeof-structs.patch
651 Patch260: linux-2.6-debug-nmi-timeout.patch
652 Patch270: linux-2.6-debug-taint-vm.patch
653 Patch280: linux-2.6-debug-spinlock-taint.patch
654 Patch300: linux-2.6-driver-level-usb-autosuspend.diff
655 Patch302: linux-2.6-qcserial-autosuspend.diff
656 Patch303: linux-2.6-bluetooth-autosuspend.diff
657 Patch304: linux-2.6-usb-uvc-autosuspend.diff
658 Patch340: linux-2.6-debug-vm-would-have-oomkilled.patch
659 Patch360: linux-2.6-debug-always-inline-kzalloc.patch
660 Patch380: linux-2.6-defaults-pci_no_msi.patch
661 Patch381: linux-2.6-pciehp-update.patch
662 Patch382: linux-2.6-defaults-pciehp.patch
663 Patch383: linux-2.6-defaults-aspm.patch
664 Patch390: linux-2.6-defaults-acpi-video.patch
665 Patch391: linux-2.6-acpi-video-dos.patch
666 Patch450: linux-2.6-input-kill-stupid-messages.patch
667 Patch451: linux-2.6-input-fix-toshiba-hotkeys.patch
668 Patch452: linux-2.6.30-no-pcspkr-modalias.patch
670 Patch460: linux-2.6-serial-460800.patch
672 Patch470: die-floppy-die.patch
674 Patch500: linux-2.6.31-copy_from_user-bounds.patch
676 Patch510: linux-2.6-silence-noise.patch
677 Patch520: linux-2.6.30-hush-rom-warning.patch
678 Patch530: linux-2.6-silence-fbcon-logo.patch
679 Patch570: linux-2.6-selinux-mprotect-checks.patch
680 Patch580: linux-2.6-sparc-selinux-mprotect-checks.patch
682 Patch600: linux-2.6-defaults-alsa-hda-beep-off.patch
683 Patch601: linux-2.6-alsa-improve-hda-powerdown.patch
684 Patch610: hda_intel-prealloc-4mb-dmabuffer.patch
685 Patch611: alsa-tell-user-that-stream-to-be-rewound-is-suspended.patch
687 Patch670: linux-2.6-ata-quirk.patch
688 Patch671: linux-2.6-ahci-export-capabilities.patch
690 Patch680: prism54-remove-pci-dev-table.patch
691 Patch681: linux-2.6-ath9k-fixes.patch
693 Patch800: linux-2.6-crash-driver.patch
695 Patch900: linux-2.6-pci-cacheline-sizing.patch
698 Patch1100: linux-2.6.31-cpuidle-faster-io.patch
699 # EC fixes from 2.6.32 (#492699, #525681)
700 Patch1110: acpi-ec-merge-irq-and-poll-modes.patch
701 Patch1120: acpi-ec-use-burst-mode-only-for-msi-notebooks.patch
702 Patch1130: acpi-ec-restart-command-even-if-no-interrupts-from-ec.patch
704 Patch1515: lirc-2.6.31.patch
705 Patch1517: hdpvr-ir-enable.patch
706 Patch1518: hid-ignore-all-recent-imon-devices.patch
709 Patch1550: linux-2.6-ksm.patch
710 Patch1551: linux-2.6-ksm-kvm.patch
711 Patch1552: linux-2.6-ksm-updates.patch
712 Patch1553: linux-2.6-ksm-fix-munlock.patch
713 Patch1554: linux-2.6-ksm-updates-from-32.patch
714 Patch1579: linux-2.6-virtio_blk-revert-QUEUE_FLAG_VIRT-addition.patch
715 Patch1583: linux-2.6-xen-fix-is_disconnected_device-exists_disconnected_device.patch
716 Patch1584: linux-2.6-xen-improvement-to-wait_for_devices.patch
717 Patch1585: linux-2.6-xen-increase-device-connection-timeout.patch
718 Patch1586: linux-2.6-virtio_blk-add-support-for-cache-flush.patch
720 # nouveau + drm fixes
721 Patch1810: kms-offb-handoff.patch
722 Patch1812: drm-next-b390f944.patch
723 Patch1813: drm-radeon-pm.patch
724 Patch1814: drm-nouveau.patch
725 Patch1818: drm-i915-resume-force-mode.patch
726 # intel drm is all merged upstream
727 Patch1824: drm-intel-next.patch
728 Patch1825: drm-intel-pm.patch
729 Patch1826: drm-intel-no-tv-hotplug.patch
730 Patch1827: drm-i915-fix-tvmode-oops.patch
731 Patch1831: drm-conservative-fallback-modes.patch
732 Patch1832: drm-edid-retry.patch
733 Patch1834: drm-edid-header-fixup.patch
734 Patch1835: drm-default-mode.patch
735 Patch1837: drm-i915-fix-sync-to-vbl-when-vga-is-off.patch
736 Patch1839: drm-radeon-misc-fixes.patch
737 Patch1840: drm-radeon-rv410-test-fix.patch
740 Patch1900: linux-2.6-vga-arb.patch
741 Patch1901: drm-vga-arb.patch
742 Patch1902: drm-radeon-kms-arbiter-return-ignore.patch
744 # make harmless fbcon debug less loud
745 Patch1903: fbcon-lower-debug.patch
747 # kludge to make ich9 e1000 work
748 Patch2000: linux-2.6-e1000-ich9.patch
750 # linux1394 git patches
751 Patch2200: linux-2.6-firewire-git-update.patch
752 Patch2201: linux-2.6-firewire-git-pending.patch
755 # silence the ACPI blacklist code
756 Patch2802: linux-2.6-silence-acpi-blacklist.patch
758 Patch2899: linux-2.6-v4l-dvb-fixes.patch
759 Patch2900: linux-2.6-v4l-dvb-update.patch
760 Patch2901: linux-2.6-v4l-dvb-experimental.patch
761 Patch2904: v4l-dvb-fix-cx25840-firmware-loading.patch
766 Patch3000: linux-2.6-btrfs-upstream.patch
769 Patch3050: linux-2.6-nfsd4-proots.patch
770 Patch3060: linux-2.6-nfs4-ver4opt.patch
771 Patch3061: linux-2.6-nfs4-callback-hidden.patch
773 # VIA Nano / VX8xx updates
774 Patch11010: via-hwmon-temp-sensor.patch
776 # patches headed upstream
777 Patch12010: linux-2.6-dell-laptop-rfkill-fix.patch
778 Patch12011: linux-2.6-block-silently-error-unsupported-empty-barriers-too.patch
779 Patch12012: linux-2.6-rtc-show-hctosys.patch
780 Patch12013: linux-2.6-rfkill-all.patch
781 Patch12014: linux-2.6-selinux-module-load-perms.patch
783 # sched fixes cherry-picked from 2.6.32
784 Patch13100: sched-deal-with-low-load-in-wake-affine.patch
785 Patch13101: sched-ensure-child-cant-gain-time-over-its-parent-after-fork.patch
786 Patch13102: sched-remove-shortcut-from-select-task-rq-fair.patch
787 # latency defaults from 2.6.32
788 Patch13110: sched-retune-scheduler-latency-defaults.patch
789 # Fix huge wakeup latencies
790 Patch13120: sched-update-the-clock-of-runqueue-select-task-rq-selected.patch
792 # patches headed for -stable
794 # make perf counter API available to userspace (#527264)
795 Patch14010: perf-make-perf-counter-h-available-to-userspace.patch
797 # fix resource counter issues on *big* machines
798 Patch14101: improve-resource-counter-scalability.patch
800 # fix perf for sysprof
801 Patch14420: perf-events-fix-swevent-hrtimer-sampling.patch
802 Patch14421: perf-events-dont-generate-events-for-the-idle-task.patch
804 Patch14430: crypto-via-padlock-fix-nano-aes.patch
806 # tg3 fixes (#527209)
807 Patch14451: tg3-01-delay-mdio-bus-init-until-fw-finishes.patch
808 Patch14452: tg3-02-fix-tso-test-against-wrong-flags-var.patch
809 Patch14453: tg3-03-fix-57780-asic-rev-pcie-link-receiver-errors.patch
810 Patch14454: tg3-04-prevent-tx-bd-corruption.patch
811 Patch14455: tg3-05-assign-flags-to-fixes-in-start_xmit_dma_bug.patch
812 Patch14456: tg3-06-fix-5906-transmit-hangs.patch
814 Patch14460: highmem-Fix-debug_kmap_atomic-to-also-handle-KM_IRQ_.patch
815 Patch14461: highmem-Fix-race-in-debug_kmap_atomic-which-could-ca.patch
816 Patch14462: highmem-fix-arm-powerpc-kmap_types.patch
818 Patch14463: dlm-fix-connection-close-handling.patch
820 # rhbz#544144 [bbf31bf18d34caa87dd01f08bf713635593697f2]
821 Patch14464: ipv4-fix-null-ptr-deref-in-ip_fragment.patch
825 BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root
828 The kernel package contains the Linux kernel (vmlinuz), the core of any
829 Linux operating system. The kernel handles the basic functions
830 of the operating system: memory allocation, process allocation, device
831 input and output, etc.
835 Summary: Various documentation bits found in the kernel source
838 This package contains documentation files from the kernel
839 source. Various bits of information about the Linux kernel and the
840 device drivers shipped with it are documented in these files.
842 You'll want to install this package if you need a reference to the
843 options that can be passed to Linux kernel modules at load time.
847 Summary: Header files for the Linux kernel for use by glibc
848 Group: Development/System
849 Obsoletes: glibc-kernheaders
850 Provides: glibc-kernheaders = 3.0-46
852 Kernel-headers includes the C header files that specify the interface
853 between the Linux kernel and userspace libraries and programs. The
854 header files define structures and constants that are needed for
855 building most standard programs and are also needed for rebuilding the
859 Summary: Firmware files used by the Linux kernel
860 Group: Development/System
861 # This is... complicated.
862 # Look at the WHENCE file.
863 License: GPL+ and GPLv2+ and MIT and Redistributable, no modification permitted
864 %if "x%{?variant}" != "x"
865 Provides: kernel-firmware = %{rpmversion}-%{pkg_release}
867 %description firmware
868 Kernel-firmware includes firmware files required for some devices to
872 Summary: Boot wrapper files for generating combined kernel + initrd images
873 Group: Development/System
875 %description bootwrapper
876 Kernel-bootwrapper contains the wrapper code which makes bootable "zImage"
877 files combining both kernel and initial ramdisk.
879 %package debuginfo-common-%{_target_cpu}
880 Summary: Kernel source files used by %{name}-debuginfo packages
881 Group: Development/Debug
882 %description debuginfo-common-%{_target_cpu}
883 This package is required by %{name}-debuginfo subpackages.
884 It provides the kernel source files common to all builds.
887 Summary: Performance monitoring for the Linux kernel
888 Group: Development/System
891 This package provides the supporting documentation for the perf tool
892 shipped in each kernel image subpackage.
895 # This macro creates a kernel-<subpackage>-debuginfo package.
896 # %%kernel_debuginfo_package <subpackage>
898 %define kernel_debuginfo_package() \
899 %package %{?1:%{1}-}debuginfo\
900 Summary: Debug information for package %{name}%{?1:-%{1}}\
901 Group: Development/Debug\
902 Requires: %{name}-debuginfo-common-%{_target_cpu} = %{version}-%{release}\
903 Provides: %{name}%{?1:-%{1}}-debuginfo-%{_target_cpu} = %{version}-%{release}\
905 %description -n %{name}%{?1:-%{1}}-debuginfo\
906 This package provides debug information for package %{name}%{?1:-%{1}}.\
907 This is required to use SystemTap with %{name}%{?1:-%{1}}-%{KVERREL}.\
908 %{expand:%%global debuginfo_args %{?debuginfo_args} -p '/.*/%%{KVERREL}%{?1:\.%{1}}/.*|/.*%%{KVERREL}%{?1:\.%{1}}(\.debug)?' -o debuginfo%{?1}.list}\
912 # This macro creates a kernel-<subpackage>-devel package.
913 # %%kernel_devel_package <subpackage> <pretty-name>
915 %define kernel_devel_package() \
916 %package %{?1:%{1}-}devel\
917 Summary: Development package for building kernel modules to match the %{?2:%{2} }kernel\
918 Group: System Environment/Kernel\
919 Provides: kernel%{?1:-%{1}}-devel-%{_target_cpu} = %{version}-%{release}\
920 Provides: kernel-devel-%{_target_cpu} = %{version}-%{release}%{?1:.%{1}}\
921 Provides: kernel-devel = %{version}-%{release}%{?1:.%{1}}\
922 Provides: kernel-devel-uname-r = %{KVERREL}%{?1:.%{1}}\
924 Requires(pre): /usr/bin/find\
925 %description -n kernel%{?variant}%{?1:-%{1}}-devel\
926 This package provides kernel headers and makefiles sufficient to build modules\
927 against the %{?2:%{2} }kernel package.\
931 # This macro creates a kernel-<subpackage> and its -devel and -debuginfo too.
932 # %%define variant_summary The Linux kernel compiled for <configuration>
933 # %%kernel_variant_package [-n <pretty-name>] <subpackage>
935 %define kernel_variant_package(n:) \
937 Summary: %{variant_summary}\
938 Group: System Environment/Kernel\
940 %{expand:%%kernel_devel_package %1 %{!?-n:%1}%{?-n:%{-n*}}}\
941 %{expand:%%kernel_debuginfo_package %1}\
945 # First the auxiliary packages of the main kernel package.
946 %kernel_devel_package
947 %kernel_debuginfo_package
950 # Now, each variant package.
952 %define variant_summary The Linux kernel compiled for SMP machines
953 %kernel_variant_package -n SMP smp
955 This package includes a SMP version of the Linux kernel. It is
956 required only on machines with two or more CPUs as well as machines with
957 hyperthreading technology.
959 Install the kernel-smp package if your machine uses two or more CPUs.
962 %define variant_summary The Linux kernel compiled for PAE capable machines
963 %kernel_variant_package PAE
965 This package includes a version of the Linux kernel with support for up to
966 64GB of high memory. It requires a CPU with Physical Address Extensions (PAE).
967 The non-PAE kernel can only address up to 4GB of memory.
968 Install the kernel-PAE package if your machine has more than 4GB of memory.
971 %define variant_summary The Linux kernel compiled with extra debugging enabled for PAE capable machines
972 %kernel_variant_package PAEdebug
973 Obsoletes: kernel-PAE-debug
974 %description PAEdebug
975 This package includes a version of the Linux kernel with support for up to
976 64GB of high memory. It requires a CPU with Physical Address Extensions (PAE).
977 The non-PAE kernel can only address up to 4GB of memory.
978 Install the kernel-PAE package if your machine has more than 4GB of memory.
980 This variant of the kernel has numerous debugging options enabled.
981 It should only be installed when trying to gather additional information
982 on kernel bugs, as some of these options impact performance noticably.
985 %define variant_summary The Linux kernel compiled with extra debugging enabled
986 %kernel_variant_package debug
988 The kernel package contains the Linux kernel (vmlinuz), the core of any
989 Linux operating system. The kernel handles the basic functions
990 of the operating system: memory allocation, process allocation, device
991 input and output, etc.
993 This variant of the kernel has numerous debugging options enabled.
994 It should only be installed when trying to gather additional information
995 on kernel bugs, as some of these options impact performance noticably.
998 %define variant_summary A minimal Linux kernel compiled for crash dumps
999 %kernel_variant_package kdump
1001 This package includes a kdump version of the Linux kernel. It is
1002 required only on machines which will use the kexec-based kernel crash dump
1007 # do a few sanity-checks for --with *only builds
1008 %if %{with_baseonly}
1009 %if !%{with_up}%{with_pae}
1010 echo "Cannot build --with baseonly, up build is disabled"
1017 echo "Cannot build --with smponly, smp build is disabled"
1022 # more sanity checking; do it quietly
1023 if [ "%{patches}" != "%%{patches}" ] ; then
1024 for patch in %{patches} ; do
1025 if [ ! -f $patch ] ; then
1026 echo "ERROR: Patch ${patch##/*/} listed in specfile but is missing"
1032 patch_command='patch -p1 -F1 -s'
1037 if [ ! -f $RPM_SOURCE_DIR/$patch ]; then
1040 if ! egrep "^Patch[0-9]+: $patch\$" %{_specdir}/${RPM_PACKAGE_NAME%%%%%{?variant}}.spec ; then
1041 if [ "${patch:0:10}" != "patch-2.6." ] ; then
1042 echo "ERROR: Patch $patch not listed as a source patch in specfile"
1047 *.bz2) bunzip2 < "$RPM_SOURCE_DIR/$patch" | $patch_command ${1+"$@"} ;;
1048 *.gz) gunzip < "$RPM_SOURCE_DIR/$patch" | $patch_command ${1+"$@"} ;;
1049 *) $patch_command ${1+"$@"} < "$RPM_SOURCE_DIR/$patch" ;;
1053 # don't apply patch if it's empty
1054 ApplyOptionalPatch()
1058 if [ ! -f $RPM_SOURCE_DIR/$patch ]; then
1061 local C=$(wc -l $RPM_SOURCE_DIR/$patch | awk '{print $1}')
1062 if [ "$C" -gt 9 ]; then
1063 ApplyPatch $patch ${1+"$@"}
1067 # we don't want a .config file when building firmware: it just confuses the build system
1068 %define build_firmware \
1069 mv .config .config.firmware_save \
1070 make INSTALL_FW_PATH=$RPM_BUILD_ROOT/lib/firmware firmware_install \
1071 mv .config.firmware_save .config
1073 # First we unpack the kernel tarball.
1074 # If this isn't the first make prep, we use links to the existing clean tarball
1075 # which speeds things up quite a bit.
1077 # Update to latest upstream.
1078 %if 0%{?released_kernel}
1079 %define vanillaversion 2.6.%{base_sublevel}
1080 # non-released_kernel case
1083 %define vanillaversion 2.6.%{upstream_sublevel}-rc%{rcrev}
1085 %define vanillaversion 2.6.%{upstream_sublevel}-rc%{rcrev}-git%{gitrev}
1088 # pre-{base_sublevel+1}-rc1 case
1090 %define vanillaversion 2.6.%{base_sublevel}-git%{gitrev}
1095 # We can share hardlinked source trees by putting a list of
1096 # directory names of the CVS checkouts that we want to share
1097 # with in .shared-srctree. (Full pathnames are required.)
1098 [ -f .shared-srctree ] && sharedirs=$(cat .shared-srctree)
1100 if [ ! -d kernel-%{kversion}/vanilla-%{vanillaversion} ]; then
1102 if [ -d kernel-%{kversion}/vanilla-%{kversion} ]; then
1104 cd kernel-%{kversion}
1106 # Any vanilla-* directories other than the base one are stale.
1107 for dir in vanilla-*; do
1108 [ "$dir" = vanilla-%{kversion} ] || rm -rf $dir &
1113 # Ok, first time we do a make prep.
1114 rm -f pax_global_header
1115 for sharedir in $sharedirs ; do
1116 if [[ ! -z $sharedir && -d $sharedir/kernel-%{kversion}/vanilla-%{kversion} ]] ; then
1120 if [[ ! -z $sharedir && -d $sharedir/kernel-%{kversion}/vanilla-%{kversion} ]] ; then
1121 %setup -q -n kernel-%{kversion} -c -T
1122 cp -rl $sharedir/kernel-%{kversion}/vanilla-%{kversion} .
1124 %setup -q -n kernel-%{kversion} -c
1125 mv linux-%{kversion} vanilla-%{kversion}
1130 %if "%{kversion}" != "%{vanillaversion}"
1132 for sharedir in $sharedirs ; do
1133 if [[ ! -z $sharedir && -d $sharedir/kernel-%{kversion}/vanilla-%{vanillaversion} ]] ; then
1137 if [[ ! -z $sharedir && -d $sharedir/kernel-%{kversion}/vanilla-%{vanillaversion} ]] ; then
1139 cp -rl $sharedir/kernel-%{kversion}/vanilla-%{vanillaversion} .
1143 cp -rl vanilla-%{kversion} vanilla-%{vanillaversion}
1144 cd vanilla-%{vanillaversion}
1146 # Update vanilla to the latest upstream.
1147 # (non-released_kernel case only)
1149 ApplyPatch patch-2.6.%{upstream_sublevel}-rc%{rcrev}.bz2
1151 ApplyPatch patch-2.6.%{upstream_sublevel}-rc%{rcrev}-git%{gitrev}.bz2
1154 # pre-{base_sublevel+1}-rc1 case
1156 ApplyPatch patch-2.6.%{base_sublevel}-git%{gitrev}.bz2
1167 # We already have a vanilla dir.
1168 cd kernel-%{kversion}
1171 if [ -d linux-%{kversion}.%{_target_cpu} ]; then
1172 # Just in case we ctrl-c'd a prep already
1173 rm -rf deleteme.%{_target_cpu}
1174 # Move away the stale away, and delete in background.
1175 mv linux-%{kversion}.%{_target_cpu} deleteme.%{_target_cpu}
1176 rm -rf deleteme.%{_target_cpu} &
1179 cp -rl vanilla-%{vanillaversion} linux-%{kversion}.%{_target_cpu}
1181 cd linux-%{kversion}.%{_target_cpu}
1183 # released_kernel with possible stable updates
1184 %if 0%{?stable_base}
1185 ApplyPatch %{stable_patch_00}
1188 ApplyPatch %{stable_patch_01}
1191 %if %{using_upstream_branch}
1192 ### BRANCH APPLY ###
1195 # Drop some necessary files from the source dir into the buildroot
1196 cp $RPM_SOURCE_DIR/config-* .
1199 # Dynamically generate kernel .config files from config-* files
1200 make -f %{SOURCE20} VERSION=%{version} configs
1202 #if a rhel kernel, apply the rhel config options
1204 for i in %{all_arch_configs}
1207 ./merge.pl config-rhel-generic $i.tmp > $i
1212 #ApplyOptionalPatch git-linus.diff
1214 # This patch adds a "make nonint_oldconfig" which is non-interactive and
1215 # also gives a list of missing options at the end. Useful for automated
1216 # builds (as used in the buildsystem).
1217 ApplyPatch linux-2.6-build-nonintconfig.patch
1219 ApplyPatch linux-2.6-makefile-after_link.patch
1222 ApplyPatch patch-2.6.31.6-vs2.3.0.36.27.diff
1225 # misc small stuff to make things compile
1227 ApplyOptionalPatch linux-2.6-compile-fixes.patch
1231 # revert patches from upstream that conflict or that we get via other means
1232 ApplyOptionalPatch linux-2.6-upstream-reverts.patch -R
1234 ApplyOptionalPatch git-cpufreq.patch
1235 #ApplyOptionalPatch git-bluetooth.patch
1237 ApplyPatch linux-2.6-hotfixes.patch
1239 # Roland's utrace ptrace replacement.
1240 ApplyPatch linux-2.6-tracehook.patch
1242 ApplyPatch linux-2.6-utrace.patch -F3
1244 ApplyPatch sched-introduce-SCHED_RESET_ON_FORK-scheduling-policy-flag.patch
1246 ApplyPatch disable-stackprotector-all.patch
1248 # Architecture patches
1250 ApplyPatch via-hwmon-temp-sensor.patch
1251 ApplyPatch linux-2.6-dell-laptop-rfkill-fix.patch
1256 # Quiesce USB host controllers before setting up the IOMMU
1257 ApplyPatch linux-2.6-die-closed-source-bios-muppets-die.patch
1258 # Some performance fixes, unify hardware/software passthrough support, and
1259 # most importantly: notice when the BIOS points us to a region that returns
1260 # all 0xFF, and claims that there's an IOMMU there.
1261 ApplyPatch linux-2.6-intel-iommu-updates.patch
1262 ApplyPatch linux-2.6-iommu-at-zero.patch
1263 ApplyPatch linux-2.6-iommu-dmar-all-1s.patch
1264 # Check for RMRRs which end before they start
1265 ApplyPatch linux-2.6-iommu-another-hp-screwup.patch
1266 # Apply the 'at zero' and 'all 0xFF' sanity checks for intr_remap too
1267 ApplyPatch linux-2.6-iommu-sanity-checks-for-intr-remap-too.patch
1268 # Fix up MMIO BAR for integrated graphics on HP laptops on resume (#536675)
1269 ApplyPatch linux-2.6-iommu-hp-cantiga-resume.patch
1274 ### NOT (YET) UPSTREAM:
1275 # The storage alias patch is Fedora-local, and allows the old 'ps3_storage'
1276 # module name to work on upgrades. Otherwise, I believe mkinitrd will fail
1277 # to pull the module in,
1278 ApplyPatch linux-2.6-ps3-storage-alias.patch
1279 # Alleviate G5 thermal shutdown problems
1280 ApplyPatch linux-2.6-g5-therm-shutdown.patch
1281 # Provide modalias in sysfs for vio devices
1282 ApplyPatch linux-2.6-vio-modalias.patch
1283 # Work around PCIe bridge setup on iSight
1284 ApplyPatch linux-2.6-imac-transparent-bridge.patch
1289 ApplyPatch linux-2.6.29-sparc-IOC_TYPECHECK.patch
1295 ApplyPatch linux-2.6-execshield.patch -F3
1298 # bugfixes to drivers and filesystems
1307 ApplyPatch linux-2.6-btrfs-upstream.patch
1312 ApplyPatch linux-2.6-nfsd4-proots.patch
1313 ApplyPatch linux-2.6-nfs4-ver4opt.patch
1314 ApplyPatch linux-2.6-nfs4-callback-hidden.patch
1317 ApplyPatch linux-2.6-driver-level-usb-autosuspend.diff
1318 ApplyPatch linux-2.6-qcserial-autosuspend.diff
1319 ApplyPatch linux-2.6-bluetooth-autosuspend.diff
1320 ApplyPatch linux-2.6-usb-uvc-autosuspend.diff
1323 ApplyPatch linux-2.6-defaults-acpi-video.patch
1324 ApplyPatch linux-2.6-acpi-video-dos.patch
1325 # cpuidle: Fix the menu governor to boost IO performance
1326 ApplyPatch linux-2.6.31-cpuidle-faster-io.patch
1327 # EC fixes from 2.6.32 (#492699, #525681)
1328 ApplyPatch acpi-ec-merge-irq-and-poll-modes.patch
1329 ApplyPatch acpi-ec-use-burst-mode-only-for-msi-notebooks.patch
1330 ApplyPatch acpi-ec-restart-command-even-if-no-interrupts-from-ec.patch
1332 # Various low-impact patches to aid debugging.
1333 ApplyPatch linux-2.6-debug-sizeof-structs.patch
1334 ApplyPatch linux-2.6-debug-nmi-timeout.patch
1335 ApplyPatch linux-2.6-debug-taint-vm.patch
1336 ApplyPatch linux-2.6-debug-spinlock-taint.patch
1338 ApplyPatch linux-2.6-debug-vm-would-have-oomkilled.patch
1339 ApplyPatch linux-2.6-debug-always-inline-kzalloc.patch
1344 # disable message signaled interrupts
1345 ApplyPatch linux-2.6-defaults-pci_no_msi.patch
1346 # update the pciehp driver
1347 #ApplyPatch linux-2.6-pciehp-update.patch
1348 # default to enabling passively listening for hotplug events
1349 #ApplyPatch linux-2.6-defaults-pciehp.patch
1350 # enable ASPM by default on hardware we expect to work
1351 ApplyPatch linux-2.6-defaults-aspm.patch
1358 # squelch hda_beep by default
1359 ApplyPatch linux-2.6-defaults-alsa-hda-beep-off.patch
1360 ApplyPatch linux-2.6-alsa-improve-hda-powerdown.patch
1361 ApplyPatch hda_intel-prealloc-4mb-dmabuffer.patch
1362 ApplyPatch alsa-tell-user-that-stream-to-be-rewound-is-suspended.patch
1367 # The input layer spews crap no-one cares about.
1368 ApplyPatch linux-2.6-input-kill-stupid-messages.patch
1370 # stop floppy.ko from autoloading during udev...
1371 ApplyPatch die-floppy-die.patch
1373 # make copy_from_user to a stack slot provable right
1374 # hosed stuff, just drop this close to beta
1375 #ApplyPatch linux-2.6.31-copy_from_user-bounds.patch
1377 # Get away from having to poll Toshibas
1378 #ApplyPatch linux-2.6-input-fix-toshiba-hotkeys.patch
1380 ApplyPatch linux-2.6.30-no-pcspkr-modalias.patch
1382 # Allow to use 480600 baud on 16C950 UARTs
1383 ApplyPatch linux-2.6-serial-460800.patch
1385 # Silence some useless messages that still get printed with 'quiet'
1386 ApplyPatch linux-2.6-silence-noise.patch
1387 ApplyPatch linux-2.6.30-hush-rom-warning.patch
1389 # Make fbcon not show the penguins with 'quiet'
1390 ApplyPatch linux-2.6-silence-fbcon-logo.patch
1392 # Fix the SELinux mprotect checks on executable mappings
1393 #ApplyPatch linux-2.6-selinux-mprotect-checks.patch
1394 # Fix SELinux for sparc
1395 #ApplyPatch linux-2.6-sparc-selinux-mprotect-checks.patch
1397 # Changes to upstream defaults.
1401 ApplyPatch linux-2.6-ata-quirk.patch
1403 # Make it possible to identify non-hotplug SATA ports
1404 ApplyPatch linux-2.6-ahci-export-capabilities.patch
1406 # prism54: remove pci modinfo device table
1407 ApplyPatch prism54-remove-pci-dev-table.patch
1409 # ath9k: add fixes suggested by upstream maintainer
1410 ApplyPatch linux-2.6-ath9k-fixes.patch
1412 # /dev/crash driver.
1413 ApplyPatch linux-2.6-crash-driver.patch
1415 # Determine cacheline sizes in a generic manner.
1416 ApplyPatch linux-2.6-pci-cacheline-sizing.patch
1418 # http://www.lirc.org/
1419 ApplyPatch lirc-2.6.31.patch
1420 # enable IR receiver on Hauppauge HD PVR (v4l-dvb merge pending)
1421 ApplyPatch hdpvr-ir-enable.patch
1422 # tell usbhid to ignore all imon devices (sent upstream 2009.07.31)
1423 ApplyPatch hid-ignore-all-recent-imon-devices.patch
1425 # Add kernel KSM support
1426 ApplyPatch linux-2.6-ksm.patch
1427 ApplyPatch linux-2.6-ksm-updates.patch
1428 ApplyPatch linux-2.6-ksm-fix-munlock.patch
1429 ApplyPatch linux-2.6-ksm-updates-from-32.patch
1430 # Optimize KVM for KSM support
1431 ApplyPatch linux-2.6-ksm-kvm.patch
1433 # Assorted Virt Fixes
1434 ApplyPatch linux-2.6-virtio_blk-revert-QUEUE_FLAG_VIRT-addition.patch
1435 ApplyPatch linux-2.6-xen-fix-is_disconnected_device-exists_disconnected_device.patch
1436 ApplyPatch linux-2.6-xen-improvement-to-wait_for_devices.patch
1437 ApplyPatch linux-2.6-xen-increase-device-connection-timeout.patch
1438 ApplyPatch linux-2.6-virtio_blk-add-support-for-cache-flush.patch
1440 # Fix block I/O errors in KVM
1441 ApplyPatch linux-2.6-block-silently-error-unsupported-empty-barriers-too.patch
1443 ApplyPatch linux-2.6-e1000-ich9.patch
1445 # Nouveau DRM + drm fixes
1446 ApplyPatch kms-offb-handoff.patch
1447 ApplyPatch drm-next-b390f944.patch
1448 ApplyPatch drm-radeon-misc-fixes.patch
1449 ApplyPatch drm-radeon-rv410-test-fix.patch
1450 ApplyPatch drm-conservative-fallback-modes.patch
1451 ApplyPatch drm-edid-retry.patch
1452 ApplyPatch drm-edid-header-fixup.patch
1453 ApplyPatch drm-default-mode.patch
1455 ApplyPatch drm-nouveau.patch
1456 # pm broken on my thinkpad t60p - airlied
1457 #ApplyPatch drm-radeon-pm.patch
1458 ApplyPatch drm-i915-resume-force-mode.patch
1459 ApplyOptionalPatch drm-intel-next.patch
1460 #this appears to be upstream - mjg59?
1461 #ApplyPatch drm-intel-pm.patch
1462 ApplyPatch drm-intel-no-tv-hotplug.patch
1463 ApplyPatch drm-i915-fix-tvmode-oops.patch
1464 ApplyPatch drm-i915-fix-sync-to-vbl-when-vga-is-off.patch
1465 #ApplyPatch drm-disable-r600-aspm.patch
1468 ApplyPatch linux-2.6-vga-arb.patch
1469 ApplyPatch drm-vga-arb.patch
1470 ApplyPatch drm-radeon-kms-arbiter-return-ignore.patch
1472 # Lower debug level of fbcon handover messages (rh#538526)
1473 ApplyPatch fbcon-lower-debug.patch
1475 # linux1394 git patches
1476 # apply if non-empty
1477 ApplyOptionalPatch linux-2.6-firewire-git-update.patch
1478 ApplyOptionalPatch linux-2.6-firewire-git-pending.patch
1480 # silence the ACPI blacklist code
1481 ApplyPatch linux-2.6-silence-acpi-blacklist.patch
1483 # V4L/DVB updates/fixes/experimental drivers
1484 # apply if non-empty
1485 ApplyOptionalPatch linux-2.6-v4l-dvb-fixes.patch
1486 ApplyOptionalPatch linux-2.6-v4l-dvb-update.patch
1487 ApplyOptionalPatch linux-2.6-v4l-dvb-experimental.patch
1489 ApplyPatch v4l-dvb-fix-cx25840-firmware-loading.patch
1491 # Patches headed upstream
1492 ApplyPatch linux-2.6-rtc-show-hctosys.patch
1493 ApplyPatch linux-2.6-rfkill-all.patch
1494 ApplyPatch linux-2.6-selinux-module-load-perms.patch
1496 # patches headed for -stable
1498 # make perf counter API available to userspace (#527264)
1499 ApplyPatch perf-make-perf-counter-h-available-to-userspace.patch
1501 ApplyPatch improve-resource-counter-scalability.patch
1503 # fix perf for sysprof
1504 ApplyPatch perf-events-fix-swevent-hrtimer-sampling.patch
1505 ApplyPatch perf-events-dont-generate-events-for-the-idle-task.patch
1507 # Fix oops in padlock
1508 ApplyPatch crypto-via-padlock-fix-nano-aes.patch
1510 # tg3 fixes (#527209)
1511 ApplyPatch tg3-01-delay-mdio-bus-init-until-fw-finishes.patch
1512 ApplyPatch tg3-02-fix-tso-test-against-wrong-flags-var.patch
1513 ApplyPatch tg3-03-fix-57780-asic-rev-pcie-link-receiver-errors.patch
1514 ApplyPatch tg3-04-prevent-tx-bd-corruption.patch
1515 ApplyPatch tg3-05-assign-flags-to-fixes-in-start_xmit_dma_bug.patch
1516 ApplyPatch tg3-06-fix-5906-transmit-hangs.patch
1518 # sched fixes cherry-picked from 2.6.32
1519 ApplyPatch sched-deal-with-low-load-in-wake-affine.patch
1520 ApplyPatch sched-ensure-child-cant-gain-time-over-its-parent-after-fork.patch
1521 ApplyPatch sched-remove-shortcut-from-select-task-rq-fair.patch
1522 # latency defaults from 2.6.32
1523 ApplyPatch sched-retune-scheduler-latency-defaults.patch
1524 # fix wakeup latency
1525 ApplyPatch sched-update-the-clock-of-runqueue-select-task-rq-selected.patch
1527 ApplyPatch highmem-Fix-debug_kmap_atomic-to-also-handle-KM_IRQ_.patch
1528 ApplyPatch highmem-Fix-race-in-debug_kmap_atomic-which-could-ca.patch
1529 ApplyPatch highmem-fix-arm-powerpc-kmap_types.patch
1531 ApplyPatch dlm-fix-connection-close-handling.patch
1534 ApplyPatch ipv4-fix-null-ptr-deref-in-ip_fragment.patch
1536 # END OF PATCH APPLICATIONS
1540 # Any further pre-build tree manipulations happen here.
1542 chmod +x scripts/checkpatch.pl
1544 # only deal with configs if we are going to build for the arch
1545 %ifnarch %nobuildarches
1549 # Remove configs not for the buildarch
1550 for cfg in kernel-%{version}-*.config; do
1551 if [ `echo %{all_arch_configs} | grep -c $cfg` -eq 0 ]; then
1556 %if !%{debugbuildsenabled}
1557 rm -f kernel-%{version}-*debug.config
1560 # now run oldconfig over all the config files
1564 Arch=`head -1 .config | cut -b 3-`
1565 make ARCH=$Arch %{oldconfig_target}
1566 echo "# $Arch" > configs/$i
1567 cat .config >> configs/$i
1569 # end of kernel config
1572 # get rid of unwanted files resulting from patch fuzz
1573 find . \( -name "*.orig" -o -name "*~" \) -exec rm -f {} \; >/dev/null
1583 %define sparse_mflags C=1
1586 %if %{fancy_debuginfo}
1587 # This override tweaks the kernel makefiles so that we run debugedit on an
1588 # object before embedding it. When we later run find-debuginfo.sh, it will
1589 # run debugedit again. The edits it does change the build ID bits embedded
1590 # in the stripped object, but repeating debugedit is a no-op. We do it
1591 # beforehand to get the proper final build ID bits into the embedded image.
1592 # This affects the vDSO images in vmlinux, and the vmlinux image in bzImage.
1594 'sh -xc "/usr/lib/rpm/debugedit -b $$RPM_BUILD_DIR -d /usr/src/debug -i $@"'
1599 eu-strip --remove-comment -o "$2" "$1"
1606 InstallName=${4:-vmlinuz}
1608 # Pick the right config file for the kernel we're building
1609 Config=kernel-%{version}-%{_target_cpu}${Flavour:+-${Flavour}}.config
1610 DevelDir=/usr/src/kernels/%{KVERREL}${Flavour:+.${Flavour}}
1612 # When the bootable image is just the ELF kernel, strip it.
1613 # We already copy the unstripped file into the debuginfo package.
1614 if [ "$KernelImage" = vmlinux ]; then
1615 CopyKernel=cp_vmlinux
1620 KernelVer=%{version}-%{release}.%{_target_cpu}${Flavour:+.${Flavour}}
1621 echo BUILDING A KERNEL FOR ${Flavour} %{_target_cpu}...
1623 # make sure EXTRAVERSION says what we want it to say
1624 perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = %{?stablerev}-%{release}.%{_target_cpu}${Flavour:+.${Flavour}}/" Makefile
1626 # if pre-rc1 devel kernel, must fix up SUBLEVEL for our versioning scheme
1629 perl -p -i -e 's/^SUBLEVEL.*/SUBLEVEL = %{upstream_sublevel}/' Makefile
1633 # and now to start the build process
1636 cp configs/$Config .config
1638 Arch=`head -1 .config | cut -b 3-`
1639 echo USING ARCH=$Arch
1641 make -s ARCH=$Arch %{oldconfig_target} > /dev/null
1642 make -s ARCH=$Arch V=1 %{?_smp_mflags} $MakeTarget %{?sparse_mflags}
1643 make -s ARCH=$Arch V=1 %{?_smp_mflags} modules %{?sparse_mflags} || exit 1
1645 %if %{with_perftool}
1647 # make sure the scripts are executable... won't be in tarball until 2.6.31 :/
1648 chmod +x util/generate-cmdlist.sh util/PERF-VERSION-GEN
1649 make -s V=1 %{?_smp_mflags} perf
1650 mkdir -p $RPM_BUILD_ROOT/usr/libexec/
1651 install -m 755 perf $RPM_BUILD_ROOT/usr/libexec/perf.$KernelVer
1655 # Start installing the results
1656 %if %{with_debuginfo}
1657 mkdir -p $RPM_BUILD_ROOT%{debuginfodir}/boot
1658 mkdir -p $RPM_BUILD_ROOT%{debuginfodir}/%{image_install_path}
1660 mkdir -p $RPM_BUILD_ROOT/%{image_install_path}
1661 install -m 644 .config $RPM_BUILD_ROOT/boot/config-$KernelVer
1662 install -m 644 System.map $RPM_BUILD_ROOT/boot/System.map-$KernelVer
1664 # We estimate the size of the initramfs because rpm needs to take this size
1665 # into consideration when performing disk space calculations. (See bz #530778)
1666 dd if=/dev/zero of=$RPM_BUILD_ROOT/boot/initramfs-$KernelVer.img bs=1M count=20
1668 dd if=/dev/zero of=$RPM_BUILD_ROOT/boot/initrd-$KernelVer.img bs=1M count=5
1670 if [ -f arch/$Arch/boot/zImage.stub ]; then
1671 cp arch/$Arch/boot/zImage.stub $RPM_BUILD_ROOT/%{image_install_path}/zImage.stub-$KernelVer || :
1673 $CopyKernel $KernelImage \
1674 $RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer
1675 chmod 755 $RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer
1677 mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer
1678 # Override $(mod-fw) because we don't want it to install any firmware
1679 # We'll do that ourselves with 'make firmware_install'
1680 make -s ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT modules_install KERNELRELEASE=$KernelVer mod-fw=
1681 %ifarch %{vdso_arches}
1682 make -s ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT vdso_install KERNELRELEASE=$KernelVer
1683 if grep '^CONFIG_XEN=y$' .config >/dev/null; then
1684 echo > ldconfig-kernel.conf "\
1685 # This directive teaches ldconfig to search in nosegneg subdirectories
1686 # and cache the DSOs there with extra bit 0 set in their hwcap match
1687 # fields. In Xen guest kernels, the vDSO tells the dynamic linker to
1688 # search in nosegneg subdirectories and to match this extra hwcap bit
1689 # in the ld.so.cache file.
1692 if [ ! -s ldconfig-kernel.conf ]; then
1693 echo > ldconfig-kernel.conf "\
1694 # Placeholder file, no vDSO hwcap entries used in this kernel."
1696 %{__install} -D -m 444 ldconfig-kernel.conf \
1697 $RPM_BUILD_ROOT/etc/ld.so.conf.d/kernel-$KernelVer.conf
1700 # And save the headers/makefiles etc for building modules against
1702 # This all looks scary, but the end result is supposed to be:
1703 # * all arch relevant include/ files
1704 # * all Makefile/Kconfig files
1705 # * all script/ files
1707 rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1708 rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/source
1709 mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1710 (cd $RPM_BUILD_ROOT/lib/modules/$KernelVer ; ln -s build source)
1711 # dirs for additional modules per module-init-tools, kbuild/modules.txt
1712 mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/extra
1713 mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/updates
1714 mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/weak-updates
1715 # first copy everything
1716 cp --parents `find -type f -name "Makefile*" -o -name "Kconfig*"` $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1717 cp Module.symvers $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1718 cp System.map $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1719 if [ -s Module.markers ]; then
1720 cp Module.markers $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1722 # then drop all but the needed Makefiles/Kconfig files
1723 rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/Documentation
1724 rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts
1725 rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
1726 cp .config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1727 cp -a scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1728 if [ -d arch/$Arch/scripts ]; then
1729 cp -a arch/$Arch/scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch} || :
1731 if [ -f arch/$Arch/*lds ]; then
1732 cp -a arch/$Arch/*lds $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch}/ || :
1734 rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/*.o
1735 rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/*/*.o
1737 cp -a --parents arch/powerpc/lib/crtsavres.[So] $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
1739 if [ -d arch/%{asmarch}/include ]; then
1740 cp -a --parents arch/%{asmarch}/include $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
1742 mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
1744 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
1745 asmdir=$(readlink asm)
1746 cp -a $asmdir $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/
1747 pushd $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
1750 # Make sure the Makefile and version.h have a matching timestamp so that
1751 # external modules can be built
1752 touch -r $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/Makefile $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/linux/version.h
1753 touch -r $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/.config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/linux/autoconf.h
1754 # Copy .config to include/config/auto.conf so "make prepare" is unnecessary.
1755 cp $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/.config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/config/auto.conf
1759 # save the vmlinux file for kernel debugging into the kernel-debuginfo rpm
1761 %if %{with_debuginfo}
1762 mkdir -p $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer
1763 cp vmlinux $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer
1766 find $RPM_BUILD_ROOT/lib/modules/$KernelVer -name "*.ko" -type f >modnames
1768 # mark modules executable so that strip-to-file can strip them
1769 xargs --no-run-if-empty chmod u+x < modnames
1771 # Generate a list of modules for block and networking.
1773 fgrep /drivers/ modnames | xargs --no-run-if-empty nm -upA |
1774 sed -n 's,^.*/\([^/]*\.ko\): *U \(.*\)$,\1 \2,p' > drivers.undef
1776 collect_modules_list()
1778 sed -r -n -e "s/^([^ ]+) \\.?($2)\$/\\1/p" drivers.undef |
1779 LC_ALL=C sort -u > $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$1
1782 collect_modules_list networking \
1783 'register_netdev|ieee80211_register_hw|usbnet_probe'
1784 collect_modules_list block \
1785 'ata_scsi_ioctl|scsi_add_host|blk_init_queue|register_mtd_blktrans|scsi_esp_register|scsi_register_device_handler'
1786 collect_modules_list drm \
1788 collect_modules_list modesetting \
1791 # detect missing or incorrect license tags
1795 echo -n "${i#$RPM_BUILD_ROOT/lib/modules/$KernelVer/} " >> modinfo
1796 /sbin/modinfo -l $i >> modinfo
1800 'GPL( v2)?$|Dual BSD/GPL$|Dual MPL/GPL$|GPL and additional rights$' \
1803 rm -f modinfo modnames
1805 # remove files that will be auto generated by depmod at rpm -i time
1806 for i in alias alias.bin ccwmap dep dep.bin ieee1394map inputmap isapnpmap ofmap pcimap seriomap symbols symbols.bin usbmap
1808 rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$i
1811 # Move the devel headers out of the root file system
1812 mkdir -p $RPM_BUILD_ROOT/usr/src/kernels
1813 mv $RPM_BUILD_ROOT/lib/modules/$KernelVer/build $RPM_BUILD_ROOT/$DevelDir
1814 ln -sf ../../..$DevelDir $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1821 # prepare directories
1822 rm -rf $RPM_BUILD_ROOT
1823 mkdir -p $RPM_BUILD_ROOT/boot
1825 cd linux-%{kversion}.%{_target_cpu}
1828 BuildKernel %make_target %kernel_image debug
1831 %if %{with_pae_debug}
1832 BuildKernel %make_target %kernel_image PAEdebug
1836 BuildKernel %make_target %kernel_image PAE
1840 BuildKernel %make_target %kernel_image
1844 BuildKernel %make_target %kernel_image smp
1848 BuildKernel vmlinux vmlinux kdump vmlinux
1852 # Make the HTML and man pages.
1853 # XXX nix %{?_smp_mflags} here, buggy Documentation/*/Makefile!
1854 make htmldocs mandocs || %{doc_build_fail}
1856 # sometimes non-world-readable files sneak into the kernel source tree
1857 chmod -R a=rX Documentation
1858 find Documentation -type d | xargs chmod u+w
1863 make %{?_smp_mflags} man || %{doc_build_fail}
1868 ### Special hacks for debuginfo subpackages.
1871 # This macro is used by %%install, so we must redefine it before that.
1872 %define debug_package %{nil}
1874 %if %{fancy_debuginfo}
1875 %define __debug_install_post \
1876 /usr/lib/rpm/find-debuginfo.sh %{debuginfo_args} %{_builddir}/%{?buildsubdir}\
1880 %if %{with_debuginfo}
1882 %global __debug_package 1
1883 %files -f debugfiles.list debuginfo-common-%{_target_cpu}
1884 %defattr(-,root,root)
1894 cd linux-%{kversion}.%{_target_cpu}
1897 docdir=$RPM_BUILD_ROOT%{_datadir}/doc/kernel-doc-%{rpmversion}
1898 man9dir=$RPM_BUILD_ROOT%{_datadir}/man/man9
1900 # copy the source over
1902 tar -f - --exclude=man --exclude='.*' -c Documentation | tar xf - -C $docdir
1904 # Install man pages for the kernel API.
1906 find Documentation/DocBook/man -name '*.9.gz' -print0 |
1907 xargs -0 --no-run-if-empty %{__install} -m 444 -t $man9dir $m
1908 ls $man9dir | grep -q '' || > $man9dir/BROKEN
1913 mandir=$RPM_BUILD_ROOT%{_datadir}/man
1914 man1dir=$mandir/man1
1915 pushd tools/perf/Documentation
1916 make install-man mandir=$mandir
1926 # perf shell wrapper
1928 mkdir -p $RPM_BUILD_ROOT/usr/sbin/
1929 cp $RPM_SOURCE_DIR/perf $RPM_BUILD_ROOT/usr/sbin/perf
1930 chmod 0755 $RPM_BUILD_ROOT/usr/sbin/perf
1931 mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/perf
1935 # Install kernel headers
1936 make ARCH=%{hdrarch} INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr headers_install
1938 # Do headers_check but don't die if it fails.
1939 make ARCH=%{hdrarch} INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr headers_check \
1940 > hdrwarnings.txt || :
1941 if grep -q exist hdrwarnings.txt; then
1942 sed s:^$RPM_BUILD_ROOT/usr/include/:: hdrwarnings.txt
1943 # Temporarily cause a build failure if header inconsistencies.
1947 find $RPM_BUILD_ROOT/usr/include \
1948 \( -name .install -o -name .check -o \
1949 -name ..install.cmd -o -name ..check.cmd \) | xargs rm -f
1951 # glibc provides scsi headers for itself, for now
1952 rm -rf $RPM_BUILD_ROOT/usr/include/scsi
1953 rm -f $RPM_BUILD_ROOT/usr/include/asm*/atomic.h
1954 rm -f $RPM_BUILD_ROOT/usr/include/asm*/io.h
1955 rm -f $RPM_BUILD_ROOT/usr/include/asm*/irq.h
1958 %if %{with_firmware}
1962 %if %{with_bootwrapper}
1963 make DESTDIR=$RPM_BUILD_ROOT bootwrapper_install WRAPPER_OBJDIR=%{_libdir}/kernel-wrapper WRAPPER_DTSDIR=%{_libdir}/kernel-wrapper/dts
1972 rm -rf $RPM_BUILD_ROOT
1979 # This macro defines a %%post script for a kernel*-devel package.
1980 # %%kernel_devel_post [<subpackage>]
1982 %define kernel_devel_post() \
1983 %{expand:%%post %{?1:%{1}-}devel}\
1984 if [ -f /etc/sysconfig/kernel ]\
1986 . /etc/sysconfig/kernel || exit $?\
1988 if [ "$HARDLINK" != "no" -a -x /usr/sbin/hardlink ]\
1990 (cd /usr/src/kernels/%{KVERREL}%{?1:.%{1}} &&\
1991 /usr/bin/find . -type f | while read f; do\
1992 hardlink -c /usr/src/kernels/*.fc*.*/$f $f\
1997 # This macro defines a %%posttrans script for a kernel package.
1998 # %%kernel_variant_posttrans [<subpackage>]
1999 # More text can follow to go at the end of this variant's %%post.
2001 %define kernel_variant_posttrans() \
2002 %{expand:%%posttrans %{?1}}\
2003 /sbin/new-kernel-pkg --package kernel%{?1:-%{1}} --rpmposttrans %{KVERREL}%{?1:.%{1}} || exit $?\
2007 # This macro defines a %%post script for a kernel package and its devel package.
2008 # %%kernel_variant_post [-v <subpackage>] [-r <replace>]
2009 # More text can follow to go at the end of this variant's %%post.
2011 %define kernel_variant_post(v:r:) \
2012 %{expand:%%kernel_devel_post %{?-v*}}\
2013 %{expand:%%kernel_variant_posttrans %{?-v*}}\
2014 %{expand:%%post %{?-v*}}\
2016 if [ `uname -i` == "x86_64" -o `uname -i` == "i386" ] &&\
2017 [ -f /etc/sysconfig/kernel ]; then\
2018 /bin/sed -r -i -e 's/^DEFAULTKERNEL=%{-r*}$/DEFAULTKERNEL=kernel%{?-v:-%{-v*}}/' /etc/sysconfig/kernel || exit $?\
2022 /sbin/new-kernel-pkg --package kernel%{?-v:-%{-v*}} --mkinitrd --dracut --depmod --install %{KVERREL}%{?-v:.%{-v*}} || exit $?\
2024 /sbin/new-kernel-pkg --package kernel%{?-v:-%{-v*}} --mkinitrd --depmod --install %{KVERREL}%{?-v:.%{-v*}} || exit $?\
2026 #if [ -x /sbin/weak-modules ]\
2028 # /sbin/weak-modules --add-kernel %{KVERREL}%{?-v*} || exit $?\
2033 # This macro defines a %%preun script for a kernel package.
2034 # %%kernel_variant_preun <subpackage>
2036 %define kernel_variant_preun() \
2037 %{expand:%%preun %{?1}}\
2038 /sbin/new-kernel-pkg --rminitrd --rmmoddep --remove %{KVERREL}%{?1:.%{1}} || exit $?\
2039 #if [ -x /sbin/weak-modules ]\
2041 # /sbin/weak-modules --remove-kernel %{KVERREL}%{?1} || exit $?\
2045 %kernel_variant_preun
2047 %kernel_variant_post -r (kernel-smp|kernel-xen)
2049 %kernel_variant_post -r kernel-smp
2052 %kernel_variant_preun smp
2053 %kernel_variant_post -v smp
2055 %kernel_variant_preun PAE
2056 %kernel_variant_post -v PAE -r (kernel|kernel-smp|kernel-xen)
2058 %kernel_variant_preun debug
2059 %kernel_variant_post -v debug
2061 %kernel_variant_post -v PAEdebug -r (kernel|kernel-smp|kernel-xen)
2062 %kernel_variant_preun PAEdebug
2064 if [ -x /sbin/ldconfig ]
2066 /sbin/ldconfig -X || exit $?
2075 %defattr(-,root,root)
2079 %if %{with_firmware}
2081 %defattr(-,root,root)
2083 %doc linux-%{kversion}.%{_target_cpu}/firmware/WHENCE
2086 %if %{with_bootwrapper}
2088 %defattr(-,root,root)
2090 %{_libdir}/kernel-wrapper
2093 # only some architecture builds need kernel-doc
2096 %defattr(-,root,root)
2097 %{_datadir}/doc/kernel-doc-%{rpmversion}/Documentation/*
2098 %dir %{_datadir}/doc/kernel-doc-%{rpmversion}/Documentation
2099 %dir %{_datadir}/doc/kernel-doc-%{rpmversion}
2100 %{_datadir}/man/man9/*
2105 %defattr(-,root,root)
2106 %{_datadir}/doc/perf
2108 %{_datadir}/man/man1/*
2111 # This is %{image_install_path} on an arch where that includes ELF files,
2112 # or empty otherwise.
2113 %define elf_image_install_path %{?kernel_image_elf:%{image_install_path}}
2116 # This macro defines the %%files sections for a kernel package
2117 # and its devel and debuginfo packages.
2118 # %%kernel_variant_files [-k vmlinux] <condition> <subpackage>
2120 %define kernel_variant_files(k:) \
2122 %{expand:%%files %{?2}}\
2123 %defattr(-,root,root)\
2124 /%{image_install_path}/%{?-k:%{-k*}}%{!?-k:vmlinuz}-%{KVERREL}%{?2:.%{2}}\
2125 /boot/System.map-%{KVERREL}%{?2:.%{2}}\
2126 %if %{with_perftool}\
2127 /usr/libexec/perf.%{KVERREL}%{?2:.%{2}}\
2129 #/boot/symvers-%{KVERREL}%{?2:.%{2}}.gz\
2130 /boot/config-%{KVERREL}%{?2:.%{2}}\
2131 %dir /lib/modules/%{KVERREL}%{?2:.%{2}}\
2132 /lib/modules/%{KVERREL}%{?2:.%{2}}/kernel\
2133 /lib/modules/%{KVERREL}%{?2:.%{2}}/build\
2134 /lib/modules/%{KVERREL}%{?2:.%{2}}/source\
2135 /lib/modules/%{KVERREL}%{?2:.%{2}}/extra\
2136 /lib/modules/%{KVERREL}%{?2:.%{2}}/updates\
2137 /lib/modules/%{KVERREL}%{?2:.%{2}}/weak-updates\
2138 %ifarch %{vdso_arches}\
2139 /lib/modules/%{KVERREL}%{?2:.%{2}}/vdso\
2140 /etc/ld.so.conf.d/kernel-%{KVERREL}%{?2:.%{2}}.conf\
2142 /lib/modules/%{KVERREL}%{?2:.%{2}}/modules.*\
2144 /boot/initramfs-%{KVERREL}%{?2:.%{2}}.img\
2146 /boot/initrd-%{KVERREL}%{?2:.%{2}}.img\
2148 %{expand:%%files %{?2:%{2}-}devel}\
2149 %defattr(-,root,root)\
2150 %dir /usr/src/kernels\
2151 %verify(not mtime) /usr/src/kernels/%{KVERREL}%{?2:.%{2}}\
2152 /usr/src/kernels/%{KVERREL}%{?2:.%{2}}\
2153 %if %{with_debuginfo}\
2155 %if %{fancy_debuginfo}\
2156 %{expand:%%files -f debuginfo%{?2}.list %{?2:%{2}-}debuginfo}\
2158 %{expand:%%files %{?2:%{2}-}debuginfo}\
2160 %defattr(-,root,root)\
2161 %if !%{fancy_debuginfo}\
2162 %if "%{elf_image_install_path}" != ""\
2163 %{debuginfodir}/%{elf_image_install_path}/*-%{KVERREL}%{?2:.%{2}}.debug\
2165 %{debuginfodir}/lib/modules/%{KVERREL}%{?2:.%{2}}\
2166 %{debuginfodir}/usr/src/kernels/%{KVERREL}%{?2:.%{2}}\
2174 %kernel_variant_files %{with_up}
2175 %kernel_variant_files %{with_smp} smp
2176 %kernel_variant_files %{with_debug} debug
2177 %kernel_variant_files %{with_pae} PAE
2178 %kernel_variant_files %{with_pae_debug} PAEdebug
2179 %kernel_variant_files -k vmlinux %{with_kdump} kdump
2181 # plz don't put in a version string unless you're going to tag
2185 * Thu Dec 03 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.6-162
2186 - ipv4-fix-null-ptr-deref-in-ip_fragment.patch: null ptr deref
2189 * Thu Dec 03 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-161
2190 - rv410 LVDS on resume test fix from AMD (#541562)
2192 * Wed Dec 02 2009 John W. Linville <linville@redhat.com> 2.6.31.6-160
2193 - ath9k: add fixes suggested by upstream maintainer
2195 * Wed Dec 02 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-159
2196 - drm-radeon-misc-fixes.patch: r400 LVDS, r600 digital dpms, cursor fix, tv property
2198 * Wed Dec 02 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31.6-158
2199 - nouveau: more complete lvds script selection on >=G80 (rh#522690, rh#529859)
2200 - nouveau: more complete tmds script selection on >=G80 (rh#537853)
2201 - nouveau: TV detection fixes
2203 * Tue Dec 01 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-157
2204 - div/0 fix harder (#540593) - also ignore unposted GPUs with no BIOS
2206 * Tue Dec 01 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-156
2207 - drm-next: fixes LVDS resume on r4xx, div/0 on no bios (#540593)
2208 lockup on tv-out only startup.
2210 * Mon Nov 30 2009 Kyle McMartin <kyle@redhat.com>
2211 - drm-i915-fix-sync-to-vbl-when-vga-is-off.patch: add (rhbz#541670)
2213 * Sun Nov 29 2009 Kyle McMartin <kyle@redhat.com>
2214 - Drop linux-2.6-sysrq-c.patch, made consistent upstream.
2216 * Fri Nov 27 2009 Jarod Wilson <jarod@redhat.com> 2.6.31.6-153
2217 - add device name to lirc_zilog, fixes issues w/multiple target devices
2218 - add lirc_imon pure input mode support for onboard decode devices
2220 * Wed Nov 26 2009 David Woodhouse <David.Woodhouse@intel.com> 2.6.31.6-152
2221 - Fix intel_tv_mode_set oops (#540218)
2223 * Wed Nov 26 2009 David Woodhouse <David.Woodhouse@intel.com> 2.6.31.6-151
2224 - VT-d: Work around yet more HP BIOS brokenness (#536675)
2226 * Wed Nov 25 2009 Kyle McMartin <kyle@redhat.com>
2227 - dlm: fix connection close handling.
2228 Fix by lmb, requested by fabio.
2230 * Wed Nov 25 2009 David Woodhouse <David.Woodhouse@intel.com> 2.6.31.6-149
2231 - VT-d: Work around more HP BIOS brokenness.
2233 * Tue Nov 24 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-148
2234 - radeon: flush HDP cache on rendering wait - fixes r600 rendercheck failure
2236 * Mon Nov 23 2009 Adam Jackson <ajax@redhat.com>
2237 - drm-default-mode.patch: Default to 1024x768 to match UMS. (#538761)
2239 * Mon Nov 23 2009 Roland McGrath <roland@redhat.com> 2.6.31.6-146
2240 - Fix oops in x86-32 kernel's iret handling for bogus user %cs. (#540580)
2242 * Fri Nov 21 2009 Kyle McMartin <kyle@redhat.com>
2243 - Fix up ssp' highmem fixes with fixes for arm & ppc.
2245 * Thu Nov 20 2009 Chris Wright <chrisw@redhat.com> 2.6.31.6-144
2246 - VT-d: another fallback for another BIOS bug (#524808)
2248 * Thu Nov 19 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31.6-142
2249 - Oops, add new patch to spec file
2251 * Thu Nov 19 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31.6-141
2252 - Lower debug level of fbcon handover messages (rh#538526)
2254 * Thu Nov 19 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-140
2255 - drm-next-44c83571.patch: oops pulled the wrong tree into my f12 tree
2257 * Thu Nov 19 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31.6-139
2258 - nouveau: s/r fixes on chipsets using bios opcode 0x87
2259 - nouveau: fixes to bios opcode 0x8e
2260 - nouveau: hopefully fix nv1x context switching issues (rh#526577)
2261 - nouveau: support for NVA5 (GeForce G220)
2262 - nouveau: fixes for NVAA support
2264 * Thu Nov 19 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-138
2265 - drm-next-d56672a9.patch: fix some rn50 cloning issues
2267 * Wed Nov 18 2009 David Woodhouse <David.Woodhouse@intel.com> 2.6.31.6-137
2268 - Actually force the IOMMU not to be used when we detect the HP/Acer bug.
2270 * Tue Nov 17 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.6-136
2271 - ACPI embedded controller fixes from Fedora 11.
2273 * Tue Nov 17 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.6-135
2274 - Scheduler fixes and latency tuning patches from F-11.
2276 * Tue Nov 17 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-134
2277 - glad to see edid retry patch was compiled.
2279 * Tue Nov 17 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-133
2280 - drm-next-984d1f3c.patch: rebase with upstream fixes - drop all merged
2282 * Thu Nov 12 2009 Adam Jackson <ajax@redhat.com>
2283 - Actually apply the EDID retry patch
2284 - drm-edid-header-fixup.patch: Fix up some broken EDID headers (#534120)
2286 * Thu Nov 12 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.6-130
2287 - Use ApplyOptionalPatch for v4l and firewire updates.
2288 - Drop unused v4l ABI fix.
2290 * Thu Nov 12 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.6-129
2292 - Drop merged patches:
2293 linux-2.6-iwlwifi-reduce-noise-when-skb-allocation-fails.patch
2294 linux-2.6-libertas-crash.patch
2295 pci-increase-alignment-to-make-more-space.patch
2296 acpi-revert-attach-device-to-handle-early.patch
2297 ahci-revert-restore-sb600-sata-controller-64-bit-dma.patch
2298 acpi-pci-fix-null-pointer-dereference-in-acpi-get-pci-dev.patch
2299 af_unix-fix-deadlock-connecting-to-shutdown-socket.patch
2300 keys-get_instantiation_keyring-should-inc-the-keyring-refcount.patch
2301 netlink-fix-typo-in-initialization.patch
2302 fs-pipe-null-ptr-deref-fix.patch
2304 * Wed Nov 11 2009 Justin M. Forbes <jforbes@redhat.com> 2.6.31.5-128
2305 - Fix KSM for i686 users. (#532215)
2306 - Add KSM fixes from 2.6.32
2308 * Sun Nov 08 2009 David Woodhouse <David.Woodhouse@intel.com> 2.6.31.5-127
2309 - Apply fix for fallback when HP/Acer BIOS bug detected (#524808)
2311 - Fix libertas crash due to skb pointer bug
2313 * Sat Nov 07 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.5-126
2314 - Re-enable linux-2.6-die-closed-source-bios-muppets-die.patch, DMAR
2315 still defaulting to off.
2317 * Sat Nov 07 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.5-125
2318 - Disable linux-2.6-die-closed-source-bios-muppets-die.patch and
2319 default DMAR to off (can be re-enabled with intel_iommu=on on the
2320 command line due to last minute issues and reversion upstream.)
2322 * Thu Nov 05 2009 Jarod Wilson <jarod@redhat.com>
2323 - Add --with dbgonly rpmbuild option to build only debug kernels
2325 * Thu Nov 05 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-122
2326 - comment out kmap atomic for now, it breaks ppc build
2328 * Thu Nov 05 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-121
2329 - drm-radeon-fix-agp-resume.patch (#531825)
2331 * Thu Nov 05 2009 Kyle McMartin <kyle@redhat.com>
2332 - Add two patches from Soren from mingo/linux-2.6-x86.git to fix
2333 debug_kmap_atomic prints.
2335 * Thu Nov 05 2009 Ben Skeggs <bskeggs@redhat.com>
2336 - nouveau: fix rh#532924
2338 * Wed Nov 04 2009 Kyle McMartin <kyle@redhat.com>
2339 - Make JBD2_DEBUG a toggleable debug setting. Leave it the way it was.
2340 (Double checked resulting configs, don't fret.)
2342 * Wed Nov 04 2009 Adam Jackson <ajax@redhat.com> 2.6.31.5-117
2343 - drm-edid-retry.patch: Try DDC up to four times, like X. (#532957)
2345 * Wed Nov 04 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.5-116
2346 - tg3 bug fixes (#527209)
2348 * Wed Nov 04 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.5-115
2349 - fs/pipe.c: fix null pointer dereference (CVE-2009-3547)
2351 * Wed Nov 04 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31.5-114
2352 - nouveau: provide info userspace needs to handle low memory situations
2353 - nouveau: fix for rh#532711
2354 - nouveau: add option to provide more debug info for rh#532579
2355 - patch only so large because of included register rename
2357 * Tue Nov 03 2009 Adam Jackson <ajax@redhat.com> 2.6.31.5-113
2358 - drm-conservative-fallback-modes.patch: When an output is connected but
2359 fails EDID, only add modes with refresh rates <= 60 (#514600)
2361 * Tue Nov 03 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-112
2362 - drm-r600-lenovo-w500-fix.patch: add second patch from upstream fix
2364 * Tue Nov 03 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-111
2365 - drm-r600-lenovo-w500-fix.patch: fix lenovo w500 acpi video kill laptop dead
2366 - drop aspm r600 patch as correct fix should be in 110
2368 * Tue Nov 03 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-110
2369 - r600: fix for ring setup RMW issue.
2371 * Mon Nov 02 2009 John W. Linville <linville@redhat.com> 2.6.31.5-109
2372 - prism54: remove pci modinfo device table (#447047)
2374 * Mon Nov 02 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.5-108
2375 - Enable acerhdf driver for fan speed control on Acer Aspire One notebook (#532463)
2377 * Mon Nov 02 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-107
2378 - r600: back that out, thanks to yaneti for testing.
2380 * Mon Nov 02 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-106
2381 - r600: ring size guesswork fix.
2383 * Fri Oct 30 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-105
2384 - drm-radeon-agp-font-fix.patch: hopefully fix AGP coherency issue
2386 * Wed Oct 28 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-104
2387 - drm-next-ea1495a6.patch: fix rs400 resume on my test box
2389 * Wed Oct 28 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-103
2390 - drm-next-fc7f7119.patch: fix oops in SS code, fix multi-card, dvo.
2391 - drm-radeon-kms-arbiter-return-ignore.patch: fix arbiter for non-VGA display
2393 * Tue Oct 27 2009 Chuck Ebbert <cebbert@redhat.com>
2394 - Fix oops in VIA padlock-aes code.
2396 * Tue Oct 27 2009 Dave Airlie <airlied@redhat.com>
2397 - kms: add offb handoff patch for ppc to work
2399 * Tue Oct 27 2009 Ben Skeggs <bskeggs@redhat.com>
2400 - drm-nouveau.patch: misc fixes, very initial NVA8 work
2402 * Tue Oct 27 2009 Dave Airlie <airlied@redhat.com>
2403 - fix dd command lines
2405 * Mon Oct 26 2009 Dave Jones <davej@redhat.com>
2406 - Make a 20MB initramfs file so rpm gets its diskspace calculations right. (#530778)
2408 * Mon Oct 26 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-97
2409 - drm: rebase to drm-next, drop palette fix, merged upstream
2410 - drm-intel-big-hammer.patch: drop, proper fix in 2.6.31.5
2411 - drm-disable-r600-aspm.patch: test patch to disable aspm on r600/r700 for now
2413 * Fri Oct 23 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.5-96
2414 - Bump NR_CPUS to 256 on x86_64.
2415 - Add two backports (ugh, just had to go renaming perf counters to events...)
2416 for fixing sysprof with perf.
2418 * Fri Oct 23 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-95
2421 * Fri Oct 23 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-94
2422 - disable debug + stackprotector
2424 * Fri Oct 23 2009 Chuck Ebbert <cebbert@redhat.com>
2427 * Thu Oct 22 2009 Chuck Ebbert <cebbert@redhat.com>
2428 - Fix exploitable OOPS in keyring code. (CVE-2009-3624)
2429 - Fix kernel memory leak to userspace. (CVE-2009-3612)
2431 * Thu Oct 22 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-91.rc1
2434 * Wed Oct 21 2009 Chuck Ebbert <cebbert@redhat.com>
2435 - Disable powersave by default for AC97 audio devices. (#524414)
2437 * Wed Oct 21 2009 Chuck Ebbert <cebbert@redhat.com>
2438 - Linux 2.6.31.5-rc1
2439 - Remove the merged HP DC7900 workaround from iommu-updates patch.
2440 - Drop merged patch:
2441 linux-2.6-raidlockdep.patch
2443 * Mon Oct 19 2009 Kyle McMartin <kyle@redhat.com>
2444 - af_unix-fix-deadlock-connecting-to-shutdown-socket.patch: fix for
2447 * Sat Oct 17 2009 Chuck Ebbert <cebbert@redhat.com>
2448 - Replace linux-2.6-bluetooth-autosuspend.diff with upstream version.
2450 * Fri Oct 16 2009 Josef Bacik <josef@toxicpanda.com>
2451 - Update btrfs to latest upstream
2453 * Fri Oct 16 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.4-85
2454 - Fix another ACPI boot hang (#513680)
2456 * Fri Oct 16 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31.4-84
2457 - nouveau: more vbios opcodes, minor fixes, hopeful fix for rh#529292
2459 * Wed Oct 14 2009 Roland McGrath <roland@redhat.com> 2.6.31.4-83
2460 - Remove work-around for gcc bug #521991, now fixed.
2461 - Build *docs non-parallel, working around kernel's makefile bugs.
2463 * Wed Oct 14 2009 Peter Jones <pjones@redhat.com>
2464 - Add scsi_register_device_handler to modules.block's symbol list so
2465 we'll have scsi device handlers in installer images.
2467 * Tue Oct 13 2009 Steve Dickson <steved@redhat.com> 2.6.31.4-81
2468 - Fixed hang during NFS installs (bz 528537)
2470 * Tue Oct 13 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.4-80
2471 - Disable 64-bit DMA on SB600 SATA controllers.
2473 * Tue Oct 13 2009 Kyle McMartin <kyle@redhat.com>
2474 - Always build perf docs, regardless of whether we build kernel-doc.
2475 Seems rather unfair to not ship the manpages half the time.
2476 Also, drop BuildRequires %if when not with_doc, the rules about %if
2477 there are f*!&^ing complicated.
2479 * Mon Oct 12 2009 Kyle McMartin <kyle@redhat.com>
2480 - Build the perf manpages properly.
2482 * Mon Oct 12 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.4-77
2483 - Fix boot hang with ACPI on some systems.
2485 * Mon Oct 12 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.4-76
2488 * Mon Oct 12 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.4-75.rc2
2489 - improve-resource-counter-scalability.patch: Fix scalability issues
2490 on big machines, requested by prarit.
2492 * Mon Oct 12 2009 Jarod Wilson <jarod@redhat.com>
2493 - Fix irq status check bugs in lirc_ene0100
2495 * Mon Oct 12 2009 Chuck Ebbert <cebbert@redhat.com>
2496 - Fix 2.6.31 regression that caused device failures with ACPI enabled.
2498 * Sun Oct 11 2009 Chuck Ebbert <cebbert@redhat.com>
2499 - Linux 2.6.31.4-rc2
2500 - Drop merged patch: linux-2.6-frace-fixes.patch
2502 * Sat Oct 10 2009 Chuck Ebbert <cebbert@redhat.com>
2503 - Make performance counter API available to userspace programs (#527264)
2505 * Sat Oct 10 2009 Dave Jones <davej@redhat.com>
2506 - Drop the NX kernel data patch for now. Causes no-boot on some systems.
2508 * Fri Oct 09 2009 Dave Jones <davej@redhat.com>
2509 - Backport two critical ftrace fixes.
2510 ftrace: check for failure for all conversions
2511 tracing: correct module boundaries for ftrace_release
2513 * Fri Oct 09 2009 Jarod Wilson <jarod@redhat.com>
2514 - Build docs sub-package again
2516 * Thu Oct 08 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.3-67
2518 - rebase drm-next trivially.
2519 - dropped merged upstream patches,
2520 - linux-2.6-fix-usb-serial-autosuspend.diff
2521 - linux-2.6-iwlagn-modify-digital-SVR-for-1000.patch
2522 - linux-2.6-iwlwifi-Handle-new-firmware-file-with-ucode-build-number-in-header.patch
2523 - linux-2.6-iwlwifi-fix-debugfs-buffer-handling.patch
2524 - linux-2.6-iwlwifi-fix-unloading-driver-while-scanning.patch
2525 - linux-2.6-iwlwifi-remove-deprecated-6000-series-adapters.patch
2526 - linux-2.6-iwlwifi-traverse-linklist-to-find-the-valid-OTP-block.patch
2527 - linux-2.6-iwlwifi-update-1000-series-API-version-to-match-firmware.patch
2528 - linux-2.6-xen-check-efer-fix.patch
2529 - linux-2.6-xen-spinlock-enable-interrupts-only-when-blocking.patch
2530 - linux-2.6-xen-spinlock-stronger-barrier.patch
2531 - linux-2.6-xen-stack-protector-fix.patch
2532 - linux-2.6.31-cpufreq-powernow-k8-oops.patch
2534 * Thu Oct 08 2009 Ben Skeggs <bskeggs@redhat.com>
2535 - ppc: compile nvidiafb as a module only, nvidiafb+nouveau = bang! (rh#491308)
2537 * Thu Oct 08 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31.1-65
2538 - nouveau: {drm-next,context,fbcon,misc} fixes, connector forcing
2540 * Thu Oct 08 2009 Dave Airlie <airlied@redhat.com> 2.6.31.1-64
2541 - rebase latest drm-next, fixes many s/r and r600 problems
2543 * Wed Oct 07 2009 Dave Jones <davej@redhat.com>
2544 - Don't mark the initramfs file as a ghost.
2546 * Wed Oct 07 2009 Dave Jones <davej@redhat.com>
2547 - Enable FUNCTION_GRAPH_TRACER on x86-64.
2549 * Wed Oct 07 2009 Dave Jones <davej@redhat.com>
2550 - Disable CONFIG_IRQSOFF_TRACER on srostedt's recommendation.
2551 (Adds unwanted overhead when not in use).
2553 * Tue Oct 6 2009 Justin M. Forbes <jforbes@redhat.com>
2554 - virtio_blk: add support for cache flush (#526869)
2556 * Fri Oct 2 2009 John W. Linville <linville@redhat.com>
2557 - Backport "iwlwifi: reduce noise when skb allocation fails"
2559 * Wed Sep 30 2009 David Woodhouse <David.Woodhouse@intel.com>
2560 - Update IOMMU code; mostly a bunch more workarounds for broken BIOSes.
2562 * Wed Sep 30 2009 Dave Airlie <airlied@redhat.com> 2.6.31.1-56
2563 - revert all the arjan patches until someone tests them.
2565 * Tue Sep 29 2009 Steve Dickson <steved@redhat.com> 2.6.31.1-55
2566 - Updated the NFS4 pseudo root code with a fix from upstream
2568 * Tue Sep 29 2009 Dave Airlie <airlied@redhat.com> 2.6.31.1-54
2569 - Fix broken capabilties that stopped dbus working due to copy from user
2572 * Tue Sep 29 2009 Dave Airlie <airlied@redhat.com> 2.6.31.1-53
2573 - drm-next-4c57edba4.patch: fix r600 dri1 memory leak and r600 bugs
2575 * Mon Sep 28 2009 Dave Jones <davej@redhat.com> 2.6.31.1-52
2576 - Use __builtin_object_size to validate the buffer size for copy_from_user
2577 + associated fixes to various copy_from_user invocations.
2579 * Mon Sep 28 2009 Justin M. Forbes <jmforbes@redhat.com> 2.6.31.1-50
2580 - Increase timeout for xen frontend devices to connect.
2582 * Sat Sep 26 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.1-49
2583 - Add Xen spinlock patches to improve scalability.
2585 * Sat Sep 26 2009 Dave Airlie <airlied@redhat.com> 2.6.31.1-48
2586 - drm-next-8ef8678c8.patch: fix intel/nouveau kms
2588 * Fri Sep 25 2009 Justin M. Forbes <bskeggs@redhat.com> 2.6.31.1-47
2589 - Fix xen guest booting when NX is disabled (#525290)
2591 * Fri Sep 25 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31.1-46
2592 - drm-nouveau.patch: cleanups, fixes, pre-G80 s/r fixes, init rework
2594 * Fri Sep 25 2009 Dave Airlie <airlied@redhat.com> 2.6.31.1-45
2595 - drm-next-adea4796c.patch: fix r600 glxgears
2597 * Fri Sep 25 2009 Dave Airlie <airlied@redhat.com> 2.6.31.1-44
2598 - bump a extra one because I accidentially CVS.
2600 * Thu Sep 24 2009 Dave Airlie <airlied@redhat.com> 2.6.31.1-42
2601 - drm-next update - fix r600 s/r, and command line mode picking and r600 tv
2603 * Thu Sep 24 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.1-41
2605 - Drop patches merged upstream:
2606 linux-2.6-kvm-vmx-check-cpl-before-emulating-debug-register-access.patch
2607 linux-2.6-use-__pa_symbol-to-calculate-address-of-C-symbol.patch
2608 linux-2.6-kvm-pvmmu-do-not-batch-pte-updates-from-interrupt-context.patch
2609 linux-2.6-scsi-sd-fix-oops-during-scanning.patch
2610 linux-2.6-scsi-sg-fix-oops-in-error-path.patch
2612 * Thu Sep 24 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-40
2613 - Drop the modules-ro-nx patch: it's causing ftrace to be unable
2614 to NOP out module function call tracking. (#524042)
2616 * Wed Sep 23 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-39
2617 - touch initramfs-$foo not dracut-$foo.
2619 * Wed Sep 23 2009 Adam Jackson <ajax@redhat.com> 2.6.31-37
2620 - drm: Fix various buglets in EDID parsing.
2622 * Mon Sep 21 2009 Ben Skeggs <bskeggs@redhat.com>
2623 - nouveau: more on rh#522649, added some useful info to debugfs
2624 - lots of coding style cleanups, which is the reason for the huge commit
2626 * Fri Sep 18 2009 Dave Jones <davej@redhat.com>
2627 - %ghost the dracut initramfs file.
2629 * Thu Sep 17 2009 Hans de Goede <hdegoede@redhat.com>
2630 - Now that we have %%post generation of dracut images we do not need to
2631 Require dracut-kernel anymore
2633 * Thu Sep 17 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-33
2634 - Turn off CONFIG_CC_OPTIMIZE_FOR_SIZE on ppc64 until ld decides to play nice
2635 and generate the save/restore stubs.
2637 * Thu Sep 17 2009 Kristian Høgsberg <krh@redhat.com>
2638 - Drop drm page-flip patch for F12.
2640 * Thu Sep 17 2009 Dave Jones <davej@redhat.com>
2641 - cpuidle: Fix the menu governor to boost IO performance.
2643 * Wed Sep 16 2009 John W. Linville <linville@redhat.com>
2644 - Add a few more iwl1000 support patches.
2645 - Remove support for deprecated iwl6000 parts.
2647 * Wed Sep 16 2009 Eric Paris <eparis@redhat.com>
2648 - Do not check CAP_SYS_MODULE when networking tres to autoload a module
2650 * Wed Sep 16 2009 John W. Linville <linville@redhat.com>
2651 - Add iwl1000 support patches.
2653 * Wed Sep 16 2009 Adam Jackson <ajax@redhat.com>
2654 - Disable hotplug interrupts on TV connectors on i915.
2656 * Wed Sep 16 2009 Dave Jones <davej@redhat.com>
2657 - Fix NULL deref in powernow-k8 driver. (korg #13780)
2659 * Wed Sep 16 2009 Hans de Goede <hdegoede@redhat.com>
2660 - Fix lockdep warning (and potential real deadlock) in mdraid10 code,
2661 requested for -stable, rh#515471
2663 * Wed Sep 16 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31-17
2664 - nouveau: potential fix for rh#522649 + misc other fixes
2666 * Tue Sep 15 2009 Chuck Ebbert <cebbert@redhat.com>
2667 - Add unused-kernel-patches Make target, change some patches to
2668 use ApplyOptionalPatch
2670 * Tue Sep 15 2009 Ben Skeggs <bskeggs@redhat.com>
2671 - nouveau: misc fixes to context-related issues, fixes some severe nv4x bugs
2673 * Tue Sep 15 2009 Ben Skeggs <bskeggs@redhat.com>
2674 - nouveau: temporarily disable fbcon accel, it's racing with ttm
2676 * Mon Sep 14 2009 Steve Dickson <steved@redhat.com>
2677 - Added support for -o v4 mount parsing
2679 * Mon Sep 14 2009 Ben Skeggs <bskeggs@redhat.com>
2680 - nouveau: avoid PFIFO IRQ hardlock, misc LVDS mode fixes, nv5x RAMFC cleanup
2682 * Sun Sep 13 2009 Chuck Ebbert <cebbert@redhat.com>
2683 - SCSI oops fixes requested for -stable
2685 * Fri Sep 11 2009 Dave Jones <davej@redhat.com>
2686 - Apply NX/RO to modules
2688 * Fri Sep 11 2009 Dave Jones <davej@redhat.com>
2689 - Mark kernel data section as NX
2691 * Fri Sep 11 2009 Ben Skeggs <bskeggs@redhat.com>
2692 - nouveau: bring in Matthew Garret's initial switchable graphics support
2694 * Fri Sep 11 2009 Ben Skeggs <bskeggs@redhat.com>
2695 - nouveau: fixed use of strap-based panel mode when required (rh#522649)
2696 - nouveau: temporarily block accel on NVAC chipsets (rh#522361, rh#522575)
2698 * Thu Sep 10 2009 Matthew Garrett <mjg@redhat.com>
2699 - linux-2.6-ahci-export-capabilities.patch: Backport from upstream
2700 - linux-2.6-rtc-show-hctosys.patch: Export the hctosys state of an rtc
2701 - linux-2.6-rfkill-all.patch: Support for keys that toggle all rfkill state
2703 * Thu Sep 10 2009 Ben Skeggs <bskeggs@redhat.com>
2704 - drm-nouveau.patch: add some scaler-only modes for LVDS, GEM/TTM fixes
2706 * Wed Sep 09 2009 Dennis Gilmore <dennis@ausil.us> 2.6.31-2
2707 - touch the dracut initrd file when using %%{with_dracut}
2709 * Wed Sep 09 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-1
2712 * Wed Sep 09 2009 Chuck Ebbert <cebbert@redhat.com>
2713 - Enable VXpocket and PDaudioCF PCMCIA sound drivers.
2715 * Wed Sep 09 2009 Hans de Goede <hdegoede@redhat.com>
2716 - Move to %%post generation of dracut initrd, because of GPL issues surrounding
2717 shipping a prebuild initrd
2718 - Require grubby >= 7.0.4-1, for %%post generation
2720 * Wed Sep 9 2009 Steve Dickson <steved@redhat.com>
2721 - Updated the NFS4 pseudo root code to the latest release.
2723 * Wed Sep 09 2009 Justin M. Forbes <jforbes@redhat.com>
2724 - Revert virtio_blk to rotational mode. (#509383)
2726 * Wed Sep 09 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.219.rc9.git
2727 - uggh lost nouveau bits in page flip
2729 * Wed Sep 09 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.218.rc9.git2
2730 - fix r600 oops with page flip patch (#520766)
2732 * Wed Sep 09 2009 Ben Skeggs <bskeggs@redhat.com>
2733 - drm-nouveau.patch: fix display resume on pre-G8x chips
2735 * Wed Sep 09 2009 Ben Skeggs <bskeggs@redhat.com>
2736 - drm-nouveau.patch: add getparam to know using tile_flags is ok for scanout
2738 * Wed Sep 09 2009 Chuck Ebbert <cebbert@redhat.com>
2741 * Wed Sep 9 2009 Roland McGrath <roland@redhat.com> 2.6.31-0.214.rc9.git1
2742 - compile with -fno-var-tracking-assignments, work around gcc bug #521991
2744 * Wed Sep 09 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.213.rc9.git1
2745 - fix two bugs in r600 kms, fencing + mobile lvds
2747 * Tue Sep 08 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31-0.212.rc9.git1
2748 - drm-nouveau.patch: fix ppc build
2750 * Tue Sep 08 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31-0.211.rc9.git1
2751 - drm-nouveau.patch: more misc fixes
2753 * Tue Sep 08 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.210.rc9.git1
2754 - drm-page-flip.patch: rebase again
2756 * Tue Sep 08 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.209.rc9.git1
2757 - drm-next.patch: fix r600 signal interruption return value
2759 * Tue Sep 08 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31-0.208.rc9.git1
2760 - drm-nouveau.patch: latest upstream + rebase onto drm-next
2762 * Tue Sep 08 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.207.rc9.git1
2763 - drm-vga-arb.patch: update to avoid lockdep + add r600 support
2765 * Tue Sep 08 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.206.rc9.git1
2766 - drm: rebase to drm-next - r600 accel + kms should start working now
2768 * Mon Sep 07 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.205.rc9.git1
2770 - Temporarily hack the drm-next patch so it still applies; the result
2771 should still be safe to build.
2773 * Sat Sep 05 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.204.rc9
2776 * Fri Sep 04 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.203.rc8.git2
2777 - Fix kernel build errors when building firmware by removing the
2778 .config file before that step and restoring it afterward.
2780 * Thu Sep 03 2009 Adam Jackson <ajax@redhat.com>
2781 - drm-ddc-caching-bug.patch: Empty the connector's mode list when it's
2784 * Thu Sep 03 2009 Jarod Wilson <jarod@redhat.com>
2785 - Update hdpvr and lirc_zilog drivers for 2.6.31 i2c
2787 * Thu Sep 03 2009 Justin M.Forbes <jforbes@redhat.com>
2788 - Fix xen guest with stack protector. (#508120)
2791 * Wed Sep 02 2009 Adam Jackson <ajax@redhat.com> 2.6.31-0.199.rc8.git2
2792 - drm-intel-pm.patch: Disable by default, too flickery on too many machines.
2793 Enable with i915.powersave=1.
2795 * Wed Sep 02 2009 Dave Jones <davej@redhat.com>
2796 - Add missing scriptlet dependancy. (#520788)
2798 * Tue Sep 01 2009 Adam Jackson <ajax@redhat.com>
2799 - Make DRM less chatty about EDID failures. No one cares.
2801 * Tue Sep 01 2009 Chuck Ebbert <cebbert@redhat.com>
2803 - Blank out drm-intel-next: entire contents are now upstream.
2805 * Tue Sep 01 2009 Dave Jones <davej@redhat.com>
2806 - Make firmware buildarch noarch. (Suggested by drago01 on irc)
2808 * Tue Sep 01 2009 Jarod Wilson <jarod@redhat.com>
2809 - Fix up lirc_zilog to enable functional IR transmit and receive
2810 on the Hauppauge HD PVR
2811 - Fix audio on PVR-500 when used in same system as HVR-1800 (#480728)
2813 * Sun Aug 30 2009 Chuck Ebbert <cebbert@redhat.com>
2815 - Drop linux-2.6-inotify-accounting.patch, merged upstream.
2817 * Sun Aug 30 2009 Jarod Wilson <jarod@redhat.com>
2818 - fix lirc_imon oops on older devices w/o tx ctrl ep (#520008)
2820 * Fri Aug 28 2009 Eric Paris <eparis@redhat.com> 2.6.31-0.190.rc8
2821 - fix inotify length accounting and send inotify events
2823 * Fri Aug 28 2009 David Woodhouse <David.Woodhouse@intel.com>
2824 - Enable Solos DSL driver
2826 * Fri Aug 28 2009 Chuck Ebbert <cebbert@redhat.com>
2829 * Thu Aug 27 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.185.rc7.git6
2831 - Drop patch merged upstream:
2832 xen-fb-probe-fix.patch
2834 * Thu Aug 27 2009 Adam Jackson <ajax@redhat.com>
2835 - drm-rv710-ucode-fix.patch: Treat successful microcode load on RV710 as,
2836 you know, success. (#519718)
2838 * Thu Aug 27 2009 Chuck Ebbert <cebbert@redhat.com>
2840 - Drop patch linux-2.6-ima-leak.patch, now merged upstream.
2842 * Wed Aug 26 2009 Jarod Wilson <jarod@redhat.com>
2843 - Fix up hdpvr ir enable patch for use w/modular i2c (David Engel)
2845 * Wed Aug 26 2009 Eric Paris <eparis@redhat.com>
2846 - fix iint_cache leak in IMA code
2847 drop the ima=0 patch
2849 * Wed Aug 26 2009 Justin M. Forbes <jforbes@redhat.com>
2850 - Fix munlock with KSM (#516909)
2853 * Wed Aug 26 2009 Chuck Ebbert <cebbert@redhat.com>
2855 - Drop patches merged upstream:
2856 xen-x86-fix-stackprotect.patch
2857 xen-x86-no-stackprotect.patch
2859 * Wed Aug 26 2009 Adam Jackson <ajax@redhat.com>
2860 - drm-intel-next.patch: Update, various output setup fixes.
2862 * Wed Aug 26 2009 David Woodhouse <David.Woodhouse@intel.com>
2863 - Make WiMAX modular (#512070)
2865 * Tue Aug 25 2009 Kyle McMartin <kyle@redhat.com>
2866 - allow-disabling-ima.diff: debugging patch... adds ima=0 kernel
2867 param to disable initialization of IMA.
2869 * Tue Aug 25 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31-0.174.rc7.git2
2870 - drm-nouveau.patch: upstream update, pre-nv50 tv-out + misc fixes
2872 * Tue Aug 25 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.173.rc7.git2
2873 - Fix Xen boot (#508120)
2875 * Tue Aug 25 2009 Dave Airlie <airlied@redhat.com>
2876 - pull in drm-next tree + rebase around it
2878 * Mon Aug 24 2009 Chuck Ebbert <cebbert@redhat.com>
2881 * Mon Aug 24 2009 Chuck Ebbert <cebbert@redhat.com>
2884 * Sat Aug 22 2009 Chuck Ebbert <cebbert@redhat.com>
2887 * Thu Aug 20 2009 Mark McLoughlin <markmc@redhat.com>
2888 - Disable LZMA for xen (#515831)
2890 * Thu Aug 20 2009 Chuck Ebbert <cebbert@redhat.com>
2892 - Fix up drm-r600-kms.patch
2893 - Drop fix-perf-make-man-failure.patch
2895 * Wed Aug 19 2009 Chuck Ebbert <cebbert@redhat.com>
2897 - Revert linux-2.6-debug-vm-would-have-oomkilled.patch to v1.2
2898 because upstream changes to oom-kill.c were all reverted.
2900 * Tue Aug 18 2009 Kyle McMartin <kyle@redhat.com>
2901 - Fix up perf so that it builds docs now that they are fixed.
2902 - with_docs disables perf docs too. be warned. (logic is that the
2903 build deps are (mostly) the same, so if you don't want one, odds are...)
2905 * Tue Aug 18 2009 Dave Jones <davej@redhat.com>
2908 * Mon Aug 17 2009 Dave Jones <davej@redhat.com> 2.6.31-0.161.rc6.git2
2911 * Mon Aug 17 2009 Chuck Ebbert <cebbert@redhat.com>
2912 - Stop generating the (unused) ppc64-kdump.config file.
2914 * Mon Aug 17 2009 Jarod Wilson <jarod@redhat.com>
2915 - Add new lirc driver for built-in ENE0100 device on some laptops
2917 * Sun Aug 16 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.158.rc6
2918 - Improve the perf script so it prints something helpful if the
2919 perf binary doesn't exist.
2921 * Sat Aug 15 2009 Dave Jones <davej@redhat.com> 2.6.31-0.157.rc6
2922 - Disable KSM patches on a hunch. Chasing the "encrypted VGs don't work" bug.
2924 * Fri Aug 14 2009 Dave Jones <davej@redhat.com> 2.6.31-0.155.rc6
2927 * Wed Aug 12 2009 Kyle McMartin <kyle@redhat.com>
2929 - move perf to perf.$ver instead of perf-$ver...
2931 * Wed Aug 12 2009 Dennis Gilmore <dennis@ausil.us>
2932 - Obsolete kernel-smp on sparc64
2933 - Require grubby >= 7.0.2-1 since thats what introduces the dracut options we use
2935 * Wed Aug 12 2009 Kristian Høgsberg <krh@redhat.com>
2936 - Fix drm-page-flip.patch to not break radeon kms and to not reset
2937 crtc offset into fb on flip.
2939 * Wed Aug 12 2009 Adam Jackson <ajax@redhat.com>
2940 - Update drm-intel-next patch
2942 * Tue Aug 11 2009 Dennis Gilmore <dennis@ausil.us> - 2.6.31-0.149.rc5.git3
2943 - disable building the -smp kernel on sparc64
2944 - disable building kernel-perf on sparc64 syscalls not supported
2946 * Tue Aug 11 2009 Eric Paris <eparis@redhat.com>
2949 * Tue Aug 11 2009 Ben Skeggs <bskeggs@redhat.com>
2950 - nouveau: various cleanups and fixes + more sanity checking in dma paths
2952 * Mon Aug 10 2009 Jarod Wilson <jarod@redhat.com>
2953 - Add new device ID to lirc_mceusb (#512483)
2954 - Fix some lockdep false positives
2955 - Add support for setting and enabling iMON clock via sysfs
2956 - Add tunable pad threshold support to lirc_imon
2957 - Add new pseudo-IR protocl to lirc_imon for universals w/o a pad
2958 - Fix mouse device support on older iMON devices
2960 * Mon Aug 10 2009 David Woodhouse <David.Woodhouse@intel.com> 2.6.31-0.145.rc5.git3
2961 - Merge latest Intel IOMMU fixes and BIOS workarounds, re-enable by default.
2963 * Sun Aug 09 2009 Kyle McMartin <kyle@redhat.com>
2964 - btusb autosuspend: fix build on !CONFIG_PM by stubbing out
2965 suspend/resume methods.
2967 * Sat Aug 08 2009 Dennis Gilmore <dennis@ausil.us> 2.6.31-0.141.rc5.git3
2968 - disable kgdb on sparc64 uni-processor kernel
2969 - set max cpus to 256 on sparc64
2970 - enable AT keyboard on sparc64
2972 * Fri Aug 07 2009 Justin M. Forbes <jforbes@redhat.com>
2973 - Apply KSM updates from upstream
2975 * Fri Aug 07 2009 Hans de Goede <hdegoede@redhat.com>
2976 - When building a dracut generic initrd tell new-kernel-pkg to use that
2977 instead of running mkinitrd
2979 * Fri Aug 07 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.139.rc5.git3
2980 - drm-r600-kms.patch - update r600 KMS
2981 - drm-radeon-fixes.patch - patches for queue to Linus
2983 * Thu Aug 06 2009 Justin M. Forbes <jforbes@redhat.com> 2.6.31-0.138.rc5.git3
2984 - Fix kvm virtio_blk errors (#514901)
2986 * Thu Aug 06 2009 Adam Jackson <ajax@redhat.com>
2987 - Hush DRM vblank warnings, they're constant (and harmless) under DRI2.
2989 * Thu Aug 06 2009 Dave Airlie <airlied@redhat.com> 2.6.31.0.134.rc5.git3
2990 - fixup vga arb warning at startup and handover between gpus
2992 * Thu Aug 06 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.0.133.rc5.git3
2993 - die-floppy-die.patch: it's the 21st century, let's not rely on
2994 steam powered technology.
2996 * Wed Aug 05 2009 Dave Airlie <airlied@redhat.com> 2.6.31.0.132.rc5.git3
2997 - revert-ftrace-powerpc-snafu.patch - fix ppc build
2999 * Wed Aug 05 2009 Ben Skeggs <bskeggs@redhat.com>
3000 - nouveau: respect nomodeset
3002 * Wed Aug 05 2009 Chuck Ebbert <cebbert@redhat.com>
3003 - Fix /usr/sbin/perf script. (#515494)
3005 * Wed Aug 05 2009 Dave Jones <davej@redhat.com>
3006 - Fix shift in pci cacheline size printk.
3008 * Wed Aug 05 2009 Dave Airlie <airlied@redhat.com> 2.6.31.0.128.rc5.git3
3010 - drop cpufreq + set memory fixes
3012 * Wed Aug 05 2009 Dave Airlie <airlied@redhat.com>
3013 - Add Jeromes initial r600 kms work.
3016 * Tue Aug 04 2009 Kyle McMartin <kyle@redhat.com>
3017 - alsa-tell-user-that-stream-to-be-rewound-is-suspended.patch: apply patch
3018 destined for 2.6.32, requested by Lennart.
3020 * Tue Aug 04 2009 Ben Skeggs <bskeggs@redhat.com>
3021 - nouveau: more code share between nv50/<nv50 kms, bug fixes
3023 * Tue Aug 04 2009 Dave Airlie <airlied@redhat.com>
3024 - update VGA arb patches again
3026 * Mon Aug 03 2009 Adam Jackson <ajax@redhat.com>
3027 - Update intel drm from anholt's tree
3028 - Rebase drm-intel-pm.patch to match
3029 - Drop gen3 fb hack, merged
3030 - Drop previous watermark setup change
3032 * Mon Aug 03 2009 Dave Jones <davej@redhat.com> 2.6.31-0.122.rc5.git2
3035 * Mon Aug 03 2009 Adam Jackson <ajax@redhat.com>
3036 - (Attempt to) fix watermark setup on Intel 9xx parts.
3038 * Mon Aug 03 2009 Jarod Wilson <jarod@redhat.com>
3039 - make usbhid driver ignore all recent SoundGraph iMON devices, so the
3040 lirc_imon driver can grab them instead
3042 * Mon Aug 03 2009 Dave Airlie <airlied@redhat.com>
3043 - update VGA arb patches
3045 * Sat Aug 01 2009 David Woodhouse <David.Woodhouse@intel.com> 2.6.31-0.118.rc5
3046 - Fix boot failures on ppc32 (#514010, #505071)
3048 * Fri Jul 31 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.117.rc5
3051 * Fri Jul 31 2009 Matthew Garrett <mjg@redhat.com>
3052 - linux-2.6-dell-laptop-rfkill-fix.patch: Fix up Dell rfkill
3054 * Fri Jul 31 2009 Ben Skeggs <bskeggs@redhat.com>
3055 - nouveau: build against 2.6.31-rc4-git6, fix script parsing on some G8x chips
3057 * Thu Jul 30 2009 Chuck Ebbert <cebbert@redhat.com>
3058 - Linux 2.6.31-rc4-git6
3059 New config item: CONFIG_BATTERY_DS2782 is not set
3060 - Add last-minute set_memory_wc() fix from LKML.
3062 * Thu Jul 30 2009 Matthew Garrett <mjg@redhat.com>
3063 - drm-intel-pm.patch: Don't reclock external outputs. Increase the reduced
3064 clock slightly to avoid upsetting some hardware. Disable renderclock
3065 adjustment for the moment - it's breaking on some hardware.
3067 * Thu Jul 30 2009 Ben Skeggs <bskeggs@redhat.com>
3068 - nouveau: another DCB 1.5 entry, G80 corruption fixes, small <G80 KMS fix
3070 * Thu Jul 30 2009 Dave Airlie <airlied@redhat.com>
3073 * Wed Jul 29 2009 Dave Jones <davej@redhat.com>
3074 - Add support for dracut. (Harald Hoyer)
3076 * Wed Jul 29 2009 Ben Skeggs <bskeggs@redhat.com>
3077 - drm-nouveau.patch: nv50/nva0 tiled scanout fixes, nv40 kms fixes
3079 * Wed Jul 29 2009 Chuck Ebbert <cebbert@redhat.com>
3080 - Linux 2.6.31-rc4-git3
3081 - Drop linux-2.6-ecryptfs-overflow-fixes.patch, merged upstream now.
3083 * Wed Jul 29 2009 Dave Airlie <airlied@redhat.com>
3084 - update VGA arb patches
3086 * Tue Jul 28 2009 Adam Jackson <ajax@redhat.com>
3087 - Remove the pcspkr modalias. If you're still living in 1994, load it
3090 * Tue Jul 28 2009 Eric Sandeen <sandeen@redhat.com> 2.6.31-0.102.rc4.git2
3091 - Fix eCryptfs overflow issues (CVE-2009-2406, CVE-2009-2407)
3093 * Tue Jul 28 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.101.rc4.git2
3095 - rebase linux-2.6-fix-usb-serial-autosuspend.diff
3097 - USB_GSPCA_SN9C20X=m (_EVDEV=y)
3099 * Tue Jul 28 2009 Ben Skeggs <bskeggs@redhat.com>
3100 - drm-nouveau.patch: cleanup userspace API, various bugfixes.
3101 Looks worse than it is, register macros got cleaned up, which
3102 touches pretty much everywhere..
3104 * Mon Jul 27 2009 Adam Jackson <ajax@redhat.com>
3105 - Warn quieter about not finding PCI bus parents for ROM BARs, they're
3106 not usually needed and there's nothing you can do about it anyway.
3108 * Mon Jul 27 2009 Matthew Garrett <mjg@redhat.com>
3109 - linux-2.6-alsa-improve-hda-powerdown.patch - attempt to reduce audio glitches
3110 caused by HDA powerdown
3111 - disable CONFIG_DEBUG_KOBJECT again for now, since it produces huge dmesg spew
3113 * Mon Jul 27 2009 Dave Airlie <airlied@redhat.com>
3114 - update vga arb code
3116 * Mon Jul 27 2009 Matthew Garrett <mjg@redhat.com>
3117 - drm-intel-pm.patch - Add runtime PM for Intel graphics
3119 * Fri Jul 24 2009 Kristian Høgsberg <krh@redhat.com>
3120 - Add drm-page-flip.patch to support vsynced page flipping on intel
3123 - Fix patch to not break nouveau.
3125 * Fri Jul 24 2009 Chuck Ebbert <cebbert@redhat.com>
3126 - Enable CONFIG_DEBUG_KOBJECT in debug kernels. (#513606)
3128 * Thu Jul 23 2009 Kyle McMartin <kyle@redhat.com>
3129 - perf BuildRequires binutils-devel now.
3131 * Thu Jul 23 2009 Justin M. Forbes <jforbes@redhat.com>
3134 * Thu Jul 23 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.87.rc4
3137 - USB_CDC_PHONET=m [all]
3138 - EVENT_PROFILE=y [i386, x86_64, powerpc, s390]
3140 * Wed Jul 22 2009 Tom "spot" Callaway <tcallawa@redhat.com>
3141 - We have to override the new %%install behavior because, well... the kernel is special.
3143 * Wed Jul 22 2009 Dave Jones <davej@redhat.com>
3146 * Wed Jul 22 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31-0.82.rc3.git4
3147 - Enable KMS for nouveau
3149 * Wed Jul 22 2009 Ben Skeggs <bskeggs@redhat.com>
3150 - Update nouveau from upstream (initial suspend/resume + misc bugfixes)
3152 * Mon Jul 20 2009 Adam Jackson <ajax@redhat.com>
3153 - Disable VGA arbiter patches for a moment
3155 * Mon Jul 20 2009 Adam Jackson <ajax@redhat.com>
3156 - Revive 4k framebuffers for intel gen3
3158 * Mon Jul 20 2009 Dave Jones <davej@redhat.com> 2.6.31-0.78.rc3.git4
3159 - Enable CONFIG_RTC_HCTOSYS (#489494)
3161 * Mon Jul 20 2009 Dave Jones <davej@redhat.com> 2.6.31-0.77.rc3.git4
3162 - Don't build 586 kernels any more.
3164 * Sun Jul 19 2009 Dave Jones <davej@redhat.com> 2.6.31-0.75.rc3.git4
3165 - build a 'full' package on i686 (Bill Nottingham)
3167 * Sun Jul 19 2009 Dave Jones <davej@redhat.com> 2.6.31-0.74.rc3.git4
3170 * Sat Jul 18 2009 Matthew Garrett <mjg@redhat.com>
3171 - linux-2.6-driver-level-usb-autosuspend.diff - allow drivers to enable autopm
3172 - linux-2.6-fix-usb-serial-autosuspend.diff - fix generic usb-serial autopm
3173 - linux-2.6-qcserial-autosuspend.diff - enable autopm by default on qcserial
3174 - linux-2.6-bluetooth-autosuspend.diff - enable autopm by default on btusb
3175 - linux-2.6-usb-uvc-autosuspend.diff - enable autopm by default on uvc
3177 * Thu Jul 16 2009 Chuck Ebbert <cebbert@redhat.com>
3180 * Thu Jul 16 2009 Matthew Garrett <mjg@redhat.com>
3181 - linux-2.6-defaults-aspm.patch - default ASPM to on for PCIe >= 1.1 hardware
3183 * Thu Jul 16 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.69.rc3
3184 - linux-2.6-vga-arb.patch - add VGA arbiter.
3185 - drm-vga-arb.patch - add VGA arbiter support to drm
3187 * Tue Jul 14 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.68-rc3
3190 - RTL8192SU is not set, (staging)
3192 * Mon Jul 13 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.67.rc2.git9
3197 * Mon Jul 13 2009 Ben Skeggs <bskeggs@redhat.com>
3198 - drm-nouveau.patch: update from upstream
3200 * Fri Jul 10 2009 Chuck Ebbert <cebbert@redhat.com>
3202 - Drop dmadebug-spinlock patch -- merged upstream.
3204 * Fri Jul 10 2009 Dave Jones <davej@redhat.com> 2.6.31-0.64.rc2.git5
3205 - Don't jump through hoops that ppc powerbooks have to on sensible systems
3208 * Fri Jul 10 2009 Dave Jones <davej@redhat.com>
3211 * Thu Jul 09 2009 Dave Jones <davej@redhat.com> 2.6.31-0.62.rc2.git4
3212 - Use correct spinlock initialization in dma-debug
3214 * Thu Jul 09 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.61.rc2.git4
3217 * Thu Jul 09 2009 Jarod Wilson <jarod@redhat.com>
3218 - Enable IR receiver on the Hauppauge HD PVR
3219 - Trim the changelog, axing everything before 2.6.29 (see cvs
3220 if you still really want to see that far back)
3222 * Wed Jul 08 2009 Dave Jones <davej@redhat.com>
3223 - Enable a bunch of debugging options that were missed somehow.
3225 * Wed Jul 08 2009 Kyle McMartin <kyle@redhat.com>
3226 - Bump NR_CPUS on x86_64 to 512.
3228 * Wed Jul 08 2009 Adam Jackson <ajax@redhat.com>
3229 - drm-no-gem-on-i8xx.patch: Drop, intel 2D driver requires GEM now. This
3230 should be entertaining.
3232 * Wed Jul 08 2009 Kyle McMartin <kyle@redhat.com>
3233 - First cut of /usr/sbin/perf wrapper script and 'perf'
3236 * Wed Jul 08 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.54.rc2.git2
3237 - Rebase and re-apply all the Fedora-specific linux-2.6-debug-*
3239 - Cull a bunch of upstreamed patches from the spec.
3241 * Wed Jul 08 2009 Steve Dickson <steved@redhat.com>
3242 - Added NFSD v4 dynamic pseudo root patch which allows
3243 NFS v3 exports to be mounted by v4 clients.
3245 * Tue Jul 07 2009 Jarod Wilson <jarod@redhat.com>
3246 - See if we can't make lirc_streamzap behave better... (#508952)
3248 * Tue Jul 07 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.47.rc2.git2
3251 * Tue Jul 07 2009 Jarod Wilson <jarod@redhat.com>
3252 - Make lirc_i2c actually work with 2.6.31 i2c
3254 * Mon Jul 06 2009 Chuck Ebbert <cebbert@redhat.com>
3255 - Use LZMA for kernel compression on X86.
3257 * Mon Jul 06 2009 Jarod Wilson <jarod@redhat.com>
3258 - Hack up lirc_i2c and lirc_zilog to compile with 2.6.31 i2c
3259 changes. The drivers might not actually be functional now, but
3260 at least they compile again. Will fix later, if need be...
3262 * Sat Jul 04 2009 Dave Jones <davej@redhat.com> 2.6.31-0.42.rc2
3265 * Sat Jul 04 2009 Chuck Ebbert <cebbert@redhat.com>
3268 * Fri Jul 03 2009 Hans de Goede <hdegoede@redhat.com>
3269 - Disable v4l1 ov511 and quickcam_messenger drivers (obsoleted by
3270 v4l2 gspca subdrivers)
3272 * Thu Jul 02 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.39.rc1.git9
3274 - linux-2.6-dm-fix-exstore-search.patch: similar patch merged upstream.
3276 * Tue Jun 30 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.38.rc1.git7
3279 * Tue Jun 30 2009 Dave Jones <davej@redhat.com> 2.6.31-0.37.rc1.git5
3280 - Disable kmemleak. Way too noisy, and not finding any real bugs.
3282 * Tue Jun 30 2009 Ben Skeggs <bskeggs@redhat.com>
3283 - drm-nouveau.patch: match upstream
3285 * Mon Jun 29 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.35.rc1.git5
3287 - CONFIG_LEDS_LP3944=m
3289 * Mon Jun 29 2009 Chuck Ebbert <cebbert@redhat.com>
3290 - Try to fix the dm overlay bug for real (#505121)
3292 * Sat Jun 27 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31-0.33.rc1.git2
3293 - drm-nouveau.patch: fix conflicts from 2.6.31-rc1-git2
3295 * Fri Jun 26 2009 Dave Jones <davej@redhat.com> 2.6.31-0.31.rc1.git2
3296 - Further improvements to kmemleak
3298 * Fri Jun 26 2009 Dave Jones <davej@redhat.com> 2.6.31-0.30.rc1.git2
3301 * Fri Jun 26 2009 Ben Skeggs <bskeggs@redhat.com>
3302 - drm-nouveau.patch: latest upstream + reenable
3304 * Thu Jun 25 2009 Dave Jones <davej@redhat.com> 2.6.31-0.29.rc1
3305 - Make kmemleak scan process stacks by default.
3306 Should reduce false positives (which does also increase false negatives,
3307 but that's at least less noisy)
3309 * Wed Jun 24 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.28.rc1
3311 - linux-2.6-utrace.patch: rebase on kernel/Makefile changes
3314 - CONFIG_DM_LOG_USERSPACE=m
3315 - CONFIG_DM_MULTIPATH_QL=m
3316 - CONFIG_DM_MULTIPATH_ST=m
3317 - CONFIG_BATTERY_MAX17040=m
3318 - CONFIG_I2C_DESIGNWARE is off (depends on clk.h)
3320 * Wed Jun 24 2009 Kyle McMartin <kyle@redhat.com>
3321 - Move perf to /usr/libexec/perf-$KernelVer.
3323 * Wed Jun 24 2009 Kyle McMartin <kyle@redhat.com>
3326 - CONFIG_SCSI_DEBUG=m (was off, requested by davidz)
3328 * Wed Jun 24 2009 Dave Jones <davej@redhat.com> 2.6.31-0.22.rc0.git22
3331 * Tue Jun 23 2009 Dave Jones <davej@redhat.com> 2.6.31-0.22.rc0.git20
3334 * Mon Jun 22 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.24.rc0.git18
3335 - Enable tools/perf, installed as /bin/perf-$KernelVer. Docs and a /bin/perf
3336 wrapper come next if this builds ok.
3338 * Mon Jun 22 2009 Kyle McMartin <kyle@redhat.com>
3339 - sched-introduce-SCHED_RESET_ON_FORK-scheduling-policy-flag.patch: pull in
3340 two fixes from Mike Galbraith from tip.git
3342 * Sun Jun 21 2009 Dave Jones <davej@redhat.com> 2.6.31-0.21.rc0.git18
3343 - Add patch to possibly fix the pktlen problem on via-velocity.
3345 * Sun Jun 21 2009 Dave Jones <davej@redhat.com> 2.6.31-0.20.rc0.git18
3347 VIA crypto & mmc patches now upstream.
3349 * Sun Jun 21 2009 Dave Jones <davej@redhat.com>
3350 - Determine cacheline sizes in a generic manner.
3352 * Sun Jun 21 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.18.rc0.git17
3356 CONFIG_PERF_COUNTERS=y
3358 CONFIG_KEYBOARD_LM8323 is not set
3359 CONFIG_MOUSE_SYNAPTICS_I2C=m
3360 CONFIG_TOUCHSCREEN_EETI=m
3361 CONFIG_TOUCHSCREEN_W90X900=m
3362 - Dropped agp-set_memory_ucwb.patch, all fixed upstream now.
3364 * Sat Jun 20 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.0.17.rc0.git15
3367 - CONFIG_PPC_DISABLE_WERROR=y (switched... chrp fails otherwise, stack
3370 * Sat Jun 20 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.0.16.rc0.git15
3376 - CONFIG_USB_SERIAL_QUATECH2 is not set
3377 - CONFIG_VT6655 is not set
3378 - CONFIG_USB_CPC is not set
3379 - CONFIG_RDC_17F3101X is not set
3380 - CONFIG_FB_UDL is not set
3384 - CONFIG_PPC_DISABLE_WERROR is not set
3385 - lirc disabled due to i2c detach_client removal.
3387 * Sat Jun 20 2009 Kyle McMartin <kyle@redhat.com>
3388 - sched-introduce-SCHED_RESET_ON_FORK-scheduling-policy-flag.patch: add,
3389 queued in tip/sched/core (ca94c442535a44d508c99a77e54f21a59f4fc462)
3391 * Fri Jun 19 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.0.15.rc0.git14
3392 - Fix up ptrace, hopefully. Builds on x86_64 at least.
3394 * Fri Jun 19 2009 Chuck Ebbert <cebbert@redhat.com>
3395 - linux-2.6-tip.git-203abd67b75f7714ce98ab0cdbd6cfd7ad79dec4.patch
3396 Fixes oops on boot with qemu (#507007)
3398 * Fri Jun 19 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.13.rc0.git14
3401 * Fri Jun 19 2009 Chuck Ebbert <cebbert@redhat.com>
3402 - Fix up the via-sdmmc and via-hwmon-temp-sensor patches.
3403 - Drop VIA Padlock patches merged upstream:
3404 via-rng-enable-64bit.patch
3405 via-padlock-10-enable-64bit.patch
3406 via-padlock-20-add-x86-dependency.patch
3408 * Thu Jun 18 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.11.rc0.git13
3412 - CONFIG_UACCESS_WITH_MEMCPY is not set
3414 - CONFIG_XEN_DEV_EVTCHN=m
3415 - CONFIG_XEN_SYS_HYPERVISOR=y
3417 - CONFIG_RCU_FANOUT=64
3419 - CONFIG_DEBUG_KMEMLEAK is not set
3420 - CONFIG_DEBUG_KMEMLEAK_TEST=m
3422 - CONFIG_CAN_SJA1000_OF_PLATFORM=m
3423 - CONFIG_PPC_EMULATED_STATS=y
3425 - CONFIG_RDS is not set (broken on ppc32)
3427 - CONFIG_RCU_FANOUT=32
3429 - CONFIG_RCU_FANOUT=64
3430 - CONFIG_PERF_COUNTERS=y
3432 - CONFIG_RCU_FANOUT=64
3435 - CONFIG_HIBERNATION=y
3436 - CONFIG_PM_STD_PARTITION="/dev/jokes"
3438 - CONFIG_RCU_FANOUT=64
3440 - CONFIG_RCU_FANOUT=32
3441 - CONFIG_IOMMU_STRESS is not set
3442 - CONFIG_PERF_COUNTERS=y
3443 - CONFIG_X86_OLD_MCE is not set
3444 - CONFIG_X86_MCE_INTEL=y
3445 - CONFIG_X86_MCE_AMD=y
3446 - CONFIG_X86_ANCIENT_MCE is not set
3447 - CONFIG_X86_MCE_INJECT is not set
3449 - CONFIG_EDAC_AMD64=m
3450 - CONFIG_EDAC_AMD64_ERROR_INJECTION is not set
3451 - CONFIG_XEN_DEV_EVTCHN=m
3452 - CONFIG_XEN_SYS_HYPERVISOR=y
3453 - CONFIG_RCU_FANOUT=64
3454 - CONFIG_IOMMU_STRESS is not set
3455 - CONFIG_PERF_COUNTERS=y
3456 - CONFIG_X86_MCE_INJECT is not set
3458 - CONFIG_RCU_FANOUT=32
3459 - CONFIG_MMC_SDHCI_PLTFM=m
3460 - CONFIG_MMC_CB710=m
3461 - CONFIG_CB710_CORE=m
3462 - CONFIG_CB710_DEBUG is not set
3463 - CONFIG_SCSI_MVSAS_DEBUG is not set
3464 - CONFIG_SCSI_BNX2_ISCSI=m
3465 - CONFIG_NETFILTER_XT_MATCH_OSF=m
3466 - CONFIG_RFKILL_INPUT=y (used to be =m, which was invalid)
3467 - CONFIG_DE2104X_DSL=0
3468 - CONFIG_KS8842 is not set
3469 - CONFIG_CFG80211_DEBUGFS=y
3470 - CONFIG_MAC80211_DEFAULT_PS=y
3472 - CONFIG_IWM_DEBUG is not set
3473 - CONFIG_RT2800USB=m
3475 - CONFIG_CAN_CALC_BITTIMING=y
3476 - CONFIG_CAN_SJA1000=m
3477 - CONFIG_CAN_SJA1000_PLATFORM=m
3478 - CONFIG_CAN_EMS_PCI=m
3479 - CONFIG_CAN_KVASER_PCI=m
3480 - CONFIG_EEPROM_MAX6875=m
3481 - CONFIG_SENSORS_TMP401=m
3482 - CONFIG_MEDIA_SUPPORT=m
3483 - CONFIG_SND_CTXFI=m
3484 - CONFIG_SND_LX6464ES=m
3485 - CONFIG_SND_HDA_CODEC_CA0110=y
3486 - CONFIG_USB_XHCI_HCD=m
3487 - CONFIG_USB_XHCI_HCD_DEBUGGING is not set
3488 - CONFIG_DRAGONRISE_FF=y (used to be =m)
3489 - CONFIG_GREENASIA_FF=y (used to be =m)
3490 - CONFIG_SMARTJOYPLUS_FF=y (used to be =m)
3491 - CONFIG_USB_NET_INT51X1=m
3493 - CONFIG_FUNCTION_PROFILER=y
3494 - CONFIG_RING_BUFFER_BENCHMARK=m
3495 - CONFIG_REGULATOR_USERSPACE_CONSUMER=m
3496 - CONFIG_REGULATOR_MAX1586=m
3497 - CONFIG_REGULATOR_LP3971=m
3498 - CONFIG_RCU_FANOUT_EXACT is not set
3499 - CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
3501 - CONFIG_IEEE802154=m
3502 - CONFIG_IEEE802154_DRIVERS=m
3503 - CONFIG_IEEE802154_FAKEHARD=m
3506 * Wed Jun 17 2009 Jarod Wilson <jarod@redhat.com>
3507 - New lirc_imon hotness, update 2:
3508 * support dual-interface devices with a single lirc device
3509 * directional pad functions as an input device mouse
3510 * touchscreen devices finally properly supported
3511 * support for using MCE/RC-6 protocol remotes
3512 * fix oops in RF remote association code (F10 bug #475496)
3513 * fix re-enabling case/panel buttons and/or knobs
3514 - Add some misc additional lirc_mceusb2 transceiver IDs
3515 - Add missing unregister_chrdev_region() call to lirc_dev exit
3516 - Add it8720 support to lirc_it87
3518 * Tue Jun 16 2009 Chuck Ebbert <cebbert@redhat.com>
3519 - Update via-sdmmc driver
3521 * Mon Jun 15 2009 Jarod Wilson <jarod@redhat.com>
3522 - Update lirc patches w/new imon hotness
3524 * Fri Jun 12 2009 Chuck Ebbert <cebbert@redhat.com>
3525 - Update VIA temp sensor and mmc drivers.
3527 * Fri Jun 12 2009 John W. Linville <linville@redhat.com> 2.6.30-6
3528 - neigh: fix state transition INCOMPLETE->FAILED via Netlink request
3529 - enable CONFIG_ARPD (used by OpenNHRP)
3531 * Wed Jun 10 2009 Chuck Ebbert <cebbert@redhat.com>
3533 Enable Padlock AES encryption and random number generator on x86-64
3534 Add via-sdmmc and via-cputemp drivers
3536 * Wed Jun 10 2009 Kyle McMartin <kyle@redhat.com> 2.6.30-1
3537 - Linux 2.6.30 rebase.
3539 * Tue Jun 09 2009 John W. Linville <linville@tuxdriver.com>
3540 - Clean-up some wireless bits in config-generic
3542 * Tue Jun 09 2009 Chuck Ebbert <cebbert@redhat.com>
3543 - Add support for ACPI P-states on VIA processors.
3544 - Disable the e_powersaver driver.
3546 * Tue Jun 09 2009 Chuck Ebbert <cebbert@redhat.com>
3547 - Linux 2.6.30-rc8-git6
3549 * Fri Jun 05 2009 Chuck Ebbert <cebbert@redhat.com>
3550 - Linux 2.6.30-rc8-git1
3552 * Wed Jun 03 2009 Kyle McMartin <kyle@redhat.com>
3555 * Tue Jun 2 2009 Roland McGrath <roland@redhat.com>
3556 - utrace update (fixes stap PR10185)
3558 * Tue Jun 02 2009 Dave Jones <davej@redhat.com>
3559 - For reasons unknown, RT2X00 driver was being built-in.
3562 * Tue Jun 02 2009 Dave Jones <davej@redhat.com>
3565 * Sat May 30 2009 Dave Jones <davej@redhat.com>
3568 * Thu May 28 2009 Dave Jones <davej@redhat.com
3571 * Wed May 27 2009 Dave Jones <davej@redhat.com>
3574 * Tue May 26 2009 Dave Jones <davej@redhat.com>
3575 - Various cpufreq patches from git.
3577 * Tue May 26 2009 Dave Jones <davej@redhat.com
3580 * Tue May 26 2009 Dave Jones <davej@redhat.com>
3583 * Mon May 25 2009 Kyle McMartin <kyle@redhat.com>
3584 - rds-only-on-64-bit-or-x86.patch: drop patch, issue is fixed upstream.
3586 * Sat May 23 2009 Dave Jones <davej@redhat.com>
3589 * Thu May 21 2009 Dave Jones <davej@redhat.com>
3592 * Wed May 20 2009 Chuck Ebbert <cebbert@redhat.com>
3593 - Enable Divas (formerly Eicon) ISDN drivers on x86_64. (#480837)
3595 * Wed May 20 2009 Dave Jones <davej@redhat.com>
3598 * Mon May 18 2009 Dave Jones <davej@redhat.com>
3601 * Sun May 17 2009 Dave Jones <davej@redhat.com>
3604 * Sat May 16 2009 Dave Jones <davej@redhat.com>
3607 * Mon May 11 2009 Kyle McMartin <kyle@redhat.com>
3608 - Linux 2.6.30-rc5-git1
3610 * Fri May 08 2009 Kyle McMartin <kyle@redhat.com>
3613 * Fri May 08 2009 Kyle McMartin <kyle@redhat.com>
3614 - Linux 2.6.30-rc4-git4
3616 * Wed May 06 2009 Kyle McMartin <kyle@redhat.com>
3617 - Linux 2.6.30-rc4-git3
3618 - linux-2.6-cdrom-door-status.patch: merged upstream.
3619 - linux-2.6-iwl3945-remove-useless-exports.patch: merged upstream.
3620 - linux-2.6-utrace.patch: rebase against changes to fs/proc/array.c
3623 * Fri May 01 2009 Eric Sandeen <sandeen@redhat.com>
3624 - Fix ext4 corruption on partial write into prealloc block
3626 * Thu Apr 30 2009 Kyle McMartin <kyle@redhat.com>
3629 * Wed Apr 29 2009 Dave Jones <davej@redhat.com>
3632 * Tue Apr 28 2009 Dave Jones <davej@redhat.com>
3635 * Tue Apr 28 2009 Chuck Ebbert <cebbert@redhat.com>
3636 - Make the kernel-vanilla package buildable again.
3637 - Allow building with older versions of RPM.
3639 * Tue Apr 28 2009 Neil Horman <nhorman@redhat.com>
3640 - Backport missing snmp stats (bz 492391)
3642 * Tue Apr 28 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.30-0.72.rc3.git3
3643 - Drop unused exports from the iwl3945 driver.
3645 * Tue Apr 28 2009 Chuck Ebbert <cebbert@redhat.com>
3646 - Linux 2.6.30-rc3-git3
3648 * Mon Apr 27 2009 Dave Jones <davej@redhat.com>
3651 * Sun Apr 26 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.30-0.68.rc3.git1
3652 - Linux 2.6.30-rc3-git1
3654 * Wed Apr 22 2009 Dave Jones <davej@redhat.com> 2.6.30-0.67.rc3
3655 - Disable SYSFS_DEPRECATED on ia64
3657 * Wed Apr 22 2009 Kyle McMartin <kyle@redhat.com>
3659 - PROC_VMCORE=y: Exports the dump image of crashed
3660 kernel in ELF format
3662 * Wed Apr 22 2009 Neil Horman <nhorman@redhat.com>
3663 - Enable RELOCATABLE and CRASH_DUMP for powerpc64
3664 - With this we can remove the -kdump build variant
3665 - for the ppc64 arch
3667 * Tue Apr 21 2009 Chuck Ebbert <cebbert@redhat.com>
3668 - Don't include the modules.*.bin files in the RPM package.
3670 * Tue Apr 21 2009 Dave Jones <davej@redhat.com>
3673 * Mon Apr 20 2009 Dave Jones <davej@redhat.com>
3674 - Various s390x config tweaks. (#496596, #496601, #496605, #496607)
3676 * Mon Apr 20 2009 Dave Jones <davej@redhat.com>
3679 * Sat Apr 18 2009 Chuck Ebbert <cebbert@redhat.com>
3680 - Set CONFIG_UEVENT_HELPER_PATH to the empty string (#496296)
3682 * Fri Apr 17 2009 Dave Jones <davej@redhat.com>
3685 * Thu Apr 16 2009 Kyle McMartin <kyle@redhat.com> 2.6.30-0.58.rc2.git1
3688 * Wed Apr 15 2009 Kyle McMartin <kyle@redhat.com> 2.6.30-0.57.rc2
3691 * Tue Apr 14 2009 Kyle McMartin <kyle@redhat.com>
3693 - CONFIG_TOUCHSCREEN_AD7879_I2C=m
3694 - CONFIG_STRIP_ASM_SYMS=y, off for -debug
3696 * Mon Apr 13 2009 Kyle McMartin <kyle@redhat.com>
3697 - ppc-fix-parport_pc.patch: add from linuxppc-dev@
3699 * Mon Apr 13 2009 Kyle McMartin <kyle@redhat.com>
3700 - execshield: fix build (load_user_cs_desc is 32-bit only in tlb.c)
3702 * Sun Apr 12 2009 Kyle McMartin <kyle@redhat.com>
3704 - revert-fix-modules_install-via-nfs.patch: reverted upstream
3706 * Thu Apr 09 2009 Kyle McMartin <kyle@redhat.com>
3707 - actually drop utrace-ftrace from srpm.
3709 * Thu Apr 09 2009 Kyle McMartin <kyle@redhat.com>
3712 - CONFIG_NETFILTER_XT_TARGET_LED=m
3714 * Thu Apr 09 2009 Dave Jones <davej@redhat.com>
3715 - Bring back the /dev/crash driver. (#492803)
3717 * Wed Apr 08 2009 Dave Jones <davej@redhat.com>
3718 - disable MMIOTRACE in non-debug builds (#494584)
3720 * Wed Apr 08 2009 Kyle McMartin <kyle@redhat.com> 2.6.30-0.44.rc1
3722 - linux-2.6-hwmon-atk0110.patch: drop
3723 - CONFIG_DETECT_HUNG_TASK=y
3724 - # CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set
3726 * Tue Apr 7 2009 Roland McGrath <roland@redhat.com>
3727 - utrace update, drop unfinished utrace-ftrace
3729 * Tue Apr 07 2009 Kyle McMartin <kyle@redhat.com>
3730 - Linux 2.6.29-git15
3731 - EXT3_DEFAULTS_TO_ORDERED on for now.
3732 - X86_X2APIC enabled.
3733 - LEDS_LP5521, LEDS_BD2802 off... look not generally relevant.
3736 * Tue Apr 07 2009 Dave Jones <davej@redhat.com>
3737 - Enable CONFIG_CIFS_STATS (#494545)
3739 * Mon Apr 06 2009 Kyle McMartin <kyle@redhat.com>
3740 - linux-2.6-execshield.patch: rebase for 2.6.30
3742 * Mon Apr 06 2009 Kyle McMartin <kyle@redhat.com>
3743 - Linux 2.6.29-git13
3744 - drop patches merged upstream:
3745 - fix-ppc-debug_kmap_atomic.patch
3746 - fix-staging-at76.patch
3747 - linux-2.6-acpi-video-didl-intel-outputs.patch
3748 - linux-2.6-acpi-strict-resources.patch
3749 - linux-2.6-sony-laptop-rfkill.patch
3750 - linux-2.6-btrfs-fix-umount-hang.patch
3751 - linux-2.6-fiemap-header-install.patch
3752 - linux-2.6-debug-dma-api.patch
3753 - dma-api-debug-fixes.patch
3754 - linux-2.6-ext4-flush-on-close.patch
3755 - linux-2.6-relatime-by-default.patch
3756 - linux-2.6-pci-sysfs-remove-id.patch
3757 - linux-2.6-scsi-cpqarray-set-master.patch
3758 - alsa-rewrite-hw_ptr-updaters.patch
3759 - alsa-pcm-always-reset-invalid-position.patch
3760 - alsa-pcm-fix-delta-calc-at-overlap.patch
3761 - alsa-pcm-safer-boundary-checks.patch
3762 - linux-2.6-input-hid-extra-gamepad.patch
3763 - linux-2.6-ipw2x00-age-scan-results-on-resume.patch
3764 - linux-2.6-dropwatch-protocol.patch
3765 - linux-2.6-net-fix-gro-bug.patch
3766 - linux-2.6-net-fix-another-gro-bug.patch
3767 - linux-2.6-net-xfrm-fix-spin-unlock.patch
3768 - linux-2.6.29-pat-change-is_linear_pfn_mapping-to-not-use-vm_pgoff.patch
3769 - linux-2.6.29-pat-pci-change-prot-for-inherit.patch
3771 * Thu Apr 02 2009 Josef Bacik <josef@toxicpanda.com>
3772 - linux-2.6-btrfs-fix-umount-hang.patch: fix umount hang on btrfs
3774 * Thu Apr 02 2009 Kyle McMartin <kyle@redhat.com>
3775 - fix-ppc-debug_kmap_atomic.patch: fix build failures on ppc.
3777 * Thu Apr 02 2009 Kyle McMartin <kyle@redhat.com>
3780 * Tue Mar 31 2009 Kyle McMartin <kyle@redhat.com>
3781 - rds-only-on-64-bit-or-x86.patch: add
3782 - at76-netdev_ops.patch: add
3784 * Tue Mar 31 2009 Kyle McMartin <kyle@redhat.com>
3786 - linux-2.6-net-fix-another-gro-bug.patch: upstream.
3788 * Tue Mar 31 2009 Eric Sandeen <sandeen@redhat.com>
3789 - add fiemap.h to kernel-headers
3790 - build ext4 (and jbd2 and crc16) into the kernel
3792 * Tue Mar 31 2009 Kyle McMartin <kyle@redhat.com>
3794 - fix-staging-at76.patch: pull patch from linux-wireless to fix...
3796 * Mon Mar 30 2009 Kyle McMartin <kyle@redhat.com> 2.6.30-0.28.rc0.git6
3798 - Bunch of stuff disabled, most merged, some needs rebasing.
3800 * Mon Mar 30 2009 Chuck Ebbert <cebbert@redhat.com>
3801 - Make the .shared-srctree file a list so more than two checkouts
3802 can share source files.
3804 * Mon Mar 30 2009 Chuck Ebbert <cebbert@redhat.com>
3805 - Separate PAT fixes that are headed for -stable from our out-of-tree ones.
3807 * Mon Mar 30 2009 Dave Jones <davej@redhat.com>
3808 - Make io schedulers selectable at boot time again. (#492817)
3810 * Mon Mar 30 2009 Dave Jones <davej@redhat.com>
3811 - Add a strict-devmem=0 boot argument (#492803)
3813 * Mon Mar 30 2009 Adam Jackson <ajax@redhat.com>
3814 - linux-2.6.29-pat-fixes.patch: Fix PAT/GTT interaction
3816 * Mon Mar 30 2009 Mauro Carvalho Chehab <mchehab@redhat.com>
3817 - some fixes of troubles caused by v4l2 subdev conversion
3819 * Mon Mar 30 2009 Mark McLoughlin <markmc@redhat.com> 2.6.29-21
3820 - Fix guest->remote network stall with virtio/GSO (#490266)
3822 * Mon Mar 30 2009 Ben Skeggs <bskeggs@redhat.com>
3824 - rewrite nouveau PCI(E) GART functions, should fix rh#492492
3825 - kms: kernel option to allow dual-link dvi
3826 - modinfo descriptions for module parameters
3828 * Sun Mar 29 2009 Mauro Carvalho Chehab <mchehab@redhat.com>
3829 - more v4l/dvb updates: v4l subdev conversion and some driver improvements
3831 * Sun Mar 29 2009 Chuck Ebbert <cebbert@redhat.com>
3832 - More fixes for ALSA hardware pointer updating.
3834 * Sat Mar 28 2009 Mauro Carvalho Chehab <mchehab@redhat.com>
3835 - linux-2.6-revert-dvb-net-kabi-change.patch: attempt to fix dvb net breakage
3836 - update v4l fixes patch to reflect what's ready for 2.6.30
3837 - update v4l devel patch to reflect what will be kept on linux-next for a while
3839 * Fri Mar 27 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.29-16
3840 - Fix 2.6.29 networking lockups.
3841 - Fix locking in net/xfrm/xfrm_state.c (#489764)
3843 * Fri Mar 27 2009 Ben Skeggs <bskeggs@redhat.com>
3844 - drm-nouveau.patch: do nothing for dac_{prepare,commit}, it's useless
3845 and breaks some things in strange ways.
3847 * Fri Mar 27 2009 Ben Skeggs <bskeggs@redhat.com>
3848 - nv50: clear 0x1900/8 on init, possible fix for rh#492240
3849 - forcibly disable GEM also if KMS requested where not supported
3850 - inform the user if we disable KMS because of it not being supported
3852 * Thu Mar 26 2009 Matthew Garrett <mjg@redhat.com>
3853 - linux-2.6-relatime-by-default.patch: Backport relatime code from 2.6.30
3855 * Thu Mar 26 2009 Dave Jones <davej@redhat.com>
3856 - Check for modesetting enabled before forcing mode on 915. (#490336)
3858 * Thu Mar 26 2009 Dave Jones <davej@redhat.com>
3859 - Set kernel-PAE as default in grub. (#487578)
3861 * Thu Mar 26 2009 Dave Jones <davej@redhat.com>
3862 - Enable CONFIG_MOUSE_PS2_ELANTECH (#492163)
3864 * Thu Mar 26 2009 Kyle McMartin <kyle@redhat.com>
3865 - linux-2.6-v4l-pvrusb2-fixes.patch: fix build for uncle steve.
3867 * Thu Mar 26 2009 Mauro Carvalho Chehab <mchehab@redhat.com>
3868 - Move all 2.6.30 stuff into linux-2.6-v4l-dvb-fixes.patch, in
3869 preparation for upstream pull;
3870 - Added two new drivers: gspca sq905c and DVB Intel ce6230
3871 - Updated to the latest v4l-dvb drivers.
3873 * Wed Mar 25 2009 Mauro Carvalho Chehab <mchehab@redhat.com>
3874 - remove duplicated Cinergy T2 entry at config-generic
3876 * Wed Mar 25 2009 Neil Horman <nhorman@redhat.com>
3877 - Add dropmonitor/dropwatch protocol from 2.6.30
3879 * Wed Mar 25 2009 Kyle McMartin <kyle@redhat.com>
3880 - alsa-rewrite-hw_ptr-updaters.patch: snd_pcm_update_hw_ptr() tries to
3881 detect the unexpected hwptr jumps more strictly to avoid the position
3882 mess-up, which often results in the bad quality I/O with pulseaudio.
3884 * Wed Mar 25 2009 Ben Skeggs <bskeggs@redhat.com>
3885 - drm-nouveau.patch: idle channels better before destroying them
3887 * Tue Mar 24 2009 Kyle McMartin <kyle@redhat.com>
3888 - Disable DMAR by default until suspend & resume is fixed.
3890 * Tue Mar 24 2009 Josef Bacik <josef@toxicpanda.com>
3891 - fsync replay fixes for btrfs
3893 * Mon Mar 23 2009 Dave Jones <davej@redhat.com>