first draft for a plain f12 kernel
[linux-2.6.git] / original / kernel.spec
1 # We have to override the new %%install behavior because, well... the kernel is special.
2 %global __spec_install_pre %{___build_pre}
3
4 Summary: The Linux kernel
5
6 # For a stable, released kernel, released_kernel should be 1. For rawhide
7 # and/or a kernel built from an rc or git snapshot, released_kernel should
8 # be 0.
9 %global released_kernel 1
10
11 # Versions of various parts
12
13 # Polite request for people who spin their own kernel rpms:
14 # please modify the "buildid" define in a way that identifies
15 # that the kernel isn't the stock distribution kernel, for example,
16 # by setting the define to ".local" or ".bz123456"
17 #
18 # % define buildid .local
19
20 # fedora_build defines which build revision of this kernel version we're
21 # building. Rather than incrementing forever, as with the prior versioning
22 # setup, we set fedora_cvs_origin to the current cvs revision s/1.// of the
23 # kernel spec when the kernel is rebased, so fedora_build automatically
24 # works out to the offset from the rebase, so it doesn't get too ginormous.
25 #
26 # If you're building on a branch, the RCS revision will be something like
27 # 1.1205.1.1.  In this case we drop the initial 1, subtract fedora_cvs_origin
28 # from the second number, and then append the rest of the RCS string as is.
29 # Don't stare at the awk too long, you'll go blind.
30 %define fedora_cvs_origin   1786
31 %define fedora_cvs_revision() %2
32 %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++} }')
33
34 # base_sublevel is the kernel version we're starting with and patching
35 # on top of -- for example, 2.6.22-rc7-git1 starts with a 2.6.21 base,
36 # which yields a base_sublevel of 21.
37 %define base_sublevel 31
38
39 ## If this is a released kernel ##
40 %if 0%{?released_kernel}
41
42 # Do we have a -stable update to apply?
43 %define stable_update 6
44 # Is it a -stable RC?
45 %define stable_rc 0
46 # Set rpm version accordingly
47 %if 0%{?stable_update}
48 %define stablerev .%{stable_update}
49 %define stable_base %{stable_update}
50 %if 0%{?stable_rc}
51 # stable RCs are incremental patches, so we need the previous stable patch
52 %define stable_base %(echo $((%{stable_update} - 1)))
53 %endif
54 %endif
55 %define rpmversion 2.6.%{base_sublevel}%{?stablerev}
56
57 ## The not-released-kernel case ##
58 %else
59 # The next upstream release sublevel (base_sublevel+1)
60 %define upstream_sublevel %(echo $((%{base_sublevel} + 1)))
61 # The rc snapshot level
62 %define rcrev 9
63 # The git snapshot level
64 %define gitrev 2
65 # Set rpm version accordingly
66 %define rpmversion 2.6.%{upstream_sublevel}
67 %endif
68 # Nb: The above rcrev and gitrev values automagically define Patch00 and Patch01 below.
69
70 # What parts do we want to build?  We must build at least one kernel.
71 # These are the kernels that are built IF the architecture allows it.
72 # All should default to 1 (enabled) and be flipped to 0 (disabled)
73 # by later arch-specific checks.
74
75 # The following build options are enabled by default.
76 # Use either --without <opt> in your rpmbuild command or force values
77 # to 0 in here to disable them.
78 #
79 # standard kernel
80 %define with_up        %{?_without_up:        0} %{?!_without_up:        1}
81 # kernel-smp (only valid for ppc 32-bit)
82 %define with_smp       %{?_without_smp:       0} %{?!_without_smp:       1}
83 # kernel-kdump
84 %define with_kdump     %{?_without_kdump:     0} %{?!_without_kdump:     1}
85 # kernel-debug
86 %define with_debug     %{?_without_debug:     0} %{?!_without_debug:     1}
87 # kernel-doc
88 %define with_doc       %{?_without_doc:       0} %{?!_without_doc:       1}
89 # kernel-headers
90 %define with_headers   %{?_without_headers:   0} %{?!_without_headers:   1}
91 # kernel-firmware
92 %define with_firmware  %{?_with_firmware:     1} %{?!_with_firmware:     0}
93 # tools/perf
94 %define with_perftool  %{?_without_perftool:  0} %{?!_without_perftool:  1}
95 # perf noarch subpkg
96 %define with_perf      %{?_without_perf:      0} %{?!_without_perf:      1}
97 # kernel-debuginfo
98 %define with_debuginfo %{?_without_debuginfo: 0} %{?!_without_debuginfo: 1}
99 # kernel-bootwrapper (for creating zImages from kernel + initrd)
100 %define with_bootwrapper %{?_without_bootwrapper: 0} %{?!_without_bootwrapper: 1}
101 # Want to build a the vsdo directories installed
102 %define with_vdso_install %{?_without_vdso_install: 0} %{?!_without_vdso_install: 1}
103 # Use dracut instead of mkinitrd for initrd image generation
104 %define with_dracut       %{?_without_dracut:       0} %{?!_without_dracut:       1}
105
106 # Build the kernel-doc package, but don't fail the build if it botches.
107 # Here "true" means "continue" and "false" means "fail the build".
108 %if 0%{?released_kernel}
109 %define doc_build_fail false
110 %else
111 %define doc_build_fail true
112 %endif
113
114 %define rawhide_skip_docs 0
115 %if 0%{?rawhide_skip_docs}
116 %define with_doc 0
117 %endif
118
119 # Additional options for user-friendly one-off kernel building:
120 #
121 # Only build the base kernel (--with baseonly):
122 %define with_baseonly  %{?_with_baseonly:     1} %{?!_with_baseonly:     0}
123 # Only build the smp kernel (--with smponly):
124 %define with_smponly   %{?_with_smponly:      1} %{?!_with_smponly:      0}
125 # Only build the debug kernel (--with dbgonly):
126 %define with_dbgonly   %{?_with_dbgonly:      1} %{?!_with_dbgonly:      0}
127
128 # should we do C=1 builds with sparse
129 %define with_sparse     %{?_with_sparse:      1} %{?!_with_sparse:      0}
130
131 # Set debugbuildsenabled to 1 for production (build separate debug kernels)
132 #  and 0 for rawhide (all kernels are debug kernels).
133 # See also 'make debug' and 'make release'.
134 %define debugbuildsenabled 1
135
136 # Want to build a vanilla kernel build without any non-upstream patches?
137 # (well, almost none, we need nonintconfig for build purposes). Default to 0 (off).
138 %define with_vanilla %{?_with_vanilla: 1} %{?!_with_vanilla: 0}
139
140 # pkg_release is what we'll fill in for the rpm Release: field
141 %if 0%{?released_kernel}
142
143 %if 0%{?stable_rc}
144 %define stable_rctag .rc%{stable_rc}
145 %endif
146 %define pkg_release %{fedora_build}%{?stable_rctag}%{?buildid}%{?dist}
147
148 %else
149
150 # non-released_kernel
151 %if 0%{?rcrev}
152 %define rctag .rc%rcrev
153 %endif
154 %if 0%{?gitrev}
155 %define gittag .git%gitrev
156 %if !0%{?rcrev}
157 %define rctag .rc0
158 %endif
159 %endif
160 %define pkg_release 0.%{fedora_build}%{?rctag}%{?gittag}%{?buildid}%{?dist}
161
162 %endif
163
164 # The kernel tarball/base version
165 %define kversion 2.6.%{base_sublevel}
166
167 %define make_target bzImage
168
169 %define KVERREL %{PACKAGE_VERSION}-%{PACKAGE_RELEASE}.%{_target_cpu}
170 %define hdrarch %_target_cpu
171 %define asmarch %_target_cpu
172
173 %if 0%{!?nopatches:1}
174 %define nopatches 0
175 %endif
176
177 %if %{with_vanilla}
178 %define nopatches 1
179 %endif
180
181 %if %{nopatches}
182 %define with_bootwrapper 0
183 %define variant -vanilla
184 %else
185 %define variant_fedora -fedora
186 %endif
187
188 %define using_upstream_branch 0
189 %if 0%{?upstream_branch:1}
190 %define stable_update 0
191 %define using_upstream_branch 1
192 %define variant -%{upstream_branch}%{?variant_fedora}
193 %define pkg_release 0.%{fedora_build}%{upstream_branch_tag}%{?buildid}%{?dist}
194 %endif
195
196 %if !%{debugbuildsenabled}
197 %define with_debug 0
198 %endif
199
200 %if !%{with_debuginfo}
201 %define _enable_debug_packages 0
202 %endif
203 %define debuginfodir /usr/lib/debug
204
205 # kernel-PAE is only built on i686.
206 %ifarch i686
207 %define with_pae 1
208 %else
209 %define with_pae 0
210 %endif
211
212 # if requested, only build base kernel
213 %if %{with_baseonly}
214 %define with_smp 0
215 %define with_kdump 0
216 %define with_debug 0
217 %endif
218
219 # if requested, only build smp kernel
220 %if %{with_smponly}
221 %define with_up 0
222 %define with_kdump 0
223 %define with_debug 0
224 %endif
225
226 # if requested, only build debug kernel
227 %if %{with_dbgonly}
228 %if %{debugbuildsenabled}
229 %define with_up 0
230 %endif
231 %define with_smp 0
232 %define with_pae 0
233 %define with_xen 0
234 %define with_kdump 0
235 %define with_perftool 0
236 %endif
237
238 %define all_x86 i386 i686
239
240 %if %{with_vdso_install}
241 # These arches install vdso/ directories.
242 %define vdso_arches %{all_x86} x86_64 ppc ppc64
243 %endif
244
245 # Overrides for generic default options
246
247 # only ppc and alphav56 need separate smp kernels
248 %ifnarch ppc alphaev56
249 %define with_smp 0
250 %endif
251
252 # only build kernel-kdump on ppc64
253 # (no relocatable kernel support upstream yet)
254 #FIXME: Temporarily disabled to speed up builds.
255 #ifnarch ppc64
256 %define with_kdump 0
257 #endif
258
259 # don't do debug builds on anything but i686 and x86_64
260 %ifnarch i686 x86_64
261 %define with_debug 0
262 %endif
263
264 # only package docs noarch
265 %ifnarch noarch
266 %define with_doc 0
267 %define with_perf 0
268 %endif
269
270 # don't build noarch kernels or headers (duh)
271 %ifarch noarch
272 %define with_up 0
273 %define with_headers 0
274 %define all_arch_configs kernel-%{version}-*.config
275 %define with_firmware  %{?_without_firmware:  0} %{?!_without_firmware:  1}
276 %endif
277
278 # bootwrapper is only on ppc
279 %ifnarch ppc ppc64
280 %define with_bootwrapper 0
281 %endif
282
283 # sparse blows up on ppc64 alpha and sparc64
284 %ifarch ppc64 ppc alpha sparc64
285 %define with_sparse 0
286 %endif
287
288 # Per-arch tweaks
289
290 %ifarch %{all_x86}
291 %define asmarch x86
292 %define hdrarch i386
293 %define all_arch_configs kernel-%{version}-i?86*.config
294 %define image_install_path boot
295 %define kernel_image arch/x86/boot/bzImage
296 %endif
297
298 %ifarch x86_64
299 %define asmarch x86
300 %define all_arch_configs kernel-%{version}-x86_64*.config
301 %define image_install_path boot
302 %define kernel_image arch/x86/boot/bzImage
303 %endif
304
305 %ifarch ppc64
306 %define asmarch powerpc
307 %define hdrarch powerpc
308 %define all_arch_configs kernel-%{version}-ppc64*.config
309 %define image_install_path boot
310 %define make_target vmlinux
311 %define kernel_image vmlinux
312 %define kernel_image_elf 1
313 %endif
314
315 %ifarch s390x
316 %define asmarch s390
317 %define hdrarch s390
318 %define all_arch_configs kernel-%{version}-s390x.config
319 %define image_install_path boot
320 %define make_target image
321 %define kernel_image arch/s390/boot/image
322 %endif
323
324 %ifarch sparc
325 # We only build sparc headers since we dont support sparc32 hardware
326 %endif
327
328 %ifarch sparc64
329 %define asmarch sparc
330 %define all_arch_configs kernel-%{version}-sparc64*.config
331 %define make_target image
332 %define kernel_image arch/sparc/boot/image
333 %define image_install_path boot
334 %define with_perftool 0
335 %endif
336
337 %ifarch ppc
338 %define asmarch powerpc
339 %define hdrarch powerpc
340 %define all_arch_configs kernel-%{version}-ppc{-,.}*config
341 %define image_install_path boot
342 %define make_target vmlinux
343 %define kernel_image vmlinux
344 %define kernel_image_elf 1
345 %endif
346
347 %ifarch ia64
348 %define all_arch_configs kernel-%{version}-ia64*.config
349 %define image_install_path boot/efi/EFI/redhat
350 %define make_target compressed
351 %define kernel_image vmlinux.gz
352 %endif
353
354 %ifarch alpha alphaev56
355 %define all_arch_configs kernel-%{version}-alpha*.config
356 %define image_install_path boot
357 %define make_target vmlinux
358 %define kernel_image vmlinux
359 %endif
360
361 %ifarch %{arm}
362 %define all_arch_configs kernel-%{version}-arm*.config
363 %define image_install_path boot
364 %define hdrarch arm
365 %define make_target vmlinux
366 %define kernel_image vmlinux
367 %endif
368
369 %if %{nopatches}
370 # XXX temporary until last vdso patches are upstream
371 %define vdso_arches ppc ppc64
372 %endif
373
374 %if %{nopatches}%{using_upstream_branch}
375 # Ignore unknown options in our config-* files.
376 # Some options go with patches we're not applying.
377 %define oldconfig_target loose_nonint_oldconfig
378 %else
379 %define oldconfig_target nonint_oldconfig
380 %endif
381
382 # To temporarily exclude an architecture from being built, add it to
383 # %nobuildarches. Do _NOT_ use the ExclusiveArch: line, because if we
384 # don't build kernel-headers then the new build system will no longer let
385 # us use the previous build of that package -- it'll just be completely AWOL.
386 # Which is a BadThing(tm).
387
388 # We don't build a kernel on i386; we only do kernel-headers there,
389 # and we no longer build for 31bit S390. Same for 32bit sparc and arm.
390 %define nobuildarches i386 s390 sparc %{arm}
391
392 %ifarch %nobuildarches
393 %define with_up 0
394 %define with_smp 0
395 %define with_pae 0
396 %define with_kdump 0
397 %define with_debuginfo 0
398 %define with_perftool 0
399 %define _enable_debug_packages 0
400 %endif
401
402 %define with_pae_debug 0
403 %if %{with_pae}
404 %define with_pae_debug %{with_debug}
405 %endif
406
407 #
408 # Three sets of minimum package version requirements in the form of Conflicts:
409 # to versions below the minimum
410 #
411
412 #
413 # First the general kernel 2.6 required versions as per
414 # Documentation/Changes
415 #
416 %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
417
418 #
419 # Then a series of requirements that are distribution specific, either
420 # because we add patches for something, or the older versions have
421 # problems with the newer kernel or lack certain things that make
422 # integration in the distro harder than needed.
423 #
424 %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
425
426 #
427 # The ld.so.conf.d file we install uses syntax older ldconfig's don't grok.
428 #
429 %define kernel_xen_conflicts glibc < 2.3.5-1, xen < 3.0.1
430
431 %define kernel_PAE_obsoletes kernel-smp < 2.6.17, kernel-xen <= 2.6.27-0.2.rc0.git6.fc10
432 %define kernel_PAE_provides kernel-xen = %{rpmversion}-%{pkg_release}
433
434 %ifarch x86_64
435 %define kernel_obsoletes kernel-xen <= 2.6.27-0.2.rc0.git6.fc10
436 %define kernel_provides kernel-xen = %{rpmversion}-%{pkg_release}
437 %endif
438
439 # We moved the drm include files into kernel-headers, make sure there's
440 # a recent enough libdrm-devel on the system that doesn't have those.
441 %define kernel_headers_conflicts libdrm-devel < 2.4.0-0.15
442
443 #
444 # Packages that need to be installed before the kernel is, because the %post
445 # scripts use them.
446 #
447 %define kernel_prereq  fileutils, module-init-tools, initscripts >= 8.11.1-1, kernel-firmware >= %{rpmversion}-%{pkg_release}, grubby >= 7.0.4-1
448 %if %{with_dracut}
449 %define initrd_prereq  dracut >= 001-7
450 %else
451 %define initrd_prereq  mkinitrd >= 6.0.61-1
452 %endif
453
454 #
455 # This macro does requires, provides, conflicts, obsoletes for a kernel package.
456 #       %%kernel_reqprovconf <subpackage>
457 # It uses any kernel_<subpackage>_conflicts and kernel_<subpackage>_obsoletes
458 # macros defined above.
459 #
460 %define kernel_reqprovconf \
461 Provides: kernel = %{rpmversion}-%{pkg_release}\
462 Provides: kernel-%{_target_cpu} = %{rpmversion}-%{pkg_release}%{?1:.%{1}}\
463 Provides: kernel-drm = 4.3.0\
464 Provides: kernel-drm-nouveau = 15\
465 Provides: kernel-modeset = 1\
466 Provides: kernel-uname-r = %{KVERREL}%{?1:.%{1}}\
467 Requires(pre): %{kernel_prereq}\
468 Requires(pre): %{initrd_prereq}\
469 Requires(post): /sbin/new-kernel-pkg\
470 Requires(preun): /sbin/new-kernel-pkg\
471 Conflicts: %{kernel_dot_org_conflicts}\
472 Conflicts: %{package_conflicts}\
473 %{expand:%%{?kernel%{?1:_%{1}}_conflicts:Conflicts: %%{kernel%{?1:_%{1}}_conflicts}}}\
474 %{expand:%%{?kernel%{?1:_%{1}}_obsoletes:Obsoletes: %%{kernel%{?1:_%{1}}_obsoletes}}}\
475 %{expand:%%{?kernel%{?1:_%{1}}_provides:Provides: %%{kernel%{?1:_%{1}}_provides}}}\
476 # We can't let RPM do the dependencies automatic because it'll then pick up\
477 # a correct but undesirable perl dependency from the module headers which\
478 # isn't required for the kernel proper to function\
479 AutoReq: no\
480 AutoProv: yes\
481 %{nil}
482
483 Name: kernel%{?variant}
484 Group: System Environment/Kernel
485 License: GPLv2
486 URL: http://www.kernel.org/
487 Version: %{rpmversion}
488 Release: %{pkg_release}
489 # DO NOT CHANGE THE 'ExclusiveArch' LINE TO TEMPORARILY EXCLUDE AN ARCHITECTURE BUILD.
490 # SET %%nobuildarches (ABOVE) INSTEAD
491 ExclusiveArch: noarch %{all_x86} x86_64 ppc ppc64 ia64 sparc sparc64 s390x alpha alphaev56 %{arm}
492 ExclusiveOS: Linux
493
494 %kernel_reqprovconf
495 %ifarch x86_64 sparc64
496 Obsoletes: kernel-smp
497 %endif
498
499
500 #
501 # List the packages used during the kernel build
502 #
503 BuildRequires: module-init-tools, patch >= 2.5.4, bash >= 2.03, sh-utils, tar
504 BuildRequires: bzip2, findutils, gzip, m4, perl, make >= 3.78, diffutils, gawk
505 BuildRequires: gcc >= 3.4.2, binutils >= 2.12, redhat-rpm-config
506 BuildRequires: net-tools
507 BuildRequires: xmlto, asciidoc
508 %if %{with_sparse}
509 BuildRequires: sparse >= 0.4.1
510 %endif
511 %if %{with_perftool}
512 BuildRequires: elfutils-libelf-devel zlib-devel binutils-devel
513 %endif
514 BuildConflicts: rhbuildsys(DiskFree) < 500Mb
515
516 %define fancy_debuginfo 0
517 %if %{with_debuginfo}
518 %if 0%{?fedora} >= 8 || 0%{?rhel} >= 6
519 %define fancy_debuginfo 1
520 %endif
521 %endif
522
523 %if %{fancy_debuginfo}
524 # Fancy new debuginfo generation introduced in Fedora 8.
525 BuildRequires: rpm-build >= 4.4.2.1-4
526 %define debuginfo_args --strict-build-id
527 %endif
528
529 Source0: ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-%{kversion}.tar.bz2
530
531 Source11: genkey
532 Source14: find-provides
533 Source15: merge.pl
534
535 Source20: Makefile.config
536 Source21: config-debug
537 Source22: config-nodebug
538 Source23: config-generic
539 Source24: config-rhel-generic
540
541 Source30: config-x86-generic
542 Source31: config-i686-PAE
543
544 Source40: config-x86_64-generic
545
546 Source50: config-powerpc-generic
547 Source51: config-powerpc32-generic
548 Source52: config-powerpc32-smp
549 Source53: config-powerpc64
550
551 Source60: config-ia64-generic
552
553 Source70: config-s390x
554
555 Source90: config-sparc64-generic
556
557 Source100: config-arm
558
559 Source200: perf
560
561 # Here should be only the patches up to the upstream canonical Linus tree.
562
563 # For a stable release kernel
564 %if 0%{?stable_update}
565 %if 0%{?stable_base}
566 %define    stable_patch_00  patch-2.6.%{base_sublevel}.%{stable_base}.bz2
567 Patch00: %{stable_patch_00}
568 %endif
569 %if 0%{?stable_rc}
570 %define    stable_patch_01  patch-2.6.%{base_sublevel}.%{stable_update}-rc%{stable_rc}.bz2
571 Patch01: %{stable_patch_01}
572 %endif
573
574 # non-released_kernel case
575 # These are automagically defined by the rcrev and gitrev values set up
576 # near the top of this spec file.
577 %else
578 %if 0%{?rcrev}
579 Patch00: patch-2.6.%{upstream_sublevel}-rc%{rcrev}.bz2
580 %if 0%{?gitrev}
581 Patch01: patch-2.6.%{upstream_sublevel}-rc%{rcrev}-git%{gitrev}.bz2
582 %endif
583 %else
584 # pre-{base_sublevel+1}-rc1 case
585 %if 0%{?gitrev}
586 Patch00: patch-2.6.%{base_sublevel}-git%{gitrev}.bz2
587 %endif
588 %endif
589 %endif
590
591 %if %{using_upstream_branch}
592 ### BRANCH PATCH ###
593 %endif
594
595 Patch02: git-linus.diff
596
597 # we always need nonintconfig, even for -vanilla kernels
598 Patch03: linux-2.6-build-nonintconfig.patch
599
600 # we also need compile fixes for -vanilla
601 Patch04: linux-2.6-compile-fixes.patch
602
603 # build tweak for build ID magic, even for -vanilla
604 Patch05: linux-2.6-makefile-after_link.patch
605
606 %if !%{nopatches}
607
608 # revert upstream patches we get via other methods
609 Patch09: linux-2.6-upstream-reverts.patch
610 # Git trees.
611 Patch10: git-cpufreq.patch
612 Patch11: git-bluetooth.patch
613
614 # Standalone patches
615 Patch20: linux-2.6-hotfixes.patch
616
617 Patch21: linux-2.6-tracehook.patch
618 Patch22: linux-2.6-utrace.patch
619
620 Patch30: sched-introduce-SCHED_RESET_ON_FORK-scheduling-policy-flag.patch
621
622 Patch31: disable-stackprotector-all.patch
623
624 # Intel IOMMU fixes/workarounds
625 Patch100: linux-2.6-die-closed-source-bios-muppets-die.patch
626 Patch101: linux-2.6-intel-iommu-updates.patch
627 Patch102: linux-2.6-iommu-at-zero.patch
628 Patch103: linux-2.6-iommu-dmar-all-1s.patch
629 Patch104: linux-2.6-iommu-another-hp-screwup.patch
630 Patch105: linux-2.6-iommu-sanity-checks-for-intr-remap-too.patch
631 Patch106: linux-2.6-iommu-hp-cantiga-resume.patch
632
633 Patch141: linux-2.6-ps3-storage-alias.patch
634 Patch143: linux-2.6-g5-therm-shutdown.patch
635 Patch144: linux-2.6-vio-modalias.patch
636 Patch147: linux-2.6-imac-transparent-bridge.patch
637
638 Patch150: linux-2.6.29-sparc-IOC_TYPECHECK.patch
639
640 Patch160: linux-2.6-execshield.patch
641
642 Patch250: linux-2.6-debug-sizeof-structs.patch
643 Patch260: linux-2.6-debug-nmi-timeout.patch
644 Patch270: linux-2.6-debug-taint-vm.patch
645 Patch280: linux-2.6-debug-spinlock-taint.patch
646 Patch300: linux-2.6-driver-level-usb-autosuspend.diff
647 Patch302: linux-2.6-qcserial-autosuspend.diff
648 Patch303: linux-2.6-bluetooth-autosuspend.diff
649 Patch304: linux-2.6-usb-uvc-autosuspend.diff
650 Patch340: linux-2.6-debug-vm-would-have-oomkilled.patch
651 Patch360: linux-2.6-debug-always-inline-kzalloc.patch
652 Patch380: linux-2.6-defaults-pci_no_msi.patch
653 Patch381: linux-2.6-pciehp-update.patch
654 Patch382: linux-2.6-defaults-pciehp.patch
655 Patch383: linux-2.6-defaults-aspm.patch
656 Patch390: linux-2.6-defaults-acpi-video.patch
657 Patch391: linux-2.6-acpi-video-dos.patch
658 Patch450: linux-2.6-input-kill-stupid-messages.patch
659 Patch451: linux-2.6-input-fix-toshiba-hotkeys.patch
660 Patch452: linux-2.6.30-no-pcspkr-modalias.patch
661
662 Patch460: linux-2.6-serial-460800.patch
663
664 Patch470: die-floppy-die.patch
665
666 Patch500: linux-2.6.31-copy_from_user-bounds.patch
667
668 Patch510: linux-2.6-silence-noise.patch
669 Patch520: linux-2.6.30-hush-rom-warning.patch
670 Patch530: linux-2.6-silence-fbcon-logo.patch
671 Patch570: linux-2.6-selinux-mprotect-checks.patch
672 Patch580: linux-2.6-sparc-selinux-mprotect-checks.patch
673
674 Patch600: linux-2.6-defaults-alsa-hda-beep-off.patch
675 Patch601: linux-2.6-alsa-improve-hda-powerdown.patch
676 Patch610: hda_intel-prealloc-4mb-dmabuffer.patch
677 Patch611: alsa-tell-user-that-stream-to-be-rewound-is-suspended.patch
678
679 Patch670: linux-2.6-ata-quirk.patch
680 Patch671: linux-2.6-ahci-export-capabilities.patch
681
682 Patch680: prism54-remove-pci-dev-table.patch
683 Patch681: linux-2.6-ath9k-fixes.patch
684
685 Patch800: linux-2.6-crash-driver.patch
686
687 Patch900: linux-2.6-pci-cacheline-sizing.patch
688
689 # ACPI
690 Patch1100: linux-2.6.31-cpuidle-faster-io.patch
691 # EC fixes from 2.6.32 (#492699, #525681)
692 Patch1110: acpi-ec-merge-irq-and-poll-modes.patch
693 Patch1120: acpi-ec-use-burst-mode-only-for-msi-notebooks.patch
694 Patch1130: acpi-ec-restart-command-even-if-no-interrupts-from-ec.patch
695
696 Patch1515: lirc-2.6.31.patch
697 Patch1517: hdpvr-ir-enable.patch
698 Patch1518: hid-ignore-all-recent-imon-devices.patch
699
700 # virt + ksm patches
701 Patch1550: linux-2.6-ksm.patch
702 Patch1551: linux-2.6-ksm-kvm.patch
703 Patch1552: linux-2.6-ksm-updates.patch
704 Patch1553: linux-2.6-ksm-fix-munlock.patch
705 Patch1554: linux-2.6-ksm-updates-from-32.patch
706 Patch1579: linux-2.6-virtio_blk-revert-QUEUE_FLAG_VIRT-addition.patch
707 Patch1583: linux-2.6-xen-fix-is_disconnected_device-exists_disconnected_device.patch
708 Patch1584: linux-2.6-xen-improvement-to-wait_for_devices.patch
709 Patch1585: linux-2.6-xen-increase-device-connection-timeout.patch
710 Patch1586: linux-2.6-virtio_blk-add-support-for-cache-flush.patch
711
712 # nouveau + drm fixes
713 Patch1810: kms-offb-handoff.patch
714 Patch1812: drm-next-b390f944.patch
715 Patch1813: drm-radeon-pm.patch
716 Patch1814: drm-nouveau.patch
717 Patch1818: drm-i915-resume-force-mode.patch
718 # intel drm is all merged upstream
719 Patch1824: drm-intel-next.patch
720 Patch1825: drm-intel-pm.patch
721 Patch1826: drm-intel-no-tv-hotplug.patch
722 Patch1827: drm-i915-fix-tvmode-oops.patch
723 Patch1831: drm-conservative-fallback-modes.patch
724 Patch1832: drm-edid-retry.patch
725 Patch1834: drm-edid-header-fixup.patch
726 Patch1835: drm-default-mode.patch
727 Patch1837: drm-i915-fix-sync-to-vbl-when-vga-is-off.patch
728 Patch1839: drm-radeon-misc-fixes.patch
729 Patch1840: drm-radeon-rv410-test-fix.patch
730
731 # vga arb
732 Patch1900: linux-2.6-vga-arb.patch
733 Patch1901: drm-vga-arb.patch
734 Patch1902: drm-radeon-kms-arbiter-return-ignore.patch
735
736 # make harmless fbcon debug less loud
737 Patch1903: fbcon-lower-debug.patch
738
739 # kludge to make ich9 e1000 work
740 Patch2000: linux-2.6-e1000-ich9.patch
741
742 # linux1394 git patches
743 Patch2200: linux-2.6-firewire-git-update.patch
744 Patch2201: linux-2.6-firewire-git-pending.patch
745
746 # Quiet boot fixes
747 # silence the ACPI blacklist code
748 Patch2802: linux-2.6-silence-acpi-blacklist.patch
749
750 Patch2899: linux-2.6-v4l-dvb-fixes.patch
751 Patch2900: linux-2.6-v4l-dvb-update.patch
752 Patch2901: linux-2.6-v4l-dvb-experimental.patch
753 Patch2904: v4l-dvb-fix-cx25840-firmware-loading.patch
754
755 # fs fixes
756
757 #btrfs
758 Patch3000: linux-2.6-btrfs-upstream.patch
759
760 # NFSv4
761 Patch3050: linux-2.6-nfsd4-proots.patch
762 Patch3060: linux-2.6-nfs4-ver4opt.patch
763 Patch3061: linux-2.6-nfs4-callback-hidden.patch
764
765 # VIA Nano / VX8xx updates
766 Patch11010: via-hwmon-temp-sensor.patch
767
768 # patches headed upstream
769 Patch12010: linux-2.6-dell-laptop-rfkill-fix.patch
770 Patch12011: linux-2.6-block-silently-error-unsupported-empty-barriers-too.patch
771 Patch12012: linux-2.6-rtc-show-hctosys.patch
772 Patch12013: linux-2.6-rfkill-all.patch
773 Patch12014: linux-2.6-selinux-module-load-perms.patch
774
775 # sched fixes cherry-picked from 2.6.32
776 Patch13100: sched-deal-with-low-load-in-wake-affine.patch
777 Patch13101: sched-ensure-child-cant-gain-time-over-its-parent-after-fork.patch
778 Patch13102: sched-remove-shortcut-from-select-task-rq-fair.patch
779 # latency defaults from 2.6.32
780 Patch13110: sched-retune-scheduler-latency-defaults.patch
781 # Fix huge wakeup latencies
782 Patch13120: sched-update-the-clock-of-runqueue-select-task-rq-selected.patch
783
784 # patches headed for -stable
785
786 # make perf counter API available to userspace (#527264)
787 Patch14010: perf-make-perf-counter-h-available-to-userspace.patch
788
789 # fix resource counter issues on *big* machines
790 Patch14101: improve-resource-counter-scalability.patch
791
792 # fix perf for sysprof
793 Patch14420: perf-events-fix-swevent-hrtimer-sampling.patch
794 Patch14421: perf-events-dont-generate-events-for-the-idle-task.patch
795
796 Patch14430: crypto-via-padlock-fix-nano-aes.patch
797
798 # tg3 fixes (#527209)
799 Patch14451: tg3-01-delay-mdio-bus-init-until-fw-finishes.patch
800 Patch14452: tg3-02-fix-tso-test-against-wrong-flags-var.patch
801 Patch14453: tg3-03-fix-57780-asic-rev-pcie-link-receiver-errors.patch
802 Patch14454: tg3-04-prevent-tx-bd-corruption.patch
803 Patch14455: tg3-05-assign-flags-to-fixes-in-start_xmit_dma_bug.patch
804 Patch14456: tg3-06-fix-5906-transmit-hangs.patch
805
806 Patch14460: highmem-Fix-debug_kmap_atomic-to-also-handle-KM_IRQ_.patch
807 Patch14461: highmem-Fix-race-in-debug_kmap_atomic-which-could-ca.patch
808 Patch14462: highmem-fix-arm-powerpc-kmap_types.patch
809
810 Patch14463: dlm-fix-connection-close-handling.patch
811
812 # rhbz#544144 [bbf31bf18d34caa87dd01f08bf713635593697f2]
813 Patch14464: ipv4-fix-null-ptr-deref-in-ip_fragment.patch
814
815 %endif
816
817 BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root
818
819 %description
820 The kernel package contains the Linux kernel (vmlinuz), the core of any
821 Linux operating system.  The kernel handles the basic functions
822 of the operating system: memory allocation, process allocation, device
823 input and output, etc.
824
825
826 %package doc
827 Summary: Various documentation bits found in the kernel source
828 Group: Documentation
829 %description doc
830 This package contains documentation files from the kernel
831 source. Various bits of information about the Linux kernel and the
832 device drivers shipped with it are documented in these files.
833
834 You'll want to install this package if you need a reference to the
835 options that can be passed to Linux kernel modules at load time.
836
837
838 %package headers
839 Summary: Header files for the Linux kernel for use by glibc
840 Group: Development/System
841 Obsoletes: glibc-kernheaders
842 Provides: glibc-kernheaders = 3.0-46
843 %description headers
844 Kernel-headers includes the C header files that specify the interface
845 between the Linux kernel and userspace libraries and programs.  The
846 header files define structures and constants that are needed for
847 building most standard programs and are also needed for rebuilding the
848 glibc package.
849
850 %package firmware
851 Summary: Firmware files used by the Linux kernel
852 Group: Development/System
853 # This is... complicated.
854 # Look at the WHENCE file.
855 License: GPL+ and GPLv2+ and MIT and Redistributable, no modification permitted
856 %if "x%{?variant}" != "x"
857 Provides: kernel-firmware = %{rpmversion}-%{pkg_release}
858 %endif
859 %description firmware
860 Kernel-firmware includes firmware files required for some devices to
861 operate.
862
863 %package bootwrapper
864 Summary: Boot wrapper files for generating combined kernel + initrd images
865 Group: Development/System
866 Requires: gzip
867 %description bootwrapper
868 Kernel-bootwrapper contains the wrapper code which makes bootable "zImage"
869 files combining both kernel and initial ramdisk.
870
871 %package debuginfo-common-%{_target_cpu}
872 Summary: Kernel source files used by %{name}-debuginfo packages
873 Group: Development/Debug
874 %description debuginfo-common-%{_target_cpu}
875 This package is required by %{name}-debuginfo subpackages.
876 It provides the kernel source files common to all builds.
877
878 %package -n perf
879 Summary: Performance monitoring for the Linux kernel
880 Group: Development/System
881 License: GPLv2
882 %description -n perf
883 This package provides the supporting documentation for the perf tool
884 shipped in each kernel image subpackage.
885
886 #
887 # This macro creates a kernel-<subpackage>-debuginfo package.
888 #       %%kernel_debuginfo_package <subpackage>
889 #
890 %define kernel_debuginfo_package() \
891 %package %{?1:%{1}-}debuginfo\
892 Summary: Debug information for package %{name}%{?1:-%{1}}\
893 Group: Development/Debug\
894 Requires: %{name}-debuginfo-common-%{_target_cpu} = %{version}-%{release}\
895 Provides: %{name}%{?1:-%{1}}-debuginfo-%{_target_cpu} = %{version}-%{release}\
896 AutoReqProv: no\
897 %description -n %{name}%{?1:-%{1}}-debuginfo\
898 This package provides debug information for package %{name}%{?1:-%{1}}.\
899 This is required to use SystemTap with %{name}%{?1:-%{1}}-%{KVERREL}.\
900 %{expand:%%global debuginfo_args %{?debuginfo_args} -p '/.*/%%{KVERREL}%{?1:\.%{1}}/.*|/.*%%{KVERREL}%{?1:\.%{1}}(\.debug)?' -o debuginfo%{?1}.list}\
901 %{nil}
902
903 #
904 # This macro creates a kernel-<subpackage>-devel package.
905 #       %%kernel_devel_package <subpackage> <pretty-name>
906 #
907 %define kernel_devel_package() \
908 %package %{?1:%{1}-}devel\
909 Summary: Development package for building kernel modules to match the %{?2:%{2} }kernel\
910 Group: System Environment/Kernel\
911 Provides: kernel%{?1:-%{1}}-devel-%{_target_cpu} = %{version}-%{release}\
912 Provides: kernel-devel-%{_target_cpu} = %{version}-%{release}%{?1:.%{1}}\
913 Provides: kernel-devel = %{version}-%{release}%{?1:.%{1}}\
914 Provides: kernel-devel-uname-r = %{KVERREL}%{?1:.%{1}}\
915 AutoReqProv: no\
916 Requires(pre): /usr/bin/find\
917 %description -n kernel%{?variant}%{?1:-%{1}}-devel\
918 This package provides kernel headers and makefiles sufficient to build modules\
919 against the %{?2:%{2} }kernel package.\
920 %{nil}
921
922 #
923 # This macro creates a kernel-<subpackage> and its -devel and -debuginfo too.
924 #       %%define variant_summary The Linux kernel compiled for <configuration>
925 #       %%kernel_variant_package [-n <pretty-name>] <subpackage>
926 #
927 %define kernel_variant_package(n:) \
928 %package %1\
929 Summary: %{variant_summary}\
930 Group: System Environment/Kernel\
931 %kernel_reqprovconf\
932 %{expand:%%kernel_devel_package %1 %{!?-n:%1}%{?-n:%{-n*}}}\
933 %{expand:%%kernel_debuginfo_package %1}\
934 %{nil}
935
936
937 # First the auxiliary packages of the main kernel package.
938 %kernel_devel_package
939 %kernel_debuginfo_package
940
941
942 # Now, each variant package.
943
944 %define variant_summary The Linux kernel compiled for SMP machines
945 %kernel_variant_package -n SMP smp
946 %description smp
947 This package includes a SMP version of the Linux kernel. It is
948 required only on machines with two or more CPUs as well as machines with
949 hyperthreading technology.
950
951 Install the kernel-smp package if your machine uses two or more CPUs.
952
953
954 %define variant_summary The Linux kernel compiled for PAE capable machines
955 %kernel_variant_package PAE
956 %description PAE
957 This package includes a version of the Linux kernel with support for up to
958 64GB of high memory. It requires a CPU with Physical Address Extensions (PAE).
959 The non-PAE kernel can only address up to 4GB of memory.
960 Install the kernel-PAE package if your machine has more than 4GB of memory.
961
962
963 %define variant_summary The Linux kernel compiled with extra debugging enabled for PAE capable machines
964 %kernel_variant_package PAEdebug
965 Obsoletes: kernel-PAE-debug
966 %description PAEdebug
967 This package includes a version of the Linux kernel with support for up to
968 64GB of high memory. It requires a CPU with Physical Address Extensions (PAE).
969 The non-PAE kernel can only address up to 4GB of memory.
970 Install the kernel-PAE package if your machine has more than 4GB of memory.
971
972 This variant of the kernel has numerous debugging options enabled.
973 It should only be installed when trying to gather additional information
974 on kernel bugs, as some of these options impact performance noticably.
975
976
977 %define variant_summary The Linux kernel compiled with extra debugging enabled
978 %kernel_variant_package debug
979 %description debug
980 The kernel package contains the Linux kernel (vmlinuz), the core of any
981 Linux operating system.  The kernel handles the basic functions
982 of the operating system:  memory allocation, process allocation, device
983 input and output, etc.
984
985 This variant of the kernel has numerous debugging options enabled.
986 It should only be installed when trying to gather additional information
987 on kernel bugs, as some of these options impact performance noticably.
988
989
990 %define variant_summary A minimal Linux kernel compiled for crash dumps
991 %kernel_variant_package kdump
992 %description kdump
993 This package includes a kdump version of the Linux kernel. It is
994 required only on machines which will use the kexec-based kernel crash dump
995 mechanism.
996
997
998 %prep
999 # do a few sanity-checks for --with *only builds
1000 %if %{with_baseonly}
1001 %if !%{with_up}%{with_pae}
1002 echo "Cannot build --with baseonly, up build is disabled"
1003 exit 1
1004 %endif
1005 %endif
1006
1007 %if %{with_smponly}
1008 %if !%{with_smp}
1009 echo "Cannot build --with smponly, smp build is disabled"
1010 exit 1
1011 %endif
1012 %endif
1013
1014 # more sanity checking; do it quietly
1015 if [ "%{patches}" != "%%{patches}" ] ; then
1016   for patch in %{patches} ; do
1017     if [ ! -f $patch ] ; then
1018       echo "ERROR: Patch  ${patch##/*/}  listed in specfile but is missing"
1019       exit 1
1020     fi
1021   done
1022 fi 2>/dev/null
1023
1024 patch_command='patch -p1 -F1 -s'
1025 ApplyPatch()
1026 {
1027   local patch=$1
1028   shift
1029   if [ ! -f $RPM_SOURCE_DIR/$patch ]; then
1030     exit 1
1031   fi
1032   if ! egrep "^Patch[0-9]+: $patch\$" %{_specdir}/${RPM_PACKAGE_NAME%%%%%{?variant}}.spec ; then
1033     if [ "${patch:0:10}" != "patch-2.6." ] ; then
1034       echo "ERROR: Patch  $patch  not listed as a source patch in specfile"
1035       exit 1
1036     fi
1037   fi 2>/dev/null
1038   case "$patch" in
1039   *.bz2) bunzip2 < "$RPM_SOURCE_DIR/$patch" | $patch_command ${1+"$@"} ;;
1040   *.gz) gunzip < "$RPM_SOURCE_DIR/$patch" | $patch_command ${1+"$@"} ;;
1041   *) $patch_command ${1+"$@"} < "$RPM_SOURCE_DIR/$patch" ;;
1042   esac
1043 }
1044
1045 # don't apply patch if it's empty
1046 ApplyOptionalPatch()
1047 {
1048   local patch=$1
1049   shift
1050   if [ ! -f $RPM_SOURCE_DIR/$patch ]; then
1051     exit 1
1052   fi
1053   local C=$(wc -l $RPM_SOURCE_DIR/$patch | awk '{print $1}')
1054   if [ "$C" -gt 9 ]; then
1055     ApplyPatch $patch ${1+"$@"}
1056   fi
1057 }
1058
1059 # we don't want a .config file when building firmware: it just confuses the build system
1060 %define build_firmware \
1061    mv .config .config.firmware_save \
1062    make INSTALL_FW_PATH=$RPM_BUILD_ROOT/lib/firmware firmware_install \
1063    mv .config.firmware_save .config
1064
1065 # First we unpack the kernel tarball.
1066 # If this isn't the first make prep, we use links to the existing clean tarball
1067 # which speeds things up quite a bit.
1068
1069 # Update to latest upstream.
1070 %if 0%{?released_kernel}
1071 %define vanillaversion 2.6.%{base_sublevel}
1072 # non-released_kernel case
1073 %else
1074 %if 0%{?rcrev}
1075 %define vanillaversion 2.6.%{upstream_sublevel}-rc%{rcrev}
1076 %if 0%{?gitrev}
1077 %define vanillaversion 2.6.%{upstream_sublevel}-rc%{rcrev}-git%{gitrev}
1078 %endif
1079 %else
1080 # pre-{base_sublevel+1}-rc1 case
1081 %if 0%{?gitrev}
1082 %define vanillaversion 2.6.%{base_sublevel}-git%{gitrev}
1083 %endif
1084 %endif
1085 %endif
1086
1087 # We can share hardlinked source trees by putting a list of
1088 # directory names of the CVS checkouts that we want to share
1089 # with in .shared-srctree. (Full pathnames are required.)
1090 [ -f .shared-srctree ] && sharedirs=$(cat .shared-srctree)
1091
1092 if [ ! -d kernel-%{kversion}/vanilla-%{vanillaversion} ]; then
1093
1094   if [ -d kernel-%{kversion}/vanilla-%{kversion} ]; then
1095
1096     cd kernel-%{kversion}
1097
1098     # Any vanilla-* directories other than the base one are stale.
1099     for dir in vanilla-*; do
1100       [ "$dir" = vanilla-%{kversion} ] || rm -rf $dir &
1101     done
1102
1103   else
1104
1105     # Ok, first time we do a make prep.
1106     rm -f pax_global_header
1107     for sharedir in $sharedirs ; do
1108       if [[ ! -z $sharedir  &&  -d $sharedir/kernel-%{kversion}/vanilla-%{kversion} ]] ; then
1109         break
1110       fi
1111     done
1112     if [[ ! -z $sharedir  &&  -d $sharedir/kernel-%{kversion}/vanilla-%{kversion} ]] ; then
1113 %setup -q -n kernel-%{kversion} -c -T
1114       cp -rl $sharedir/kernel-%{kversion}/vanilla-%{kversion} .
1115     else
1116 %setup -q -n kernel-%{kversion} -c
1117       mv linux-%{kversion} vanilla-%{kversion}
1118     fi
1119
1120   fi
1121
1122 %if "%{kversion}" != "%{vanillaversion}"
1123
1124   for sharedir in $sharedirs ; do
1125     if [[ ! -z $sharedir  &&  -d $sharedir/kernel-%{kversion}/vanilla-%{vanillaversion} ]] ; then
1126       break
1127     fi
1128   done
1129   if [[ ! -z $sharedir  &&  -d $sharedir/kernel-%{kversion}/vanilla-%{vanillaversion} ]] ; then
1130
1131     cp -rl $sharedir/kernel-%{kversion}/vanilla-%{vanillaversion} .
1132
1133   else
1134
1135     cp -rl vanilla-%{kversion} vanilla-%{vanillaversion}
1136     cd vanilla-%{vanillaversion}
1137
1138 # Update vanilla to the latest upstream.
1139 # (non-released_kernel case only)
1140 %if 0%{?rcrev}
1141     ApplyPatch patch-2.6.%{upstream_sublevel}-rc%{rcrev}.bz2
1142 %if 0%{?gitrev}
1143     ApplyPatch patch-2.6.%{upstream_sublevel}-rc%{rcrev}-git%{gitrev}.bz2
1144 %endif
1145 %else
1146 # pre-{base_sublevel+1}-rc1 case
1147 %if 0%{?gitrev}
1148     ApplyPatch patch-2.6.%{base_sublevel}-git%{gitrev}.bz2
1149 %endif
1150 %endif
1151
1152     cd ..
1153
1154   fi
1155
1156 %endif
1157
1158 else
1159   # We already have a vanilla dir.
1160   cd kernel-%{kversion}
1161 fi
1162
1163 if [ -d linux-%{kversion}.%{_target_cpu} ]; then
1164   # Just in case we ctrl-c'd a prep already
1165   rm -rf deleteme.%{_target_cpu}
1166   # Move away the stale away, and delete in background.
1167   mv linux-%{kversion}.%{_target_cpu} deleteme.%{_target_cpu}
1168   rm -rf deleteme.%{_target_cpu} &
1169 fi
1170
1171 cp -rl vanilla-%{vanillaversion} linux-%{kversion}.%{_target_cpu}
1172
1173 cd linux-%{kversion}.%{_target_cpu}
1174
1175 # released_kernel with possible stable updates
1176 %if 0%{?stable_base}
1177 ApplyPatch %{stable_patch_00}
1178 %endif
1179 %if 0%{?stable_rc}
1180 ApplyPatch %{stable_patch_01}
1181 %endif
1182
1183 %if %{using_upstream_branch}
1184 ### BRANCH APPLY ###
1185 %endif
1186
1187 # Drop some necessary files from the source dir into the buildroot
1188 cp $RPM_SOURCE_DIR/config-* .
1189 cp %{SOURCE15} .
1190
1191 # Dynamically generate kernel .config files from config-* files
1192 make -f %{SOURCE20} VERSION=%{version} configs
1193
1194 #if a rhel kernel, apply the rhel config options
1195 %if 0%{?rhel}
1196   for i in %{all_arch_configs}
1197   do
1198     mv $i $i.tmp
1199     ./merge.pl config-rhel-generic $i.tmp > $i
1200     rm $i.tmp
1201   done
1202 %endif
1203
1204 #ApplyOptionalPatch git-linus.diff
1205
1206 # This patch adds a "make nonint_oldconfig" which is non-interactive and
1207 # also gives a list of missing options at the end. Useful for automated
1208 # builds (as used in the buildsystem).
1209 ApplyPatch linux-2.6-build-nonintconfig.patch
1210
1211 ApplyPatch linux-2.6-makefile-after_link.patch
1212
1213 #
1214 # misc small stuff to make things compile
1215 #
1216 ApplyOptionalPatch linux-2.6-compile-fixes.patch
1217
1218 %if !%{nopatches}
1219
1220 # revert patches from upstream that conflict or that we get via other means
1221 ApplyOptionalPatch linux-2.6-upstream-reverts.patch -R
1222
1223 ApplyOptionalPatch git-cpufreq.patch
1224 #ApplyOptionalPatch git-bluetooth.patch
1225
1226 ApplyPatch linux-2.6-hotfixes.patch
1227
1228 # Roland's utrace ptrace replacement.
1229 ApplyPatch linux-2.6-tracehook.patch
1230 ApplyPatch linux-2.6-utrace.patch
1231
1232 ApplyPatch sched-introduce-SCHED_RESET_ON_FORK-scheduling-policy-flag.patch
1233
1234 ApplyPatch disable-stackprotector-all.patch
1235
1236 # Architecture patches
1237 # x86(-64)
1238 ApplyPatch via-hwmon-temp-sensor.patch
1239 ApplyPatch linux-2.6-dell-laptop-rfkill-fix.patch
1240
1241 #
1242 # Intel IOMMU
1243 #
1244 # Quiesce USB host controllers before setting up the IOMMU
1245 ApplyPatch linux-2.6-die-closed-source-bios-muppets-die.patch
1246 # Some performance fixes, unify hardware/software passthrough support, and
1247 # most importantly: notice when the BIOS points us to a region that returns
1248 # all 0xFF, and claims that there's an IOMMU there.
1249 ApplyPatch linux-2.6-intel-iommu-updates.patch
1250 ApplyPatch linux-2.6-iommu-at-zero.patch
1251 ApplyPatch linux-2.6-iommu-dmar-all-1s.patch
1252 # Check for RMRRs which end before they start
1253 ApplyPatch linux-2.6-iommu-another-hp-screwup.patch
1254 # Apply the 'at zero' and 'all 0xFF' sanity checks for intr_remap too
1255 ApplyPatch linux-2.6-iommu-sanity-checks-for-intr-remap-too.patch
1256 # Fix up MMIO BAR for integrated graphics on HP laptops on resume (#536675)
1257 ApplyPatch linux-2.6-iommu-hp-cantiga-resume.patch
1258
1259 #
1260 # PowerPC
1261 #
1262 ### NOT (YET) UPSTREAM:
1263 # The storage alias patch is Fedora-local, and allows the old 'ps3_storage'
1264 # module name to work on upgrades. Otherwise, I believe mkinitrd will fail
1265 # to pull the module in,
1266 ApplyPatch linux-2.6-ps3-storage-alias.patch
1267 # Alleviate G5 thermal shutdown problems
1268 ApplyPatch linux-2.6-g5-therm-shutdown.patch
1269 # Provide modalias in sysfs for vio devices
1270 ApplyPatch linux-2.6-vio-modalias.patch
1271 # Work around PCIe bridge setup on iSight
1272 ApplyPatch linux-2.6-imac-transparent-bridge.patch
1273
1274 #
1275 # SPARC64
1276 #
1277 ApplyPatch linux-2.6.29-sparc-IOC_TYPECHECK.patch
1278
1279 #
1280 # Exec shield
1281 #
1282 ApplyPatch linux-2.6-execshield.patch
1283
1284 #
1285 # bugfixes to drivers and filesystems
1286 #
1287
1288 # ext4
1289
1290 # xfs
1291
1292 # btrfs
1293 ApplyPatch linux-2.6-btrfs-upstream.patch
1294
1295 # eCryptfs
1296
1297 # NFSv4
1298 ApplyPatch linux-2.6-nfsd4-proots.patch
1299 ApplyPatch linux-2.6-nfs4-ver4opt.patch
1300 ApplyPatch linux-2.6-nfs4-callback-hidden.patch
1301
1302 # USB
1303 ApplyPatch linux-2.6-driver-level-usb-autosuspend.diff
1304 ApplyPatch linux-2.6-qcserial-autosuspend.diff
1305 ApplyPatch linux-2.6-bluetooth-autosuspend.diff
1306 ApplyPatch linux-2.6-usb-uvc-autosuspend.diff
1307
1308 # ACPI
1309 ApplyPatch linux-2.6-defaults-acpi-video.patch
1310 ApplyPatch linux-2.6-acpi-video-dos.patch
1311 # cpuidle: Fix the menu governor to boost IO performance
1312 ApplyPatch linux-2.6.31-cpuidle-faster-io.patch
1313 # EC fixes from 2.6.32 (#492699, #525681)
1314 ApplyPatch acpi-ec-merge-irq-and-poll-modes.patch
1315 ApplyPatch acpi-ec-use-burst-mode-only-for-msi-notebooks.patch
1316 ApplyPatch acpi-ec-restart-command-even-if-no-interrupts-from-ec.patch
1317
1318 # Various low-impact patches to aid debugging.
1319 ApplyPatch linux-2.6-debug-sizeof-structs.patch
1320 ApplyPatch linux-2.6-debug-nmi-timeout.patch
1321 ApplyPatch linux-2.6-debug-taint-vm.patch
1322 ApplyPatch linux-2.6-debug-spinlock-taint.patch
1323 ApplyPatch linux-2.6-debug-vm-would-have-oomkilled.patch
1324 ApplyPatch linux-2.6-debug-always-inline-kzalloc.patch
1325
1326 #
1327 # PCI
1328 #
1329 # disable message signaled interrupts
1330 ApplyPatch linux-2.6-defaults-pci_no_msi.patch
1331 # update the pciehp driver
1332 #ApplyPatch linux-2.6-pciehp-update.patch
1333 # default to enabling passively listening for hotplug events
1334 #ApplyPatch linux-2.6-defaults-pciehp.patch
1335 # enable ASPM by default on hardware we expect to work
1336 ApplyPatch linux-2.6-defaults-aspm.patch
1337
1338 #
1339 # SCSI Bits.
1340 #
1341
1342 # ALSA
1343 # squelch hda_beep by default
1344 ApplyPatch linux-2.6-defaults-alsa-hda-beep-off.patch
1345 ApplyPatch linux-2.6-alsa-improve-hda-powerdown.patch
1346 ApplyPatch hda_intel-prealloc-4mb-dmabuffer.patch
1347 ApplyPatch alsa-tell-user-that-stream-to-be-rewound-is-suspended.patch
1348
1349 # Networking
1350
1351 # Misc fixes
1352 # The input layer spews crap no-one cares about.
1353 ApplyPatch linux-2.6-input-kill-stupid-messages.patch
1354
1355 # stop floppy.ko from autoloading during udev...
1356 ApplyPatch die-floppy-die.patch
1357
1358 # make copy_from_user to a stack slot provable right
1359 # hosed stuff, just drop this close to beta
1360 #ApplyPatch linux-2.6.31-copy_from_user-bounds.patch
1361
1362 # Get away from having to poll Toshibas
1363 #ApplyPatch linux-2.6-input-fix-toshiba-hotkeys.patch
1364
1365 ApplyPatch linux-2.6.30-no-pcspkr-modalias.patch
1366
1367 # Allow to use 480600 baud on 16C950 UARTs
1368 ApplyPatch linux-2.6-serial-460800.patch
1369
1370 # Silence some useless messages that still get printed with 'quiet'
1371 ApplyPatch linux-2.6-silence-noise.patch
1372 ApplyPatch linux-2.6.30-hush-rom-warning.patch
1373
1374 # Make fbcon not show the penguins with 'quiet'
1375 ApplyPatch linux-2.6-silence-fbcon-logo.patch
1376
1377 # Fix the SELinux mprotect checks on executable mappings
1378 #ApplyPatch linux-2.6-selinux-mprotect-checks.patch
1379 # Fix SELinux for sparc
1380 #ApplyPatch linux-2.6-sparc-selinux-mprotect-checks.patch
1381
1382 # Changes to upstream defaults.
1383
1384
1385 # ia64 ata quirk
1386 ApplyPatch linux-2.6-ata-quirk.patch
1387
1388 # Make it possible to identify non-hotplug SATA ports
1389 ApplyPatch linux-2.6-ahci-export-capabilities.patch
1390
1391 # prism54: remove pci modinfo device table
1392 ApplyPatch prism54-remove-pci-dev-table.patch
1393
1394 # ath9k: add fixes suggested by upstream maintainer
1395 ApplyPatch linux-2.6-ath9k-fixes.patch
1396
1397 # /dev/crash driver.
1398 ApplyPatch linux-2.6-crash-driver.patch
1399
1400 # Determine cacheline sizes in a generic manner.
1401 ApplyPatch linux-2.6-pci-cacheline-sizing.patch
1402
1403 # http://www.lirc.org/
1404 ApplyPatch lirc-2.6.31.patch
1405 # enable IR receiver on Hauppauge HD PVR (v4l-dvb merge pending)
1406 ApplyPatch hdpvr-ir-enable.patch
1407 # tell usbhid to ignore all imon devices (sent upstream 2009.07.31)
1408 ApplyPatch hid-ignore-all-recent-imon-devices.patch
1409
1410 # Add kernel KSM support
1411 ApplyPatch linux-2.6-ksm.patch
1412 ApplyPatch linux-2.6-ksm-updates.patch
1413 ApplyPatch linux-2.6-ksm-fix-munlock.patch
1414 ApplyPatch linux-2.6-ksm-updates-from-32.patch
1415 # Optimize KVM for KSM support
1416 ApplyPatch linux-2.6-ksm-kvm.patch
1417
1418 # Assorted Virt Fixes
1419 ApplyPatch linux-2.6-virtio_blk-revert-QUEUE_FLAG_VIRT-addition.patch
1420 ApplyPatch linux-2.6-xen-fix-is_disconnected_device-exists_disconnected_device.patch
1421 ApplyPatch linux-2.6-xen-improvement-to-wait_for_devices.patch
1422 ApplyPatch linux-2.6-xen-increase-device-connection-timeout.patch
1423 ApplyPatch linux-2.6-virtio_blk-add-support-for-cache-flush.patch
1424
1425 # Fix block I/O errors in KVM
1426 ApplyPatch linux-2.6-block-silently-error-unsupported-empty-barriers-too.patch
1427
1428 ApplyPatch linux-2.6-e1000-ich9.patch
1429
1430 # Nouveau DRM + drm fixes
1431 ApplyPatch kms-offb-handoff.patch
1432 ApplyPatch drm-next-b390f944.patch
1433 ApplyPatch drm-radeon-misc-fixes.patch
1434 ApplyPatch drm-radeon-rv410-test-fix.patch
1435 ApplyPatch drm-conservative-fallback-modes.patch
1436 ApplyPatch drm-edid-retry.patch
1437 ApplyPatch drm-edid-header-fixup.patch
1438 ApplyPatch drm-default-mode.patch
1439
1440 ApplyPatch drm-nouveau.patch
1441 # pm broken on my thinkpad t60p - airlied
1442 #ApplyPatch drm-radeon-pm.patch
1443 ApplyPatch drm-i915-resume-force-mode.patch
1444 ApplyOptionalPatch drm-intel-next.patch
1445 #this appears to be upstream - mjg59?
1446 #ApplyPatch drm-intel-pm.patch
1447 ApplyPatch drm-intel-no-tv-hotplug.patch
1448 ApplyPatch drm-i915-fix-tvmode-oops.patch
1449 ApplyPatch drm-i915-fix-sync-to-vbl-when-vga-is-off.patch
1450 #ApplyPatch drm-disable-r600-aspm.patch
1451
1452 # VGA arb + drm
1453 ApplyPatch linux-2.6-vga-arb.patch
1454 ApplyPatch drm-vga-arb.patch
1455 ApplyPatch drm-radeon-kms-arbiter-return-ignore.patch
1456
1457 # Lower debug level of fbcon handover messages (rh#538526)
1458 ApplyPatch fbcon-lower-debug.patch
1459
1460 # linux1394 git patches
1461 # apply if non-empty
1462 ApplyOptionalPatch linux-2.6-firewire-git-update.patch
1463 ApplyOptionalPatch linux-2.6-firewire-git-pending.patch
1464
1465 # silence the ACPI blacklist code
1466 ApplyPatch linux-2.6-silence-acpi-blacklist.patch
1467
1468 # V4L/DVB updates/fixes/experimental drivers
1469 # apply if non-empty
1470 ApplyOptionalPatch linux-2.6-v4l-dvb-fixes.patch
1471 ApplyOptionalPatch linux-2.6-v4l-dvb-update.patch
1472 ApplyOptionalPatch linux-2.6-v4l-dvb-experimental.patch
1473
1474 ApplyPatch v4l-dvb-fix-cx25840-firmware-loading.patch
1475
1476 # Patches headed upstream
1477 ApplyPatch linux-2.6-rtc-show-hctosys.patch
1478 ApplyPatch linux-2.6-rfkill-all.patch
1479 ApplyPatch linux-2.6-selinux-module-load-perms.patch
1480
1481 # patches headed for -stable
1482
1483 # make perf counter API available to userspace (#527264)
1484 ApplyPatch perf-make-perf-counter-h-available-to-userspace.patch
1485
1486 ApplyPatch improve-resource-counter-scalability.patch
1487
1488 # fix perf for sysprof
1489 ApplyPatch perf-events-fix-swevent-hrtimer-sampling.patch
1490 ApplyPatch perf-events-dont-generate-events-for-the-idle-task.patch
1491
1492 # Fix oops in padlock
1493 ApplyPatch crypto-via-padlock-fix-nano-aes.patch
1494
1495 # tg3 fixes (#527209)
1496 ApplyPatch tg3-01-delay-mdio-bus-init-until-fw-finishes.patch
1497 ApplyPatch tg3-02-fix-tso-test-against-wrong-flags-var.patch
1498 ApplyPatch tg3-03-fix-57780-asic-rev-pcie-link-receiver-errors.patch
1499 ApplyPatch tg3-04-prevent-tx-bd-corruption.patch
1500 ApplyPatch tg3-05-assign-flags-to-fixes-in-start_xmit_dma_bug.patch
1501 ApplyPatch tg3-06-fix-5906-transmit-hangs.patch
1502
1503 # sched fixes cherry-picked from 2.6.32
1504 ApplyPatch sched-deal-with-low-load-in-wake-affine.patch
1505 ApplyPatch sched-ensure-child-cant-gain-time-over-its-parent-after-fork.patch
1506 ApplyPatch sched-remove-shortcut-from-select-task-rq-fair.patch
1507 # latency defaults from 2.6.32
1508 ApplyPatch sched-retune-scheduler-latency-defaults.patch
1509 # fix wakeup latency
1510 ApplyPatch sched-update-the-clock-of-runqueue-select-task-rq-selected.patch
1511
1512 ApplyPatch highmem-Fix-debug_kmap_atomic-to-also-handle-KM_IRQ_.patch
1513 ApplyPatch highmem-Fix-race-in-debug_kmap_atomic-which-could-ca.patch
1514 ApplyPatch highmem-fix-arm-powerpc-kmap_types.patch
1515
1516 ApplyPatch dlm-fix-connection-close-handling.patch
1517
1518 # rhbz#544144
1519 ApplyPatch ipv4-fix-null-ptr-deref-in-ip_fragment.patch
1520
1521 # END OF PATCH APPLICATIONS
1522
1523 %endif
1524
1525 # Any further pre-build tree manipulations happen here.
1526
1527 chmod +x scripts/checkpatch.pl
1528
1529 # only deal with configs if we are going to build for the arch
1530 %ifnarch %nobuildarches
1531
1532 mkdir configs
1533
1534 # Remove configs not for the buildarch
1535 for cfg in kernel-%{version}-*.config; do
1536   if [ `echo %{all_arch_configs} | grep -c $cfg` -eq 0 ]; then
1537     rm -f $cfg
1538   fi
1539 done
1540
1541 %if !%{debugbuildsenabled}
1542 rm -f kernel-%{version}-*debug.config
1543 %endif
1544
1545 # now run oldconfig over all the config files
1546 for i in *.config
1547 do
1548   mv $i .config
1549   Arch=`head -1 .config | cut -b 3-`
1550   make ARCH=$Arch %{oldconfig_target}
1551   echo "# $Arch" > configs/$i
1552   cat .config >> configs/$i
1553 done
1554 # end of kernel config
1555 %endif
1556
1557 # get rid of unwanted files resulting from patch fuzz
1558 find . \( -name "*.orig" -o -name "*~" \) -exec rm -f {} \; >/dev/null
1559
1560 cd ..
1561
1562 ###
1563 ### build
1564 ###
1565 %build
1566
1567 %if %{with_sparse}
1568 %define sparse_mflags   C=1
1569 %endif
1570
1571 %if %{fancy_debuginfo}
1572 # This override tweaks the kernel makefiles so that we run debugedit on an
1573 # object before embedding it.  When we later run find-debuginfo.sh, it will
1574 # run debugedit again.  The edits it does change the build ID bits embedded
1575 # in the stripped object, but repeating debugedit is a no-op.  We do it
1576 # beforehand to get the proper final build ID bits into the embedded image.
1577 # This affects the vDSO images in vmlinux, and the vmlinux image in bzImage.
1578 export AFTER_LINK=\
1579 'sh -xc "/usr/lib/rpm/debugedit -b $$RPM_BUILD_DIR -d /usr/src/debug -i $@"'
1580 %endif
1581
1582 cp_vmlinux()
1583 {
1584   eu-strip --remove-comment -o "$2" "$1"
1585 }
1586
1587 BuildKernel() {
1588     MakeTarget=$1
1589     KernelImage=$2
1590     Flavour=$3
1591     InstallName=${4:-vmlinuz}
1592
1593     # Pick the right config file for the kernel we're building
1594     Config=kernel-%{version}-%{_target_cpu}${Flavour:+-${Flavour}}.config
1595     DevelDir=/usr/src/kernels/%{KVERREL}${Flavour:+.${Flavour}}
1596
1597     # When the bootable image is just the ELF kernel, strip it.
1598     # We already copy the unstripped file into the debuginfo package.
1599     if [ "$KernelImage" = vmlinux ]; then
1600       CopyKernel=cp_vmlinux
1601     else
1602       CopyKernel=cp
1603     fi
1604
1605     KernelVer=%{version}-%{release}.%{_target_cpu}${Flavour:+.${Flavour}}
1606     echo BUILDING A KERNEL FOR ${Flavour} %{_target_cpu}...
1607
1608     # make sure EXTRAVERSION says what we want it to say
1609     perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = %{?stablerev}-%{release}.%{_target_cpu}${Flavour:+.${Flavour}}/" Makefile
1610
1611     # if pre-rc1 devel kernel, must fix up SUBLEVEL for our versioning scheme
1612     %if !0%{?rcrev}
1613     %if 0%{?gitrev}
1614     perl -p -i -e 's/^SUBLEVEL.*/SUBLEVEL = %{upstream_sublevel}/' Makefile
1615     %endif
1616     %endif
1617
1618     # and now to start the build process
1619
1620     make -s mrproper
1621     cp configs/$Config .config
1622
1623     Arch=`head -1 .config | cut -b 3-`
1624     echo USING ARCH=$Arch
1625
1626     make -s ARCH=$Arch %{oldconfig_target} > /dev/null
1627     make -s ARCH=$Arch V=1 %{?_smp_mflags} $MakeTarget %{?sparse_mflags}
1628     make -s ARCH=$Arch V=1 %{?_smp_mflags} modules %{?sparse_mflags} || exit 1
1629
1630 %if %{with_perftool}
1631     pushd tools/perf
1632 # make sure the scripts are executable... won't be in tarball until 2.6.31 :/
1633     chmod +x util/generate-cmdlist.sh util/PERF-VERSION-GEN
1634     make -s V=1 %{?_smp_mflags} perf
1635     mkdir -p $RPM_BUILD_ROOT/usr/libexec/
1636     install -m 755 perf $RPM_BUILD_ROOT/usr/libexec/perf.$KernelVer
1637     popd
1638 %endif
1639
1640     # Start installing the results
1641 %if %{with_debuginfo}
1642     mkdir -p $RPM_BUILD_ROOT%{debuginfodir}/boot
1643     mkdir -p $RPM_BUILD_ROOT%{debuginfodir}/%{image_install_path}
1644 %endif
1645     mkdir -p $RPM_BUILD_ROOT/%{image_install_path}
1646     install -m 644 .config $RPM_BUILD_ROOT/boot/config-$KernelVer
1647     install -m 644 System.map $RPM_BUILD_ROOT/boot/System.map-$KernelVer
1648 %if %{with_dracut}
1649     # We estimate the size of the initramfs because rpm needs to take this size
1650     # into consideration when performing disk space calculations. (See bz #530778)
1651     dd if=/dev/zero of=$RPM_BUILD_ROOT/boot/initramfs-$KernelVer.img bs=1M count=20
1652 %else
1653     dd if=/dev/zero of=$RPM_BUILD_ROOT/boot/initrd-$KernelVer.img bs=1M count=5
1654 %endif
1655     if [ -f arch/$Arch/boot/zImage.stub ]; then
1656       cp arch/$Arch/boot/zImage.stub $RPM_BUILD_ROOT/%{image_install_path}/zImage.stub-$KernelVer || :
1657     fi
1658     $CopyKernel $KernelImage \
1659                 $RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer
1660     chmod 755 $RPM_BUILD_ROOT/%{image_install_path}/$InstallName-$KernelVer
1661
1662     mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer
1663     # Override $(mod-fw) because we don't want it to install any firmware
1664     # We'll do that ourselves with 'make firmware_install'
1665     make -s ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT modules_install KERNELRELEASE=$KernelVer mod-fw=
1666 %ifarch %{vdso_arches}
1667     make -s ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT vdso_install KERNELRELEASE=$KernelVer
1668     if grep '^CONFIG_XEN=y$' .config >/dev/null; then
1669       echo > ldconfig-kernel.conf "\
1670 # This directive teaches ldconfig to search in nosegneg subdirectories
1671 # and cache the DSOs there with extra bit 0 set in their hwcap match
1672 # fields.  In Xen guest kernels, the vDSO tells the dynamic linker to
1673 # search in nosegneg subdirectories and to match this extra hwcap bit
1674 # in the ld.so.cache file.
1675 hwcap 0 nosegneg"
1676     fi
1677     if [ ! -s ldconfig-kernel.conf ]; then
1678       echo > ldconfig-kernel.conf "\
1679 # Placeholder file, no vDSO hwcap entries used in this kernel."
1680     fi
1681     %{__install} -D -m 444 ldconfig-kernel.conf \
1682         $RPM_BUILD_ROOT/etc/ld.so.conf.d/kernel-$KernelVer.conf
1683 %endif
1684
1685     # And save the headers/makefiles etc for building modules against
1686     #
1687     # This all looks scary, but the end result is supposed to be:
1688     # * all arch relevant include/ files
1689     # * all Makefile/Kconfig files
1690     # * all script/ files
1691
1692     rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1693     rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/source
1694     mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1695     (cd $RPM_BUILD_ROOT/lib/modules/$KernelVer ; ln -s build source)
1696     # dirs for additional modules per module-init-tools, kbuild/modules.txt
1697     mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/extra
1698     mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/updates
1699     mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/weak-updates
1700     # first copy everything
1701     cp --parents `find  -type f -name "Makefile*" -o -name "Kconfig*"` $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1702     cp Module.symvers $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1703     cp System.map $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1704     if [ -s Module.markers ]; then
1705       cp Module.markers $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1706     fi
1707     # then drop all but the needed Makefiles/Kconfig files
1708     rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/Documentation
1709     rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts
1710     rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
1711     cp .config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1712     cp -a scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1713     if [ -d arch/$Arch/scripts ]; then
1714       cp -a arch/$Arch/scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch} || :
1715     fi
1716     if [ -f arch/$Arch/*lds ]; then
1717       cp -a arch/$Arch/*lds $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch}/ || :
1718     fi
1719     rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/*.o
1720     rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/*/*.o
1721 %ifarch ppc
1722     cp -a --parents arch/powerpc/lib/crtsavres.[So] $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
1723 %endif
1724     if [ -d arch/%{asmarch}/include ]; then
1725       cp -a --parents arch/%{asmarch}/include $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/
1726     fi
1727     mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
1728     cd include
1729     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
1730     asmdir=$(readlink asm)
1731     cp -a $asmdir $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/
1732     pushd $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
1733     ln -s $asmdir asm
1734     popd
1735     # Make sure the Makefile and version.h have a matching timestamp so that
1736     # external modules can be built
1737     touch -r $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/Makefile $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/linux/version.h
1738     touch -r $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/.config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/linux/autoconf.h
1739     # Copy .config to include/config/auto.conf so "make prepare" is unnecessary.
1740     cp $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/.config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/config/auto.conf
1741     cd ..
1742
1743     #
1744     # save the vmlinux file for kernel debugging into the kernel-debuginfo rpm
1745     #
1746 %if %{with_debuginfo}
1747     mkdir -p $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer
1748     cp vmlinux $RPM_BUILD_ROOT%{debuginfodir}/lib/modules/$KernelVer
1749 %endif
1750
1751     find $RPM_BUILD_ROOT/lib/modules/$KernelVer -name "*.ko" -type f >modnames
1752
1753     # mark modules executable so that strip-to-file can strip them
1754     xargs --no-run-if-empty chmod u+x < modnames
1755
1756     # Generate a list of modules for block and networking.
1757
1758     fgrep /drivers/ modnames | xargs --no-run-if-empty nm -upA |
1759     sed -n 's,^.*/\([^/]*\.ko\):  *U \(.*\)$,\1 \2,p' > drivers.undef
1760
1761     collect_modules_list()
1762     {
1763       sed -r -n -e "s/^([^ ]+) \\.?($2)\$/\\1/p" drivers.undef |
1764       LC_ALL=C sort -u > $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$1
1765     }
1766
1767     collect_modules_list networking \
1768                          'register_netdev|ieee80211_register_hw|usbnet_probe'
1769     collect_modules_list block \
1770                          'ata_scsi_ioctl|scsi_add_host|blk_init_queue|register_mtd_blktrans|scsi_esp_register|scsi_register_device_handler'
1771     collect_modules_list drm \
1772                          'drm_open|drm_init'
1773     collect_modules_list modesetting \
1774                          'drm_crtc_init'
1775
1776     # detect missing or incorrect license tags
1777     rm -f modinfo
1778     while read i
1779     do
1780       echo -n "${i#$RPM_BUILD_ROOT/lib/modules/$KernelVer/} " >> modinfo
1781       /sbin/modinfo -l $i >> modinfo
1782     done < modnames
1783
1784     egrep -v \
1785           'GPL( v2)?$|Dual BSD/GPL$|Dual MPL/GPL$|GPL and additional rights$' \
1786           modinfo && exit 1
1787
1788     rm -f modinfo modnames
1789
1790     # remove files that will be auto generated by depmod at rpm -i time
1791     for i in alias alias.bin ccwmap dep dep.bin ieee1394map inputmap isapnpmap ofmap pcimap seriomap symbols symbols.bin usbmap
1792     do
1793       rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$i
1794     done
1795
1796     # Move the devel headers out of the root file system
1797     mkdir -p $RPM_BUILD_ROOT/usr/src/kernels
1798     mv $RPM_BUILD_ROOT/lib/modules/$KernelVer/build $RPM_BUILD_ROOT/$DevelDir
1799     ln -sf ../../..$DevelDir $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
1800 }
1801
1802 ###
1803 # DO it...
1804 ###
1805
1806 # prepare directories
1807 rm -rf $RPM_BUILD_ROOT
1808 mkdir -p $RPM_BUILD_ROOT/boot
1809
1810 cd linux-%{kversion}.%{_target_cpu}
1811
1812 %if %{with_debug}
1813 BuildKernel %make_target %kernel_image debug
1814 %endif
1815
1816 %if %{with_pae_debug}
1817 BuildKernel %make_target %kernel_image PAEdebug
1818 %endif
1819
1820 %if %{with_pae}
1821 BuildKernel %make_target %kernel_image PAE
1822 %endif
1823
1824 %if %{with_up}
1825 BuildKernel %make_target %kernel_image
1826 %endif
1827
1828 %if %{with_smp}
1829 BuildKernel %make_target %kernel_image smp
1830 %endif
1831
1832 %if %{with_kdump}
1833 BuildKernel vmlinux vmlinux kdump vmlinux
1834 %endif
1835
1836 %if %{with_doc}
1837 # Make the HTML and man pages.
1838 # XXX nix %{?_smp_mflags} here, buggy Documentation/*/Makefile!
1839 make htmldocs mandocs || %{doc_build_fail}
1840
1841 # sometimes non-world-readable files sneak into the kernel source tree
1842 chmod -R a=rX Documentation
1843 find Documentation -type d | xargs chmod u+w
1844 %endif
1845
1846 %if %{with_perf}
1847 pushd tools/perf
1848 make %{?_smp_mflags} man || %{doc_build_fail}
1849 popd
1850 %endif
1851
1852 ###
1853 ### Special hacks for debuginfo subpackages.
1854 ###
1855
1856 # This macro is used by %%install, so we must redefine it before that.
1857 %define debug_package %{nil}
1858
1859 %if %{fancy_debuginfo}
1860 %define __debug_install_post \
1861   /usr/lib/rpm/find-debuginfo.sh %{debuginfo_args} %{_builddir}/%{?buildsubdir}\
1862 %{nil}
1863 %endif
1864
1865 %if %{with_debuginfo}
1866 %ifnarch noarch
1867 %global __debug_package 1
1868 %files -f debugfiles.list debuginfo-common-%{_target_cpu}
1869 %defattr(-,root,root)
1870 %endif
1871 %endif
1872
1873 ###
1874 ### install
1875 ###
1876
1877 %install
1878
1879 cd linux-%{kversion}.%{_target_cpu}
1880
1881 %if %{with_doc}
1882 docdir=$RPM_BUILD_ROOT%{_datadir}/doc/kernel-doc-%{rpmversion}
1883 man9dir=$RPM_BUILD_ROOT%{_datadir}/man/man9
1884
1885 # copy the source over
1886 mkdir -p $docdir
1887 tar -f - --exclude=man --exclude='.*' -c Documentation | tar xf - -C $docdir
1888
1889 # Install man pages for the kernel API.
1890 mkdir -p $man9dir
1891 find Documentation/DocBook/man -name '*.9.gz' -print0 |
1892 xargs -0 --no-run-if-empty %{__install} -m 444 -t $man9dir $m
1893 ls $man9dir | grep -q '' || > $man9dir/BROKEN
1894 %endif # with_doc
1895
1896 # perf docs
1897 %if %{with_perf}
1898 mandir=$RPM_BUILD_ROOT%{_datadir}/man
1899 man1dir=$mandir/man1
1900 pushd tools/perf/Documentation
1901 make install-man mandir=$mandir
1902 popd
1903
1904 pushd $man1dir
1905 for d in *.1; do
1906  gzip $d;
1907 done
1908 popd
1909 %endif # with_perf
1910
1911 # perf shell wrapper
1912 %if %{with_perf}
1913 mkdir -p $RPM_BUILD_ROOT/usr/sbin/
1914 cp $RPM_SOURCE_DIR/perf $RPM_BUILD_ROOT/usr/sbin/perf
1915 chmod 0755 $RPM_BUILD_ROOT/usr/sbin/perf
1916 mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/perf
1917 %endif
1918
1919 %if %{with_headers}
1920 # Install kernel headers
1921 make ARCH=%{hdrarch} INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr headers_install
1922
1923 # Do headers_check but don't die if it fails.
1924 make ARCH=%{hdrarch} INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr headers_check \
1925      > hdrwarnings.txt || :
1926 if grep -q exist hdrwarnings.txt; then
1927    sed s:^$RPM_BUILD_ROOT/usr/include/:: hdrwarnings.txt
1928    # Temporarily cause a build failure if header inconsistencies.
1929    # exit 1
1930 fi
1931
1932 find $RPM_BUILD_ROOT/usr/include \
1933      \( -name .install -o -name .check -o \
1934         -name ..install.cmd -o -name ..check.cmd \) | xargs rm -f
1935
1936 # glibc provides scsi headers for itself, for now
1937 rm -rf $RPM_BUILD_ROOT/usr/include/scsi
1938 rm -f $RPM_BUILD_ROOT/usr/include/asm*/atomic.h
1939 rm -f $RPM_BUILD_ROOT/usr/include/asm*/io.h
1940 rm -f $RPM_BUILD_ROOT/usr/include/asm*/irq.h
1941 %endif
1942
1943 %if %{with_firmware}
1944 %{build_firmware}
1945 %endif
1946
1947 %if %{with_bootwrapper}
1948 make DESTDIR=$RPM_BUILD_ROOT bootwrapper_install WRAPPER_OBJDIR=%{_libdir}/kernel-wrapper WRAPPER_DTSDIR=%{_libdir}/kernel-wrapper/dts
1949 %endif
1950
1951
1952 ###
1953 ### clean
1954 ###
1955
1956 %clean
1957 rm -rf $RPM_BUILD_ROOT
1958
1959 ###
1960 ### scripts
1961 ###
1962
1963 #
1964 # This macro defines a %%post script for a kernel*-devel package.
1965 #       %%kernel_devel_post [<subpackage>]
1966 #
1967 %define kernel_devel_post() \
1968 %{expand:%%post %{?1:%{1}-}devel}\
1969 if [ -f /etc/sysconfig/kernel ]\
1970 then\
1971     . /etc/sysconfig/kernel || exit $?\
1972 fi\
1973 if [ "$HARDLINK" != "no" -a -x /usr/sbin/hardlink ]\
1974 then\
1975     (cd /usr/src/kernels/%{KVERREL}%{?1:.%{1}} &&\
1976      /usr/bin/find . -type f | while read f; do\
1977        hardlink -c /usr/src/kernels/*.fc*.*/$f $f\
1978      done)\
1979 fi\
1980 %{nil}
1981
1982 # This macro defines a %%posttrans script for a kernel package.
1983 #       %%kernel_variant_posttrans [<subpackage>]
1984 # More text can follow to go at the end of this variant's %%post.
1985 #
1986 %define kernel_variant_posttrans() \
1987 %{expand:%%posttrans %{?1}}\
1988 /sbin/new-kernel-pkg --package kernel%{?1:-%{1}} --rpmposttrans %{KVERREL}%{?1:.%{1}} || exit $?\
1989 %{nil}
1990
1991 #
1992 # This macro defines a %%post script for a kernel package and its devel package.
1993 #       %%kernel_variant_post [-v <subpackage>] [-r <replace>]
1994 # More text can follow to go at the end of this variant's %%post.
1995 #
1996 %define kernel_variant_post(v:r:) \
1997 %{expand:%%kernel_devel_post %{?-v*}}\
1998 %{expand:%%kernel_variant_posttrans %{?-v*}}\
1999 %{expand:%%post %{?-v*}}\
2000 %{-r:\
2001 if [ `uname -i` == "x86_64" -o `uname -i` == "i386" ] &&\
2002    [ -f /etc/sysconfig/kernel ]; then\
2003   /bin/sed -r -i -e 's/^DEFAULTKERNEL=%{-r*}$/DEFAULTKERNEL=kernel%{?-v:-%{-v*}}/' /etc/sysconfig/kernel || exit $?\
2004 fi}\
2005 %{expand:\
2006 %if %{with_dracut}\
2007 /sbin/new-kernel-pkg --package kernel%{?-v:-%{-v*}} --mkinitrd --dracut --depmod --install %{KVERREL}%{?-v:.%{-v*}} || exit $?\
2008 %else\
2009 /sbin/new-kernel-pkg --package kernel%{?-v:-%{-v*}} --mkinitrd --depmod --install %{KVERREL}%{?-v:.%{-v*}} || exit $?\
2010 %endif}\
2011 #if [ -x /sbin/weak-modules ]\
2012 #then\
2013 #    /sbin/weak-modules --add-kernel %{KVERREL}%{?-v*} || exit $?\
2014 #fi\
2015 %{nil}
2016
2017 #
2018 # This macro defines a %%preun script for a kernel package.
2019 #       %%kernel_variant_preun <subpackage>
2020 #
2021 %define kernel_variant_preun() \
2022 %{expand:%%preun %{?1}}\
2023 /sbin/new-kernel-pkg --rminitrd --rmmoddep --remove %{KVERREL}%{?1:.%{1}} || exit $?\
2024 #if [ -x /sbin/weak-modules ]\
2025 #then\
2026 #    /sbin/weak-modules --remove-kernel %{KVERREL}%{?1} || exit $?\
2027 #fi\
2028 %{nil}
2029
2030 %kernel_variant_preun
2031 %ifarch x86_64
2032 %kernel_variant_post -r (kernel-smp|kernel-xen)
2033 %else
2034 %kernel_variant_post -r kernel-smp
2035 %endif
2036
2037 %kernel_variant_preun smp
2038 %kernel_variant_post -v smp
2039
2040 %kernel_variant_preun PAE
2041 %kernel_variant_post -v PAE -r (kernel|kernel-smp|kernel-xen)
2042
2043 %kernel_variant_preun debug
2044 %kernel_variant_post -v debug
2045
2046 %kernel_variant_post -v PAEdebug -r (kernel|kernel-smp|kernel-xen)
2047 %kernel_variant_preun PAEdebug
2048
2049 if [ -x /sbin/ldconfig ]
2050 then
2051     /sbin/ldconfig -X || exit $?
2052 fi
2053
2054 ###
2055 ### file lists
2056 ###
2057
2058 %if %{with_headers}
2059 %files headers
2060 %defattr(-,root,root)
2061 /usr/include/*
2062 %endif
2063
2064 %if %{with_firmware}
2065 %files firmware
2066 %defattr(-,root,root)
2067 /lib/firmware/*
2068 %doc linux-%{kversion}.%{_target_cpu}/firmware/WHENCE
2069 %endif
2070
2071 %if %{with_bootwrapper}
2072 %files bootwrapper
2073 %defattr(-,root,root)
2074 /usr/sbin/*
2075 %{_libdir}/kernel-wrapper
2076 %endif
2077
2078 # only some architecture builds need kernel-doc
2079 %if %{with_doc}
2080 %files doc
2081 %defattr(-,root,root)
2082 %{_datadir}/doc/kernel-doc-%{rpmversion}/Documentation/*
2083 %dir %{_datadir}/doc/kernel-doc-%{rpmversion}/Documentation
2084 %dir %{_datadir}/doc/kernel-doc-%{rpmversion}
2085 %{_datadir}/man/man9/*
2086 %endif
2087
2088 %if %{with_perf}
2089 %files -n perf
2090 %defattr(-,root,root)
2091 %{_datadir}/doc/perf
2092 /usr/sbin/perf
2093 %{_datadir}/man/man1/*
2094 %endif
2095
2096 # This is %{image_install_path} on an arch where that includes ELF files,
2097 # or empty otherwise.
2098 %define elf_image_install_path %{?kernel_image_elf:%{image_install_path}}
2099
2100 #
2101 # This macro defines the %%files sections for a kernel package
2102 # and its devel and debuginfo packages.
2103 #       %%kernel_variant_files [-k vmlinux] <condition> <subpackage>
2104 #
2105 %define kernel_variant_files(k:) \
2106 %if %{1}\
2107 %{expand:%%files %{?2}}\
2108 %defattr(-,root,root)\
2109 /%{image_install_path}/%{?-k:%{-k*}}%{!?-k:vmlinuz}-%{KVERREL}%{?2:.%{2}}\
2110 /boot/System.map-%{KVERREL}%{?2:.%{2}}\
2111 %if %{with_perftool}\
2112 /usr/libexec/perf.%{KVERREL}%{?2:.%{2}}\
2113 %endif\
2114 #/boot/symvers-%{KVERREL}%{?2:.%{2}}.gz\
2115 /boot/config-%{KVERREL}%{?2:.%{2}}\
2116 %dir /lib/modules/%{KVERREL}%{?2:.%{2}}\
2117 /lib/modules/%{KVERREL}%{?2:.%{2}}/kernel\
2118 /lib/modules/%{KVERREL}%{?2:.%{2}}/build\
2119 /lib/modules/%{KVERREL}%{?2:.%{2}}/source\
2120 /lib/modules/%{KVERREL}%{?2:.%{2}}/extra\
2121 /lib/modules/%{KVERREL}%{?2:.%{2}}/updates\
2122 /lib/modules/%{KVERREL}%{?2:.%{2}}/weak-updates\
2123 %ifarch %{vdso_arches}\
2124 /lib/modules/%{KVERREL}%{?2:.%{2}}/vdso\
2125 /etc/ld.so.conf.d/kernel-%{KVERREL}%{?2:.%{2}}.conf\
2126 %endif\
2127 /lib/modules/%{KVERREL}%{?2:.%{2}}/modules.*\
2128 %if %{with_dracut}\
2129 /boot/initramfs-%{KVERREL}%{?2:.%{2}}.img\
2130 %else\
2131 /boot/initrd-%{KVERREL}%{?2:.%{2}}.img\
2132 %endif\
2133 %{expand:%%files %{?2:%{2}-}devel}\
2134 %defattr(-,root,root)\
2135 %dir /usr/src/kernels\
2136 %verify(not mtime) /usr/src/kernels/%{KVERREL}%{?2:.%{2}}\
2137 /usr/src/kernels/%{KVERREL}%{?2:.%{2}}\
2138 %if %{with_debuginfo}\
2139 %ifnarch noarch\
2140 %if %{fancy_debuginfo}\
2141 %{expand:%%files -f debuginfo%{?2}.list %{?2:%{2}-}debuginfo}\
2142 %else\
2143 %{expand:%%files %{?2:%{2}-}debuginfo}\
2144 %endif\
2145 %defattr(-,root,root)\
2146 %if !%{fancy_debuginfo}\
2147 %if "%{elf_image_install_path}" != ""\
2148 %{debuginfodir}/%{elf_image_install_path}/*-%{KVERREL}%{?2:.%{2}}.debug\
2149 %endif\
2150 %{debuginfodir}/lib/modules/%{KVERREL}%{?2:.%{2}}\
2151 %{debuginfodir}/usr/src/kernels/%{KVERREL}%{?2:.%{2}}\
2152 %endif\
2153 %endif\
2154 %endif\
2155 %endif\
2156 %{nil}
2157
2158
2159 %kernel_variant_files %{with_up}
2160 %kernel_variant_files %{with_smp} smp
2161 %kernel_variant_files %{with_debug} debug
2162 %kernel_variant_files %{with_pae} PAE
2163 %kernel_variant_files %{with_pae_debug} PAEdebug
2164 %kernel_variant_files -k vmlinux %{with_kdump} kdump
2165
2166 # plz don't put in a version string unless you're going to tag
2167 # and build.
2168
2169 %changelog
2170 * Thu Dec 03 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.6-162
2171 - ipv4-fix-null-ptr-deref-in-ip_fragment.patch: null ptr deref
2172   bug fix.
2173
2174 * Thu Dec 03 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-161
2175 - rv410 LVDS on resume test fix from AMD (#541562)
2176
2177 * Wed Dec 02 2009 John W. Linville <linville@redhat.com> 2.6.31.6-160
2178 - ath9k: add fixes suggested by upstream maintainer
2179
2180 * Wed Dec 02 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-159
2181 - drm-radeon-misc-fixes.patch: r400 LVDS, r600 digital dpms, cursor fix, tv property
2182
2183 * Wed Dec 02 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31.6-158
2184 - nouveau: more complete lvds script selection on >=G80 (rh#522690, rh#529859)
2185 - nouveau: more complete tmds script selection on >=G80 (rh#537853)
2186 - nouveau: TV detection fixes
2187
2188 * Tue Dec 01 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-157
2189 - div/0 fix harder (#540593) - also ignore unposted GPUs with no BIOS
2190
2191 * Tue Dec 01 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-156
2192 - drm-next: fixes LVDS resume on r4xx, div/0 on no bios (#540593)
2193   lockup on tv-out only startup.
2194
2195 * Mon Nov 30 2009 Kyle McMartin <kyle@redhat.com>
2196 - drm-i915-fix-sync-to-vbl-when-vga-is-off.patch: add (rhbz#541670)
2197
2198 * Sun Nov 29 2009 Kyle McMartin <kyle@redhat.com>
2199 - Drop linux-2.6-sysrq-c.patch, made consistent upstream.
2200
2201 * Fri Nov 27 2009 Jarod Wilson <jarod@redhat.com> 2.6.31.6-153
2202 - add device name to lirc_zilog, fixes issues w/multiple target devices
2203 - add lirc_imon pure input mode support for onboard decode devices
2204
2205 * Wed Nov 26 2009 David Woodhouse <David.Woodhouse@intel.com> 2.6.31.6-152
2206 - Fix intel_tv_mode_set oops (#540218)
2207
2208 * Wed Nov 26 2009 David Woodhouse <David.Woodhouse@intel.com> 2.6.31.6-151
2209 - VT-d: Work around yet more HP BIOS brokenness (#536675)
2210
2211 * Wed Nov 25 2009 Kyle McMartin <kyle@redhat.com>
2212 - dlm: fix connection close handling.
2213   Fix by lmb, requested by fabio.
2214
2215 * Wed Nov 25 2009 David Woodhouse <David.Woodhouse@intel.com> 2.6.31.6-149
2216 - VT-d: Work around more HP BIOS brokenness.
2217
2218 * Tue Nov 24 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-148
2219 - radeon: flush HDP cache on rendering wait - fixes r600 rendercheck failure
2220
2221 * Mon Nov 23 2009 Adam Jackson <ajax@redhat.com>
2222 - drm-default-mode.patch: Default to 1024x768 to match UMS. (#538761)
2223
2224 * Mon Nov 23 2009 Roland McGrath <roland@redhat.com> 2.6.31.6-146
2225 - Fix oops in x86-32 kernel's iret handling for bogus user %cs. (#540580)
2226
2227 * Fri Nov 21 2009 Kyle McMartin <kyle@redhat.com>
2228 - Fix up ssp' highmem fixes with fixes for arm & ppc.
2229
2230 * Thu Nov 20 2009 Chris Wright <chrisw@redhat.com> 2.6.31.6-144
2231 - VT-d: another fallback for another BIOS bug (#524808)
2232
2233 * Thu Nov 19 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31.6-142
2234 - Oops, add new patch to spec file
2235
2236 * Thu Nov 19 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31.6-141
2237 - Lower debug level of fbcon handover messages (rh#538526)
2238
2239 * Thu Nov 19 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-140
2240 - drm-next-44c83571.patch: oops pulled the wrong tree into my f12 tree
2241
2242 * Thu Nov 19 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31.6-139
2243 - nouveau: s/r fixes on chipsets using bios opcode 0x87
2244 - nouveau: fixes to bios opcode 0x8e
2245 - nouveau: hopefully fix nv1x context switching issues (rh#526577)
2246 - nouveau: support for NVA5 (GeForce G220)
2247 - nouveau: fixes for NVAA support
2248
2249 * Thu Nov 19 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-138
2250 - drm-next-d56672a9.patch: fix some rn50 cloning issues
2251
2252 * Wed Nov 18 2009 David Woodhouse <David.Woodhouse@intel.com> 2.6.31.6-137
2253 - Actually force the IOMMU not to be used when we detect the HP/Acer bug.
2254
2255 * Tue Nov 17 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.6-136
2256 - ACPI embedded controller fixes from Fedora 11.
2257
2258 * Tue Nov 17 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.6-135
2259 - Scheduler fixes and latency tuning patches from F-11.
2260
2261 * Tue Nov 17 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-134
2262 - glad to see edid retry patch was compiled.
2263
2264 * Tue Nov 17 2009 Dave Airlie <airlied@redhat.com> 2.6.31.6-133
2265 - drm-next-984d1f3c.patch: rebase with upstream fixes - drop all merged
2266
2267 * Thu Nov 12 2009 Adam Jackson <ajax@redhat.com>
2268 - Actually apply the EDID retry patch
2269 - drm-edid-header-fixup.patch: Fix up some broken EDID headers (#534120)
2270
2271 * Thu Nov 12 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.6-130
2272 - Use ApplyOptionalPatch for v4l and firewire updates.
2273 - Drop unused v4l ABI fix.
2274
2275 * Thu Nov 12 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.6-129
2276 - Linux 2.6.31.6
2277 - Drop merged patches:
2278   linux-2.6-iwlwifi-reduce-noise-when-skb-allocation-fails.patch
2279   linux-2.6-libertas-crash.patch
2280   pci-increase-alignment-to-make-more-space.patch
2281   acpi-revert-attach-device-to-handle-early.patch
2282   ahci-revert-restore-sb600-sata-controller-64-bit-dma.patch
2283   acpi-pci-fix-null-pointer-dereference-in-acpi-get-pci-dev.patch
2284   af_unix-fix-deadlock-connecting-to-shutdown-socket.patch
2285   keys-get_instantiation_keyring-should-inc-the-keyring-refcount.patch
2286   netlink-fix-typo-in-initialization.patch
2287   fs-pipe-null-ptr-deref-fix.patch
2288
2289 * Wed Nov 11 2009 Justin M. Forbes <jforbes@redhat.com> 2.6.31.5-128
2290 - Fix KSM for i686 users. (#532215)
2291 - Add KSM fixes from 2.6.32
2292
2293 * Sun Nov 08 2009 David Woodhouse <David.Woodhouse@intel.com> 2.6.31.5-127
2294 - Apply fix for fallback when HP/Acer BIOS bug detected (#524808)
2295 - Re-enable DMAR.
2296 - Fix libertas crash due to skb pointer bug
2297
2298 * Sat Nov 07 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.5-126
2299 - Re-enable linux-2.6-die-closed-source-bios-muppets-die.patch, DMAR
2300   still defaulting to off.
2301
2302 * Sat Nov 07 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.5-125
2303 - Disable linux-2.6-die-closed-source-bios-muppets-die.patch and
2304   default DMAR to off (can be re-enabled with intel_iommu=on on the
2305   command line due to last minute issues and reversion upstream.)
2306
2307 * Thu Nov 05 2009 Jarod Wilson <jarod@redhat.com>
2308 - Add --with dbgonly rpmbuild option to build only debug kernels
2309
2310 * Thu Nov 05 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-122
2311 - comment out kmap atomic for now, it breaks ppc build
2312
2313 * Thu Nov 05 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-121
2314 - drm-radeon-fix-agp-resume.patch (#531825)
2315
2316 * Thu Nov 05 2009 Kyle McMartin <kyle@redhat.com>
2317 - Add two patches from Soren from mingo/linux-2.6-x86.git to fix
2318   debug_kmap_atomic prints.
2319
2320 * Thu Nov 05 2009 Ben Skeggs <bskeggs@redhat.com>
2321 - nouveau: fix rh#532924
2322
2323 * Wed Nov 04 2009 Kyle McMartin <kyle@redhat.com>
2324 - Make JBD2_DEBUG a toggleable debug setting. Leave it the way it was.
2325   (Double checked resulting configs, don't fret.)
2326
2327 * Wed Nov 04 2009 Adam Jackson <ajax@redhat.com> 2.6.31.5-117
2328 - drm-edid-retry.patch: Try DDC up to four times, like X. (#532957)
2329
2330 * Wed Nov 04 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.5-116
2331 - tg3 bug fixes (#527209)
2332
2333 * Wed Nov 04 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.5-115
2334 - fs/pipe.c: fix null pointer dereference (CVE-2009-3547)
2335
2336 * Wed Nov 04 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31.5-114
2337 - nouveau: provide info userspace needs to handle low memory situations
2338 - nouveau: fix for rh#532711
2339 - nouveau: add option to provide more debug info for rh#532579
2340 - patch only so large because of included register rename
2341
2342 * Tue Nov 03 2009 Adam Jackson <ajax@redhat.com> 2.6.31.5-113
2343 - drm-conservative-fallback-modes.patch: When an output is connected but
2344   fails EDID, only add modes with refresh rates <= 60 (#514600)
2345
2346 * Tue Nov 03 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-112
2347 - drm-r600-lenovo-w500-fix.patch: add second patch from upstream fix
2348
2349 * Tue Nov 03 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-111
2350 - drm-r600-lenovo-w500-fix.patch: fix lenovo w500 acpi video kill laptop dead
2351 - drop aspm r600 patch as correct fix should be in 110
2352
2353 * Tue Nov 03 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-110
2354 - r600: fix for ring setup RMW issue.
2355
2356 * Mon Nov 02 2009 John W. Linville <linville@redhat.com> 2.6.31.5-109
2357 - prism54: remove pci modinfo device table (#447047)
2358
2359 * Mon Nov 02 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.5-108
2360 - Enable acerhdf driver for fan speed control on Acer Aspire One notebook (#532463)
2361
2362 * Mon Nov 02 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-107
2363 - r600: back that out, thanks to yaneti for testing.
2364
2365 * Mon Nov 02 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-106
2366 - r600: ring size guesswork fix.
2367
2368 * Fri Oct 30 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-105
2369 - drm-radeon-agp-font-fix.patch: hopefully fix AGP coherency issue
2370
2371 * Wed Oct 28 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-104
2372 - drm-next-ea1495a6.patch: fix rs400 resume on my test box
2373
2374 * Wed Oct 28 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-103
2375 - drm-next-fc7f7119.patch: fix oops in SS code, fix multi-card, dvo.
2376 - drm-radeon-kms-arbiter-return-ignore.patch: fix arbiter for non-VGA display
2377
2378 * Tue Oct 27 2009 Chuck Ebbert <cebbert@redhat.com>
2379 - Fix oops in VIA padlock-aes code.
2380
2381 * Tue Oct 27 2009 Dave Airlie <airlied@redhat.com>
2382 - kms: add offb handoff patch for ppc to work
2383
2384 * Tue Oct 27 2009 Ben Skeggs <bskeggs@redhat.com>
2385 - drm-nouveau.patch: misc fixes, very initial NVA8 work
2386
2387 * Tue Oct 27 2009 Dave Airlie <airlied@redhat.com>
2388 - fix dd command lines
2389
2390 * Mon Oct 26 2009 Dave Jones <davej@redhat.com>
2391 - Make a 20MB initramfs file so rpm gets its diskspace calculations right. (#530778)
2392
2393 * Mon Oct 26 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-97
2394 - drm: rebase to drm-next, drop palette fix, merged upstream
2395 - drm-intel-big-hammer.patch: drop, proper fix in 2.6.31.5
2396 - drm-disable-r600-aspm.patch: test patch to disable aspm on r600/r700 for now
2397
2398 * Fri Oct 23 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.5-96
2399 - Bump NR_CPUS to 256 on x86_64.
2400 - Add two backports (ugh, just had to go renaming perf counters to events...)
2401   for fixing sysprof with perf.
2402
2403 * Fri Oct 23 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-95
2404 - re enable MSI
2405
2406 * Fri Oct 23 2009 Dave Airlie <airlied@redhat.com> 2.6.31.5-94
2407 - disable debug + stackprotector
2408
2409 * Fri Oct 23 2009 Chuck Ebbert <cebbert@redhat.com>
2410 - Linux 2.6.31.5
2411
2412 * Thu Oct 22 2009 Chuck Ebbert <cebbert@redhat.com>
2413 - Fix exploitable OOPS in keyring code. (CVE-2009-3624)
2414 - Fix kernel memory leak to userspace. (CVE-2009-3612)
2415
2416 * Thu Oct 22 2009 Dave Airlie <airlied@redhat.com>  2.6.31.5-91.rc1
2417 - kms: fix palette
2418
2419 * Wed Oct 21 2009 Chuck Ebbert <cebbert@redhat.com>
2420 - Disable powersave by default for AC97 audio devices. (#524414)
2421
2422 * Wed Oct 21 2009 Chuck Ebbert <cebbert@redhat.com>
2423 - Linux 2.6.31.5-rc1
2424 - Remove the merged HP DC7900 workaround from iommu-updates patch.
2425 - Drop merged patch:
2426   linux-2.6-raidlockdep.patch
2427
2428 * Mon Oct 19 2009 Kyle McMartin <kyle@redhat.com>
2429 - af_unix-fix-deadlock-connecting-to-shutdown-socket.patch: fix for
2430   rhbz#529626.
2431
2432 * Sat Oct 17 2009 Chuck Ebbert <cebbert@redhat.com>
2433 - Replace linux-2.6-bluetooth-autosuspend.diff with upstream version.
2434
2435 * Fri Oct 16 2009 Josef Bacik <josef@toxicpanda.com>
2436 - Update btrfs to latest upstream
2437
2438 * Fri Oct 16 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.4-85
2439 - Fix another ACPI boot hang (#513680)
2440
2441 * Fri Oct 16 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31.4-84
2442 - nouveau: more vbios opcodes, minor fixes, hopeful fix for rh#529292
2443
2444 * Wed Oct 14 2009 Roland McGrath <roland@redhat.com> 2.6.31.4-83
2445 - Remove work-around for gcc bug #521991, now fixed.
2446 - Build *docs non-parallel, working around kernel's makefile bugs.
2447
2448 * Wed Oct 14 2009 Peter Jones <pjones@redhat.com>
2449 - Add scsi_register_device_handler to modules.block's symbol list so
2450   we'll have scsi device handlers in installer images.
2451
2452 * Tue Oct 13 2009 Steve Dickson <steved@redhat.com> 2.6.31.4-81
2453 - Fixed hang during NFS installs (bz 528537)
2454
2455 * Tue Oct 13 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.4-80
2456 - Disable 64-bit DMA on SB600 SATA controllers.
2457
2458 * Tue Oct 13 2009 Kyle McMartin <kyle@redhat.com>
2459 - Always build perf docs, regardless of whether we build kernel-doc.
2460   Seems rather unfair to not ship the manpages half the time.
2461   Also, drop BuildRequires %if when not with_doc, the rules about %if
2462   there are f*!&^ing complicated.
2463
2464 * Mon Oct 12 2009 Kyle McMartin <kyle@redhat.com>
2465 - Build the perf manpages properly.
2466
2467 * Mon Oct 12 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.4-77
2468 - Fix boot hang with ACPI on some systems.
2469
2470 * Mon Oct 12 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.4-76
2471 - Linux 2.6.31.4
2472
2473 * Mon Oct 12 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.4-75.rc2
2474 - improve-resource-counter-scalability.patch: Fix scalability issues
2475   on big machines, requested by prarit.
2476
2477 * Mon Oct 12 2009 Jarod Wilson <jarod@redhat.com>
2478 - Fix irq status check bugs in lirc_ene0100
2479
2480 * Mon Oct 12 2009 Chuck Ebbert <cebbert@redhat.com>
2481 - Fix 2.6.31 regression that caused device failures with ACPI enabled.
2482
2483 * Sun Oct 11 2009 Chuck Ebbert <cebbert@redhat.com>
2484 - Linux 2.6.31.4-rc2
2485 - Drop merged patch: linux-2.6-frace-fixes.patch
2486
2487 * Sat Oct 10 2009 Chuck Ebbert <cebbert@redhat.com>
2488 - Make performance counter API available to userspace programs (#527264)
2489
2490 * Sat Oct 10 2009 Dave Jones <davej@redhat.com>
2491 - Drop the NX kernel data patch for now. Causes no-boot on some systems.
2492
2493 * Fri Oct 09 2009 Dave Jones <davej@redhat.com>
2494 - Backport two critical ftrace fixes.
2495   ftrace: check for failure for all conversions
2496   tracing: correct module boundaries for ftrace_release
2497
2498 * Fri Oct 09 2009 Jarod Wilson <jarod@redhat.com>
2499 - Build docs sub-package again
2500
2501 * Thu Oct 08 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.3-67
2502 - Linux 2.6.31.3
2503 - rebase drm-next trivially.
2504 - dropped merged upstream patches,
2505  - linux-2.6-fix-usb-serial-autosuspend.diff
2506  - linux-2.6-iwlagn-modify-digital-SVR-for-1000.patch
2507  - linux-2.6-iwlwifi-Handle-new-firmware-file-with-ucode-build-number-in-header.patch
2508  - linux-2.6-iwlwifi-fix-debugfs-buffer-handling.patch
2509  - linux-2.6-iwlwifi-fix-unloading-driver-while-scanning.patch
2510  - linux-2.6-iwlwifi-remove-deprecated-6000-series-adapters.patch
2511  - linux-2.6-iwlwifi-traverse-linklist-to-find-the-valid-OTP-block.patch
2512  - linux-2.6-iwlwifi-update-1000-series-API-version-to-match-firmware.patch
2513  - linux-2.6-xen-check-efer-fix.patch
2514  - linux-2.6-xen-spinlock-enable-interrupts-only-when-blocking.patch
2515  - linux-2.6-xen-spinlock-stronger-barrier.patch
2516  - linux-2.6-xen-stack-protector-fix.patch
2517  - linux-2.6.31-cpufreq-powernow-k8-oops.patch
2518
2519 * Thu Oct 08 2009 Ben Skeggs <bskeggs@redhat.com>
2520 - ppc: compile nvidiafb as a module only, nvidiafb+nouveau = bang! (rh#491308)
2521
2522 * Thu Oct 08 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31.1-65
2523 - nouveau: {drm-next,context,fbcon,misc} fixes, connector forcing
2524
2525 * Thu Oct 08 2009 Dave Airlie <airlied@redhat.com> 2.6.31.1-64
2526 - rebase latest drm-next, fixes many s/r and r600 problems
2527
2528 * Wed Oct 07 2009 Dave Jones <davej@redhat.com>
2529 - Don't mark the initramfs file as a ghost.
2530
2531 * Wed Oct 07 2009 Dave Jones <davej@redhat.com>
2532 - Enable FUNCTION_GRAPH_TRACER on x86-64.
2533
2534 * Wed Oct 07 2009 Dave Jones <davej@redhat.com>
2535 - Disable CONFIG_IRQSOFF_TRACER on srostedt's recommendation.
2536   (Adds unwanted overhead when not in use).
2537
2538 * Tue Oct  6 2009 Justin M. Forbes <jforbes@redhat.com>
2539 - virtio_blk: add support for cache flush (#526869)
2540
2541 * Fri Oct  2 2009 John W. Linville <linville@redhat.com>
2542 - Backport "iwlwifi: reduce noise when skb allocation fails"
2543
2544 * Wed Sep 30 2009 David Woodhouse <David.Woodhouse@intel.com>
2545 - Update IOMMU code; mostly a bunch more workarounds for broken BIOSes.
2546
2547 * Wed Sep 30 2009 Dave Airlie <airlied@redhat.com> 2.6.31.1-56
2548 - revert all the arjan patches until someone tests them.
2549
2550 * Tue Sep 29 2009 Steve Dickson <steved@redhat.com>  2.6.31.1-55
2551 - Updated the NFS4 pseudo root code with a fix from upstream
2552
2553 * Tue Sep 29 2009 Dave Airlie <airlied@redhat.com> 2.6.31.1-54
2554 - Fix broken capabilties that stopped dbus working due to copy from user
2555   fixups.
2556
2557 * Tue Sep 29 2009 Dave Airlie <airlied@redhat.com> 2.6.31.1-53
2558 - drm-next-4c57edba4.patch: fix r600 dri1 memory leak and r600 bugs
2559
2560 * Mon Sep 28 2009 Dave Jones <davej@redhat.com> 2.6.31.1-52
2561 - Use __builtin_object_size to validate the buffer size for copy_from_user
2562   + associated fixes to various copy_from_user invocations.
2563
2564 * Mon Sep 28 2009 Justin M. Forbes <jmforbes@redhat.com> 2.6.31.1-50
2565 - Increase timeout for xen frontend devices to connect.
2566
2567 * Sat Sep 26 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.1-49
2568 - Add Xen spinlock patches to improve scalability.
2569
2570 * Sat Sep 26 2009 Dave Airlie <airlied@redhat.com> 2.6.31.1-48
2571 - drm-next-8ef8678c8.patch: fix intel/nouveau kms
2572
2573 * Fri Sep 25 2009 Justin M. Forbes <bskeggs@redhat.com> 2.6.31.1-47
2574 - Fix xen guest booting when NX is disabled (#525290)
2575
2576 * Fri Sep 25 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31.1-46
2577 - drm-nouveau.patch: cleanups, fixes, pre-G80 s/r fixes, init rework
2578
2579 * Fri Sep 25 2009 Dave Airlie <airlied@redhat.com> 2.6.31.1-45
2580 - drm-next-adea4796c.patch: fix r600 glxgears
2581
2582 * Fri Sep 25 2009 Dave Airlie <airlied@redhat.com> 2.6.31.1-44
2583 - bump a extra one because I accidentially CVS.
2584
2585 * Thu Sep 24 2009 Dave Airlie <airlied@redhat.com> 2.6.31.1-42
2586 - drm-next update - fix r600 s/r, and command line mode picking and r600 tv
2587
2588 * Thu Sep 24 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31.1-41
2589 - Linux 2.6.31.1
2590 - Drop patches merged upstream:
2591     linux-2.6-kvm-vmx-check-cpl-before-emulating-debug-register-access.patch
2592     linux-2.6-use-__pa_symbol-to-calculate-address-of-C-symbol.patch
2593     linux-2.6-kvm-pvmmu-do-not-batch-pte-updates-from-interrupt-context.patch
2594     linux-2.6-scsi-sd-fix-oops-during-scanning.patch
2595     linux-2.6-scsi-sg-fix-oops-in-error-path.patch
2596
2597 * Thu Sep 24 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-40
2598 - Drop the modules-ro-nx patch: it's causing ftrace to be unable
2599   to NOP out module function call tracking. (#524042)
2600
2601 * Wed Sep 23 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-39
2602 - touch initramfs-$foo not dracut-$foo.
2603
2604 * Wed Sep 23 2009 Adam Jackson <ajax@redhat.com> 2.6.31-37
2605 - drm: Fix various buglets in EDID parsing.
2606
2607 * Mon Sep 21 2009 Ben Skeggs <bskeggs@redhat.com>
2608 - nouveau: more on rh#522649, added some useful info to debugfs
2609 - lots of coding style cleanups, which is the reason for the huge commit
2610
2611 * Fri Sep 18 2009 Dave Jones <davej@redhat.com>
2612 - %ghost the dracut initramfs file.
2613
2614 * Thu Sep 17 2009 Hans de Goede <hdegoede@redhat.com>
2615 - Now that we have %%post generation of dracut images we do not need to
2616   Require dracut-kernel anymore
2617
2618 * Thu Sep 17 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-33
2619 - Turn off CONFIG_CC_OPTIMIZE_FOR_SIZE on ppc64 until ld decides to play nice
2620   and generate the save/restore stubs.
2621
2622 * Thu Sep 17 2009 Kristian Høgsberg <krh@redhat.com>
2623 - Drop drm page-flip patch for F12.
2624
2625 * Thu Sep 17 2009 Dave Jones <davej@redhat.com>
2626 - cpuidle: Fix the menu governor to boost IO performance.
2627
2628 * Wed Sep 16 2009 John W. Linville <linville@redhat.com>
2629 - Add a few more iwl1000 support patches.
2630 - Remove support for deprecated iwl6000 parts.
2631
2632 * Wed Sep 16 2009 Eric Paris <eparis@redhat.com>
2633 - Do not check CAP_SYS_MODULE when networking tres to autoload a module
2634
2635 * Wed Sep 16 2009 John W. Linville <linville@redhat.com>
2636 - Add iwl1000 support patches.
2637
2638 * Wed Sep 16 2009 Adam Jackson <ajax@redhat.com>
2639 - Disable hotplug interrupts on TV connectors on i915.
2640
2641 * Wed Sep 16 2009 Dave Jones <davej@redhat.com>
2642 - Fix NULL deref in powernow-k8 driver. (korg #13780)
2643
2644 * Wed Sep 16 2009 Hans de Goede <hdegoede@redhat.com>
2645 - Fix lockdep warning (and potential real deadlock) in mdraid10 code,
2646   requested for -stable, rh#515471
2647
2648 * Wed Sep 16 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31-17
2649 - nouveau: potential fix for rh#522649 + misc other fixes
2650
2651 * Tue Sep 15 2009 Chuck Ebbert <cebbert@redhat.com>
2652 - Add unused-kernel-patches Make target, change some patches to
2653   use ApplyOptionalPatch
2654
2655 * Tue Sep 15 2009 Ben Skeggs <bskeggs@redhat.com>
2656 - nouveau: misc fixes to context-related issues, fixes some severe nv4x bugs
2657
2658 * Tue Sep 15 2009 Ben Skeggs <bskeggs@redhat.com>
2659 - nouveau: temporarily disable fbcon accel, it's racing with ttm
2660
2661 * Mon Sep 14 2009 Steve Dickson <steved@redhat.com>
2662 - Added support for -o v4 mount parsing
2663
2664 * Mon Sep 14 2009 Ben Skeggs <bskeggs@redhat.com>
2665 - nouveau: avoid PFIFO IRQ hardlock, misc LVDS mode fixes, nv5x RAMFC cleanup
2666
2667 * Sun Sep 13 2009 Chuck Ebbert <cebbert@redhat.com>
2668 - SCSI oops fixes requested for -stable
2669
2670 * Fri Sep 11 2009 Dave Jones <davej@redhat.com>
2671 - Apply NX/RO to modules
2672
2673 * Fri Sep 11 2009 Dave Jones <davej@redhat.com>
2674 - Mark kernel data section as NX
2675
2676 * Fri Sep 11 2009 Ben Skeggs <bskeggs@redhat.com>
2677 - nouveau: bring in Matthew Garret's initial switchable graphics support
2678
2679 * Fri Sep 11 2009 Ben Skeggs <bskeggs@redhat.com>
2680 - nouveau: fixed use of strap-based panel mode when required (rh#522649)
2681 - nouveau: temporarily block accel on NVAC chipsets (rh#522361, rh#522575)
2682
2683 * Thu Sep 10 2009 Matthew Garrett <mjg@redhat.com>
2684 - linux-2.6-ahci-export-capabilities.patch: Backport from upstream
2685 - linux-2.6-rtc-show-hctosys.patch: Export the hctosys state of an rtc
2686 - linux-2.6-rfkill-all.patch: Support for keys that toggle all rfkill state
2687
2688 * Thu Sep 10 2009 Ben Skeggs <bskeggs@redhat.com>
2689 - drm-nouveau.patch: add some scaler-only modes for LVDS, GEM/TTM fixes
2690
2691 * Wed Sep 09 2009 Dennis Gilmore <dennis@ausil.us> 2.6.31-2
2692 - touch the dracut initrd file when using %%{with_dracut}
2693
2694 * Wed Sep 09 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-1
2695 - Linux 2.6.31
2696
2697 * Wed Sep 09 2009 Chuck Ebbert <cebbert@redhat.com>
2698 - Enable VXpocket and PDaudioCF PCMCIA sound drivers.
2699
2700 * Wed Sep 09 2009 Hans de Goede <hdegoede@redhat.com>
2701 - Move to %%post generation of dracut initrd, because of GPL issues surrounding
2702   shipping a prebuild initrd
2703 - Require grubby >= 7.0.4-1, for %%post generation
2704
2705 * Wed Sep  9 2009 Steve Dickson <steved@redhat.com>
2706 - Updated the NFS4 pseudo root code to the latest release.
2707
2708 * Wed Sep 09 2009 Justin M. Forbes <jforbes@redhat.com>
2709 - Revert virtio_blk to rotational mode. (#509383)
2710
2711 * Wed Sep 09 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.219.rc9.git
2712 - uggh lost nouveau bits in page flip
2713
2714 * Wed Sep 09 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.218.rc9.git2
2715 - fix r600 oops with page flip patch (#520766)
2716
2717 * Wed Sep 09 2009 Ben Skeggs <bskeggs@redhat.com>
2718 - drm-nouveau.patch: fix display resume on pre-G8x chips
2719
2720 * Wed Sep 09 2009 Ben Skeggs <bskeggs@redhat.com>
2721 - drm-nouveau.patch: add getparam to know using tile_flags is ok for scanout
2722
2723 * Wed Sep 09 2009 Chuck Ebbert <cebbert@redhat.com>
2724 - 2.6.31-rc9-git2
2725
2726 * Wed Sep  9 2009 Roland McGrath <roland@redhat.com> 2.6.31-0.214.rc9.git1
2727 - compile with -fno-var-tracking-assignments, work around gcc bug #521991
2728
2729 * Wed Sep 09 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.213.rc9.git1
2730 - fix two bugs in r600 kms, fencing + mobile lvds
2731
2732 * Tue Sep 08 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31-0.212.rc9.git1
2733 - drm-nouveau.patch: fix ppc build
2734
2735 * Tue Sep 08 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31-0.211.rc9.git1
2736 - drm-nouveau.patch: more misc fixes
2737
2738 * Tue Sep 08 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.210.rc9.git1
2739 - drm-page-flip.patch: rebase again
2740
2741 * Tue Sep 08 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.209.rc9.git1
2742 - drm-next.patch: fix r600 signal interruption return value
2743
2744 * Tue Sep 08 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31-0.208.rc9.git1
2745 - drm-nouveau.patch: latest upstream + rebase onto drm-next
2746
2747 * Tue Sep 08 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.207.rc9.git1
2748 - drm-vga-arb.patch: update to avoid lockdep + add r600 support
2749
2750 * Tue Sep 08 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.206.rc9.git1
2751 - drm: rebase to drm-next - r600 accel + kms should start working now
2752
2753 * Mon Sep 07 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.205.rc9.git1
2754 - 2.6.31-rc9-git1
2755 - Temporarily hack the drm-next patch so it still applies; the result
2756   should still be safe to build.
2757
2758 * Sat Sep 05 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.204.rc9
2759 - 2.6.31-rc9
2760
2761 * Fri Sep 04 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.203.rc8.git2
2762 - Fix kernel build errors when building firmware by removing the
2763   .config file before that step and restoring it afterward.
2764
2765 * Thu Sep 03 2009 Adam Jackson <ajax@redhat.com>
2766 - drm-ddc-caching-bug.patch: Empty the connector's mode list when it's
2767   disconnected.
2768
2769 * Thu Sep 03 2009 Jarod Wilson <jarod@redhat.com>
2770 - Update hdpvr and lirc_zilog drivers for 2.6.31 i2c
2771
2772 * Thu Sep 03 2009 Justin M.Forbes <jforbes@redhat.com>
2773 - Fix xen guest with stack protector. (#508120)
2774 - Small kvm fixes.
2775
2776 * Wed Sep 02 2009 Adam Jackson <ajax@redhat.com> 2.6.31-0.199.rc8.git2
2777 - drm-intel-pm.patch: Disable by default, too flickery on too many machines.
2778   Enable with i915.powersave=1.
2779
2780 * Wed Sep 02 2009 Dave Jones <davej@redhat.com>
2781 - Add missing scriptlet dependancy. (#520788)
2782
2783 * Tue Sep 01 2009 Adam Jackson <ajax@redhat.com>
2784 - Make DRM less chatty about EDID failures.  No one cares.
2785
2786 * Tue Sep 01 2009 Chuck Ebbert <cebbert@redhat.com>
2787 - 2.6.31-rc8-git2
2788 - Blank out drm-intel-next: entire contents are now upstream.
2789
2790 * Tue Sep 01 2009 Dave Jones <davej@redhat.com>
2791 - Make firmware buildarch noarch. (Suggested by drago01 on irc)
2792
2793 * Tue Sep 01 2009 Jarod Wilson <jarod@redhat.com>
2794 - Fix up lirc_zilog to enable functional IR transmit and receive
2795   on the Hauppauge HD PVR
2796 - Fix audio on PVR-500 when used in same system as HVR-1800 (#480728)
2797
2798 * Sun Aug 30 2009 Chuck Ebbert <cebbert@redhat.com>
2799 - 2.6.31-rc8-git1
2800 - Drop linux-2.6-inotify-accounting.patch, merged upstream.
2801
2802 * Sun Aug 30 2009 Jarod Wilson <jarod@redhat.com>
2803 - fix lirc_imon oops on older devices w/o tx ctrl ep (#520008)
2804
2805 * Fri Aug 28 2009 Eric Paris <eparis@redhat.com> 2.6.31-0.190.rc8
2806 - fix inotify length accounting and send inotify events
2807
2808 * Fri Aug 28 2009 David Woodhouse <David.Woodhouse@intel.com>
2809 - Enable Solos DSL driver
2810
2811 * Fri Aug 28 2009 Chuck Ebbert <cebbert@redhat.com>
2812 - 2.6.31-rc8
2813
2814 * Thu Aug 27 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.185.rc7.git6
2815 - 2.6.31-rc7-git6
2816 - Drop patch merged upstream:
2817   xen-fb-probe-fix.patch
2818
2819 * Thu Aug 27 2009 Adam Jackson <ajax@redhat.com>
2820 - drm-rv710-ucode-fix.patch: Treat successful microcode load on RV710 as,
2821   you know, success. (#519718)
2822
2823 * Thu Aug 27 2009 Chuck Ebbert <cebbert@redhat.com>
2824 - 2.6.31-rc7-git5
2825 - Drop patch linux-2.6-ima-leak.patch, now merged upstream.
2826
2827 * Wed Aug 26 2009 Jarod Wilson <jarod@redhat.com>
2828 - Fix up hdpvr ir enable patch for use w/modular i2c (David Engel)
2829
2830 * Wed Aug 26 2009 Eric Paris <eparis@redhat.com>
2831 - fix iint_cache leak in IMA code
2832   drop the ima=0 patch
2833
2834 * Wed Aug 26 2009 Justin M. Forbes <jforbes@redhat.com>
2835 - Fix munlock with KSM (#516909)
2836 - Re-enable KSM
2837
2838 * Wed Aug 26 2009 Chuck Ebbert <cebbert@redhat.com>
2839 - 2.6.31-rc7-git4
2840 - Drop patches merged upstream:
2841   xen-x86-fix-stackprotect.patch
2842   xen-x86-no-stackprotect.patch
2843
2844 * Wed Aug 26 2009 Adam Jackson <ajax@redhat.com>
2845 - drm-intel-next.patch: Update, various output setup fixes.
2846
2847 * Wed Aug 26 2009 David Woodhouse <David.Woodhouse@intel.com>
2848 - Make WiMAX modular (#512070)
2849
2850 * Tue Aug 25 2009 Kyle McMartin <kyle@redhat.com>
2851 - allow-disabling-ima.diff: debugging patch... adds ima=0 kernel
2852   param to disable initialization of IMA.
2853
2854 * Tue Aug 25 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31-0.174.rc7.git2
2855 - drm-nouveau.patch: upstream update, pre-nv50 tv-out + misc fixes
2856
2857 * Tue Aug 25 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.173.rc7.git2
2858 - Fix Xen boot (#508120)
2859
2860 * Tue Aug 25 2009 Dave Airlie <airlied@redhat.com>
2861 - pull in drm-next tree + rebase around it
2862
2863 * Mon Aug 24 2009 Chuck Ebbert <cebbert@redhat.com>
2864 - 2.6.31-rc7-git2
2865
2866 * Mon Aug 24 2009 Chuck Ebbert <cebbert@redhat.com>
2867 - 2.6.31-rc7-git1
2868
2869 * Sat Aug 22 2009 Chuck Ebbert <cebbert@redhat.com>
2870 - 2.6.31-rc7
2871
2872 * Thu Aug 20 2009 Mark McLoughlin <markmc@redhat.com>
2873 - Disable LZMA for xen (#515831)
2874
2875 * Thu Aug 20 2009 Chuck Ebbert <cebbert@redhat.com>
2876 - 2.6.31-rc6-git5
2877 - Fix up drm-r600-kms.patch
2878 - Drop fix-perf-make-man-failure.patch
2879
2880 * Wed Aug 19 2009 Chuck Ebbert <cebbert@redhat.com>
2881 - 2.6.31-rc6-git5
2882 - Revert linux-2.6-debug-vm-would-have-oomkilled.patch to v1.2
2883   because upstream changes to oom-kill.c were all reverted.
2884
2885 * Tue Aug 18 2009 Kyle McMartin <kyle@redhat.com>
2886 - Fix up perf so that it builds docs now that they are fixed.
2887 - with_docs disables perf docs too. be warned. (logic is that the
2888   build deps are (mostly) the same, so if you don't want one, odds are...)
2889
2890 * Tue Aug 18 2009 Dave Jones <davej@redhat.com>
2891 - 2.6.31-rc6-git3
2892
2893 * Mon Aug 17 2009 Dave Jones <davej@redhat.com> 2.6.31-0.161.rc6.git2
2894 - 2.6.31-rc6-git2
2895
2896 * Mon Aug 17 2009 Chuck Ebbert <cebbert@redhat.com>
2897 - Stop generating the (unused) ppc64-kdump.config file.
2898
2899 * Mon Aug 17 2009 Jarod Wilson <jarod@redhat.com>
2900 - Add new lirc driver for built-in ENE0100 device on some laptops
2901
2902 * Sun Aug 16 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.158.rc6
2903 - Improve the perf script so it prints something helpful if the
2904   perf binary doesn't exist.
2905
2906 * Sat Aug 15 2009 Dave Jones <davej@redhat.com> 2.6.31-0.157.rc6
2907 - Disable KSM patches on a hunch.  Chasing the "encrypted VGs don't work" bug.
2908
2909 * Fri Aug 14 2009 Dave Jones <davej@redhat.com> 2.6.31-0.155.rc6
2910 - 2.6.31-rc6
2911
2912 * Wed Aug 12 2009 Kyle McMartin <kyle@redhat.com>
2913 - fix perf.
2914 - move perf to perf.$ver instead of perf-$ver...
2915
2916 * Wed Aug 12 2009 Dennis Gilmore <dennis@ausil.us>
2917 - Obsolete kernel-smp on sparc64
2918 - Require grubby >= 7.0.2-1 since thats what introduces the dracut options we use
2919
2920 * Wed Aug 12 2009 Kristian Høgsberg <krh@redhat.com>
2921 - Fix drm-page-flip.patch to not break radeon kms and to not reset
2922   crtc offset into fb on flip.
2923
2924 * Wed Aug 12 2009 Adam Jackson <ajax@redhat.com>
2925 - Update drm-intel-next patch
2926
2927 * Tue Aug 11 2009 Dennis Gilmore <dennis@ausil.us> - 2.6.31-0.149.rc5.git3
2928 - disable building the -smp kernel on sparc64
2929 - disable building kernel-perf on sparc64 syscalls not supported
2930
2931 * Tue Aug 11 2009 Eric Paris <eparis@redhat.com>
2932 - Enable config IMA
2933
2934 * Tue Aug 11 2009 Ben Skeggs <bskeggs@redhat.com>
2935 - nouveau: various cleanups and fixes + more sanity checking in dma paths
2936
2937 * Mon Aug 10 2009 Jarod Wilson <jarod@redhat.com>
2938 - Add new device ID to lirc_mceusb (#512483)
2939 - Fix some lockdep false positives
2940 - Add support for setting and enabling iMON clock via sysfs
2941 - Add tunable pad threshold support to lirc_imon
2942 - Add new pseudo-IR protocl to lirc_imon for universals w/o a pad
2943 - Fix mouse device support on older iMON devices
2944
2945 * Mon Aug 10 2009 David Woodhouse <David.Woodhouse@intel.com> 2.6.31-0.145.rc5.git3
2946 - Merge latest Intel IOMMU fixes and BIOS workarounds, re-enable by default.
2947
2948 * Sun Aug 09 2009 Kyle McMartin <kyle@redhat.com>
2949 - btusb autosuspend: fix build on !CONFIG_PM by stubbing out
2950   suspend/resume methods.
2951
2952 * Sat Aug 08 2009 Dennis Gilmore <dennis@ausil.us> 2.6.31-0.141.rc5.git3
2953 - disable kgdb on sparc64 uni-processor kernel
2954 - set max cpus to 256 on sparc64
2955 - enable AT keyboard on sparc64
2956
2957 * Fri Aug 07 2009 Justin M. Forbes <jforbes@redhat.com>
2958 - Apply KSM updates from upstream
2959
2960 * Fri Aug 07 2009 Hans de Goede <hdegoede@redhat.com>
2961 - When building a dracut generic initrd tell new-kernel-pkg to use that
2962   instead of running mkinitrd
2963
2964 * Fri Aug 07 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.139.rc5.git3
2965 - drm-r600-kms.patch - update r600 KMS
2966 - drm-radeon-fixes.patch - patches for queue to Linus
2967
2968 * Thu Aug 06 2009 Justin M. Forbes <jforbes@redhat.com> 2.6.31-0.138.rc5.git3
2969 - Fix kvm virtio_blk errors (#514901)
2970
2971 * Thu Aug 06 2009 Adam Jackson <ajax@redhat.com>
2972 - Hush DRM vblank warnings, they're constant (and harmless) under DRI2.
2973
2974 * Thu Aug 06 2009 Dave Airlie <airlied@redhat.com> 2.6.31.0.134.rc5.git3
2975 - fixup vga arb warning at startup and handover between gpus
2976
2977 * Thu Aug 06 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.0.133.rc5.git3
2978 - die-floppy-die.patch: it's the 21st century, let's not rely on
2979   steam powered technology.
2980
2981 * Wed Aug 05 2009 Dave Airlie <airlied@redhat.com> 2.6.31.0.132.rc5.git3
2982 - revert-ftrace-powerpc-snafu.patch - fix ppc build
2983
2984 * Wed Aug 05 2009 Ben Skeggs <bskeggs@redhat.com>
2985 - nouveau: respect nomodeset
2986
2987 * Wed Aug 05 2009 Chuck Ebbert <cebbert@redhat.com>
2988 - Fix /usr/sbin/perf script. (#515494)
2989
2990 * Wed Aug 05 2009 Dave Jones <davej@redhat.com>
2991 - Fix shift in pci cacheline size printk.
2992
2993 * Wed Aug 05 2009 Dave Airlie <airlied@redhat.com> 2.6.31.0.128.rc5.git3
2994 - 2.6.31-rc5-git3
2995 - drop cpufreq + set memory fixes
2996
2997 * Wed Aug 05 2009 Dave Airlie <airlied@redhat.com>
2998 - Add Jeromes initial r600 kms work.
2999 - rebase arb patch
3000
3001 * Tue Aug 04 2009 Kyle McMartin <kyle@redhat.com>
3002 - alsa-tell-user-that-stream-to-be-rewound-is-suspended.patch: apply patch
3003   destined for 2.6.32, requested by Lennart.
3004
3005 * Tue Aug 04 2009 Ben Skeggs <bskeggs@redhat.com>
3006 - nouveau: more code share between nv50/<nv50 kms, bug fixes
3007
3008 * Tue Aug 04 2009 Dave Airlie <airlied@redhat.com>
3009 - update VGA arb patches again
3010
3011 * Mon Aug 03 2009 Adam Jackson <ajax@redhat.com>
3012 - Update intel drm from anholt's tree
3013 - Rebase drm-intel-pm.patch to match
3014 - Drop gen3 fb hack, merged
3015 - Drop previous watermark setup change
3016
3017 * Mon Aug 03 2009 Dave Jones <davej@redhat.com> 2.6.31-0.122.rc5.git2
3018 - 2.6.31-rc5-git2
3019
3020 * Mon Aug 03 2009 Adam Jackson <ajax@redhat.com>
3021 - (Attempt to) fix watermark setup on Intel 9xx parts.
3022
3023 * Mon Aug 03 2009 Jarod Wilson <jarod@redhat.com>
3024 - make usbhid driver ignore all recent SoundGraph iMON devices, so the
3025   lirc_imon driver can grab them instead
3026
3027 * Mon Aug 03 2009 Dave Airlie <airlied@redhat.com>
3028 - update VGA arb patches
3029
3030 * Sat Aug 01 2009 David Woodhouse <David.Woodhouse@intel.com> 2.6.31-0.118.rc5
3031 - Fix boot failures on ppc32 (#514010, #505071)
3032
3033 * Fri Jul 31 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.117.rc5
3034 - Linux 2.6.31-rc5
3035
3036 * Fri Jul 31 2009 Matthew Garrett <mjg@redhat.com>
3037 - linux-2.6-dell-laptop-rfkill-fix.patch: Fix up Dell rfkill
3038
3039 * Fri Jul 31 2009 Ben Skeggs <bskeggs@redhat.com>
3040 - nouveau: build against 2.6.31-rc4-git6, fix script parsing on some G8x chips
3041
3042 * Thu Jul 30 2009 Chuck Ebbert <cebbert@redhat.com>
3043 - Linux 2.6.31-rc4-git6
3044   New config item: CONFIG_BATTERY_DS2782 is not set
3045 - Add last-minute set_memory_wc() fix from LKML.
3046
3047 * Thu Jul 30 2009 Matthew Garrett <mjg@redhat.com>
3048 - drm-intel-pm.patch: Don't reclock external outputs. Increase the reduced
3049    clock slightly to avoid upsetting some hardware. Disable renderclock
3050    adjustment for the moment - it's breaking on some hardware.
3051
3052 * Thu Jul 30 2009 Ben Skeggs <bskeggs@redhat.com>
3053 - nouveau: another DCB 1.5 entry, G80 corruption fixes, small <G80 KMS fix
3054
3055 * Thu Jul 30 2009 Dave Airlie <airlied@redhat.com>
3056 - fix VGA ARB + kms
3057
3058 * Wed Jul 29 2009 Dave Jones <davej@redhat.com>
3059 - Add support for dracut. (Harald Hoyer)
3060
3061 * Wed Jul 29 2009 Ben Skeggs <bskeggs@redhat.com>
3062 - drm-nouveau.patch: nv50/nva0 tiled scanout fixes, nv40 kms fixes
3063
3064 * Wed Jul 29 2009 Chuck Ebbert <cebbert@redhat.com>
3065 - Linux 2.6.31-rc4-git3
3066 - Drop linux-2.6-ecryptfs-overflow-fixes.patch, merged upstream now.
3067
3068 * Wed Jul 29 2009 Dave Airlie <airlied@redhat.com>
3069 - update VGA arb patches
3070
3071 * Tue Jul 28 2009 Adam Jackson <ajax@redhat.com>
3072 - Remove the pcspkr modalias.  If you're still living in 1994, load it
3073   by hand.
3074
3075 * Tue Jul 28 2009 Eric Sandeen <sandeen@redhat.com> 2.6.31-0.102.rc4.git2
3076 - Fix eCryptfs overflow issues (CVE-2009-2406, CVE-2009-2407)
3077
3078 * Tue Jul 28 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.101.rc4.git2
3079 - 2.6.31-rc4-git2
3080 - rebase linux-2.6-fix-usb-serial-autosuspend.diff
3081 - config changes:
3082  - USB_GSPCA_SN9C20X=m (_EVDEV=y)
3083
3084 * Tue Jul 28 2009 Ben Skeggs <bskeggs@redhat.com>
3085 - drm-nouveau.patch: cleanup userspace API, various bugfixes.
3086   Looks worse than it is, register macros got cleaned up, which
3087   touches pretty much everywhere..
3088
3089 * Mon Jul 27 2009 Adam Jackson <ajax@redhat.com>
3090 - Warn quieter about not finding PCI bus parents for ROM BARs, they're
3091   not usually needed and there's nothing you can do about it anyway.
3092
3093 * Mon Jul 27 2009 Matthew Garrett <mjg@redhat.com>
3094 - linux-2.6-alsa-improve-hda-powerdown.patch - attempt to reduce audio glitches
3095    caused by HDA powerdown
3096 - disable CONFIG_DEBUG_KOBJECT again for now, since it produces huge dmesg spew
3097
3098 * Mon Jul 27 2009 Dave Airlie <airlied@redhat.com>
3099 - update vga arb code
3100
3101 * Mon Jul 27 2009 Matthew Garrett <mjg@redhat.com>
3102 - drm-intel-pm.patch - Add runtime PM for Intel graphics
3103
3104 * Fri Jul 24 2009 Kristian Høgsberg <krh@redhat.com>
3105 - Add drm-page-flip.patch to support vsynced page flipping on intel
3106   chipsets.
3107 - Really add patch.
3108 - Fix patch to not break nouveau.
3109
3110 * Fri Jul 24 2009 Chuck Ebbert <cebbert@redhat.com>
3111 - Enable CONFIG_DEBUG_KOBJECT in debug kernels. (#513606)
3112
3113 * Thu Jul 23 2009 Kyle McMartin <kyle@redhat.com>
3114 - perf BuildRequires binutils-devel now.
3115
3116 * Thu Jul 23 2009 Justin M. Forbes <jforbes@redhat.com>
3117 - Add KSM support
3118
3119 * Thu Jul 23 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.87.rc4
3120 - Linux 2.6.31-rc4
3121 - config changes:
3122  - USB_CDC_PHONET=m [all]
3123  - EVENT_PROFILE=y [i386, x86_64, powerpc, s390]
3124
3125 * Wed Jul 22 2009 Tom "spot" Callaway <tcallawa@redhat.com>
3126 - We have to override the new %%install behavior because, well... the kernel is special.
3127
3128 * Wed Jul 22 2009 Dave Jones <davej@redhat.com>
3129 - 2.6.31-rc3-git5
3130
3131 * Wed Jul 22 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31-0.82.rc3.git4
3132 - Enable KMS for nouveau
3133
3134 * Wed Jul 22 2009 Ben Skeggs <bskeggs@redhat.com>
3135 - Update nouveau from upstream (initial suspend/resume + misc bugfixes)
3136
3137 * Mon Jul 20 2009 Adam Jackson <ajax@redhat.com>
3138 - Disable VGA arbiter patches for a moment
3139
3140 * Mon Jul 20 2009 Adam Jackson <ajax@redhat.com>
3141 - Revive 4k framebuffers for intel gen3
3142
3143 * Mon Jul 20 2009 Dave Jones <davej@redhat.com> 2.6.31-0.78.rc3.git4
3144 - Enable CONFIG_RTC_HCTOSYS (#489494)
3145
3146 * Mon Jul 20 2009 Dave Jones <davej@redhat.com> 2.6.31-0.77.rc3.git4
3147 - Don't build 586 kernels any more.
3148
3149 * Sun Jul 19 2009 Dave Jones <davej@redhat.com> 2.6.31-0.75.rc3.git4
3150 - build a 'full' package on i686 (Bill Nottingham)
3151
3152 * Sun Jul 19 2009 Dave Jones <davej@redhat.com> 2.6.31-0.74.rc3.git4
3153 - 2.6.31-rc3-git4
3154
3155 * Sat Jul 18 2009 Matthew Garrett <mjg@redhat.com>
3156 - linux-2.6-driver-level-usb-autosuspend.diff - allow drivers to enable autopm
3157 - linux-2.6-fix-usb-serial-autosuspend.diff - fix generic usb-serial autopm
3158 - linux-2.6-qcserial-autosuspend.diff - enable autopm by default on qcserial
3159 - linux-2.6-bluetooth-autosuspend.diff - enable autopm by default on btusb
3160 - linux-2.6-usb-uvc-autosuspend.diff - enable autopm by default on uvc
3161
3162 * Thu Jul 16 2009 Chuck Ebbert <cebbert@redhat.com>
3163 - 2.6.31-rc3-git3
3164
3165 * Thu Jul 16 2009 Matthew Garrett <mjg@redhat.com>
3166 - linux-2.6-defaults-aspm.patch - default ASPM to on for PCIe >= 1.1 hardware
3167
3168 * Thu Jul 16 2009 Dave Airlie <airlied@redhat.com> 2.6.31-0.69.rc3
3169 - linux-2.6-vga-arb.patch - add VGA arbiter.
3170 - drm-vga-arb.patch - add VGA arbiter support to drm
3171
3172 * Tue Jul 14 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.68-rc3
3173 - 2.6.31-rc3
3174 - config changes:
3175  - RTL8192SU is not set, (staging)
3176
3177 * Mon Jul 13 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.67.rc2.git9
3178 - 2.6.31-rc2-git9
3179 - config changes:
3180  - BLK_DEV_OSD=m
3181
3182 * Mon Jul 13 2009 Ben Skeggs <bskeggs@redhat.com>
3183 - drm-nouveau.patch: update from upstream
3184
3185 * Fri Jul 10 2009 Chuck Ebbert <cebbert@redhat.com>
3186 - 2.6.31-rc2-git6
3187 - Drop dmadebug-spinlock patch -- merged upstream.
3188
3189 * Fri Jul 10 2009 Dave Jones <davej@redhat.com> 2.6.31-0.64.rc2.git5
3190 - Don't jump through hoops that ppc powerbooks have to on sensible systems
3191   in cpufreq_suspend.
3192
3193 * Fri Jul 10 2009 Dave Jones <davej@redhat.com>
3194 - 2.6.31-rc2-git5
3195
3196 * Thu Jul 09 2009 Dave Jones <davej@redhat.com> 2.6.31-0.62.rc2.git4
3197 - Use correct spinlock initialization in dma-debug
3198
3199 * Thu Jul 09 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.61.rc2.git4
3200 - 2.6.31-rc2-git4
3201
3202 * Thu Jul 09 2009 Jarod Wilson <jarod@redhat.com>
3203 - Enable IR receiver on the Hauppauge HD PVR
3204 - Trim the changelog, axing everything before 2.6.29 (see cvs
3205   if you still really want to see that far back)
3206
3207 * Wed Jul 08 2009 Dave Jones <davej@redhat.com>
3208 - Enable a bunch of debugging options that were missed somehow.
3209
3210 * Wed Jul 08 2009 Kyle McMartin <kyle@redhat.com>
3211 - Bump NR_CPUS on x86_64 to 512.
3212
3213 * Wed Jul 08 2009 Adam Jackson <ajax@redhat.com>
3214 - drm-no-gem-on-i8xx.patch: Drop, intel 2D driver requires GEM now. This
3215   should be entertaining.
3216
3217 * Wed Jul 08 2009 Kyle McMartin <kyle@redhat.com>
3218 - First cut of /usr/sbin/perf wrapper script and 'perf'
3219   subpackage.
3220
3221 * Wed Jul 08 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.54.rc2.git2
3222 - Rebase and re-apply all the Fedora-specific linux-2.6-debug-*
3223   patches.
3224 - Cull a bunch of upstreamed patches from the spec.
3225
3226 * Wed Jul 08 2009 Steve Dickson <steved@redhat.com>
3227 - Added NFSD v4 dynamic pseudo root patch which allows
3228   NFS v3 exports to be mounted by v4 clients.
3229
3230 * Tue Jul 07 2009 Jarod Wilson <jarod@redhat.com>
3231 - See if we can't make lirc_streamzap behave better... (#508952)
3232
3233 * Tue Jul 07 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.47.rc2.git2
3234 - 2.6.31-rc2-git2
3235
3236 * Tue Jul 07 2009 Jarod Wilson <jarod@redhat.com>
3237 - Make lirc_i2c actually work with 2.6.31 i2c
3238
3239 * Mon Jul 06 2009 Chuck Ebbert <cebbert@redhat.com>
3240 - Use LZMA for kernel compression on X86.
3241
3242 * Mon Jul 06 2009 Jarod Wilson <jarod@redhat.com>
3243 - Hack up lirc_i2c and lirc_zilog to compile with 2.6.31 i2c
3244   changes. The drivers might not actually be functional now, but
3245   at least they compile again. Will fix later, if need be...
3246
3247 * Sat Jul 04 2009 Dave Jones <davej@redhat.com> 2.6.31-0.42.rc2
3248 - 2.6.31-rc2
3249
3250 * Sat Jul 04 2009 Chuck Ebbert <cebbert@redhat.com>
3251 - 2.6.31-rc1-git11
3252
3253 * Fri Jul 03 2009 Hans de Goede <hdegoede@redhat.com>
3254 - Disable v4l1 ov511 and quickcam_messenger drivers (obsoleted by
3255   v4l2 gspca subdrivers)
3256
3257 * Thu Jul 02 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.39.rc1.git9
3258 - 2.6.31-rc1-git9
3259 - linux-2.6-dm-fix-exstore-search.patch: similar patch merged upstream.
3260
3261 * Tue Jun 30 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.38.rc1.git7
3262 - 2.6.31-rc1-git7
3263
3264 * Tue Jun 30 2009 Dave Jones <davej@redhat.com> 2.6.31-0.37.rc1.git5
3265 - Disable kmemleak. Way too noisy, and not finding any real bugs.
3266
3267 * Tue Jun 30 2009 Ben Skeggs <bskeggs@redhat.com>
3268 - drm-nouveau.patch: match upstream
3269
3270 * Mon Jun 29 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.35.rc1.git5
3271 - 2.6.31-rc1-git5
3272 - CONFIG_LEDS_LP3944=m
3273
3274 * Mon Jun 29 2009 Chuck Ebbert <cebbert@redhat.com>
3275 - Try to fix the dm overlay bug for real (#505121)
3276
3277 * Sat Jun 27 2009 Ben Skeggs <bskeggs@redhat.com> 2.6.31-0.33.rc1.git2
3278 - drm-nouveau.patch: fix conflicts from 2.6.31-rc1-git2
3279
3280 * Fri Jun 26 2009 Dave Jones <davej@redhat.com> 2.6.31-0.31.rc1.git2
3281 - Further improvements to kmemleak
3282
3283 * Fri Jun 26 2009 Dave Jones <davej@redhat.com> 2.6.31-0.30.rc1.git2
3284 - 2.6.31-rc1-git2
3285
3286 * Fri Jun 26 2009 Ben Skeggs <bskeggs@redhat.com>
3287 - drm-nouveau.patch: latest upstream + reenable
3288
3289 * Thu Jun 25 2009 Dave Jones <davej@redhat.com> 2.6.31-0.29.rc1
3290 - Make kmemleak scan process stacks by default.
3291   Should reduce false positives (which does also increase false negatives,
3292   but that's at least less noisy)
3293
3294 * Wed Jun 24 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.28.rc1
3295 - 2.6.31-rc1
3296 - linux-2.6-utrace.patch: rebase on kernel/Makefile changes
3297 - config changes:
3298  - generic:
3299   - CONFIG_DM_LOG_USERSPACE=m
3300   - CONFIG_DM_MULTIPATH_QL=m
3301   - CONFIG_DM_MULTIPATH_ST=m
3302   - CONFIG_BATTERY_MAX17040=m
3303   - CONFIG_I2C_DESIGNWARE is off (depends on clk.h)
3304
3305 * Wed Jun 24 2009 Kyle McMartin <kyle@redhat.com>
3306 - Move perf to /usr/libexec/perf-$KernelVer.
3307
3308 * Wed Jun 24 2009 Kyle McMartin <kyle@redhat.com>
3309 - config changes:
3310  - generic:
3311   - CONFIG_SCSI_DEBUG=m (was off, requested by davidz)
3312
3313 * Wed Jun 24 2009 Dave Jones <davej@redhat.com> 2.6.31-0.22.rc0.git22
3314 - 2.6.30-git22
3315
3316 * Tue Jun 23 2009 Dave Jones <davej@redhat.com> 2.6.31-0.22.rc0.git20
3317 - 2.6.30-git20
3318
3319 * Mon Jun 22 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.24.rc0.git18
3320 - Enable tools/perf, installed as /bin/perf-$KernelVer. Docs and a /bin/perf
3321   wrapper come next if this builds ok.
3322
3323 * Mon Jun 22 2009 Kyle McMartin <kyle@redhat.com>
3324 - sched-introduce-SCHED_RESET_ON_FORK-scheduling-policy-flag.patch: pull in
3325   two fixes from Mike Galbraith from tip.git
3326
3327 * Sun Jun 21 2009 Dave Jones <davej@redhat.com> 2.6.31-0.21.rc0.git18
3328 - Add patch to possibly fix the pktlen problem on via-velocity.
3329
3330 * Sun Jun 21 2009 Dave Jones <davej@redhat.com> 2.6.31-0.20.rc0.git18
3331 - 2.6.30-git18
3332   VIA crypto & mmc patches now upstream.
3333
3334 * Sun Jun 21 2009 Dave Jones <davej@redhat.com>
3335 - Determine cacheline sizes in a generic manner.
3336
3337 * Sun Jun 21 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.31-0.18.rc0.git17
3338 - 2.6.30-git17
3339 - Config changes:
3340   - powerpc32-generic
3341       CONFIG_PERF_COUNTERS=y
3342   - generic
3343       CONFIG_KEYBOARD_LM8323 is not set
3344       CONFIG_MOUSE_SYNAPTICS_I2C=m
3345       CONFIG_TOUCHSCREEN_EETI=m
3346       CONFIG_TOUCHSCREEN_W90X900=m
3347 - Dropped agp-set_memory_ucwb.patch, all fixed upstream now.
3348
3349 * Sat Jun 20 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.0.17.rc0.git15
3350 - config changes:
3351  - ppc generic:
3352   - CONFIG_PPC_DISABLE_WERROR=y (switched... chrp fails otherwise, stack
3353     frame size.)
3354
3355 * Sat Jun 20 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.0.16.rc0.git15
3356 - 2.6.30-git15
3357 - config changes:
3358  - generic:
3359   - CONFIG_LBDAF=y
3360  - staging:
3361   - CONFIG_USB_SERIAL_QUATECH2 is not set
3362   - CONFIG_VT6655 is not set
3363   - CONFIG_USB_CPC is not set
3364   - CONFIG_RDC_17F3101X is not set
3365   - CONFIG_FB_UDL is not set
3366  - ppc32:
3367   - CONFIG_KMETER1=y
3368  - ppc generic:
3369   - CONFIG_PPC_DISABLE_WERROR is not set
3370 - lirc disabled due to i2c detach_client removal.
3371
3372 * Sat Jun 20 2009 Kyle McMartin <kyle@redhat.com>
3373 - sched-introduce-SCHED_RESET_ON_FORK-scheduling-policy-flag.patch: add,
3374   queued in tip/sched/core (ca94c442535a44d508c99a77e54f21a59f4fc462)
3375
3376 * Fri Jun 19 2009 Kyle McMartin <kyle@redhat.com> 2.6.31.0.15.rc0.git14
3377 - Fix up ptrace, hopefully. Builds on x86_64 at least.
3378
3379 * Fri Jun 19 2009 Chuck Ebbert <cebbert@redhat.com>
3380 - linux-2.6-tip.git-203abd67b75f7714ce98ab0cdbd6cfd7ad79dec4.patch
3381   Fixes oops on boot with qemu (#507007)
3382
3383 * Fri Jun 19 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.13.rc0.git14
3384 - 2.6.30-git14
3385
3386 * Fri Jun 19 2009 Chuck Ebbert <cebbert@redhat.com>
3387 - Fix up the via-sdmmc and via-hwmon-temp-sensor patches.
3388 - Drop VIA Padlock patches merged upstream:
3389     via-rng-enable-64bit.patch
3390     via-padlock-10-enable-64bit.patch
3391     via-padlock-20-add-x86-dependency.patch
3392
3393 * Thu Jun 18 2009 Kyle McMartin <kyle@redhat.com> 2.6.31-0.11.rc0.git13
3394 - 2.6.30-git13
3395 - config changes:
3396  - arm:
3397   - CONFIG_UACCESS_WITH_MEMCPY is not set
3398  - i686-PAE:
3399   - CONFIG_XEN_DEV_EVTCHN=m
3400   - CONFIG_XEN_SYS_HYPERVISOR=y
3401  - ia64:
3402   - CONFIG_RCU_FANOUT=64
3403  - nodebug:
3404   - CONFIG_DEBUG_KMEMLEAK is not set
3405   - CONFIG_DEBUG_KMEMLEAK_TEST=m
3406  - powerpc:
3407   - CONFIG_CAN_SJA1000_OF_PLATFORM=m
3408   - CONFIG_PPC_EMULATED_STATS=y
3409   - CONFIG_SWIOTLB=y
3410   - CONFIG_RDS is not set (broken on ppc32)
3411  - powerpc32:
3412   - CONFIG_RCU_FANOUT=32
3413  - powerpc64:
3414   - CONFIG_RCU_FANOUT=64
3415   - CONFIG_PERF_COUNTERS=y
3416  - s390x:
3417   - CONFIG_RCU_FANOUT=64
3418   - CONFIG_SECCOMP=y
3419   - CONFIG_PM=y
3420   - CONFIG_HIBERNATION=y
3421   - CONFIG_PM_STD_PARTITION="/dev/jokes"
3422  - sparc64:
3423   - CONFIG_RCU_FANOUT=64
3424  - x86:
3425   - CONFIG_RCU_FANOUT=32
3426   - CONFIG_IOMMU_STRESS is not set
3427   - CONFIG_PERF_COUNTERS=y
3428   - CONFIG_X86_OLD_MCE is not set
3429   - CONFIG_X86_MCE_INTEL=y
3430   - CONFIG_X86_MCE_AMD=y
3431   - CONFIG_X86_ANCIENT_MCE is not set
3432   - CONFIG_X86_MCE_INJECT is not set
3433  - x86_64:
3434   - CONFIG_EDAC_AMD64=m
3435   - CONFIG_EDAC_AMD64_ERROR_INJECTION is not set
3436   - CONFIG_XEN_DEV_EVTCHN=m
3437   - CONFIG_XEN_SYS_HYPERVISOR=y
3438   - CONFIG_RCU_FANOUT=64
3439   - CONFIG_IOMMU_STRESS is not set
3440   - CONFIG_PERF_COUNTERS=y
3441   - CONFIG_X86_MCE_INJECT is not set
3442  - generic:
3443   - CONFIG_RCU_FANOUT=32
3444   - CONFIG_MMC_SDHCI_PLTFM=m
3445   - CONFIG_MMC_CB710=m
3446   - CONFIG_CB710_CORE=m
3447   - CONFIG_CB710_DEBUG is not set
3448   - CONFIG_SCSI_MVSAS_DEBUG is not set
3449   - CONFIG_SCSI_BNX2_ISCSI=m
3450   - CONFIG_NETFILTER_XT_MATCH_OSF=m
3451   - CONFIG_RFKILL_INPUT=y (used to be =m, which was invalid)
3452   - CONFIG_DE2104X_DSL=0
3453   - CONFIG_KS8842 is not set
3454   - CONFIG_CFG80211_DEBUGFS=y
3455   - CONFIG_MAC80211_DEFAULT_PS=y
3456   - CONFIG_IWM=m
3457   - CONFIG_IWM_DEBUG is not set
3458   - CONFIG_RT2800USB=m
3459   - CONFIG_CAN_DEV=m
3460   - CONFIG_CAN_CALC_BITTIMING=y
3461   - CONFIG_CAN_SJA1000=m
3462   - CONFIG_CAN_SJA1000_PLATFORM=m
3463   - CONFIG_CAN_EMS_PCI=m
3464   - CONFIG_CAN_KVASER_PCI=m
3465   - CONFIG_EEPROM_MAX6875=m
3466   - CONFIG_SENSORS_TMP401=m
3467   - CONFIG_MEDIA_SUPPORT=m
3468   - CONFIG_SND_CTXFI=m
3469   - CONFIG_SND_LX6464ES=m
3470   - CONFIG_SND_HDA_CODEC_CA0110=y
3471   - CONFIG_USB_XHCI_HCD=m
3472   - CONFIG_USB_XHCI_HCD_DEBUGGING is not set
3473   - CONFIG_DRAGONRISE_FF=y (used to be =m)
3474   - CONFIG_GREENASIA_FF=y (used to be =m)
3475   - CONFIG_SMARTJOYPLUS_FF=y (used to be =m)
3476   - CONFIG_USB_NET_INT51X1=m
3477   - CONFIG_CUSE=m
3478   - CONFIG_FUNCTION_PROFILER=y
3479   - CONFIG_RING_BUFFER_BENCHMARK=m
3480   - CONFIG_REGULATOR_USERSPACE_CONSUMER=m
3481   - CONFIG_REGULATOR_MAX1586=m
3482   - CONFIG_REGULATOR_LP3971=m
3483   - CONFIG_RCU_FANOUT_EXACT is not set
3484   - CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
3485   - CONFIG_FSNOTIFY=y
3486   - CONFIG_IEEE802154=m
3487   - CONFIG_IEEE802154_DRIVERS=m
3488   - CONFIG_IEEE802154_FAKEHARD=m
3489   - CONFIG_CNIC=m
3490
3491 * Wed Jun 17 2009 Jarod Wilson <jarod@redhat.com>
3492 - New lirc_imon hotness, update 2:
3493   * support dual-interface devices with a single lirc device
3494   * directional pad functions as an input device mouse
3495   * touchscreen devices finally properly supported
3496   * support for using MCE/RC-6 protocol remotes
3497   * fix oops in RF remote association code (F10 bug #475496)
3498   * fix re-enabling case/panel buttons and/or knobs
3499 - Add some misc additional lirc_mceusb2 transceiver IDs
3500 - Add missing unregister_chrdev_region() call to lirc_dev exit
3501 - Add it8720 support to lirc_it87
3502
3503 * Tue Jun 16 2009 Chuck Ebbert <cebbert@redhat.com>
3504 - Update via-sdmmc driver
3505
3506 * Mon Jun 15 2009 Jarod Wilson <jarod@redhat.com>
3507 - Update lirc patches w/new imon hotness
3508
3509 * Fri Jun 12 2009 Chuck Ebbert <cebbert@redhat.com>
3510 - Update VIA temp sensor and mmc drivers.
3511
3512 * Fri Jun 12 2009 John W. Linville <linville@redhat.com> 2.6.30-6
3513 - neigh: fix state transition INCOMPLETE->FAILED via Netlink request
3514 - enable CONFIG_ARPD (used by OpenNHRP)
3515
3516 * Wed Jun 10 2009 Chuck Ebbert <cebbert@redhat.com>
3517 - VIA Nano updates:
3518   Enable Padlock AES encryption and random number generator on x86-64
3519   Add via-sdmmc and via-cputemp drivers
3520
3521 * Wed Jun 10 2009 Kyle McMartin <kyle@redhat.com> 2.6.30-1
3522 - Linux 2.6.30 rebase.
3523
3524 * Tue Jun 09 2009 John W. Linville <linville@tuxdriver.com>
3525 - Clean-up some wireless bits in config-generic
3526
3527 * Tue Jun 09 2009 Chuck Ebbert <cebbert@redhat.com>
3528 - Add support for ACPI P-states on VIA processors.
3529 - Disable the e_powersaver driver.
3530
3531 * Tue Jun 09 2009 Chuck Ebbert <cebbert@redhat.com>
3532 - Linux 2.6.30-rc8-git6
3533
3534 * Fri Jun 05 2009 Chuck Ebbert <cebbert@redhat.com>
3535 - Linux 2.6.30-rc8-git1
3536
3537 * Wed Jun 03 2009 Kyle McMartin <kyle@redhat.com>
3538 - Linux 2.6.30-rc8
3539
3540 * Tue Jun  2 2009 Roland McGrath <roland@redhat.com>
3541 - utrace update (fixes stap PR10185)
3542
3543 * Tue Jun 02 2009 Dave Jones <davej@redhat.com>
3544 - For reasons unknown, RT2X00 driver was being built-in.
3545   Make it modular.
3546
3547 * Tue Jun 02 2009 Dave Jones <davej@redhat.com>
3548 - 2.6.30-rc7-git5
3549
3550 * Sat May 30 2009 Dave Jones <davej@redhat.com>
3551 - 2.6.30-rc7-git4
3552
3553 * Thu May 28 2009 Dave Jones <davej@redhat.com
3554 - 2.6.30-rc7-git3
3555
3556 * Wed May 27 2009 Dave Jones <davej@redhat.com>
3557 - 2.6.30-rc7-git2
3558
3559 * Tue May 26 2009 Dave Jones <davej@redhat.com>
3560 - Various cpufreq patches from git.
3561
3562 * Tue May 26 2009 Dave Jones <davej@redhat.com
3563 - 2.6.30-rc7-git1
3564
3565 * Tue May 26 2009 Dave Jones <davej@redhat.com>
3566 - 2.6.30-rc7-git1
3567
3568 * Mon May 25 2009 Kyle McMartin <kyle@redhat.com>
3569 - rds-only-on-64-bit-or-x86.patch: drop patch, issue is fixed upstream.
3570
3571 * Sat May 23 2009 Dave Jones <davej@redhat.com>
3572 - 2.6.30-rc7
3573
3574 * Thu May 21 2009 Dave Jones <davej@redhat.com>
3575 - 2.6.30-rc6-git6
3576
3577 * Wed May 20 2009  Chuck Ebbert <cebbert@redhat.com>
3578 - Enable Divas (formerly Eicon) ISDN drivers on x86_64. (#480837)
3579
3580 * Wed May 20 2009 Dave Jones <davej@redhat.com>
3581 - 2.6.30-rc6-git5
3582
3583 * Mon May 18 2009 Dave Jones <davej@redhat.com>
3584 - 2.6.30-rc6-git3
3585
3586 * Sun May 17 2009 Dave Jones <davej@redhat.com>
3587 - 2.6.30-rc6-git2
3588
3589 * Sat May 16 2009 Dave Jones <davej@redhat.com>
3590 - 2.6.30-rc6
3591
3592 * Mon May 11 2009 Kyle McMartin <kyle@redhat.com>
3593 - Linux 2.6.30-rc5-git1
3594
3595 * Fri May 08 2009 Kyle McMartin <kyle@redhat.com>
3596 - Linux 2.6.30-rc5
3597
3598 * Fri May 08 2009 Kyle McMartin <kyle@redhat.com>
3599 - Linux 2.6.30-rc4-git4
3600
3601 * Wed May 06 2009 Kyle McMartin <kyle@redhat.com>
3602 - Linux 2.6.30-rc4-git3
3603 - linux-2.6-cdrom-door-status.patch: merged upstream.
3604 - linux-2.6-iwl3945-remove-useless-exports.patch: merged upstream.
3605 - linux-2.6-utrace.patch: rebase against changes to fs/proc/array.c
3606 - USB_NET_CDC_EEM=m
3607
3608 * Fri May 01 2009 Eric Sandeen <sandeen@redhat.com>
3609 - Fix ext4 corruption on partial write into prealloc block
3610
3611 * Thu Apr 30 2009 Kyle McMartin <kyle@redhat.com>
3612 - 2.6.30-rc4
3613
3614 * Wed Apr 29 2009 Dave Jones <davej@redhat.com>
3615 - 2.6.30-rc3-git6
3616
3617 * Tue Apr 28 2009 Dave Jones <davej@redhat.com>
3618 - 2.6.30-rc3-git4
3619
3620 * Tue Apr 28 2009 Chuck Ebbert <cebbert@redhat.com>
3621 - Make the kernel-vanilla package buildable again.
3622 - Allow building with older versions of RPM.
3623
3624 * Tue Apr 28 2009 Neil Horman <nhorman@redhat.com>
3625 - Backport missing snmp stats (bz 492391)
3626
3627 * Tue Apr 28 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.30-0.72.rc3.git3
3628 - Drop unused exports from the iwl3945 driver.
3629
3630 * Tue Apr 28 2009 Chuck Ebbert <cebbert@redhat.com>
3631 - Linux 2.6.30-rc3-git3
3632
3633 * Mon Apr 27 2009 Dave Jones <davej@redhat.com>
3634 - 2.6.30-rc3-git2
3635
3636 * Sun Apr 26 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.30-0.68.rc3.git1
3637 - Linux 2.6.30-rc3-git1
3638
3639 * Wed Apr 22 2009 Dave Jones <davej@redhat.com> 2.6.30-0.67.rc3
3640 - Disable SYSFS_DEPRECATED on ia64
3641
3642 * Wed Apr 22 2009 Kyle McMartin <kyle@redhat.com>
3643 - Linux 2.6.30-rc3
3644 - PROC_VMCORE=y: Exports the dump image of crashed
3645   kernel in ELF format
3646
3647 * Wed Apr 22 2009 Neil Horman <nhorman@redhat.com>
3648 - Enable RELOCATABLE and CRASH_DUMP for powerpc64
3649 - With this we can remove the -kdump build variant
3650 - for the ppc64 arch
3651
3652 * Tue Apr 21 2009 Chuck Ebbert <cebbert@redhat.com>
3653 - Don't include the modules.*.bin files in the RPM package.
3654
3655 * Tue Apr 21 2009 Dave Jones <davej@redhat.com>
3656 - 2.6.30-rc2-git7
3657
3658 * Mon Apr 20 2009 Dave Jones <davej@redhat.com>
3659 - Various s390x config tweaks. (#496596, #496601, #496605, #496607)
3660
3661 * Mon Apr 20 2009 Dave Jones <davej@redhat.com>
3662 - 2.6.30-rc2-git6
3663
3664 * Sat Apr 18 2009 Chuck Ebbert <cebbert@redhat.com>
3665 - Set CONFIG_UEVENT_HELPER_PATH to the empty string (#496296)
3666
3667 * Fri Apr 17 2009 Dave Jones <davej@redhat.com>
3668 - 2.6.30-rc2-git3
3669
3670 * Thu Apr 16 2009 Kyle McMartin <kyle@redhat.com> 2.6.30-0.58.rc2.git1
3671 - 2.6.30-rc2-git1
3672
3673 * Wed Apr 15 2009 Kyle McMartin <kyle@redhat.com> 2.6.30-0.57.rc2
3674 - 2.6.30-rc2
3675
3676 * Tue Apr 14 2009 Kyle McMartin <kyle@redhat.com>
3677 - 2.6.30-rc1-git7
3678 - CONFIG_TOUCHSCREEN_AD7879_I2C=m
3679 - CONFIG_STRIP_ASM_SYMS=y, off for -debug
3680
3681 * Mon Apr 13 2009 Kyle McMartin <kyle@redhat.com>
3682 - ppc-fix-parport_pc.patch: add from linuxppc-dev@
3683
3684 * Mon Apr 13 2009 Kyle McMartin <kyle@redhat.com>
3685 - execshield: fix build (load_user_cs_desc is 32-bit only in tlb.c)
3686
3687 * Sun Apr 12 2009 Kyle McMartin <kyle@redhat.com>
3688 - 2.6.30-rc1-git5
3689 - revert-fix-modules_install-via-nfs.patch: reverted upstream
3690
3691 * Thu Apr 09 2009 Kyle McMartin <kyle@redhat.com>
3692 - actually drop utrace-ftrace from srpm.
3693
3694 * Thu Apr 09 2009 Kyle McMartin <kyle@redhat.com>
3695 - 2.6.30-rc1-git2
3696 - CONFIG_IGBVF=m
3697 - CONFIG_NETFILTER_XT_TARGET_LED=m
3698
3699 * Thu Apr 09 2009 Dave Jones <davej@redhat.com>
3700 - Bring back the /dev/crash driver. (#492803)
3701
3702 * Wed Apr 08 2009 Dave Jones <davej@redhat.com>
3703 - disable MMIOTRACE in non-debug builds (#494584)
3704
3705 * Wed Apr 08 2009 Kyle McMartin <kyle@redhat.com> 2.6.30-0.44.rc1
3706 - 2.6.30-rc1
3707 - linux-2.6-hwmon-atk0110.patch: drop
3708 - CONFIG_DETECT_HUNG_TASK=y
3709 - # CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set
3710
3711 * Tue Apr  7 2009 Roland McGrath <roland@redhat.com>
3712 - utrace update, drop unfinished utrace-ftrace
3713
3714 * Tue Apr 07 2009 Kyle McMartin <kyle@redhat.com>
3715 - Linux 2.6.29-git15
3716 - EXT3_DEFAULTS_TO_ORDERED on for now.
3717 - X86_X2APIC enabled.
3718 - LEDS_LP5521, LEDS_BD2802 off... look not generally relevant.
3719 - LIBFCOE on.
3720
3721 * Tue Apr 07 2009 Dave Jones <davej@redhat.com>
3722 - Enable CONFIG_CIFS_STATS (#494545)
3723
3724 * Mon Apr 06 2009 Kyle McMartin <kyle@redhat.com>
3725 - linux-2.6-execshield.patch: rebase for 2.6.30
3726
3727 * Mon Apr 06 2009 Kyle McMartin <kyle@redhat.com>
3728 - Linux 2.6.29-git13
3729 - drop patches merged upstream:
3730   - fix-ppc-debug_kmap_atomic.patch
3731   - fix-staging-at76.patch
3732   - linux-2.6-acpi-video-didl-intel-outputs.patch
3733   - linux-2.6-acpi-strict-resources.patch
3734   - linux-2.6-sony-laptop-rfkill.patch
3735   - linux-2.6-btrfs-fix-umount-hang.patch
3736   - linux-2.6-fiemap-header-install.patch
3737   - linux-2.6-debug-dma-api.patch
3738   - dma-api-debug-fixes.patch
3739   - linux-2.6-ext4-flush-on-close.patch
3740   - linux-2.6-relatime-by-default.patch
3741   - linux-2.6-pci-sysfs-remove-id.patch
3742   - linux-2.6-scsi-cpqarray-set-master.patch
3743   - alsa-rewrite-hw_ptr-updaters.patch
3744   - alsa-pcm-always-reset-invalid-position.patch
3745   - alsa-pcm-fix-delta-calc-at-overlap.patch
3746   - alsa-pcm-safer-boundary-checks.patch
3747   - linux-2.6-input-hid-extra-gamepad.patch
3748   - linux-2.6-ipw2x00-age-scan-results-on-resume.patch
3749   - linux-2.6-dropwatch-protocol.patch
3750   - linux-2.6-net-fix-gro-bug.patch
3751   - linux-2.6-net-fix-another-gro-bug.patch
3752   - linux-2.6-net-xfrm-fix-spin-unlock.patch
3753   - linux-2.6.29-pat-change-is_linear_pfn_mapping-to-not-use-vm_pgoff.patch
3754   - linux-2.6.29-pat-pci-change-prot-for-inherit.patch
3755
3756 * Thu Apr 02 2009 Josef Bacik <josef@toxicpanda.com>
3757 - linux-2.6-btrfs-fix-umount-hang.patch: fix umount hang on btrfs
3758
3759 * Thu Apr 02 2009 Kyle McMartin <kyle@redhat.com>
3760 - fix-ppc-debug_kmap_atomic.patch: fix build failures on ppc.
3761
3762 * Thu Apr 02 2009 Kyle McMartin <kyle@redhat.com>
3763 - Linux 2.6.29-git9
3764
3765 * Tue Mar 31 2009 Kyle McMartin <kyle@redhat.com>
3766 - rds-only-on-64-bit-or-x86.patch: add
3767 - at76-netdev_ops.patch: add
3768
3769 * Tue Mar 31 2009 Kyle McMartin <kyle@redhat.com>
3770 - Linux 2.6.29-git8
3771 - linux-2.6-net-fix-another-gro-bug.patch: upstream.
3772
3773 * Tue Mar 31 2009 Eric Sandeen <sandeen@redhat.com>
3774 - add fiemap.h to kernel-headers
3775 - build ext4 (and jbd2 and crc16) into the kernel
3776
3777 * Tue Mar 31 2009 Kyle McMartin <kyle@redhat.com>
3778 - Linux 2.6.29-git7
3779 - fix-staging-at76.patch: pull patch from linux-wireless to fix...
3780
3781 * Mon Mar 30 2009 Kyle McMartin <kyle@redhat.com> 2.6.30-0.28.rc0.git6
3782 - Linux 2.6.29-git6
3783 - Bunch of stuff disabled, most merged, some needs rebasing.
3784
3785 * Mon Mar 30 2009 Chuck Ebbert <cebbert@redhat.com>
3786 - Make the .shared-srctree file a list so more than two checkouts
3787   can share source files.
3788
3789 * Mon Mar 30 2009 Chuck Ebbert <cebbert@redhat.com>
3790 - Separate PAT fixes that are headed for -stable from our out-of-tree ones.
3791
3792 * Mon Mar 30 2009 Dave Jones <davej@redhat.com>
3793 - Make io schedulers selectable at boot time again. (#492817)
3794
3795 * Mon Mar 30 2009 Dave Jones <davej@redhat.com>
3796 - Add a strict-devmem=0 boot argument (#492803)
3797
3798 * Mon Mar 30 2009 Adam Jackson <ajax@redhat.com>
3799 - linux-2.6.29-pat-fixes.patch: Fix PAT/GTT interaction
3800
3801 * Mon Mar 30 2009 Mauro Carvalho Chehab <mchehab@redhat.com>
3802 - some fixes of troubles caused by v4l2 subdev conversion
3803
3804 * Mon Mar 30 2009 Mark McLoughlin <markmc@redhat.com> 2.6.29-21
3805 - Fix guest->remote network stall with virtio/GSO (#490266)
3806
3807 * Mon Mar 30 2009 Ben Skeggs <bskeggs@redhat.com>
3808 - drm-nouveau.patch
3809   - rewrite nouveau PCI(E) GART functions, should fix rh#492492
3810   - kms: kernel option to allow dual-link dvi
3811   - modinfo descriptions for module parameters
3812
3813 * Sun Mar 29 2009 Mauro Carvalho Chehab <mchehab@redhat.com>
3814 - more v4l/dvb updates: v4l subdev conversion and some driver improvements
3815
3816 * Sun Mar 29 2009 Chuck Ebbert <cebbert@redhat.com>
3817 - More fixes for ALSA hardware pointer updating.
3818
3819 * Sat Mar 28 2009 Mauro Carvalho Chehab <mchehab@redhat.com>
3820 - linux-2.6-revert-dvb-net-kabi-change.patch: attempt to fix dvb net breakage
3821 - update v4l fixes patch to reflect what's ready for 2.6.30
3822 - update v4l devel patch to reflect what will be kept on linux-next for a while
3823
3824 * Fri Mar 27 2009 Chuck Ebbert <cebbert@redhat.com> 2.6.29-16
3825 - Fix 2.6.29 networking lockups.
3826 - Fix locking in net/xfrm/xfrm_state.c (#489764)
3827
3828 * Fri Mar 27 2009 Ben Skeggs <bskeggs@redhat.com>
3829 - drm-nouveau.patch: do nothing for dac_{prepare,commit}, it's useless
3830   and breaks some things in strange ways.
3831
3832 * Fri Mar 27 2009 Ben Skeggs <bskeggs@redhat.com>
3833 - nv50: clear 0x1900/8 on init, possible fix for rh#492240
3834 - forcibly disable GEM also if KMS requested where not supported
3835 - inform the user if we disable KMS because of it not being supported
3836
3837 * Thu Mar 26 2009 Matthew Garrett <mjg@redhat.com>
3838 - linux-2.6-relatime-by-default.patch: Backport relatime code from 2.6.30
3839
3840 * Thu Mar 26 2009 Dave Jones <davej@redhat.com>
3841 - Check for modesetting enabled before forcing mode on 915. (#490336)
3842
3843 * Thu Mar 26 2009 Dave Jones <davej@redhat.com>
3844 - Set kernel-PAE as default in grub. (#487578)
3845
3846 * Thu Mar 26 2009 Dave Jones <davej@redhat.com>
3847 - Enable CONFIG_MOUSE_PS2_ELANTECH (#492163)
3848
3849 * Thu Mar 26 2009 Kyle McMartin <kyle@redhat.com>
3850 - linux-2.6-v4l-pvrusb2-fixes.patch: fix build for uncle steve.
3851
3852 * Thu Mar 26 2009 Mauro Carvalho Chehab <mchehab@redhat.com>
3853 - Move all 2.6.30 stuff into linux-2.6-v4l-dvb-fixes.patch, in
3854   preparation for upstream pull;
3855 - Added two new drivers: gspca sq905c and DVB Intel ce6230
3856 - Updated to the latest v4l-dvb drivers.
3857
3858 * Wed Mar 25 2009 Mauro Carvalho Chehab <mchehab@redhat.com>
3859 - remove duplicated Cinergy T2 entry at config-generic
3860
3861 * Wed Mar 25 2009 Neil Horman <nhorman@redhat.com>
3862 - Add dropmonitor/dropwatch protocol from 2.6.30
3863
3864 * Wed Mar 25 2009 Kyle McMartin <kyle@redhat.com>
3865 - alsa-rewrite-hw_ptr-updaters.patch: snd_pcm_update_hw_ptr() tries to
3866   detect the unexpected hwptr jumps more strictly to avoid the position
3867   mess-up, which often results in the bad quality I/O with pulseaudio.
3868
3869 * Wed Mar 25 2009 Ben Skeggs <bskeggs@redhat.com>
3870 - drm-nouveau.patch: idle channels better before destroying them
3871
3872 * Tue Mar 24 2009 Kyle McMartin <kyle@redhat.com>
3873 - Disable DMAR by default until suspend & resume is fixed.
3874
3875 * Tue Mar 24 2009 Josef Bacik <josef@toxicpanda.com>
3876 - fsync replay fixes for btrfs
3877
3878 * Mon Mar 23 2009 Dave Jones <davej@redhat.com>
3879 - 2.6.29
3880
3881 ###
3882 # The following Emacs magic makes C-c C-e use UTC dates.
3883 # Local Variables:
3884 # rpm-change-log-uses-utc: t
3885 # End:
3886 ###