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